This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/85579] [9 regression] SIGSEV in fortran test case gfortran.dg/pr51434.f90 starting with r259754


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]