https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113777
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:0c4df2c3c38ca15c123e9a801b617e63256c83a3 commit r14-9423-g0c4df2c3c38ca15c123e9a801b617e63256c83a3 Author: Eric Botcazou <ebotca...@adacore.com> Date: Mon Mar 11 09:24:50 2024 +0100 Fix placement of recently implemented DIE It's the DIE added for enumeration types with reverse scalar storage order. gcc/ PR debug/113519 PR debug/113777 * dwarf2out.cc (gen_enumeration_type_die): In the reverse case, generate the DIE with the same parent as in the regular case. gcc/testsuite/ * gcc.dg/sso-20.c: New test. * gcc.dg/sso-21.c: Likewise.