https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102941
qinzhao at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |qinzhao at gcc dot gnu.org --- Comment #7 from qinzhao at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #1) > Simplified testcase without -ftrivial-auto-var-init=pattern > > int test_cmpu_x; > void f(long *); > > void > test_cmpu_y() { > long le; > f(&le); > __asm__("cmp %" > "[x], %" > "[y]" > : "=@ccls"(le) > : [x] ""(test_cmpu_x), [y] ""(test_cmpu_y)); > } One question: is this ICE triggered by the call to __builtin_clear_padding (&le,....) inserted by -ftrivial-auto-var-init=pattern (which makes the "le" address taken, therefore resulting the final ICE?)