[pushed] doc: remove obsolete deprecated info
Jason Merrill
jason@redhat.com
Wed Oct 23 13:18:49 GMT 2024
Tested x86_64-pc-linux-gnu, applying to trunk.
-- 8< --
These formerly deprecated features eventually made it into the C++ standard.
gcc/ChangeLog:
* doc/extend.texi (Deprecated Features): Remove text about some
no-longer-deprecated features.
---
gcc/doc/extend.texi | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 42bd567119d..6c2d6a610cd 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -30169,16 +30169,6 @@ The use of default arguments in function pointers, function typedefs
and other places where they are not permitted by the standard is
deprecated and will be removed from a future version of G++.
-G++ allows floating-point literals to appear in integral constant expressions,
-e.g.@: @samp{ enum E @{ e = int(2.2 * 3.7) @} }
-This extension is deprecated and will be removed from a future version.
-
-G++ allows static data members of const floating-point type to be declared
-with an initializer in a class definition. The standard only allows
-initializers for static members of const integral types and const
-enumeration types so this extension has been deprecated and will be removed
-from a future version.
-
G++ allows attributes to follow a parenthesized direct initializer,
e.g.@: @samp{ int f (0) __attribute__ ((something)); } This extension
has been ignored since G++ 3.3 and is deprecated.
base-commit: 22a37534c640ca5ff2f0e947dfe60df59fb6bba1
--
2.47.0
More information about the Gcc-patches
mailing list