--- Comment #7 from rguenth at gcc dot gnu dot org 2009-10-06 10:31 ---
Subject: Bug 41502
Author: rguenth
Date: Tue Oct 6 10:31:17 2009
New Revision: 152489
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152489
Log:
2009-10-06 Richard Guenther
PR lto/41502
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-06 10:31 ---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-09-30 16:00 ---
Subject: Bug 41502
Author: rguenth
Date: Wed Sep 30 16:00:07 2009
New Revision: 152332
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152332
Log:
2009-09-30 Richard Guenther
PR middle-end/41502
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-29 14:21 ---
Subject: Bug 41502
Author: rguenth
Date: Tue Sep 29 14:20:37 2009
New Revision: 152277
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152277
Log:
2009-09-29 Richard Guenther
* gcc.dg/visibility-7
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-29 14:20 ---
Papered over.
./xgcc -B. -o t.o -shared attr-warn-unused-result.3.i -O -fPIC -flto
still ICEs the old way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-29 14:04 ---
static void
ipa_passes (void)
{
...
/* Remove the bodies of extern inline functions that we never
inlined. */
cgraph_remove_unreachable_nodes (false, dump_file);
that's bogus and too early.
--
rguenth
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-29 13:46 ---
Reduced testcase, fails at -O1:
typedef void (*fnt) (void);
extern inline void check3 (void)
{
bar ();
}
void test (void)
{
const fnt pcheck3 = check3;
pcheck3 ();
}
all details important: extern, the call t