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

--- Comment #5 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Jan Wassenberg from comment #4)
> I understand the slippery slope concern. But the empty asm string is a
> special case, we and others use it (with +r output and memory clobber) to
> prevent optimizing variables out e.g. during tests.

I agree the empty string is a special case and I'm totally fine with the patch
Ke Wen committed/backported to fix your problem.  I'm just against going
further than that and actually trying to parse the contents of the inline asm
string to determine semantically what it contains.

Reply via email to