[Bug ipa/63598] New: [5.0 Regression] ICE: in ipa_merge_profiles at ipa-utils.c:396
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 19 20:50:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63598
Bug ID: 63598
Summary: [5.0 Regression] ICE: in ipa_merge_profiles at
ipa-utils.c:396
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: danglin at gcc dot gnu.org
CC: mliska at suse dot cz
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Created attachment 33759
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33759&action=edit
Preprocessed source
/opt/gnu/bin/bash ./libtool --tag=CC --mode=compile
/test/gnu/gcc/objdir/./gcc
/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11
/bin/ -B/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/lib/ -isystem
/opt/gnu/gcc/gc
c-5.0/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hp
ux11.11/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc/libgomp
-I../../../gc
c/libgomp/config/posix -I../../../gcc/libgomp -Wall -Werror
-frandom-seed=fixed
-seed -Wc,-pthread -g -O2 -MT env.lo -MD -MP -MF .deps/env.Tpo -c -o env.lo
../.
./../gcc/libgomp/env.c
libtool: compile: /test/gnu/gcc/objdir/./gcc/xgcc
-B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-5.0/hppa2.
0w-hp-hpux11.11/lib/ -isystem
/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/include
-isystem /opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/sys-include
-DHAVE_CONFIG_H
-I. -I../../../gcc/libgomp -I../../../gcc/libgomp/config/posix
-I../../../gcc/l
ibgomp -Wall -Werror -pthread -frandom-seed=fixed-seed -g -O2 -MT env.lo -MD
-MP
-MF .deps/env.Tpo -c ../../../gcc/libgomp/env.c -fPIC -DPIC -o .libs/env.o
../../../gcc/libgomp/env.c:1446:1: internal compiler error: Segmentation fault
ialias (omp_is_initial_device)
^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
(gdb) r
Starting program: /test/gnu/gcc/objdir/gcc/cc1 -fpreprocessed env.i -quiet
-dumpbase env.c -auxbase-strip .libs/env.o -g -O2 -Wall -Werror -version
-frandom-seed=fixed-seed -fPIC -o env.s
warning: Private mapping of shared library text was not specified
by the executable; setting a breakpoint in a shared library which
is not privately mapped will not work. See the HP-UX 11i v3 chatr
manpage for methods to privately map shared library text.
GNU C (GCC) version 5.0.0 20141019 (experimental) [trunk revision 216441]
(hppa2.0w-hp-hpux11.11)
compiled by GNU C version 4.7.2, GMP version 5.0.5, MPFR version 3.1.2, MPC
version 1.0
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 5.0.0 20141019 (experimental) [trunk revision 216441]
(hppa2.0w-hp-hpux11.11)
compiled by GNU C version 4.7.2, GMP version 5.0.5, MPFR version 3.1.2, MPC
version 1.0
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: eaae743d522abd7927ead6970564ef2b
Program received signal SIGSEGV, Segmentation fault.
0x0087be3c in _Z18ipa_merge_profilesP11cgraph_nodeS0_ (dst=0x0,
src=0x7afbd460) at ../../gcc/gcc/ipa-utils.c:396
396 || !dst->definition)
(gdb) bt
#0 0x0087be3c in _Z18ipa_merge_profilesP11cgraph_nodeS0_ (dst=0x0,
src=0x7afbd460) at ../../gcc/gcc/ipa-utils.c:396
#1 0x008570d4 in _ZN7ipa_icf12sem_function5mergeEPNS_8sem_itemE (
this=0x4035f440, alias_item=0x4035f5d0) at ../../gcc/gcc/ipa-icf.c:652
#2 0x0085e220 in _ZN7ipa_icf18sem_item_optimizer13merge_classesEj (
this=0x4035f300, prev_class_count=33) at ../../gcc/gcc/ipa-icf.c:2241
#3 0x0085b41c in _ZN7ipa_icf18sem_item_optimizer7executeEv (this=0x4035f300)
at ../../gcc/gcc/ipa-icf.c:1602
#4 0x0085e85c in ipa_icf::ipa_icf_driver() () at ../../gcc/gcc/ipa-icf.c:2319
#5 0x0085eb5c in _ZN7ipa_icf12pass_ipa_icf7executeEP8function (
this=0x4033aef8) at ../../gcc/gcc/ipa-icf.c:2366
#6 0x00a4e3f4 in _Z16execute_one_passP8opt_pass (pass=0x4033aef8)
at ../../gcc/gcc/passes.c:2155
#7 0x00a4f910 in _Z21execute_ipa_pass_listP8opt_pass (pass=0x4033aef8)
at ../../gcc/gcc/passes.c:2545
#8 0x0038cfa4 in _ZL10ipa_passesv () at ../../gcc/gcc/cgraphunit.c:2057
#9 0x0038d3d8 in _ZN12symbol_table7compileEv (this=0x7ae2b000)
at ../../gcc/gcc/cgraphunit.c:2137
#10 0x0038d894 in _ZN12symbol_table25finalize_compilation_unitEv (
this=0x7ae2b000) at ../../gcc/gcc/cgraphunit.c:2290
#11 0x000982f4 in _Z27c_write_global_declarationsv ()
at ../../gcc/gcc/c/c-decl.c:10640
#12 0x00bf73b4 in _ZL12compile_filev () at ../../gcc/gcc/toplev.c:569
---Type <return> to continue, or q <return> to quit---
#13 0x00bfb22c in _ZL10do_compilev () at ../../gcc/gcc/toplev.c:1977
#14 0x00bfb540 in toplev_main(int, char**) () at ../../gcc/gcc/toplev.c:2053
#15 0x011f79c4 in main (argc=17, argv=0x7eff0544) at ../../gcc/gcc/main.c:36
dst is NULL.
More information about the Gcc-bugs
mailing list