https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97774
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Starting gcc 10.1, we have instead: ... jmp .L8 # BLOCK 4 seq:2 # PRED: 2 (ABNORMAL,ABNORMAL_CALL,EH) .L7: # test.cc:14:3 .loc 1 14 3 cmpq $1, %rdx ... and: ... $ gdb a.out -ex start -ex n Reading symbols from a.out... Temporary breakpoint 1 at 0x4007b4: file test.cc, line 12. Starting program: a.out Temporary breakpoint 1, main () at test.cc:12 12 function1 (); 14 catch (int x) ... This is due to: ... commit 4500f7510368cdb24b8afcc66e86e09cafe49199 Author: Eric Botcazou <ebotca...@adacore.com> Date: Fri Jul 5 08:39:13 2019 +0000 except.c (emit_to_new_bb_before): Make sure to put a location on SEQ. * except.c (emit_to_new_bb_before): Make sure to put a location on SEQ. * tree-eh.c (replace_goto_queue_1) <GIMPLE_GOTO>: Propagate location. (emit_eh_dispatch): Delete. (lower_catch): Emit the eh_dispatch manually and set the location of the first catch statement onto it. (lower_eh_filter): Emit the eh_dispatch manually and set location. (lower_eh_dispatch): Propagate location. * tree-outof-ssa.c (set_location_for_edge): Handle EH edges specially. (eliminate_build): Likewise. From-SVN: r273132 ...