[Bug rtl-optimization/22104] using "-fprofile-use" on code that has HUGE amounts of inline asm borks it
tomstdenis at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 17 15:44:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list