re PR fortran/36725 (g0 edit descriptor: Missing compile-time checking for invalid...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 14 Jul 2008 01:02:05 +0000 (01:02 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 14 Jul 2008 01:02:05 +0000 (01:02 +0000)
2008-07-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/36725
gfortran.dg/fmt_go_4.f08: New test.

From-SVN: r137770

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/fmt_g0_4.f08 [new file with mode: 0644]

index 2f20e5b9295419e647e829284f3c76ab935ddacc..dd05af115062814b620567e3cc34f29218326f7b 100644 (file)
@@ -1,9 +1,14 @@
+2008-07-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/36725
+       gfortran.dg/fmt_go_4.f08: New test.
+
 2008-07-14  Hans-Peter Nilsson  <hp@axis.com>
 
        PR target/35492
        * gcc.c-torture/compile/pr35492.c: New test.
 
-2008-06-22  Daniel Kraft  <d@domob.eu>
+2008-07-12  Daniel Kraft  <d@domob.eu>
 
        * gfortran.dg/used_types_21.f90:  New test.
 
diff --git a/gcc/testsuite/gfortran.dg/fmt_g0_4.f08 b/gcc/testsuite/gfortran.dg/fmt_g0_4.f08
new file mode 100644 (file)
index 0000000..149b1aa
--- /dev/null
@@ -0,0 +1,5 @@
+! { dg-do compile }
+! { dg-options "-std=f2008" }
+! PR36725 Compile time error for g0 edit descriptor
+print '(g0.9)', 0.1 ! { dg-error "Specifying precision" }
+end