This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/85579] [9 regression] SIGSEV in fortran test case gfortran.dg/pr51434.f90 starting with r259754
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 May 2018 20:52:41 +0000
- Subject: [Bug fortran/85579] [9 regression] SIGSEV in fortran test case gfortran.dg/pr51434.f90 starting with r259754
- Auto-submitted: auto-generated
- References: <bug-85579-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85579
Harald Anlauf <anlauf at gmx dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gmx dot de
--- Comment #6 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Richard Biener from comment #5)
> FE issue I believe.
It looks like the testcase got corrupted.
Testing with another compiler shows that it is invalid as is. E.g.,
% nagfor pr51434.f90
NAG Fortran Compiler Release 6.1(Tozai) Build 6106
Error: pr51434.f90, line 9: Dimension 1 of value for array T has extent 18
instead of 5
Errors in declarations, no further processing for FOO
Error: pr51434.f90, line 13: USE of module FOO which has errors
Errors in declarations, no further processing for BAR
[NAG Fortran Compiler error termination, 2 errors]
Replacing the line
character(len=1):: t(n) = transfer('abcde ', s)
by
character(len=1):: t(n) = transfer('abcde', s)
makes it work properly.