http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60823
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 22 10:21:32 2014 New Revision: 209616 URL: http://gcc.gnu.org/viewcvs?rev=209616&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/c-c++-common/gomp/pr60823-1.c trunk/gcc/testsuite/c-c++-common/gomp/pr60823-2.c trunk/gcc/testsuite/c-c++-common/gomp/pr60823-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/omp-low.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-dfa.c