summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2018-11-07 22:37:32 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2018-11-07 22:37:32 -0500
commitbd21ffae02ebf96a8c120278d7e9f7ce46f4483f (patch)
treeb63642c72e4a350052a519ab3ade0204c1400d38
parenta28102f8cc84d0ea340ce7cf71bb45ad6f354927 (diff)
downloadgcc-bd21ffae02ebf96a8c120278d7e9f7ce46f4483f.tar.gz
re PR middle-end/42726 (-fno-common documentation inaccuracy)
2018-11-07 Sandra Loosemore <sandra@codesourcery.com> PR middle-end/42726 gcc/ * doc/invoke.texi (Code Gen Options): Clarify -fno-common behavior. From-SVN: r265906
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a85868c06cd..decc5a0f228 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2018-11-07 Sandra Loosemore <sandra@codesourcery.com>
+ PR middle-end/42726
+ * doc/invoke.texi (Code Gen Options): Clarify -fno-common behavior.
+
+2018-11-07 Sandra Loosemore <sandra@codesourcery.com>
+
* doc/invoke.texi: Remove leading dash from @opindex entries
throughout the file.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e455b91bc75..849bb76dc25 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -13294,7 +13294,7 @@ C, and on some targets may carry a speed or code size penalty on
variable references.
The @option{-fno-common} option specifies that the compiler should instead
-place uninitialized global variables in the data section of the object file.
+place uninitialized global variables in the BSS section of the object file.
This inhibits the merging of tentative definitions by the linker so
you get a multiple-definition error if the same
variable is defined in more than one compilation unit.