https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103908
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|gcc 7.5.0 (and earlier) |gcc miscompile asm goto for |miscompile asm goto in O1 |O1 |on x86-64 | Last reconfirmed| |2022-01-04 Ever confirmed|0 |1 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #1) > Seems to have been fixed by r258645 that just makes the problem latent. You can still reproduce the issue on the trunk with "-O1 -fdisable-tree-cselim -fno-tree-sink" . RTL ifcvt does: starting the processing of deferred insns ending the processing of deferred insns df_analyze called df_worklist_dataflow_doublequeue: n_basic_blocks 6 n_edges 6 count 6 ( 1) IF-THEN-ELSE-JOIN block found, pass 1, test 2, then 3, else 4, join 5 changing bb of uid 15 from 4 to 2 deleting insn with uid = 16. deleting block 4 Removing jump 6. deleting insn with uid = 6. deleting insn with uid = 9. deleting insn with uid = 8. deleting block 3 Merging block 5 into block 2... changing bb of uid 22 Merged blocks 2 and 5. Conversion succeeded on pass 1.