public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362
@ 2011-07-03 17:55 arthur.j.odwyer at gmail dot com
  2011-07-04  9:44 ` [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: arthur.j.odwyer at gmail dot com @ 2011-07-03 17:55 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in simplify_subreg, at simplify-rtx.c:5362
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: arthur.j.odwyer@gmail.com


Created attachment 24663
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24663
Output of "ajo-gcc -O1 -fno-tree-fre -c test.c -v"

This failure reproduces for me with svn revision 175547
(2011-06-27), and also with GCC 4.5.1, but not with 4.4.5. I'm on Ubuntu 10.10,
x86-64.

cat >test.c <<EOF
extern int g_27, g_115;
void func_1(int x) {
    g_27 = 2; g_115 = 0;
    g_115 = (g_27 && ((g_27 = 1, 0 >= g_115) || (short)(x + (g_115 & x))));
}
EOF
gcc -O1 -fno-tree-fre -c test.c

test.c: In function ‘func_1’:
test.c:5:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5362

GCC 4.5.1 also ICEs on this input. The line number in 4.5.1 is
simplify-rtx.c:5140.


This test case is reduced from the output of Csmith 2.1.0 (git hash 01aa8b04,
https://github.com/Quuxplusone/csmith/), using the following command line:
csmith --no-paranoid --longlong --no-pointers --no-arrays --no-jumps
--no-consts --no-volatiles --checksum --no-divs --no-muls --bitfields
--packed-struct -s 1343472353


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

end of thread, other threads:[~2011-07-19 19:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
2011-07-04  9:44 ` [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] " rguenth at gcc dot gnu.org
2011-07-04 10:31 ` jakub at gcc dot gnu.org
2011-07-04 14:12 ` jakub at gcc dot gnu.org
2011-07-04 14:14 ` jakub at gcc dot gnu.org
2011-07-04 21:05 ` jakub at gcc dot gnu.org
2011-07-04 21:11 ` jakub at gcc dot gnu.org
2011-07-04 21:17 ` [Bug rtl-optimization/49619] [4.5 " jakub at gcc dot gnu.org
2011-07-19 12:59 ` jakub at gcc dot gnu.org
2011-07-19 19:33 ` jakub at gcc dot gnu.org
2011-07-19 19:52 ` jakub at gcc dot gnu.org

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