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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 17 17:56:33 PDT 2011


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



--- Comment #1 from Brad Roberts <braddr at puremagic.com> 2011-09-17 17:56:09 PDT ---
I can't reproduce this with tip of trunk:

$ uname -a
Darwin nexus 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011;
root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64

$ cat bug6669.d 
void main()
{
    asm { mov EAX, [EAX]; }
}

$ ./dmd -v ../../bugs/bug6669.d 
binary    ./dmd
version   v2.056
config    dmd.conf
parse     bug6669
importall bug6669
import    object        (./../../druntime/import/object.di)
semantic  bug6669
semantic2 bug6669
semantic3 bug6669
code      bug6669
function  main
gcc bug6669.o -o bug6669 -m32 -Xlinker -L./../../druntime/lib -Xlinker
-L./../../phobos/generated/osx/release/32 -lphobos2 -lpthread -lm 

What's different about your env than mine?  I also tried on linux/32 and /64
with no better luck.

Assuming you can still reproduce the problem, running dmd under gdb and getting
a stack trace might help even if I can't repro.

-- 
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