[Bug target/32450] -pg seemingly causes miscompilation
pinskia at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jul 4 20:07:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list