http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916
--- Comment #8 from Jan Hubicka 2011-02-28 08:55:46 UTC
---
> That should work. The error is a sanity check that profile information
> is sane.
Obviously given that sanity of profile can break for valid reasons, we should
not ICE
when this happe
> That should work. The error is a sanity check that profile information
> is sane.
Obviously given that sanity of profile can break for valid reasons, we should
not ICE
when this happen. I will try to look how it becomes insane here however.
Honza
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916
--- Comment #7 from Artem S. Tashkinov 2011-02-27
23:26:52 UTC ---
> That should work. The error is a sanity check that profile information
> is sane.
I don't get you :( It seems like you say two opposite things.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916
--- Comment #6 from Richard Guenther 2011-02-27
23:13:02 UTC ---
(In reply to comment #5)
> Thanks for the explanation!
>
> I'm not sure if it's worth opening a new bug report, but GCC crashes when I
> try
> to use -fprofile-generate/-fprofile-
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916
--- Comment #5 from Artem S. Tashkinov 2011-02-27
21:06:04 UTC ---
Thanks for the explanation!
I'm not sure if it's worth opening a new bug report, but GCC crashes when I try
to use -fprofile-generate/-fprofile-use together with -flto:
g++ -o u
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916
--- Comment #4 from Richard Guenther 2011-02-27
21:03:31 UTC ---
(In reply to comment #3)
> My bad!
>
> export LDFLAGS=-O2 -march=i686 -mtune=generic -flto
>
> has solved the problem.
Yeah, I guess it will be one of the more common mistakes ;)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916
Artem S. Tashkinov changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916
Artem S. Tashkinov changed:
What|Removed |Added
Keywords||lto, missed-optimization