[Bug tree-optimization/17368] [3.5 Regression] ice in optimize_inline_calls, at tree-inline.c

salinger at sun dot felk dot cvut dot cz gcc-bugzilla@gcc.gnu.org
Mon Sep 13 12:03:00 GMT 2004


------- Additional Comments From salinger at sun dot felk dot cvut dot cz  2004-09-13 12:03 -------
It doesn't seem fixed. At least the "Smaller testcase".

Configured with: ../configure --prefix=/usr --bindir=/usr/local/bin/gcc-4.0
--enable-threads=posix --enable-languages=c++
--enable-version-specific-runtime-libs --with-system-zlib --enable-__cxa_atexit
--host=i486-redhat-linux --with-arch=i486 --with-tune=i686
GNU C++ version 4.0.0 20040912 (experimental) (i486-redhat-linux)
        compiled by GNU C version 4.0.0 20040912 (experimental).


With -O1, -O2, -O3:

f.cc: In function `int main()':
f.cc:19: internal compiler error: in optimize_inline_calls, at tree-inline.c:1800

And now it fails also with -O0 and -Os:

 <with_cleanup_expr 0x405c1b40>f.cc: In function `int main()':
f.cc:19: internal compiler error: unexpected node

When "cross" compiling preprocessed sources

g++  f-O2.ii -O0
 <with_cleanup_expr 0x40606dc0>f.cc: In function `int main()':
f.cc:19: internal compiler error: unexpected node

g++  f-O0.ii -O2
f.cc: In function `int main()':
f.cc:19: internal compiler error: in optimize_inline_calls, at tree-inline.c:1800




-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |
            Summary|[3.5 Regression] ice-on-    |[3.5 Regression] ice in
                   |legal-code  in              |optimize_inline_calls, at
                   |optimize_inline_calls, at   |tree-inline.c
                   |tree-inline.c               |


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



More information about the Gcc-bugs mailing list