[Bug c/48685] [4.5 Regression] ICE in gimplify_expr, at gimplify.c:7034
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 3 17:11:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48685
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-03 16:33:15 UTC ---
Author: jakub
Date: Tue May 3 16:33:09 2011
New Revision: 173324
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173324
Log:
Backport from mainline
2011-04-23 Jakub Jelinek <jakub@redhat.com>
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_5-branch/gcc/testsuite/gcc.dg/pr48685.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/fold-const.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list