Don't call call_cgraph_insertion_hooks in simd_clone_create

2016-02-16  Tom de Vries  <tom@codesourcery.com>

	PR lto/67709
	* omp-low.c (simd_clone_create): Remove call to
	symtab->call_cgraph_insertion_hooks.

	* testsuite/libgomp.fortran/declare-simd-4.f90: New test.

From-SVN: r233447
This commit is contained in:
Tom de Vries 2016-02-16 09:23:09 +00:00 committed by Tom de Vries
parent 3824a0a2e2
commit 2175df996b
4 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-02-16 Tom de Vries <tom@codesourcery.com>
PR lto/67709
* omp-low.c (simd_clone_create): Remove call to
symtab->call_cgraph_insertion_hooks.
2016-02-16 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/69802

View File

@ -18735,7 +18735,6 @@ simd_clone_create (struct cgraph_node *old_node)
new_node = old_node->create_version_clone (new_decl, vNULL, NULL);
if (old_node->in_other_partition)
new_node->in_other_partition = 1;
symtab->call_cgraph_insertion_hooks (new_node);
}
if (new_node == NULL)
return new_node;

View File

@ -1,3 +1,8 @@
2016-02-16 Tom de Vries <tom@codesourcery.com>
PR lto/67709
* testsuite/libgomp.fortran/declare-simd-4.f90: New test.
2016-02-09 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/69599

View File

@ -0,0 +1,7 @@
! { dg-do run { target { vect_simd_clones && lto } } }
! { dg-options "-fno-inline -flto -fno-use-linker-plugin" }
! { dg-additional-sources declare-simd-3.f90 }
! { dg-additional-options "-msse2" { target sse2_runtime } }
! { dg-additional-options "-mavx" { target avx_runtime } }
include 'declare-simd-2.f90'