public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/100821] New: Deferred character with wrong bounds
@ 2021-05-28 18:48 jrfsousa at gcc dot gnu.org
2021-05-29 10:26 ` [Bug fortran/100821] Deferred character with wrong length jrfsousa at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jrfsousa at gcc dot gnu.org @ 2021-05-28 18:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100821
Bug ID: 100821
Summary: Deferred character with wrong bounds
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jrfsousa at gcc dot gnu.org
Target Milestone: ---
Created attachment 50887
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50887&action=edit
Fortran code showing problem
Hi All!
Due to the way deferred character length is implemented, using SAVE_EXPR, it
will usually contain garbage.
Seen on:
GNU Fortran (GCC) 9.3.1 20210526
GNU Fortran (GCC) 10.3.1 20210526
GNU Fortran (GCC) 11.1.1 20210526
GNU Fortran (GCC) 12.0.0 20210527 (experimental)
Thank you very much.
Best regards,
José Rui
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/100821] Deferred character with wrong length
2021-05-28 18:48 [Bug fortran/100821] New: Deferred character with wrong bounds jrfsousa at gcc dot gnu.org
@ 2021-05-29 10:26 ` jrfsousa at gcc dot gnu.org
2021-05-29 22:06 ` dominiq at lps dot ens.fr
2021-05-30 14:00 ` dominiq at lps dot ens.fr
2 siblings, 0 replies; 4+ messages in thread
From: jrfsousa at gcc dot gnu.org @ 2021-05-29 10:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100821
--- Comment #1 from José Rui Faustino de Sousa <jrfsousa at gcc dot gnu.org> ---
Patch posted:
https://gcc.gnu.org/pipermail/fortran/2021-May/056097.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/100821] Deferred character with wrong length
2021-05-28 18:48 [Bug fortran/100821] New: Deferred character with wrong bounds jrfsousa at gcc dot gnu.org
2021-05-29 10:26 ` [Bug fortran/100821] Deferred character with wrong length jrfsousa at gcc dot gnu.org
@ 2021-05-29 22:06 ` dominiq at lps dot ens.fr
2021-05-30 14:00 ` dominiq at lps dot ens.fr
2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-05-29 22:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100821
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-05-29
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Patch posted:
>
> https://gcc.gnu.org/pipermail/fortran/2021-May/056097.html
The patch works as expected.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/100821] Deferred character with wrong length
2021-05-28 18:48 [Bug fortran/100821] New: Deferred character with wrong bounds jrfsousa at gcc dot gnu.org
2021-05-29 10:26 ` [Bug fortran/100821] Deferred character with wrong length jrfsousa at gcc dot gnu.org
2021-05-29 22:06 ` dominiq at lps dot ens.fr
@ 2021-05-30 14:00 ` dominiq at lps dot ens.fr
2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-05-30 14:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100821
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-05-30 14:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 18:48 [Bug fortran/100821] New: Deferred character with wrong bounds jrfsousa at gcc dot gnu.org
2021-05-29 10:26 ` [Bug fortran/100821] Deferred character with wrong length jrfsousa at gcc dot gnu.org
2021-05-29 22:06 ` dominiq at lps dot ens.fr
2021-05-30 14:00 ` dominiq at lps dot ens.fr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).