]> gcc.gnu.org Git - gcc.git/commit - gcc/c/ChangeLog
re PR c/54428 (ICE in gimplify_expr, at gimplify.c:7591)
authorJakub Jelinek <jakub@redhat.com>
Fri, 31 Aug 2012 19:00:59 +0000 (21:00 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 31 Aug 2012 19:00:59 +0000 (21:00 +0200)
commitd409320ca8b8a9e121e56a636084604b6089ea60
treea5737acf8dc02d85ba026d10d52d0c174a265645
parent2c84f67d8458beba886d3cf319327bf44060a9ad
re PR c/54428 (ICE in gimplify_expr, at gimplify.c:7591)

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.

From-SVN: r190840
gcc/c/ChangeLog
gcc/c/c-convert.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr54428.c [new file with mode: 0644]
This page took 0.058434 seconds and 5 git commands to generate.