summaryrefslogtreecommitdiff
path: root/gcc/cp/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/NEWS')
-rw-r--r--gcc/cp/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/NEWS b/gcc/cp/NEWS
index 3a8fc4cca8a..d2c483d289c 100644
--- a/gcc/cp/NEWS
+++ b/gcc/cp/NEWS
@@ -36,6 +36,12 @@
* G++ no longer allows you to overload the conditional operator (i.e.,
the `?:' operator.)
+* The "named return value" extension:
+
+ int f () return r { r = 3; }
+
+ has been deprecated, and will be removed in a future version of G++.
+
*** Changes in GCC 2.95:
* Messages about non-conformant code that we can still handle ("pedwarns")