aboutsummaryrefslogtreecommitdiff
path: root/gcc/debug.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-03-22 23:11:31 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2005-03-22 23:11:31 +0000
commit8ff24a798e576cd22463248fb6975b5b58fd094e (patch)
treef55ddbeed98ae2cc0f504faf58d52b45f88cd90f /gcc/debug.c
parent0dc8f32738b22686e14d8eb32ffcb05c10cb28dd (diff)
downloadgcc-8ff24a798e576cd22463248fb6975b5b58fd094e.zip
gcc-8ff24a798e576cd22463248fb6975b5b58fd094e.tar.gz
gcc-8ff24a798e576cd22463248fb6975b5b58fd094e.tar.bz2
extend.texi: Deprecate C++ min/max operators.
* doc/extend.texi: Deprecate C++ min/max operators. * parser.c (cp_parser_warn_min_max): New function. (cp_parser_binary_expression): Use it. (cp_parser_assignment_operator_opt): Likewise. (cp_parser_operator): Likewise. * g++.dg/opt/max1.C: Run with -Wno-deprecated. * g++.dg/opt/pr7503-2.C: Likewise. * g++.dg/opt/pr7503-3.C: Likewise. * g++.dg/opt/pr7503-4.C: Likewise. * g++.dg/opt/pr7503-5.C: Likewise. * g++.dg/warn/minmax.C: New test. From-SVN: r96899
Diffstat (limited to 'gcc/debug.c')
0 files changed, 0 insertions, 0 deletions