diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-10-31 17:36:53 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-10-31 17:36:53 +0100 |
commit | 1e4fa9b11255ea15a3510dfd1e3011ffebdcc530 (patch) | |
tree | 02f439cea6eedaa3c53b1e6b687c8ca3064e8283 /gcc/tree-ssa-reassoc.c | |
parent | 520c47e803fb8c94b864d4a1dd0f79153eae7835 (diff) | |
download | gcc-1e4fa9b11255ea15a3510dfd1e3011ffebdcc530.zip gcc-1e4fa9b11255ea15a3510dfd1e3011ffebdcc530.tar.gz gcc-1e4fa9b11255ea15a3510dfd1e3011ffebdcc530.tar.bz2 |
re PR tree-optimization/77860 (ICE in gimple_build_assign_1, at gimple.c:420)
PR tree-optimization/77860
* tree-ssa-reassoc.c (eliminate_using_constants): Handle
also integral complex and vector constants.
* gcc.dg/pr77860.c: New test.
From-SVN: r241706
Diffstat (limited to 'gcc/tree-ssa-reassoc.c')
-rw-r--r-- | gcc/tree-ssa-reassoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-reassoc.c b/gcc/tree-ssa-reassoc.c index 99e1b41..5dcf672 100644 --- a/gcc/tree-ssa-reassoc.c +++ b/gcc/tree-ssa-reassoc.c @@ -924,7 +924,7 @@ eliminate_using_constants (enum tree_code opcode, tree type = TREE_TYPE (oelast->op); if (oelast->rank == 0 - && (INTEGRAL_TYPE_P (type) || FLOAT_TYPE_P (type))) + && (ANY_INTEGRAL_TYPE_P (type) || FLOAT_TYPE_P (type))) { switch (opcode) { |