* fold-const.c (fold_convert): When casting an expression to void,
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jan 2007 23:00:00 +0000 (23:00 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jan 2007 23:00:00 +0000 (23:00 +0000)
commitdf0137b92d4859863101d5f72d535945dbe7201c
tree35858a62fe69e81cdcf5d8546b8674776f52a212
parent68cf29942c2845632ce65215ef5c17f907347956
* fold-const.c (fold_convert): When casting an expression to void,
fold_ignored_result may discover a GIMPLE_MODIFY_STMT which doesn't
have a type.  Instead of attempting to build a NOP_EXPR, return
these "special" trees directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120451 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c