Hi,

barring objections, I'm going to commit as obvious the below, which removes a left over bit of documentation, thus completing http://gcc.gnu.org/viewcvs?view=revision&revision=97318

Thanks,
Paolo.

////////////////////
2013-01-22  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/56067
        * doc/invoke.texi: Remove left over -Wsynth example.
Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi     (revision 195369)
+++ doc/invoke.texi     (working copy)
@@ -2673,23 +2673,6 @@ Warn when overload resolution chooses a promotion
 enumerated type to a signed type, over a conversion to an unsigned type of
 the same size.  Previous versions of G++ tried to preserve
 unsignedness, but the standard mandates the current behavior.
-
-@smallexample
-struct A @{
-  operator int ();
-  A& operator = (int);
-@};
-
-main ()
-@{
-  A a,b;
-  a = b;
-@}
-@end smallexample
-
-@noindent
-In this example, G++ synthesizes a default @samp{A& operator =
-(const A&);}, while cfront uses the user-defined @samp{operator =}.
 @end table
 
 @node Objective-C and Objective-C++ Dialect Options

Reply via email to