r172896 - in /branches/gcc-4_6-branch/gcc: Chan...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Sat Apr 23 10:18:00 GMT 2011


Author: jakub
Date: Sat Apr 23 10:18:54 2011
New Revision: 172896

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172896
Log:
	PR c/48685
	* fold-const.c (fold_convert_loc): Add NOP_EXPR when casting
	to VOID_TYPE even around MODIFY_EXPR.

	* gcc.dg/pr48685.c: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr48685.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/fold-const.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list