diff options
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6d36794027f..f52b6433160 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1966,7 +1966,7 @@ Do not assume @samp{inline} for functions defined inside a class scope. functions will have linkage like inline functions; they just won't be inlined by default. -@item -Wabi @r{(C++ and Objective-C++ only)} +@item -Wabi @r{(C, Objective-C, C++ and Objective-C++ only)} @opindex Wabi @opindex Wno-abi Warn when G++ generates code that is probably not compatible with the @@ -2066,6 +2066,27 @@ Instantiations of these templates may be mangled incorrectly. @end itemize +It also warns psABI related changes. The known psABI changes at this +point include: + +@itemize @bullet + +@item +For SYSV/x86-64, when passing union with long double, it is changed to +pass in memory as specified in psABI. For example: + +@smallexample +union U @{ + long double ld; + int i; +@}; +@end smallexample + +@noindent +@code{union U} will always be passed in memory. + +@end itemize + @item -Wctor-dtor-privacy @r{(C++ and Objective-C++ only)} @opindex Wctor-dtor-privacy @opindex Wno-ctor-dtor-privacy |