]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/60823 (ICE in gimple_expand_cfg, at cfgexpand.c:5644)
authorJakub Jelinek <jakub@redhat.com>
Tue, 22 Apr 2014 10:21:32 +0000 (12:21 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 22 Apr 2014 10:21:32 +0000 (12:21 +0200)
commit2044a4c3cc2db3697e62eea701c489378ad54947
tree6bdbf55401c310f7e635b4e6df5d894fff74da1c
parent9d8b4d1ce91511ae92cd746c10a05e16215f1940
re PR tree-optimization/60823 (ICE in gimple_expand_cfg, at cfgexpand.c:5644)

PR tree-optimization/60823
* omp-low.c (ipa_simd_modify_function_body): Go through
all SSA_NAMEs and for those refering to vector arguments
which are going to be replaced adjust SSA_NAME_VAR and,
if it is a default definition, change it into a non-default
definition assigned at the beginning of function from new_decl.
(ipa_simd_modify_stmt_ops): Rewritten.
* tree-dfa.c (set_ssa_default_def): When removing default def,
check for NULL loc instead of NULL *loc.

* c-c++-common/gomp/pr60823-1.c: New test.
* c-c++-common/gomp/pr60823-2.c: New test.
* c-c++-common/gomp/pr60823-3.c: New test.

From-SVN: r209616
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr60823-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/gomp/pr60823-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/gomp/pr60823-3.c [new file with mode: 0644]
gcc/tree-dfa.c