[Bug ipa/64664] New: [5 Regression] ICE: tree check: expected function_decl, have <invalid tree code> in opts_for_fn, at tree.h:4706
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 19 07:04:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64664
Bug ID: 64664
Summary: [5 Regression] ICE: tree check: expected
function_decl, have <invalid tree code> in
opts_for_fn, at tree.h:4706
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org
I guess either r219822 or r219823 caused the following Firefox build error:
/home/trippels/gcc_test/usr/local/bin/c++ -fPIC -Wall -Wempty-body
-Woverloaded-virtual -Wsign-compare -Wwrite-strings -Werror=endif-labels
-Werror=int-to-pointer-cast -Werror=missing-braces -Werror=pointer-arith
-Werror=return-type -Werror=sequence-point -Werror=unused-label
-Werror=trigraphs -Werror=type-limits -Wno-invalid-offsetof -Wcast-align
-flto=80 --param lto-partitions=80 -mcpu=power8 -ffunction-sections
-fdata-sections -fno-exceptions -fno-strict-aliasing -frtti -fno-exceptions
-fno-math-errno -std=gnu++0x -pthread -pipe -UDEBUG -DNDEBUG -O3
-DU_STATIC_IMPLEMENTATION -fvisibility=hidden -W -Wall -pedantic
-Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-unused
-Wno-unused-parameter -lpthread
-Wl,--hash-style=gnu,--as-needed,--gc-sections,--icf=all -Wl,-z,noexecstack
-Wl,-z,text -Wl,--build-id -Wl,--gc-sections -o ../../bin/makeconv makeconv.o
ucnvstat.o genmbcs.o gencnvex.o -L../../lib -licutu -L../../lib -licui18n
-L../../lib -licuuc -L../../stubdata -licudata -lpthread -ldl -lm
lto1: internal compiler error: tree check: expected function_decl, have
<invalid tree code> in opts_for_fn, at tree.h:4706
0x109fcf23 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
../../gcc/gcc/tree.c:9290
0x10164e17 tree_check(tree_node const*, char const*, int, char const*,
tree_code)
../../gcc/gcc/tree.h:3091
0x10164e17 opts_for_fn
../../gcc/gcc/tree.h:4706
0x10d90b33 opts_for_fn
../../gcc/gcc/tree.h:2846
0x10d90b33 ipa_icf::sem_item_optimizer::filter_removed_items()
../../gcc/gcc/ipa-icf.c:1656
0x10d921bf ipa_icf::sem_item_optimizer::execute()
../../gcc/gcc/ipa-icf.c:1703
0x10d930a3 ipa_icf_driver
../../gcc/gcc/ipa-icf.c:2460
0x10d930a3 ipa_icf::pass_ipa_icf::execute(function*)
../../gcc/gcc/ipa-icf.c:2508
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.
lto-wrapper: fatal error: /home/trippels/gcc_test/usr/local/bin/c++ returned 1
exit status
More information about the Gcc-bugs
mailing list