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/54428] [4.7/4.8 Regression] ICE in gimplify_expr, at gimplify.c:7591


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-08-31 19:01:05 UTC ---
Author: jakub
Date: Fri Aug 31 19:00:59 2012
New Revision: 190840

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190840
Log:
    PR c/54428
    * c-convert.c (convert): Don't call fold_convert_loc if
    TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e
    is a COMPLEX_EXPR.  Remove TYPE_MAIN_VARIANT check from
    COMPLEX_TYPE -> COMPLEX_TYPE conversion.

    * gcc.c-torture/compile/pr54428.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr54428.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-convert.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]