http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46164

Siarhei Siamashka <siarhei.siamashka at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22144|0                           |1
        is obsolete|                            |

--- Comment #2 from Siarhei Siamashka <siarhei.siamashka at gmail dot com> 
2010-10-25 12:32:01 UTC ---
Created attachment 22145
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22145
updated testcase (x86_64)

Actually the previous testcase was not very good. It tried to simulate
earlyclobber operand by specifying it both as input and output, but because
"p1" was actually not initialized, gcc may be allowed to optimize it and screw
up everything (without any kind of warnings, but that's another story).

So the problem is actually related to using specified registers for
earlyclobber output operands in such a way that they try to use the same
registers as function arguments.

Reply via email to