public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/100602] New: Erroneous "pointer argument is not associated" runtime error.
@ 2021-05-14 14:49 here.is.a.gcc.bug at gmail dot com
2021-05-14 18:38 ` [Bug fortran/100602] " anlauf at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: here.is.a.gcc.bug at gmail dot com @ 2021-05-14 14:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100602
Bug ID: 100602
Summary: Erroneous "pointer argument is not associated" runtime
error.
Product: gcc
Version: 11.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: here.is.a.gcc.bug at gmail dot com
Target Milestone: ---
Created attachment 50813
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50813&action=edit
A minimal broken example. (14 lines)
Compiling with -check=all gives a runtime error "Pointer argument `this` is not
associated"
This only happens using gfortran-11.1.
I'm unsure if this is this bug [1]
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99602
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/100602] Erroneous "pointer argument is not associated" runtime error.
2021-05-14 14:49 [Bug fortran/100602] New: Erroneous "pointer argument is not associated" runtime error here.is.a.gcc.bug at gmail dot com
@ 2021-05-14 18:38 ` anlauf at gcc dot gnu.org
2021-05-16 13:40 ` [Bug fortran/100602] [11/12 Regression] " dominiq at lps dot ens.fr
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2021-05-14 18:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100602
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-05-14
CC| |anlauf at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from anlauf at gcc dot gnu.org ---
Confirmed. The error message is bogus.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/100602] [11/12 Regression] Erroneous "pointer argument is not associated" runtime error.
2021-05-14 14:49 [Bug fortran/100602] New: Erroneous "pointer argument is not associated" runtime error here.is.a.gcc.bug at gmail dot com
2021-05-14 18:38 ` [Bug fortran/100602] " anlauf at gcc dot gnu.org
@ 2021-05-16 13:40 ` dominiq at lps dot ens.fr
2021-05-18 18:36 ` anlauf at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-05-16 13:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100602
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |11.1.0, 12.0
Known to work| |10.3.0
Priority|P3 |P4
Keywords| |rejects-valid
Target Milestone|--- |11.2
Summary|Erroneous "pointer argument |[11/12 Regression]
|is not associated" runtime |Erroneous "pointer argument
|error. |is not associated" runtime
| |error.
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
This looks like a regression.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/100602] [11/12 Regression] Erroneous "pointer argument is not associated" runtime error.
2021-05-14 14:49 [Bug fortran/100602] New: Erroneous "pointer argument is not associated" runtime error here.is.a.gcc.bug at gmail dot com
2021-05-14 18:38 ` [Bug fortran/100602] " anlauf at gcc dot gnu.org
2021-05-16 13:40 ` [Bug fortran/100602] [11/12 Regression] " dominiq at lps dot ens.fr
@ 2021-05-18 18:36 ` anlauf at gcc dot gnu.org
2021-05-27 11:58 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2021-05-18 18:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100602
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu.org
--- Comment #3 from anlauf at gcc dot gnu.org ---
Patch: https://gcc.gnu.org/pipermail/fortran/2021-May/056049.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/100602] [11/12 Regression] Erroneous "pointer argument is not associated" runtime error.
2021-05-14 14:49 [Bug fortran/100602] New: Erroneous "pointer argument is not associated" runtime error here.is.a.gcc.bug at gmail dot com
` (2 preceding siblings ...)
2021-05-18 18:36 ` anlauf at gcc dot gnu.org
@ 2021-05-27 11:58 ` cvs-commit at gcc dot gnu.org
2021-05-28 18:07 ` cvs-commit at gcc dot gnu.org
2021-05-28 18:14 ` anlauf at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-27 11:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100602
--- Comment #4 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:71d7dc6cd09b603bcc58d5d1747a86eb498bb147
commit r12-1091-g71d7dc6cd09b603bcc58d5d1747a86eb498bb147
Author: Harald Anlauf <anlauf@gmx.de>
Date: Thu May 27 13:58:26 2021 +0200
Fortran: Fix erroneous "pointer argument is not associated" runtime error
For CLASS arrays we need to use the CLASS data attributes to determine
which runtime check to generate.
gcc/fortran/ChangeLog:
PR fortran/100602
* trans-intrinsic.c (gfc_conv_intrinsic_size): Use CLASS data
attributes for CLASS arrays for generation of runtime error.
gcc/testsuite/ChangeLog:
PR fortran/100602
* gfortran.dg/pointer_check_14.f90: New test.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/100602] [11/12 Regression] Erroneous "pointer argument is not associated" runtime error.
2021-05-14 14:49 [Bug fortran/100602] New: Erroneous "pointer argument is not associated" runtime error here.is.a.gcc.bug at gmail dot com
` (3 preceding siblings ...)
2021-05-27 11:58 ` cvs-commit at gcc dot gnu.org
@ 2021-05-28 18:07 ` cvs-commit at gcc dot gnu.org
2021-05-28 18:14 ` anlauf at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-28 18:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100602
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:cb5c89afbe0ef59fa315cbfda31a55ea5d8ca297
commit r11-8478-gcb5c89afbe0ef59fa315cbfda31a55ea5d8ca297
Author: Harald Anlauf <anlauf@gmx.de>
Date: Thu May 27 13:58:26 2021 +0200
Fortran: Fix erroneous "pointer argument is not associated" runtime error
For CLASS arrays we need to use the CLASS data attributes to determine
which runtime check to generate.
gcc/fortran/ChangeLog:
PR fortran/100602
* trans-intrinsic.c (gfc_conv_intrinsic_size): Use CLASS data
attributes for CLASS arrays for generation of runtime error.
gcc/testsuite/ChangeLog:
PR fortran/100602
* gfortran.dg/pointer_check_14.f90: New test.
(cherry picked from commit 71d7dc6cd09b603bcc58d5d1747a86eb498bb147)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/100602] [11/12 Regression] Erroneous "pointer argument is not associated" runtime error.
2021-05-14 14:49 [Bug fortran/100602] New: Erroneous "pointer argument is not associated" runtime error here.is.a.gcc.bug at gmail dot com
` (4 preceding siblings ...)
2021-05-28 18:07 ` cvs-commit at gcc dot gnu.org
@ 2021-05-28 18:14 ` anlauf at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2021-05-28 18:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100602
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|rejects-valid |wrong-code
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from anlauf at gcc dot gnu.org ---
Fixed on mainline for gcc-12 and on 11-branch. Closing.
Thanks for the report!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-05-28 18:14 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 14:49 [Bug fortran/100602] New: Erroneous "pointer argument is not associated" runtime error here.is.a.gcc.bug at gmail dot com
2021-05-14 18:38 ` [Bug fortran/100602] " anlauf at gcc dot gnu.org
2021-05-16 13:40 ` [Bug fortran/100602] [11/12 Regression] " dominiq at lps dot ens.fr
2021-05-18 18:36 ` anlauf at gcc dot gnu.org
2021-05-27 11:58 ` cvs-commit at gcc dot gnu.org
2021-05-28 18:07 ` cvs-commit at gcc dot gnu.org
2021-05-28 18:14 ` 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).