https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102941
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Here is a testcase which fails at all optimization levels (not DCEing out stuff): int test_cmpu_x; long test_cmpu_y() { long le; f(&le); __asm__("cmp %" "[x], %" "[y]" : "=@ccls"(le) : [x] ""(test_cmpu_x), [y] ""(test_cmpu_y)); return le; }