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 target/32450] -pg seemingly causes miscompilation



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


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