public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/56657] New: [GCC 4.6/4.7] ICE - error: unrecognizable insn.
@ 2013-03-20  3:25 nkbj1970 at hotmail dot com
  2013-03-20  5:00 ` [Bug middle-end/56657] " nkbj1970 at hotmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: nkbj1970 at hotmail dot com @ 2013-03-20  3:25 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56657

             Bug #: 56657
           Summary: [GCC 4.6/4.7] ICE - error: unrecognizable insn.
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: nkbj1970@hotmail.com
            Target: *-*-mingw32


Created attachment 29693
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29693
Test case.

I got this ICE when cross-building UFRaw (http://ufraw.sourceforge.net) for
Windows using MXE (http://mxe.cc). I have tried GCC 4.7.2, 4.7.0, 4.6.3, and
4.6.0. All crash with the same error. GCC 4.5.4 works.

The output is:
  CC     ufraw_writer.o
ufraw_writer.c: In function 'ufraw_write_image':
ufraw_writer.c:790:1: error: unrecognizable insn:
(insn 214 213 215 19 (set (mem/v/f/c:SI (plus:SI (reg/f:SI 54
virtual-stack-vars)
                (const_int -656 [0xfffffffffffffd70])) [2 out+0 S4 A64])
        (const:SI (plus:SI (symbol_ref:SI ("_iob") [flags 0x440] <var_decl
0x2b94ad99ed20 _iob>)
                (const_int 32 [0x20])))) ufraw_writer.c:334 -1
     (nil))
ufraw_writer.c:790:1: internal compiler error: in extract_insn, at recog.c:2123
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [ufraw_writer.o] Error 1

I have attached a small test case which also shows the error compiled with
'i686-pc-mingw32-g++ -c insn.cc' (it happens for both c and c++ code):
insn.cc: In function 'void f()':
insn.cc:3:29: error: unrecognizable insn:
(insn 8 7 9 3 (set (mem/v/f/c:SI (symbol_ref:SI ("_ZL2fd") [flags 0x2]
<var_decl 0x7f5562fae780 fd>) [0 fd+0 S4 A32])
        (const:SI (plus:SI (symbol_ref:SI ("_iob") [flags 0x440] <var_decl
0x7f5562fae140 _iob>)
                (const_int 32 [0x20])))) insn.cc:3 -1
     (nil))
insn.cc:3:29: internal compiler error: in extract_insn, at recog.c:2123
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Best regards,
Niels Kristian Bech Jensen


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-04-13 10:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-20  3:25 [Bug middle-end/56657] New: [GCC 4.6/4.7] ICE - error: unrecognizable insn nkbj1970 at hotmail dot com
2013-03-20  5:00 ` [Bug middle-end/56657] " nkbj1970 at hotmail dot com
2013-03-20  5:00 ` nkbj1970 at hotmail dot com
2013-03-20  5:03 ` nkbj1970 at hotmail dot com
2013-03-20  9:07 ` mikpe at it dot uu.se
2013-03-20 11:00 ` [Bug target/56657] [4.6/4.7 Regression] " rguenth at gcc dot gnu.org
2013-03-23  7:35 ` nkbj1970 at hotmail dot com
2013-04-03 10:14 ` rguenth at gcc dot gnu.org
2013-04-12 15:17 ` [Bug target/56657] [4.7 " jakub at gcc dot gnu.org
2013-04-13 10:34 ` nkbj1970 at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).