This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/22104] using "-fprofile-use" on code that has HUGE amounts of inline asm borks it


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]