http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
--- Comment #12 from Jan Hubicka 2012-01-31 13:34:13
UTC ---
> BTW I've been using the following patch since August last year:
>
> diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c
> index 75b8e9d..530fca3 100644
> --- a/gcc/i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
--- Comment #11 from Markus Trippelsdorf
2012-01-30 14:20:15 UTC ---
(In reply to comment #9)
> > only virtuals may need updating here.
> >
> > Less dangerous (considering other callers) might be to simply adjust
> > the code in inline-transform
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
Richard Guenther changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
--- Comment #9 from Jan Hubicka 2012-01-30 13:28:08 UTC
---
> only virtuals may need updating here.
>
> Less dangerous (considering other callers) might be to simply adjust
> the code in inline-transform.
>
> "Obvious" patch for this:
>
Hmm,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
--- Comment #8 from Richard Guenther 2012-01-30
12:12:31 UTC ---
Both TODO_update_ssa and TODO_update_ssa_only_virtuals are set. The assert
happens after IPA inline-transform. Probably happens because
if (!(todo & TODO_update_ssa_any))
/
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
--- Comment #6 from Markus Trippelsdorf
2012-01-29 19:41:40 UTC ---
Actually, I've used a slightly different testcase (a random shuffle of the
contents of the @testcase input file) for the bisection and unfortunately the
original testcase still f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
Markus Trippelsdorf changed:
What|Removed |Added
CC||hubicka at gcc dot gnu.org
--- Comm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
--- Comment #4 from Markus Trippelsdorf
2012-01-29 13:56:10 UTC ---
Created attachment 26500
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26500
lto testcase
% /usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.0/lto1 -quiet -O1 -fltrans test.o
In
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
--- Comment #3 from Markus Trippelsdorf
2012-01-29 13:17:12 UTC ---
-O2 -finline-functions -fipa-cp-clone -flto=4
or
-O1 -findirect-inlining -fipa-cp -finline-small-functions -finline-functions
-fipa-cp-clone -flto=4
also fails.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
--- Comment #2 from Markus Trippelsdorf
2012-01-29 11:32:59 UTC ---
I've uploaded the slim-lto files here:
http://trippelsdorf.de/testcase.tar.bz2
To reproduce just run:
% g++ @testcase -flto=4 -O3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52037
--- Comment #1 from Markus Trippelsdorf
2012-01-29 11:14:19 UTC ---
-flto-partition=none is fine and every optimization level !=-O3, too.
12 matches
Mail list logo