This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/22104] using "-fprofile-use" on code that has HUGE amounts of inline asm borks it
- From: "tomstdenis at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jun 2005 15:44:10 -0000
- Subject: [Bug rtl-optimization/22104] using "-fprofile-use" on code that has HUGE amounts of inline asm borks it
- References: <20050617143020.22104.tomstdenis@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tomstdenis at gmail dot com 2005-06-17 15:44 -------
(In reply to comment #8)
> (In reply to comment #7)
> > See <URL:http://bugs.gentoo.org/> for instructions.
>
> Is there a reason why you reported this to here and not to gentoo or did
gentoo tell you to file it here?
> Also since this is only reproducible with -fprofile-use, can you attach the
full program since we cannot
> reproduce without running it?
I've sent the profile data and I've uploaded the code to
http://libtomcrypt.org/tfm.tar.bz2
Build with:
CFLAGS="-march=prescott -fprofile-generate" make && gcc -march=prescott
-fprofile-generate -O3 -fomit-frame-pointer -funroll-loops ecc.c libtfm.a -o ecc
Then run "./ecc"
Then run "rf -f [.][ao]"
Rebuild with:
CFLAGS="-march=prescott -fprofile-use" make && gcc -march=prescott -fprofile-use
-O3 -fomit-frame-pointer -funroll-loops ecc.c libtfm.a -o ecc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22104