[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-05-19 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-05-19 13:16 --- Subject: Bug 43946 Author: rguenth Date: Wed May 19 13:14:37 2010 New Revision: 159564 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159564 Log: 2010-05-19 Richard Guenther rguent...@suse.de

[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-05-19 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.6.0 |4.5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43946

[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-04-30 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-30 10:44 --- We fail the DECL_ASSEMBLER_NAME_SET_P (decl) check. The function declaration in question is an implicit one at the point of its use (which means that we likely do not get a cgraph node for it at LTO dump time).

[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-04-30 Thread hubicka at ucw dot cz
--- Comment #2 from hubicka at ucw dot cz 2010-04-30 10:57 --- Subject: Re: SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program This smeells like notice_global_symbol issue again that computes assembler name on random first symbol in

[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-04-30 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-30 11:19 --- We end up with a 2nd FUNCTION_DECL for debug info which does not have an assembler name set. Created by: Run till exit from #0 0x00bbcb87 in copy_node_stat ( node=0x75adcb00) at

[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-04-30 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-30 11:42 --- Without -fprofile-arcs we never output the decl copy (so it probably gets lost). So this seems to be a latent problem with early inlining? At least the inlining before profiling sees { Scope block #0 extern

[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-04-30 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-30 11:43 --- Proper testcase: static void expand_stmt_with_iterators_1 (void) { extern void expand_expr_stmt (void); expand_expr_stmt (); } void iterator_expand (void) { expand_stmt_with_iterators_1 (); } --

[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-04-30 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-04-30 12:02 --- Mine, I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-04-30 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-30 13:23 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program

2010-04-30 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-04-30 13:24 --- Subject: Bug 43946 Author: rguenth Date: Fri Apr 30 13:23:25 2010 New Revision: 158935 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158935 Log: 2010-04-30 Richard Guenther rguent...@suse.de PR