https://gcc.gnu.org/g:2b666dc4d1c96e0ea3597fe7e502a70198a66c03
commit r15-4570-g2b666dc4d1c96e0ea3597fe7e502a70198a66c03 Author: Jason Merrill <ja...@redhat.com> Date: Tue Oct 15 09:04:23 2024 -0400 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: --- gcc/doc/extend.texi | 10 ---------- 1 file changed, 10 deletions(-) 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.