https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68014
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-10-29
CC| |segher at gcc dot gnu.org
Component|inline-asm |target
Ever confirmed|0 |1
--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Confirmed the ICE. It is a target bug: the x86 backend has an assert
here that we're not trying to print text for the flags register, it
should do output_operand_lossage or similar instead.
For other targets (e.g. those with multiple condition registers) it
_is_ useful to be able to refer to %0 here.
For @cc being silently accepted by older compilers (but meaning CX):
that's unfortunate, but you can check __GCC_ASM_FLAG_OUTPUTS__ making
this mostly moot.