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]

Re: [Bug target/32450] -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


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