[Bug testsuite/97803] c-c++-common/asan/pointer-compare-1.c assumes variable placement

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 12 07:14:53 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97803

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Does it work if you add -fno-toplevel-reorder?  SHF_GNU_RETAIN should preserve
the order of vars even if 'used' then.


More information about the Gcc-bugs mailing list