public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group
[not found] <bug-93635-4@http.gcc.gnu.org/bugzilla/>
@ 2020-06-21 17:44 ` drikosev at gmail dot com
2020-06-21 19:19 ` sgk at troutmask dot apl.washington.edu
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: drikosev at gmail dot com @ 2020-06-21 17:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93635
Ev Drikos <drikosev at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |drikosev at gmail dot com
--- Comment #3 from Ev Drikos <drikosev at gmail dot com> ---
Created attachment 48765
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48765&action=edit
Various Test Cases, including one for PR/93635
Hello S. Kargl,
The attached patch contains various test cases for the PR's you mentioned at:
https://groups.google.com/d/msg/comp.lang.fortran/Xu73gGydAJk/X2YXyjndCAAJ
You simply apply it to your local working tree (ignore whatever fails).
patch -p0 < gcc48-tc93635-n.patch
Just ensure that these test cases indeed make some sense; they need a review.
Ev. Drikos
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group
[not found] <bug-93635-4@http.gcc.gnu.org/bugzilla/>
2020-06-21 17:44 ` [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group drikosev at gmail dot com
@ 2020-06-21 19:19 ` sgk at troutmask dot apl.washington.edu
2020-06-21 20:07 ` drikosev at gmail dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: sgk at troutmask dot apl.washington.edu @ 2020-06-21 19:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93635
--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Sun, Jun 21, 2020 at 05:44:51PM +0000, drikosev at gmail dot com wrote:
>
> The attached patch contains various test cases for the PR's you mentioned at:
> https://groups.google.com/d/msg/comp.lang.fortran/Xu73gGydAJk/X2YXyjndCAAJ
>
> You simply apply it to your local working tree (ignore whatever fails).
>
> patch -p0 < gcc48-tc93635-n.patch
>
> Just ensure that these test cases indeed make some sense; they need a review.
>
Thanks. Now, what is needed is someone taking the next
step to becoming a gfortran contributor in the sense
that she/he can commit changes to source tree.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group
[not found] <bug-93635-4@http.gcc.gnu.org/bugzilla/>
2020-06-21 17:44 ` [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group drikosev at gmail dot com
2020-06-21 19:19 ` sgk at troutmask dot apl.washington.edu
@ 2020-06-21 20:07 ` drikosev at gmail dot com
2023-03-13 20:42 ` anlauf at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: drikosev at gmail dot com @ 2020-06-21 20:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93635
--- Comment #5 from Ev Drikos <drikosev at gmail dot com> ---
(In reply to Ev Drikos from comment #3)
> Created attachment 48765 [details]
> Various Test Cases, including one for PR/93635
>
> Hello S. Kargl,
>
> The attached patch contains various test cases for the PR's you mentioned at:
> https://groups.google.com/d/msg/comp.lang.fortran/Xu73gGydAJk/X2YXyjndCAAJ
>
> You simply apply it to your local working tree (ignore whatever fails).
>
> patch -p0 < gcc48-tc93635-n.patch
>
> Just ensure that these test cases indeed make some sense; they need a review.
>
> Ev. Drikos
Hello again,
1. The first test case in the patch file (elemental_optional_args_6.f90) likely
doesn't apply smoothly but one has to change the test case (manually).
2. As I run the tests again I see that the test case coarray_3.f90 fails? due
to
PR/95613. So, I've removed: gcc/testsuite/gfortran.dg/pr95613.f90
Ev. Drikos
PS: Hope you haven't committed these patch file yet!
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group
[not found] <bug-93635-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2020-06-21 20:07 ` drikosev at gmail dot com
@ 2023-03-13 20:42 ` anlauf at gcc dot gnu.org
2023-03-13 21:08 ` anlauf at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2023-03-13 20:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93635
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 ---
Created attachment 54652
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54652&action=edit
Updated patch
Hi Steve,
the attachment contains a slightly simpler version of the patch in comment#2.
It needs to be amended by the adjustment of gfortran.dg/pr87907.f90 and a
modification of the patterns in gfortran.dg/c-interop/c1255-2.f90 .
I've stripped the unrelated parts in comment#2.
If you agree, I can prepare the patch for submission.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group
[not found] <bug-93635-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2023-03-13 20:42 ` anlauf at gcc dot gnu.org
@ 2023-03-13 21:08 ` anlauf at gcc dot gnu.org
2024-05-24 19:30 ` cvs-commit at gcc dot gnu.org
2024-05-25 18:57 ` anlauf at gcc dot gnu.org
6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2023-03-13 21:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93635
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
--- Comment #7 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #6)
> Created attachment 54652 [details]
> Updated patch
Actually that patch still produces the ICE mentioned in comment#1,
which seems to follow from issues in namespace handling.
So better wait till these issues are resolved. A hack to solve the
present PR might not be what we want...
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group
[not found] <bug-93635-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2023-03-13 21:08 ` anlauf at gcc dot gnu.org
@ 2024-05-24 19:30 ` cvs-commit at gcc dot gnu.org
2024-05-25 18:57 ` anlauf at gcc dot gnu.org
6 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-24 19:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93635
--- Comment #8 from GCC 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:9561cf550a66a89e7c8d31202a03c4fddf82a3f2
commit r15-828-g9561cf550a66a89e7c8d31202a03c4fddf82a3f2
Author: Harald Anlauf <anlauf@gmx.de>
Date: Thu May 23 21:13:00 2024 +0200
Fortran: improve attribute conflict checking [PR93635]
gcc/fortran/ChangeLog:
PR fortran/93635
* symbol.cc (conflict_std): Helper function for reporting attribute
conflicts depending on the Fortran standard version.
(conf_std): Helper macro for checking standard-dependent conflicts.
(gfc_check_conflict): Use it.
gcc/testsuite/ChangeLog:
PR fortran/93635
* gfortran.dg/c-interop/c1255-2.f90: Adjust pattern.
* gfortran.dg/pr87907.f90: Likewise.
* gfortran.dg/pr93635.f90: New test.
Co-authored-by: Steven G. Kargl <kargl@gcc.gnu.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group
[not found] <bug-93635-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2024-05-24 19:30 ` cvs-commit at gcc dot gnu.org
@ 2024-05-25 18:57 ` anlauf at gcc dot gnu.org
6 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2024-05-25 18:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93635
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #9 from anlauf at gcc dot gnu.org ---
Fixed on mainline for gcc-15.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-05-25 18:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-93635-4@http.gcc.gnu.org/bugzilla/>
2020-06-21 17:44 ` [Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group drikosev at gmail dot com
2020-06-21 19:19 ` sgk at troutmask dot apl.washington.edu
2020-06-21 20:07 ` drikosev at gmail dot com
2023-03-13 20:42 ` anlauf at gcc dot gnu.org
2023-03-13 21:08 ` anlauf at gcc dot gnu.org
2024-05-24 19:30 ` cvs-commit at gcc dot gnu.org
2024-05-25 18:57 ` 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).