[Bug inline-asm/87733] local register variable not honored with earlyclobber

bugdal at aerifal dot cx gcc-bugzilla@gcc.gnu.org
Sat Mar 14 00:11:36 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87733

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #10 from Rich Felker <bugdal at aerifal dot cx> ---
This is a rather huge bug to have been fixed silently. Could someone who knows
the commit that fixed it and information on what versions are affected attach
the info to the tracker here? And ideally some information on working around it
for older GCCs?

>From what I can tell experimenting so far, adding a dummy "0"(r0) constraint,
or using + instead of =, makes the problem go away, but potentially has other
ill effects from use of an uninitialized object..?


More information about the Gcc-bugs mailing list