https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104447
--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> --- w/o -pg, there's an error output as expected: ../gcc.target/i386/pr55512-4.c:7:3: error: ‘asm’ operand has impossible constraints 7 | asm goto ("" : : "r" (x), "r" (x + 1), "r" (x + 2), "r" (x + 3), /* { dg-error "operand has impossible constraints" } */ It looks like an diagnostic issue?