aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.fortran
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2016-02-16 09:23:09 +0000
committerTom de Vries <vries@gcc.gnu.org>2016-02-16 09:23:09 +0000
commit2175df996bb6424d0b08bac0ece3e947d4c3d3b4 (patch)
tree1a78e0cdb6e87ca494718314bf5c210adc49f490 /libgomp/testsuite/libgomp.fortran
parent3824a0a2e2cf8bb20cce2c6d4e817a854b7a889f (diff)
downloadgcc-2175df996bb6424d0b08bac0ece3e947d4c3d3b4.zip
gcc-2175df996bb6424d0b08bac0ece3e947d4c3d3b4.tar.gz
gcc-2175df996bb6424d0b08bac0ece3e947d4c3d3b4.tar.bz2
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
Diffstat (limited to 'libgomp/testsuite/libgomp.fortran')
-rw-r--r--libgomp/testsuite/libgomp.fortran/declare-simd-4.f907
1 files changed, 7 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.fortran/declare-simd-4.f90 b/libgomp/testsuite/libgomp.fortran/declare-simd-4.f90
new file mode 100644
index 0000000..bfdf9cf
--- /dev/null
+++ b/libgomp/testsuite/libgomp.fortran/declare-simd-4.f90
@@ -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'