* [Bug c++/49227] ice in inline_small_functions
2011-05-30 8:41 [Bug c++/49227] New: ice in inline_small_functions dcb314 at hotmail dot com
@ 2011-05-30 8:41 ` dcb314 at hotmail dot com
2011-05-30 9:01 ` [Bug tree-optimization/49227] [4.7 Regression] " rguenth at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2011-05-30 8:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49227
--- Comment #1 from dcb <dcb314 at hotmail dot com> 2011-05-30 08:37:39 UTC ---
Created attachment 24393
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24393
gzipped C++ source code
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/49227] [4.7 Regression] ice in inline_small_functions
2011-05-30 8:41 [Bug c++/49227] New: ice in inline_small_functions dcb314 at hotmail dot com
2011-05-30 8:41 ` [Bug c++/49227] " dcb314 at hotmail dot com
@ 2011-05-30 9:01 ` rguenth at gcc dot gnu.org
2011-07-02 8:05 ` arthur.j.odwyer at gmail dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-05-30 9:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49227
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Component|c++ |tree-optimization
Target Milestone|--- |4.7.0
Summary|ice in |[4.7 Regression] ice in
|inline_small_functions |inline_small_functions
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/49227] [4.7 Regression] ice in inline_small_functions
2011-05-30 8:41 [Bug c++/49227] New: ice in inline_small_functions dcb314 at hotmail dot com
2011-05-30 8:41 ` [Bug c++/49227] " dcb314 at hotmail dot com
2011-05-30 9:01 ` [Bug tree-optimization/49227] [4.7 Regression] " rguenth at gcc dot gnu.org
@ 2011-07-02 8:05 ` arthur.j.odwyer at gmail dot com
2011-07-02 8:07 ` arthur.j.odwyer at gmail dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: arthur.j.odwyer at gmail dot com @ 2011-07-02 8:05 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/49227] [4.7 Regression] ice in inline_small_functions
2011-05-30 8:41 [Bug c++/49227] New: ice in inline_small_functions dcb314 at hotmail dot com
` (2 preceding siblings ...)
2011-07-02 8:05 ` arthur.j.odwyer at gmail dot com
@ 2011-07-02 8:07 ` arthur.j.odwyer at gmail dot com
2011-08-02 14:29 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: arthur.j.odwyer at gmail dot com @ 2011-07-02 8:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49227
Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arthur.j.odwyer at gmail
| |dot com
--- Comment #3 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> 2011-07-02 08:06:32 UTC ---
(In reply to comment #2)
Shoot, as soon as I clicked "Save" I noticed that the line number is different:
ipa-inline.c:1348 versus ipa-inline.c:1398. So my ICE might be something
different. Nevertheless, they're both in the same file and both regressed very
recently, so the root cause is likely the same in both cases.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/49227] [4.7 Regression] ice in inline_small_functions
2011-05-30 8:41 [Bug c++/49227] New: ice in inline_small_functions dcb314 at hotmail dot com
` (3 preceding siblings ...)
2011-07-02 8:07 ` arthur.j.odwyer at gmail dot com
@ 2011-08-02 14:29 ` rguenth at gcc dot gnu.org
2011-08-02 17:49 ` arthur.j.odwyer at gmail dot com
2011-08-02 20:12 ` dcb314 at hotmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-08-02 14:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49227
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-02 14:16:29 UTC ---
Neither testcase reproduces for me anymore.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/49227] [4.7 Regression] ice in inline_small_functions
2011-05-30 8:41 [Bug c++/49227] New: ice in inline_small_functions dcb314 at hotmail dot com
` (4 preceding siblings ...)
2011-08-02 14:29 ` rguenth at gcc dot gnu.org
@ 2011-08-02 17:49 ` arthur.j.odwyer at gmail dot com
2011-08-02 20:12 ` dcb314 at hotmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: arthur.j.odwyer at gmail dot com @ 2011-08-02 17:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49227
--- Comment #5 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> 2011-08-02 17:47:20 UTC ---
Confirmed that my testcase no longer reproduces, as of svn revision 177081 or
earlier.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/49227] [4.7 Regression] ice in inline_small_functions
2011-05-30 8:41 [Bug c++/49227] New: ice in inline_small_functions dcb314 at hotmail dot com
` (5 preceding siblings ...)
2011-08-02 17:49 ` arthur.j.odwyer at gmail dot com
@ 2011-08-02 20:12 ` dcb314 at hotmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2011-08-02 20:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49227
--- Comment #6 from dcb <dcb314 at hotmail dot com> 2011-08-02 20:09:55 UTC ---
(In reply to comment #5)
> Confirmed that my testcase no longer reproduces, as of svn revision 177081 or
> earlier.
I confirm that it seems to be fixed for me as of snapshot 20110730
^ permalink raw reply [flat|nested] 8+ messages in thread