Commit 85c28850 by Jerry DeLisle

re PR fortran/42852 (gfortran -Wall warns about truncated lines when only a…

re PR fortran/42852 (gfortran -Wall warns about truncated lines when only a continuation character is truncated)

2010-07-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/42852
	* gfortran.dg/wtruncate_fix.f: New test.

From-SVN: r162514
parent ac64eec4
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
......
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 }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment