[Bug c/89887] the local array data will be laid in different section by different optimization level
zhongyunde at huawei dot com
gcc-bugzilla@gcc.gnu.org
Sat Mar 30 02:06:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89887
--- Comment #4 from vfdff <zhongyunde at huawei dot com> ---
I check that base on gcc-431, and find the local array will be placed in read
only section, i.e. gcc-431 can found the array not be touched with the option
-fno-toplevel-reorder. so is it a regression ?
~/GCC/gcc-431/binary/bin/gcc dd.c -O2 -fno-toplevel-reorder -S
More information about the Gcc-bugs
mailing list