[Issue 6669] Compiler seg fault when using square brackets in inline assembly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 22 20:44:41 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6669



--- Comment #4 from Brad Roberts <braddr at puremagic.com> 2011-09-22 20:44:11 PDT ---
(In reply to comment #3)
> I would think you need to ensure EAX points to somewhere readable to avoid a
> seg fault. E.g.:

I think you misread the bug report.  It's about the compiler crashing, not the
resulting code.  Yes, it's slightly odd code, in that on x86, the first arg to
main is argc, an int and not a pointer.  But that's irrelevant.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list