PR fortran/42852
* gfortran.dg/wtruncate_fix.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162514
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-07-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/42852
+ * gfortran.dg/wtruncate_fix.f: New test.
+
2010-07-25 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/45068
--- /dev/null
+c { dg-do compile }
+c { dg-options "-Wall" }
+c PR42852 -Wall warns about truncated lines when only a continuation character is truncated
+ print *, "Hello!" & !xxxxx
+ & // " World!"
+ print *, "Hello!" & xxxxx
+ & // " World!"
+ print *, "Hello!" //
+ & // " World!"
+ end
+c { dg-warning "Line truncated" " " { target *-*-* } 6 }
+c { dg-warning "Line truncated" " " { target *-*-* } 8 }