PR c/14092
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Feb 2004 13:41:16 +0000 (13:41 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Feb 2004 13:41:16 +0000 (13:41 +0000)
commit914906f00fb57ab3ebea490958c4c3fafe689e7b
tree0875007b2f72c9c1dff1299a2d63339ae8a1c885
parent2d137344dc8ffd93775a133f36dc9e5c2a902158
PR c/14092
* gcc.dg/pr14092-1.c: New testcase.
* fold-const.c (fold) <NEGATE_EXPR>: Convert result of
negate_expr back to the original type.

git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@77602 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr14092-1.c [new file with mode: 0644]