re PR middle-end/65554 (ICE: verify_gimple failed)
authorMarek Polacek <polacek@redhat.com>
Thu, 9 Apr 2015 18:30:34 +0000 (18:30 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 9 Apr 2015 18:30:34 +0000 (18:30 +0000)
commit86c5a5c3bba487a03c0288c912641275e3df812b
tree22176e816e51dba61146e1127367061dd97d9b07
parent1bf137444b0fc1f40304c40c0730b08a71c8ba48
re PR middle-end/65554 (ICE: verify_gimple failed)

PR middle-end/65554
* gimple-fold.c (gimple_fold_builtin_memory_op): Update comment.
(fold_ctor_reference): Use STRIP_USELESS_TYPE_CONVERSION instead
of STRIP_NOPS.

* g++.dg/opt/pr65554.C: New test.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r221954
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr65554.C [new file with mode: 0644]