public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3
@ 2014-12-08  9:13 antoshkka at gmail dot com
  2014-12-08  9:46 ` [Bug ipa/64218] " trippels at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: antoshkka at gmail dot com @ 2014-12-08  9:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218

            Bug ID: 64218
           Summary: ICE during compilation with -fno-rtti -O3
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoshkka at gmail dot com

Following error occurred during compilation of one of the Boost's tests:

../libs/variant/test/recursive_variant_test.cpp:315:1: internal compiler error:
Segmentation fault
 }
 ^
0xc9658f crash_signal
?../../gcc/gcc/toplev.c:358
0x8d4280 symtab_node::get_alias_target()
?../../gcc/gcc/cgraph.h:2242
0x8d4280 symtab_node::ultimate_alias_target(availability*)
?../../gcc/gcc/symtab.c:1292
0x12a3b33 cgraph_node::ultimate_alias_target(availability*)
?../../gcc/gcc/cgraph.h:2684
0x12a3b33 want_inline_function_to_all_callers_p
?../../gcc/gcc/ipa-inline.c:840
0x12a3b33 ipa_inline
?../../gcc/gcc/ipa-inline.c:2245
0x12a3b33 execute
?../../gcc/gcc/ipa-inline.c:2558
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


Code was compiled with the following flags:
"g++"  -ftemplate-depth-128 -fno-rtti -O3 -finline-functions -Wno-inline -Wall
-fPIC -std=c++11 -march=native -DBOOST_ALL_NO_LIB=1 -DBOOST_NO_RTTI
-DBOOST_NO_TYPEID -DNDEBUG  -I".." -c -o
"/home/trippels/results/boost/bin.v2/libs/variant/test/variant_no_rtti_test.test/gcc-5.0.0/release/pch-off/rtti-off/recursive_variant_test.o"
"../libs/variant/test/recursive_variant_test.cpp"

Sources can be seen here:
https://github.com/boostorg/variant/blob/develop/test/recursive_variant_test.cpp#L315


Exactly the same test compile and pass OK if rtti is on.

P.S.: Sorry for no preprocessed and minimized code, I have no access to 5.0.0.
I'm trying to contact the test runner, but no success at this point.


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

end of thread, other threads:[~2015-01-19 20:47 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-08  9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
2014-12-08  9:46 ` [Bug ipa/64218] " trippels at gcc dot gnu.org
2014-12-08  9:51 ` trippels at gcc dot gnu.org
2014-12-08 10:26 ` [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite trippels at gcc dot gnu.org
2014-12-08 13:24 ` rguenth at gcc dot gnu.org
2014-12-08 18:56 ` trippels at gcc dot gnu.org
2014-12-08 19:37 ` trippels at gcc dot gnu.org
2014-12-09 12:55 ` marxin at gcc dot gnu.org
2014-12-15 17:22 ` antoshkka at gmail dot com
2015-01-14 23:51 ` larsbj at gullik dot net
2015-01-16  5:06 ` hubicka at gcc dot gnu.org
2015-01-16  8:33 ` trippels at gcc dot gnu.org
2015-01-18 21:41 ` hubicka at gcc dot gnu.org
2015-01-18 22:11 ` trippels at gcc dot gnu.org
2015-01-18 22:41 ` hubicka at gcc dot gnu.org
2015-01-19 20:47 ` hubicka at gcc dot gnu.org
2015-01-19 20:47 ` hubicka 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).