On 10/20/19 11:14 AM, Bernd Edlinger wrote:
Hi,

I've noticed that the description of -fcommon that gets printed
with "gcc -v --help" is exactly the opposite of what this
option actually does.

With -fcommon, different global variables w/o initial value
are plced in common blocks, similar to fortran named common
blocks, while with -fno-common, those variables are placed
in the .bss segment.

I believe the description is describing the "flag_no_common",
but that is not what the user needs to know.


Bootstrapped and reg-tested on x86_64-pc-linux-gnu.
Is it OK for trunk?

Good catch!  Yes, this is fine.

-Sandra

Reply via email to