OSDN Git Service

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)
commit3bcc1a800100c83e84eaa18ef50c68510a8d8cd1
tree0875007b2f72c9c1dff1299a2d63339ae8a1c885
parent39d21acd0ed3610567de0e46023ee2b9ad58b148
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+ssh://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]