semantics.c (finish_unary_op_expr): Only set TREE_NEGATED_INT when actually negative.
authorNathan Sidwell <nathan@acm.org>
Mon, 22 Nov 1999 16:08:14 +0000 (16:08 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 22 Nov 1999 16:08:14 +0000 (16:08 +0000)
commit88b4335f8a21d7f6e9c3f1bb8b39788170123a1c
treec67803277cb59f65eeb8f454e32b4955ff881bdc
parent7cffd12d38191aa05ef9049d80d4714d6e52711a
semantics.c (finish_unary_op_expr): Only set TREE_NEGATED_INT when actually negative.

* semantics.c (finish_unary_op_expr): Only set TREE_NEGATED_INT
when actually negative.

* typeck.c (convert_for_assignment): Expand comment about
strange NULL check, moved from ...
(convert_for_initialization): ... here. Remove unneeded
code.

From-SVN: r30616
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/cp/typeck.c