Compiler internal error

Bill Baxter dnewsgroup at billbaxter.com
Sun Dec 17 16:06:04 PST 2006


I was going to say "Please file bug reports in the bugzilla tracking system:
http://d.puremagic.com/issues/"

But that system doesn't have any categories for GDC bugs.  Is there a 
separate tracker for GDC?


--bb

Aleksey S. Skidan wrote:
> Windows XP, MinGW 3.4.2:
> C:\3>gdc -S test.d
> test.d:0: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.mingw.org/bugs.shtml> for instructions.
> 
> The test.d:
> 
>  const{
> 	uint	KZERO = 0xB000_0000;
> }
> 
> uint
> v2p(uint x)
> {
> 	return x-KZERO;
> }
> 
> extern(C) void
> start()
> {
> 	asm{
> 		naked;
> 		xor	EAX, EAX;
> 		mov	EBX, v2p(KZERO);
> 	}
> }
> 
> The error in "mov EBX, v2p(KZERO)" seems to cause the internal compiler error.


More information about the Digitalmars-d-bugs mailing list