www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Bug in GDC?

reply Geert Mulders <g.c.w.m.mulders phys.uu.nl> writes:
I've got the following message while compiling some code:

test.d: In function `main':
test.d:4: error: unrecognizable insn:
(insn 14 12 15 0 (set (reg:XF 61)
        (const_int 0 [0x0])) -1 (nil)
    (nil))
test.d:4: internal compiler error: in extract_insn, at recog.c:2083

I got the code down to the following fragment:
void main()
{
    real temp = 3;
    temp = !temp;
}

Is this a known bug, or am I doing something wrong maybe?

Geert Mulders
Apr 16 2007
parent reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Geert Mulders schrieb am 2007-04-16:
 I've got the following message while compiling some code:

 test.d: In function `main':
 test.d:4: error: unrecognizable insn:
 (insn 14 12 15 0 (set (reg:XF 61)
         (const_int 0 [0x0])) -1 (nil)
     (nil))
 test.d:4: internal compiler error: in extract_insn, at recog.c:2083

 I got the code down to the following fragment:
 void main()
 {
     real temp = 3;
     temp = !temp;
 }

 Is this a known bug, or am I doing something wrong maybe?
Please file a bug report. (I could reproduce this issue with GDC-0.22 but not with GDC-0.23) Added to DStress as http://dstress.kuehne.cn/run/b/bug_recog_2083_A.d http://dstress.kuehne.cn/run/b/bug_recog_2083_B.d http://dstress.kuehne.cn/run/b/bug_recog_2083_C.d http://dstress.kuehne.cn/run/b/bug_recog_2083_D.d http://dstress.kuehne.cn/run/b/bug_recog_2083_E.d http://dstress.kuehne.cn/run/b/bug_recog_2083_F.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFGJHXfLK5blCcjpWoRAjdqAJ9/lKtlcSdf6Rckm+A+kt67K3WauACggaJj zBQ6gZTzIuGYX0LsCkFmOs4= =8O47 -----END PGP SIGNATURE-----
Apr 17 2007
parent Joshua Scholar <joshscholar nightstudies.net> writes:
I'm getting a similar bug trying to compile "the language machine"  on GDC-0.24
MingW32.

src/lm/element.d: In member function `toBool':
src/lm/element.d:205: error: unrecognizable insn:
(insn 14 13 15 0 (set (reg:DF 62)
        (const_int 0 [0x0])) -1 (nil)
    (nil))
Oct 09 2007