https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060
Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #18 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- The pr97060 test is failing for me, in the gcc-10 branch, at least on target arm-eabi. It passes when optimization is enabled, because then the DIE with the declaration tag, generated in resolve_addr, makes to the output. With optimization disabled, it's created and resolved, but doesn't make it. It looks like this only works at -O0 with the patch for bug 96383, but it hasn't been backported to gcc-10. Only Red Hat's gcc-10 branch has it, as stated in comment 6.