User account creation filtered due to spam.

Bug 80609 - [8 Regression] crash_signal in reset_inline_summary on ia64 bootstrap
Summary: [8 Regression] crash_signal in reset_inline_summary on ia64 bootstrap
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: ipa (show other bugs)
Version: 8.0
: P3 normal
Target Milestone: 8.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-03 12:20 UTC by Michael Matz
Modified: 2017-05-03 16:15 UTC (History)
1 user (show)

See Also:
Host:
Target: ia64-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed file (37.43 KB, text/plain)
2017-05-03 12:33 UTC, Michael Matz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Matz 2017-05-03 12:20:50 UTC
Bootstrap on ia64 just got this:

0x40000000017dc5ff crash_signal
        /gcc/spec/sb-terbium-head-64/gcc/gcc/toplev.c:337
0x40000000008c7570 base_pool_allocator<memory_block_pool>::remove(void*)
        /gcc/spec/sb-terbium-head-64/gcc/gcc/alloc-pool.h:450
0x4000000000fe994f object_allocator<predicate>::remove(predicate*)
        /gcc/spec/sb-terbium-head-64/gcc/gcc/alloc-pool.h:520
0x4000000000faceaf reset_inline_summary
        /gcc/spec/sb-terbium-head-64/gcc/gcc/ipa-inline-analysis.c:1108
0x4000000000fd744f compute_inline_parameters(cgraph_node*, bool)
        /gcc/spec/sb-terbium-head-64/gcc/gcc/ipa-inline-analysis.c:3028
0x4000000000fd900f compute_inline_parameters_for_current
        /gcc/spec/sb-terbium-head-64/gcc/gcc/ipa-inline-analysis.c:3137
0x4000000000ff0bbf (anonymous namespace)::pass_inline_parameters::execute(function*)
        /gcc/spec/sb-terbium-head-64/gcc/gcc/ipa-inline-analysis.c:3167
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[3]: *** [_gcov.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/gcc/spec/sb-terbium-head-64/ia64/build/ia64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2

Configured with:

/gcc/spec/sb-terbium-head-64/gcc/configure --prefix=/gcc/spec/sb-terbium-head-64/ia64/install-201705031104 
--enable-languages=c,c++,fortran --enable-threads=posix --disable-nls --enable-__cxa_atexit --enable-clocale=gn
u --enable-checking=release --disable-libstdcxx-pch --disable-libsanitizer --disable-libcilkrts --without-isl

svn revision 247544.  I'll attach a preprocessed file once I get it.
Comment 1 Michael Matz 2017-05-03 12:22:23 UTC
IPA crash, hence CCing Honza.
Comment 2 Michael Matz 2017-05-03 12:33:31 UTC
Created attachment 41303 [details]
preprocessed file

% ./gcc/cc1 -fpreprocessed libgcov-driver.i -quiet -dumpbase libgcov-driver.i -auxbase-strip _gcov.o -g -g -O2 -O2 -Wextra -Wall -Wwrite-strings -Wcast-qual -Wformat=0 -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fbuilding-libgcc -fno-stack-protector -fPIC
/gcc/spec/sb-terbium-head-64/gcc/libgcc/libgcov-driver.c: In function 'merge_summary.isra.2':
/gcc/spec/sb-terbium-head-64/gcc/libgcc/libgcov-driver.c:923:1: internal compiler error: Segmentation fault
 }
 ^
0x40000000017dc5ff crash_signal
        /gcc/spec/sb-terbium-head-64/gcc/gcc/toplev.c:337
0x40000000008c7570 base_pool_allocator<memory_block_pool>::remove(void*)
        /gcc/spec/sb-terbium-head-64/gcc/gcc/alloc-pool.h:450
0x4000000000fe994f object_allocator<predicate>::remove(predicate*)
        /gcc/spec/sb-terbium-head-64/gcc/gcc/alloc-pool.h:520
0x4000000000faceaf reset_inline_summary
        /gcc/spec/sb-terbium-head-64/gcc/gcc/ipa-inline-analysis.c:1108
0x4000000000fd744f compute_inline_parameters(cgraph_node*, bool)
        /gcc/spec/sb-terbium-head-64/gcc/gcc/ipa-inline-analysis.c:3028
0x4000000001b564df convert_callers_for_node
        /gcc/spec/sb-terbium-head-64/gcc/gcc/tree-sra.c:5194
0x400000000085e61f cgraph_node::call_for_symbol_and_aliases(bool (*)(cgraph_node*, void*), void*, bool)
        /gcc/spec/sb-terbium-head-64/gcc/gcc/cgraph.h:3150
0x4000000001b55a2f convert_callers
        /gcc/spec/sb-terbium-head-64/gcc/gcc/tree-sra.c:5209
0x4000000001b5a5cf modify_function
        /gcc/spec/sb-terbium-head-64/gcc/gcc/tree-sra.c:5265
0x4000000001b5acff ipa_early_sra
        /gcc/spec/sb-terbium-head-64/gcc/gcc/tree-sra.c:5493
0x4000000001b7465f (anonymous namespace)::pass_early_ipa_sra::execute(function*)
        /gcc/spec/sb-terbium-head-64/gcc/gcc/tree-sra.c:5540
Comment 3 Jan Hubicka 2017-05-03 16:15:04 UTC
Author: hubicka
Date: Wed May  3 16:14:32 2017
New Revision: 247555

URL: https://gcc.gnu.org/viewcvs?rev=247555&root=gcc&view=rev
Log:

	PR bootstrap/80609
	* ipa-inline.h (inline_summary): Add ctor.
	(create_ggc): Do not use ggc_cleared_alloc.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-inline.h