re PR middle-end/16790 (Integer down cast ignored in larger expression)
authorRoger Sayle <roger@eyesopen.com>
Tue, 3 Aug 2004 21:24:32 +0000 (21:24 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Tue, 3 Aug 2004 21:24:32 +0000 (21:24 +0000)
commita0fac73d2b6a463a96c93d8ea37d1c33e605aa93
tree0b16b01e23d9aa185acb22cc027765bf8cef2029
parent5357b1f9df2a6613d463096a8808f34a4ee6f60e
re PR middle-end/16790 (Integer down cast ignored in larger expression)

PR middle-end/16790
* fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local
truncations, not just global truncations.

* gcc.c-torture/execute/pr16790-1.c: New test case.

From-SVN: r85506
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr16790-1.c [new file with mode: 0644]