This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32450] -pg seemingly causes miscompilation
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jun 2007 10:34:44 -0000
- Subject: [Bug target/32450] -pg seemingly causes miscompilation
- References: <bug-32450-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jv244 at cam dot ac dot uk 2007-06-27 10:34 -------
(In reply to comment #4)
> (In reply to comment #3)
> > basically, you need -O2 and -march=native to trigger the bug
>
> I can't reproduce that, what is your processor exactly? (ie what is "native"
> for you)
>
... here is a suggestion for the gcc crew ... what about having gfortran -v
also print the value fo -march=native. Honestly, I often don't now the precise
CPU I'm running on (that's why I find -march=native useful in the first place).
In this case, it is either on a intel core 2 duo or on an opteron. I'll see if
I can figure out where I did these runs ....
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32450