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/86372] [8/9 Regression] Segfault on ASSOCIATE statement with CHARACTER variable


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86372

--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #2)
> I get the warning with gcc8 and trunk (9.0), but the output is the expected
> one:
> 
>  **123*********************************************

Oh, really? That's interesting. Do you also get the correct output with earlier
gfortran versions?


Strangely, if I use a shorter string, e.g. "character(len=40) :: s", the
segfault disappears, but the output is still only stars. Puzzling.

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