r278604 - in /trunk/gcc: ChangeLog doc/invoke.texi

jsm28@gcc.gnu.org jsm28@gcc.gnu.org
Thu Nov 21 23:27:00 GMT 2019


Author: jsm28
Date: Thu Nov 21 23:27:39 2019
New Revision: 278604

URL: https://gcc.gnu.org/viewcvs?rev=278604&root=gcc&view=rev
Log:
doc: Remove claim about ISO C

The patch to make -fcommon the default introduces a bogus claim into
the GCC documentation.

-fcommon was claimed to be incompatible with ISO C for preventing
duplicate definitions from being diagnosed.  It does, but as that
elicits undefined behaviour (the requirement that there shall be no
more than one external definition is not a constraint), ISO C does not
require any diagnostic for it.  In the absence of any other rule this
would violate, both -fcommon and -fno-common are fully compatible with
all versions of ISO C.

2019-11-21  Harald van Dijk  <harald@gigawatt.nl>

	* doc/invoke.texi (-fcommon): Remove claim about ISO C.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/invoke.texi



More information about the Gcc-cvs mailing list