This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/86372] [8/9 Regression] Segfault on ASSOCIATE statement with CHARACTER variable
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Jul 2018 09:59:47 +0000
- Subject: [Bug fortran/86372] [8/9 Regression] Segfault on ASSOCIATE statement with CHARACTER variable
- Auto-submitted: auto-generated
- References: <bug-86372-4@http.gcc.gnu.org/bugzilla/>
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.