53 lines
2.3 KiB
Plaintext
53 lines
2.3 KiB
Plaintext
$NetBSD$
|
|
|
|
--- gcc/doc/invoke.texi.orig Wed Mar 23 22:03:29 2011
|
|
+++ gcc/doc/invoke.texi
|
|
@@ -404,6 +404,7 @@ Objective-C and Objective-C++ Dialects}.
|
|
-include @var{file} -imacros @var{file} @gol
|
|
-iprefix @var{file} -iwithprefix @var{dir} @gol
|
|
-iwithprefixbefore @var{dir} -isystem @var{dir} @gol
|
|
+-cxx-isystem @var{dir} @gol
|
|
-imultilib @var{dir} -isysroot @var{dir} @gol
|
|
-M -MM -MF -MG -MP -MQ -MT -nostdinc @gol
|
|
-P -fworking-directory -remap @gol
|
|
@@ -425,7 +426,8 @@ Objective-C and Objective-C++ Dialects}.
|
|
|
|
@item Directory Options
|
|
@xref{Directory Options,,Options for Directory Search}.
|
|
-@gccoptlist{-B@var{prefix} -I@var{dir} -iquote@var{dir} -L@var{dir}
|
|
+@gccoptlist{-B@var{prefix} -I@var{dir} -iquote@var{dir}
|
|
+-iremap@var{src}:@var{dst} -L@var{dir}
|
|
-specs=@var{file} -I- --sysroot=@var{dir}}
|
|
|
|
@item Target Options
|
|
@@ -3246,11 +3248,11 @@ Furthermore, the prior value shall be read only to det
|
|
to be stored.''. If a program breaks these rules, the results on any
|
|
particular implementation are entirely unpredictable.
|
|
|
|
-Examples of code with undefined behavior are @code{a = a++;}, @code{a[n]
|
|
-= b[n++]} and @code{a[i++] = i;}. Some more complicated cases are not
|
|
-diagnosed by this option, and it may give an occasional false positive
|
|
-result, but in general it has been found fairly effective at detecting
|
|
-this sort of problem in programs.
|
|
+Examples of code with undefined behavior are @code{a = a++;},
|
|
+@code{a[n] = b[n++]} and @code{a[i++] = i;}. Some more complicated cases
|
|
+are not diagnosed by this option, and it may give an occasional false
|
|
+positive result, but in general it has been found fairly effective at
|
|
+detecting this sort of problem in programs.
|
|
|
|
The standard is worded confusingly, therefore there is some debate
|
|
over the precise meaning of the sequence point rules in subtle cases.
|
|
@@ -8872,6 +8874,12 @@ Add the directory @var{dir} to the head of the list of
|
|
be searched for header files only for the case of @samp{#include
|
|
"@var{file}"}; they are not searched for @samp{#include <@var{file}>},
|
|
otherwise just like @option{-I}.
|
|
+
|
|
+@item -iremap @var{src}:@var{dst}
|
|
+@opindex iremap
|
|
+Replace the prefix @var{src} in __FILE__ with @var{dst} at expansion time.
|
|
+This option can be specified more than once. Processing stops at the first
|
|
+match.
|
|
|
|
@item -L@var{dir}
|
|
@opindex L
|