[Bug fortran/95998] gfc_typename use of static memory

2021-03-28 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95998 Dominique d'Humieres changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug fortran/95998] gfc_typename use of static memory

2020-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95998 --- Comment #3 from Dominique d'Humieres --- > If we ever have three occurences of gfc_typename in a function list, > like > > foo (gfc_typename(a), gfc_typename(b), gfc_typename(c)); > > we will get the wrong result for the third one. We

[Bug fortran/95998] gfc_typename use of static memory

2020-07-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95998 --- Comment #2 from Thomas Koenig --- (In reply to Dominique d'Humieres from comment #1) > Is static in C/C++ equivalent of SAVE in fortran (at least in the context of > gfc_typename)? Yes. > If yes, AFAIU the code the odd access to