This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/48685] [4.5/4.6/4.7 regression] ICE in gimplify_expr, at gimplify.c:7034


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48685

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-23 10:18:06 UTC ---
Author: jakub
Date: Sat Apr 23 10:18:03 2011
New Revision: 172895

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172895
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:
    trunk/gcc/testsuite/gcc.dg/pr48685.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]