summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0080-PR-fortran-48117.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0080-PR-fortran-48117.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0080-PR-fortran-48117.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0080-PR-fortran-48117.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0080-PR-fortran-48117.patch
new file mode 100644
index 000000000..67a64e479
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0080-PR-fortran-48117.patch
@@ -0,0 +1,27 @@
+From 95333dcb51a2099d45b792b945fd9c0a2f8febab Mon Sep 17 00:00:00 2001
+From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Thu, 7 Apr 2011 18:33:34 +0000
+Subject: [PATCH 080/200] PR fortran/48117
+ * gfortran.dg/gomp/pr48117.f90: New test.
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172120 138bc75d-0d04-0410-961f-82ee72b054a4
+
+new file mode 100644
+index 0000000..bc8ad9b
+--- /dev/null
++++ b/gcc/testsuite/gfortran.dg/gomp/pr48117.f90
+@@ -0,0 +1,11 @@
++! PR fortran/48117
++! { dg-do compile }
++! { dg-options "-O2 -fopenmp" }
++
++subroutine foo(x)
++ character(len=*), optional :: x
++ character(len=80) :: v
++ !$omp master
++ if (present(x)) v = adjustl(x)
++ !$omp end master
++end subroutine foo
+--
+1.7.0.4
+