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: "pinskia at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2007 20:07:02 -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 #19 from pinskia at gmail dot com 2007-07-04 20:07 -------
Subject: Re: -pg seemingly causes miscompilation
On 4 Jul 2007 19:17:22 -0000, jv244 at cam dot ac dot uk
<gcc-bugzilla@gcc.gnu.org> wrote:
> b.s:
>
> .LCFI15:
> cmpl $9, __cp_log_handling_MOD_stack_pointer(%rip)
> call mcount
> movq %rdi, %rbx
> jle .L21
This is obviosuly wrong as the call will most likely clobber the flags
register.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32450