aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorJanus Weil <janus@gcc.gnu.org>2009-04-07 18:24:31 +0200
committerJanus Weil <janus@gcc.gnu.org>2009-04-07 18:24:31 +0200
commit13d138bfb15b542cb490f5685ba6e109d356dfe4 (patch)
tree85d964d67e85516b0de789119ce6e78614d494b1 /gcc/testsuite
parent1732c156412b8af08b0b24a615c99176a8ec3237 (diff)
downloadgcc-13d138bfb15b542cb490f5685ba6e109d356dfe4.zip
gcc-13d138bfb15b542cb490f5685ba6e109d356dfe4.tar.gz
gcc-13d138bfb15b542cb490f5685ba6e109d356dfe4.tar.bz2
re PR fortran/38152 (procedure pointers as module variables)
2009-04-07 Janus Weil <janus@gcc.gnu.org> PR fortran/38152 * trans-decl.c (gfc_get_symbol_decl): Correctly set decl location for procedure pointer decls. 2009-04-07 Janus Weil <janus@gcc.gnu.org> PR fortran/38152 * gfortran.dg/proc_ptr_13.f90: Add "-g" option. From-SVN: r145692
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gfortran.dg/proc_ptr_13.f901
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a810aae..688d1b5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-07 Janus Weil <janus@gcc.gnu.org>
+
+ PR fortran/38152
+ * gfortran.dg/proc_ptr_13.f90: Add "-g" option.
+
2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/subp_elim_errors.ad[sb]: New test.
diff --git a/gcc/testsuite/gfortran.dg/proc_ptr_13.f90 b/gcc/testsuite/gfortran.dg/proc_ptr_13.f90
index a0e69af..5c66c54 100644
--- a/gcc/testsuite/gfortran.dg/proc_ptr_13.f90
+++ b/gcc/testsuite/gfortran.dg/proc_ptr_13.f90
@@ -1,4 +1,5 @@
! { dg-do compile }
+! { dg-options "-g" }
!
! PR 38152: Procedure pointers as module variables.
!