public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/68569] ICE with automatic character object and DATA
[not found] <bug-68569-4@http.gcc.gnu.org/bugzilla/>
@ 2023-07-25 20:35 ` anlauf at gcc dot gnu.org
2023-07-25 21:32 ` anlauf at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: anlauf at gcc dot gnu.org @ 2023-07-25 20:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #6 from anlauf at gcc dot gnu.org ---
Nicolas, are you still working on this?
I have played with extensions of your patch that fix the testcases here
as well as the fallout from regression testing. To be attached later.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/68569] ICE with automatic character object and DATA
[not found] <bug-68569-4@http.gcc.gnu.org/bugzilla/>
2023-07-25 20:35 ` [Bug fortran/68569] ICE with automatic character object and DATA anlauf at gcc dot gnu.org
@ 2023-07-25 21:32 ` anlauf at gcc dot gnu.org
2023-07-26 19:18 ` anlauf at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: anlauf at gcc dot gnu.org @ 2023-07-25 21:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569
--- Comment #7 from anlauf at gcc dot gnu.org ---
Created attachment 55635
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55635&action=edit
Patch
This patch fixes the testcases in this PR and regtests OK, except for the
necessary minor adjustments to the patterns in gfortran.dg/data_char_4.f90
and gfortran.dg/data_char_5.f90 (not included).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/68569] ICE with automatic character object and DATA
[not found] <bug-68569-4@http.gcc.gnu.org/bugzilla/>
2023-07-25 20:35 ` [Bug fortran/68569] ICE with automatic character object and DATA anlauf at gcc dot gnu.org
2023-07-25 21:32 ` anlauf at gcc dot gnu.org
@ 2023-07-26 19:18 ` anlauf at gcc dot gnu.org
2023-07-26 19:47 ` cvs-commit at gcc dot gnu.org
2023-07-26 19:49 ` anlauf at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: anlauf at gcc dot gnu.org @ 2023-07-26 19:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569
--- Comment #8 from anlauf at gcc dot gnu.org ---
Submitted (v2): https://gcc.gnu.org/pipermail/fortran/2023-July/059652.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/68569] ICE with automatic character object and DATA
[not found] <bug-68569-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2023-07-26 19:18 ` anlauf at gcc dot gnu.org
@ 2023-07-26 19:47 ` cvs-commit at gcc dot gnu.org
2023-07-26 19:49 ` anlauf at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-07-26 19:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:27ba73644f53c118e3f9b3fe9cd792210696ec55
commit r14-2805-g27ba73644f53c118e3f9b3fe9cd792210696ec55
Author: Harald Anlauf <anlauf@gmx.de>
Date: Wed Jul 26 21:12:45 2023 +0200
Fortran: diagnose strings of non-constant length in DATA statements
[PR68569]
gcc/fortran/ChangeLog:
PR fortran/68569
* resolve.cc (check_data_variable): Do not accept strings with
deferred length or non-constant length in a DATA statement.
Reject also substrings of string variables of non-constant length.
gcc/testsuite/ChangeLog:
PR fortran/68569
* gfortran.dg/data_char_4.f90: Adjust expected diagnostic.
* gfortran.dg/data_char_5.f90: Likewise.
* gfortran.dg/data_char_6.f90: New test.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/68569] ICE with automatic character object and DATA
[not found] <bug-68569-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2023-07-26 19:47 ` cvs-commit at gcc dot gnu.org
@ 2023-07-26 19:49 ` anlauf at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: anlauf at gcc dot gnu.org @ 2023-07-26 19:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |14.0
Status|ASSIGNED |RESOLVED
--- Comment #10 from anlauf at gcc dot gnu.org ---
Fixed on mainline for gcc-14. Closing.
Thanks for the report!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-07-26 19:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-68569-4@http.gcc.gnu.org/bugzilla/>
2023-07-25 20:35 ` [Bug fortran/68569] ICE with automatic character object and DATA anlauf at gcc dot gnu.org
2023-07-25 21:32 ` anlauf at gcc dot gnu.org
2023-07-26 19:18 ` anlauf at gcc dot gnu.org
2023-07-26 19:47 ` cvs-commit at gcc dot gnu.org
2023-07-26 19:49 ` anlauf at gcc dot gnu.org
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).