[Bug target/94134] pdp11-aout puts initial variable into .text section rather than .data
pkoning at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 11 16:57:58 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94134
--- Comment #7 from pkoning at gcc dot gnu.org ---
Thanks Jakub.
Inspecting the generated assembly language is a sufficient check of the fix in
my view. It's interesting that the test case shows the problem only with -O0.
When optimizing, things are emitted in a different order (in particular, b then
a, I'm not sure why).
More information about the Gcc-bugs
mailing list