https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90791
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-06-09 CC| |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> --- Do we want to error for a template containing a reference to a non-existing operand, even when this inline asm is deleted? If we want to do that, we will need to do this check near parsing time, not at the very end of the pipeline as we do now. (It errors at -O0, and is fine at every other level). Confirmed.