diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-08-31 21:00:59 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-08-31 21:00:59 +0200 |
commit | d409320ca8b8a9e121e56a636084604b6089ea60 (patch) | |
tree | a5737acf8dc02d85ba026d10d52d0c174a265645 /gcc/resource.c | |
parent | 2c84f67d8458beba886d3cf319327bf44060a9ad (diff) | |
download | gcc-d409320ca8b8a9e121e56a636084604b6089ea60.zip gcc-d409320ca8b8a9e121e56a636084604b6089ea60.tar.gz gcc-d409320ca8b8a9e121e56a636084604b6089ea60.tar.bz2 |
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
Diffstat (limited to 'gcc/resource.c')
0 files changed, 0 insertions, 0 deletions