[Issue 6669] Compiler seg fault when using square brackets in inline assembly
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 23 00:49:42 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6669
--- Comment #5 from Peter Alexander <peter.alexander.au at gmail.com> 2011-09-23 00:49:09 PDT ---
(In reply to comment #4)
> (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.
That's correct.
I have code that uses this is a more correct way, this is just a minimal
example of it happening. The compiler should never (with reason) seg fault.
--
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