diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-22 23:11:31 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-22 23:11:31 +0000 |
commit | d50879bc374e498497960d44d049aa4c121a5b76 (patch) | |
tree | f55ddbeed98ae2cc0f504faf58d52b45f88cd90f /gcc/debug.c | |
parent | c5217bf5380ac848a5673ff7271a865147d40dbf (diff) | |
download | gcc-d50879bc374e498497960d44d049aa4c121a5b76.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96899 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/debug.c')
0 files changed, 0 insertions, 0 deletions