[Bug lto/47916] Using -flto leads to halved performance of unrar unarchiver

2011-02-28 Thread hubicka at ucw dot cz
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

Re: [Bug lto/47916] Using -flto leads to halved performance of unrar unarchiver

2011-02-28 Thread Jan Hubicka
> 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

[Bug lto/47916] Using -flto leads to halved performance of unrar unarchiver

2011-02-27 Thread t.artem at mailcity dot com
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.

[Bug lto/47916] Using -flto leads to halved performance of unrar unarchiver

2011-02-27 Thread rguenth at gcc dot gnu.org
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-

[Bug lto/47916] Using -flto leads to halved performance of unrar unarchiver

2011-02-27 Thread t.artem at mailcity dot com
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

[Bug lto/47916] Using -flto leads to halved performance of unrar unarchiver

2011-02-27 Thread rguenth at gcc dot gnu.org
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 ;)

[Bug lto/47916] Using -flto leads to halved performance of unrar unarchiver

2011-02-27 Thread t.artem at mailcity dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916 Artem S. Tashkinov changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug lto/47916] Using -flto leads to halved performance of unrar unarchiver

2011-02-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug lto/47916] Using -flto leads to halved performance of unrar unarchiver

2011-02-27 Thread t.artem at mailcity dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47916 Artem S. Tashkinov changed: What|Removed |Added Keywords||lto, missed-optimization