cppexp.c (ALWAYS_EVAL): Remove.
authorNeil Booth <neil@daikokuya.co.uk>
Fri, 19 Jul 2002 19:24:43 +0000 (19:24 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 19 Jul 2002 19:24:43 +0000 (19:24 +0000)
commit75aef48add6b3ecf07c6dccee00050162e2058db
tree62b42c3aa3319f8724a11cbe166c57a37698d77b
parent72a5503d6216f912f7050bb99ce3cc5adbf57ec1
cppexp.c (ALWAYS_EVAL): Remove.

* cppexp.c (ALWAYS_EVAL): Remove.
(optab, reduce): Always evaluate.
(num_unary_op, num_binary_op, num_div_op): Issue diagnostics
only if not skipping evaluation.
testsuite:
* gcc.dg/cpp/expr.c: New tests.

From-SVN: r55595
gcc/ChangeLog
gcc/cppexp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/expr.c [new file with mode: 0644]