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: optimization/6806: gcc 3.0.4 ignoring clobbered registers in inline asm with -O1 or higher on i386


Synopsis: gcc 3.0.4 ignoring clobbered registers in inline asm with -O1 or higher on i386

State-Changed-From-To: open->analyzed
State-Changed-By: rth
State-Changed-When: Tue May 28 10:07:23 2002
State-Changed-Why:
    Confirmed still present in 3.1.0 compiling with -O1.
    
    Appears to be some sort of reload inheritence problem, since
    we have
            movl    f, %eax
            movl    %eax, -40(%ebp)
            ...
            addl %eax, %edx         
    #NO_APP
    
    I.e. F got copied to the stack as expected for a "g" input
    with not enough registers, but then we used eax in the asm
    anyway.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6806


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