public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [C++ doc patch, trivial] PR 56067
@ 2013-01-22 10:25 Paolo Carlini
  0 siblings, 0 replies; only message in thread
From: Paolo Carlini @ 2013-01-22 10:25 UTC (permalink / raw)
  To: gcc-patches; +Cc: Gabriel Dos Reis

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

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.

////////////////////

[-- Attachment #2: CL_56067 --]
[-- Type: text/plain, Size: 123 bytes --]

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

	PR c++/56067
	* doc/invoke.texi: Remove left over -Wsynth example.

[-- Attachment #3: patch_56067 --]
[-- Type: text/plain, Size: 786 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-22 10:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-22 10:25 [C++ doc patch, trivial] PR 56067 Paolo Carlini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).