aboutsummaryrefslogtreecommitdiff
path: root/gcc/mode-switching.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2018-03-21 11:04:36 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2018-03-21 11:04:36 +0000
commitf82ece6b59622033b3dabf124d999d6f2fb1b6d7 (patch)
tree040f797e6109bd8be5c3cf2481cdbf62aced7f9b /gcc/mode-switching.c
parent7cd9cf2f0bc24499c292896f951c2a34875637f0 (diff)
downloadgcc-f82ece6b59622033b3dabf124d999d6f2fb1b6d7.zip
gcc-f82ece6b59622033b3dabf124d999d6f2fb1b6d7.tar.gz
gcc-f82ece6b59622033b3dabf124d999d6f2fb1b6d7.tar.bz2
Deprecate some C++ extensions
https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00995.html * doc/extend.texi (Deprecated Features): Update deprecared flags, mention anon-struct/union members and trailing attributes. cp/ * class.c (finish_struct_anon_r): Refactor, deprecate anything other than public non-static data members. * parser.c (cp_parser_init_declarator): Deprecate attributes after parenthesized initializer. testsuite/ * g++.dg/ext/anon-struct6.C: Adjust. * g++.dg/ext/deprecate-1.C: New. * g++.dg/ext/deprecate-2.C: New. * g++.dg/lookup/pr84602.C: Adjust. * g++.dg/lookup/pr84962.C: Adjust. * g++.old-deja/g++.other/anon4.C From-SVN: r258712
Diffstat (limited to 'gcc/mode-switching.c')
0 files changed, 0 insertions, 0 deletions