[Bug sanitizer/80114] asan-stack=1 with -fsanitize-address-use-after-scope and stack arrays multiplies code size
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Mon Mar 20 18:52:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80114
--- Comment #7 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
"String literals, and compound literals with const-qualified types, need
not designate distinct objects.". (This is different from named
variables, which can't be merged without -fmerge-all-constants unless it
can be shown there are no address comparisons that would allow the merging
to be detected.)
More information about the Gcc-bugs
mailing list