[Issue 4481] Internal compiler error (glue.c, !vthis->csym) or compiles, depending on the import statements order

2010-07-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4481



--- Comment #4 from Don  2010-07-19 12:05:02 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > This looks similar to bug 2692. It's not a duplicate, but I suspect the root
> > cause is the same.
> 
> I'm 100% sure you meant bug 2962 that is
> "ICE(glue.c) or bad codegen passing variable as template value parameter"
> and not bug 2692 which is 
> "alignment of double on x86 linux is incorrect" and resolved

Correct. In this bug, it's the 'this' parameter which causes the problem, in
bug 2962 it's any other function parameter.

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


[Issue 4481] Internal compiler error (glue.c, !vthis->csym) or compiles, depending on the import statements order

2010-07-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4481



--- Comment #3 from Dmitry Olshansky  2010-07-18 
13:28:32 PDT ---
(In reply to comment #2)
> This looks similar to bug 2692. It's not a duplicate, but I suspect the root
> cause is the same.

I'm 100% sure you meant bug 2962 that is
"ICE(glue.c) or bad codegen passing variable as template value parameter"
and not bug 2692 which is 
"alignment of double on x86 linux is incorrect" and resolved

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


[Issue 4481] Internal compiler error (glue.c, !vthis->csym) or compiles, depending on the import statements order

2010-07-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4481


Don  changed:

   What|Removed |Added

 CC||clugd...@yahoo.com.au


--- Comment #2 from Don  2010-07-18 05:30:50 PDT ---
This looks similar to bug 2692. It's not a duplicate, but I suspect the root
cause is the same.

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


[Issue 4481] Internal compiler error (glue.c, !vthis->csym) or compiles, depending on the import statements order

2010-07-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4481



--- Comment #1 from Dmitry Olshansky  2010-07-18 
04:43:45 PDT ---
Hm, it has something to with how you pass the files to DMD, for the test case
above:
dmd g.d main.d  - compiles, all Ok
dmd main.d g.d - Assertion failure: '!vthis->csym' on line 694 in file 'glue.c'

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