fold-const.c (fold): Use the original type conversion tree code rather than call...
authorRoger Sayle <sayle@gcc.gnu.org>
Mon, 9 Feb 2004 14:00:36 +0000 (14:00 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 9 Feb 2004 14:00:36 +0000 (14:00 +0000)
commitb83c4036106e89a5c12f75519bdfeb125d27cbb6
tree6f4b5b4522317bca19876d7fc59f62216ff8267d
parent12001e0ff90b5a446e192e5c9672b98bb89ac866
fold-const.c (fold): Use the original type conversion tree code rather than call fold_convert...

* fold-const.c (fold) <NOP_EXPR>: Use the original type conversion
tree code rather than call fold_convert, which doesn't specify a
default floating point to integer conversion.

* gcc.c-torture/compile/20040209-1.c: New test case.

From-SVN: r77535
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20040209-1.c [new file with mode: 0644]