I've checked in this patch to fix another old but easy doc issue from bugzilla, PR43105.

-Sandra
2018-11-11  Sandra Loosemore  <san...@codesourcery.com>

	PR c++/43105

	gcc/
	* doc/invoke.texi (C++ Dialect Options): Add warning about mixing
	-frtti and -fno-rtti code.
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 266019)
+++ gcc/doc/invoke.texi	(working copy)
@@ -2679,6 +2679,11 @@ needed. The @code{dynamic_cast} operator
 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

Reply via email to