This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/63376] [5.0 Regression] ICE: in operator[], at vec.h:736 compiling team.c


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

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
Bug can be reproduced with x86 cross:

dave@lux0:~/gnu/gcc/objdir$ gcc/xgcc -Bgcc -v
Reading specs from gcc/specs
COLLECT_GCC=gcc/xgcc
COLLECT_LTO_WRAPPER=gcc/lto-wrapper
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --target=hppa2.0w-hp-hpux11.11
--prefix=/home/dave/opt/gnu --with-gnu-as --with-gnu-ld --enable-threads=posix
--disable-nls --disable-lto --without-cloog --without-ppl --disable-libmudflap
--disable-libssp --disable-libstdcxx-pch --enable-shared
--enable-languages=c,c++
--with-sysroot=/home/dave/opt/gnu/hppa2.0w-hp-hpux11.11/root
--with-build-sysroot=/home/dave/opt/gnu/hppa2.0w-hp-hpux11.11/root
Thread model: posix
gcc version 5.0.0 20141010 (experimental) [trunk revision 216098] (GCC)

./gcc/cc1 -fpreprocessed team.i -quiet -dumpbase team.c -auxbase-strip
.libs/team.o -g -O2 -Wall -Werror -version -frandom-seed=fixed-seed -fPIC -o
team.s
dave@lux0:~/gnu/gcc/objdir$ ./gcc/cc1 -fpreprocessed team.i -quiet -dumpbase
team.c -auxbase-strip .libs/team.o -g -O2 -Wall -Werror -version
-frandom-seed=fixed-seed -fPIC -o team.s
GNU C (GCC) version 5.0.0 20141010 (experimental) [trunk revision 216098]
(hppa2.0w-hp-hpux11.11)
        compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version
3.1.2-p3, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 5.0.0 20141010 (experimental) [trunk revision 216098]
(hppa2.0w-hp-hpux11.11)
        compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version
3.1.2-p3, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 5a99bebc29a6c53ba66845410ca575d2
../../../gcc/libgomp/team.c:947:1: internal compiler error: in operator[], at
vec.h:736
0x80ed53e vec<ipa_edge_args, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/gcc/vec.h:736
0x848dfcf vec<ipa_edge_args, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/gcc/vec.h:1072
0x848dfcf evaluate_properties_for_edge
        ../../gcc/gcc/ipa-inline-analysis.c:903
0x8490e27 do_estimate_edge_size(cgraph_edge*)
        ../../gcc/gcc/ipa-inline-analysis.c:3736
0x8490fef estimate_edge_size
        ../../gcc/gcc/ipa-inline.h:288
0x8490fef estimate_edge_growth
        ../../gcc/gcc/ipa-inline.h:301
0x8490fef do_estimate_growth_1
        ../../gcc/gcc/ipa-inline-analysis.c:3849
0x8289844 cgraph_node::call_for_symbol_thunks_and_aliases(bool
(*)(cgraph_node*, void*), void*, bool)
        ../../gcc/gcc/cgraph.c:2120
0x84914e9 do_estimate_growth(cgraph_node*)
        ../../gcc/gcc/ipa-inline-analysis.c:3863
0x8a01df1 estimate_growth
        ../../gcc/gcc/ipa-inline.h:275
0x8a01df1 inline_small_functions
        ../../gcc/gcc/ipa-inline.c:1586
0x8a01df1 ipa_inline
        ../../gcc/gcc/ipa-inline.c:2175
0x8a01df1 execute
        ../../gcc/gcc/ipa-inline.c:2535
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]