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: 21 Jun 2007 10:16:18 -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 #2 from jv244 at cam dot ac dot uk 2007-06-21 10:16 -------
(In reply to comment #1)
> Most likely -pg is changing the alignment of the stack which is incorrect. Oh
> -pg code is emitted by the target specific code so this is a target issue.
>
Is there an easy way for me to check this ?
Meanwhile, I find that '-O1 -march=native -pg' compiles/executes OK.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32450