diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2018-11-11 17:46:00 -0500 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2018-11-11 17:46:00 -0500 |
commit | 2dda36f93d9a845ed8de394f7d83299cf4d63bab (patch) | |
tree | d1736c8c26fe60939aa1536d23043617460f397e /gcc | |
parent | b5dda6c13bcac977f6183fe8e21b52f1e1dd6a34 (diff) | |
download | gcc-2dda36f93d9a845ed8de394f7d83299cf4d63bab.zip gcc-2dda36f93d9a845ed8de394f7d83299cf4d63bab.tar.gz gcc-2dda36f93d9a845ed8de394f7d83299cf4d63bab.tar.bz2 |
re PR c++/43105 (Document restrictions on mixing -fno-rtti and -frtti)
2018-11-11 Sandra Loosemore <sandra@codesourcery.com>
PR c++/43105
gcc/
* doc/invoke.texi (C++ Dialect Options): Add warning about mixing
-frtti and -fno-rtti code.
From-SVN: r266020
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a8293f..958cff1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2018-11-11 Sandra Loosemore <sandra@codesourcery.com> + PR c++/43105 + * doc/invoke.texi (C++ Dialect Options): Add warning about mixing + -frtti and -fno-rtti code. + +2018-11-11 Sandra Loosemore <sandra@codesourcery.com> + PR c/26366 * doc/extend.texi (Other Builtins): Document probability associated with __builtin_expect. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index a144ed6..e016dce 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2679,6 +2679,11 @@ needed. The @code{dynamic_cast} operator can still be used for casts that do not require run-time type information, i.e.@: casts to @code{void *} or to unambiguous base classes. +Mixing code compiled with @option{-frtti} with that compiled with +@option{-fno-rtti} may not work. For example, programs may +fail to link if a class compiled with @option{-fno-rtti} is used as a base +for a class compiled with @option{-frtti}. + @item -fsized-deallocation @opindex fsized-deallocation Enable the built-in global declarations |