From: Jason Merrill Date: Tue, 15 Oct 2024 13:04:23 +0000 (-0400) Subject: doc: remove obsolete deprecated info X-Git-Tag: basepoints/gcc-16~4983 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b666dc4d1c96e0ea3597fe7e502a70198a66c03;p=thirdparty%2Fgcc.git doc: remove obsolete deprecated info 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. --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 42bd567119de..6c2d6a610cd6 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.