This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49227] [4.7 Regression] ice in inline_small_functions
- From: "arthur.j.odwyer at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 2 Jul 2011 08:05:05 +0000
- Subject: [Bug tree-optimization/49227] [4.7 Regression] ice in inline_small_functions
- Auto-submitted: auto-generated
- References: <bug-49227-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49227
--- Comment #2 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> 2011-07-02 08:04:20 UTC ---
Created attachment 24657
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24657
Another testcase, fairly reduced
I just ran into the same ICE via automatic test generation. I'm attaching
"bug120673164-reduced.c", a 65-line C99 test case exposing the bug.
gcc -std=c99 -w -O2 -finline-functions -fnon-call-exceptions -fno-tree-fre
bug120673164-reduced.c
bug120673164-reduced.c:77:1: internal compiler error: in
inline_small_functions, at ipa-inline.c:1398
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 --paranoid --no-longlong --no-pointers --arrays --jumps --consts
--no-volatiles --checksum --divs --no-muls --no-bitfields --packed-struct -s
120673164