c/4495: ICE in replace_reg, at reg-stack.c:816

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Sat Apr 20 16:55:00 GMT 2002


Synopsis: ICE in replace_reg, at reg-stack.c:816

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Apr 20 14:28:54 2002
State-Changed-Why:
    gcc 3.1 will issue an error on your code:
    
    test3.c: In function `test':
    test3.c:15: output constraint 0 cannot be specified together with "st" clobber
    
    The fix to your code will be to change this line:
    : "=t"(ret): "u"(y), "0"(x): "eax","st");
    
    to:
    
    : "=t"(ret): "u"(y), "0"(x): "eax","st(1)");

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



More information about the Gcc-bugs mailing list