-fno-common

Bernhard Schommer bernhardschommer@gmail.com
Mon Jan 28 15:59:00 GMT 2019


Hi,

I would like to know if the handling of the option -fno-common has
changed between version 7.3 and 8.2 for x86. I tried it with the
default system version of OpenSUSE and for example:

const int i;

is placed in the .bss section. With a newer self-compiled version 8.2
the same variable is placed in the section .rodata. I could not find
any information in the Changelog whether the behavior has changed and
thus would like to know if there was any change.

Best,
-Bernhard



More information about the Gcc mailing list