This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r142521 - in /trunk/gcc: ChangeLog fold-const.c...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 06 Dec 2008 12:47:15 -0000
- Subject: r142521 - in /trunk/gcc: ChangeLog fold-const.c...
Author: jakub
Date: Sat Dec 6 12:47:15 2008
New Revision: 142521
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142521
Log:
PR middle-end/38422
* fold-const.c (fold_unary) <CASE_CONVERT>: Don't convert MULT_EXPR
operands to mult_type if it isn't narrower than op0's type.
* gcc.c-torture/execute/pr38422.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr38422.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog