Commit f69257d6 by Toon Moene Committed by Toon Moene

re PR fortran/7388 (Incorrect output with 0 based array of characters.)

2002-09-08  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.dg/7388.f: New test case for PR 7388.

From-SVN: r56953
parent 4b7e68e7
2002-09-08 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.dg/7388.f: New test case for PR 7388.
2002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
* gcc.dg/compare2.c: Remove xfail from cases 10 and 12.
......
C { dg-do run }
C { dg-options "-fbounds-check" }
character*25 buff(0:10)
character*80 line
integer i, m1, m2
i = 1
m1 = 1
m2 = 7
buff(i) = 'tcase0a'
write(line,*) buff(i)(m1:m2)
if (line .ne. ' tcase0a') call abort
end
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