This is the mail archive of the gcc-patches@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]

Re: Make inliner to take cgraph SCCs into account


> On Sun, 28 Oct 2012, Jan Hubicka wrote:
> 
> >Bootstrapped/regtested x86_64-linux.
> >
> >Honza
> >
> >	* ipa-inline.c (edge_badness): Reduce precision; use scc hints.
> >	(inline_small_functions): Fix dumps; update all callees after inlining.
> >	* ipa-inline.h (INLINE_HINT_in_scc, INLINE_HINT_same_scc): New constants.
> >	(inline summary): Add SCC_NO.
> >	* ipa-inline-analysis.c (dump_inline_hints): Dump SCC hints.
> >	(reset_inline_summary): Reset scc_no.
> >	(estimate_node_size_and_time): Set in_scc hint.
> >	(do_estimate_edge_time): Add same_scc hint.
> >	(do_estimate_edge_hints): Likewise.
> 
> Hello,
> 
> I haven't tried bisecting or anything, but bootstrap is broken on
> x86_64-linux:

Hmm, sorry, that is indeed mine.  I am testing a fix.

Honza
> 
> libtool: compile:  /tmp/testgcc/pristine/build/./gcc/xgcc -B/tmp/testgcc/pristine/build/./gcc/ -B/tmp/testgcc/pristine/inst/x86_64-unknown-linux-gnu/bin/ -B/tmp/testgcc/pristine/inst/x86_64-unknown-linux-gnu/lib/ -isystem /tmp/testgcc/pristine/inst/x86_64-unknown-linux-gnu/include -isystem /tmp/testgcc/pristine/inst/x86_64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I.. -I/data/repos/gcc/pristine/libstdc++-v3/../libiberty -I/data/repos/gcc/pristine/libstdc++-v3/../include -D_GLIBCXX_SHARED -I/tmp/testgcc/pristine/build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/tmp/testgcc/pristine/build/x86_64-unknown-linux-gnu/libstdc++-v3/include -I/data/repos/gcc/pristine/libstdc++-v3/libsupc++ -g -O2 -DIN_GLIBCPP_V3 -Wno-error -c cp-demangle.c  -fPIC -DPIC -o cp-demangle.o
> cp-demangle.c:5462:1: internal compiler error: in edge_badness, at ipa-inline.c:910
>  }
>  ^
> 0x1046ce7 edge_badness
>         /data/repos/gcc/pristine/gcc/ipa-inline.c:910
> 0x1046d33 update_edge_key
>         /data/repos/gcc/pristine/gcc/ipa-inline.c:922
> 0x1047fe6 inline_small_functions
>         /data/repos/gcc/pristine/gcc/ipa-inline.c:1399
> 0x1048cf9 ipa_inline
>         /data/repos/gcc/pristine/gcc/ipa-inline.c:1717
> 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.
> make[5]: *** [cp-demangle.lo] Error 1
> make[5]: Leaving directory `/tmp/testgcc/pristine/build/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/tmp/testgcc/pristine/build/x86_64-unknown-linux-gnu/libstdc++-v3'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/tmp/testgcc/pristine/build/x86_64-unknown-linux-gnu/libstdc++-v3'
> make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
> make[2]: Leaving directory `/tmp/testgcc/pristine/build'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/tmp/testgcc/pristine/build'
> make: *** [all] Error 2
> 
> 
> -- 
> Marc Glisse


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