]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR c++/28288 (ICE with min/max operator)
authorSteve Ellcey <sje@cup.hp.com>
Mon, 14 Aug 2006 23:13:54 +0000 (23:13 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Mon, 14 Aug 2006 23:13:54 +0000 (23:13 +0000)
commitb52dbbf86510c011400a97e204cf9384fef83b0c
tree3997bb50dfd7d49e1c239b1d5843cf07e8405f16
parentac1ed908de999523efc36f38e69bca1aadfe0808
re PR c++/28288 (ICE with min/max operator)

PR c++/28288
PR c++/14556
* operators.def: Remove <?, ?>, <?=, and >?= operators.
* parser.c: Remove CPP_MIN, CPP_MAX, CPP_MIN_EQ, and CPP_MAX_EQ.
(cp_parser_warn_min_max): Remove.
* include/cpplib.h: Remove <?, >?, <?=, and >?= tokens.
(CPP_LAST_EQ): Change.
(CPP_LAST_PUNCTUATOR): Change.
* expr.c (cpp_operator): Remove MIN and MAX.
(reduce): Remove CPP_MIN and CPP_MAX.
(num_binary_op): Ditto.
* lex.c (_cpp_lex_direct): Ditto.
(cpp_avoid_paste): Remove ? as legal symbol after > or <.

From-SVN: r116140
gcc/cp/ChangeLog
gcc/cp/operators.def
gcc/cp/parser.c
libcpp/ChangeLog
libcpp/expr.c
libcpp/include/cpplib.h
libcpp/lex.c