https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84838

            Bug ID: 84838
           Summary: Minor grammar fixes for x86 options
           Product: gcc
           Version: 8.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dhgutteridge at hotmail dot com
  Target Milestone: ---

Created attachment 43636
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43636&action=edit
Patch to correct documentation

I noticed some minor grammatical errors in the x86 options section. "Nor" isn't
correct usage in these sentences, and there was a missing definite article (in
keeping with the style used elsewhere for that same option).

--- invoke.texi.orig    2018-03-12 18:03:36.016800350 -0400
+++ invoke.texi 2018-03-12 18:50:10.065027987 -0400
@@ -27877,9 +27877,9 @@
 function attribute @code{indirect_branch}.  @xref{Function Attributes}.

 Note that @option{-mcmodel=large} is incompatible with
-@option{-mindirect-branch=thunk} nor
+@option{-mindirect-branch=thunk} and
 @option{-mindirect-branch=thunk-extern} since the thunk function may
-not be reachable in large code model.
+not be reachable in the large code model.

 Note that @option{-mindirect-branch=thunk-extern} is incompatible with
 @option{-fcf-protection=branch} and @option{-fcheck-pointer-bounds}
@@ -27898,9 +27898,9 @@
 @xref{Function Attributes}.

 Note that @option{-mcmodel=large} is incompatible with
-@option{-mfunction-return=thunk} nor
+@option{-mfunction-return=thunk} and
 @option{-mfunction-return=thunk-extern} since the thunk function may
-not be reachable in large code model.
+not be reachable in the large code model.


 @item -mindirect-branch-register

Reply via email to