public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank
@ 2021-04-15 12:46 jrfsousa at gmail dot com
2021-04-16 13:38 ` [Bug fortran/100098] " dominiq at lps dot ens.fr
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: jrfsousa at gmail dot com @ 2021-04-15 12:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098
Bug ID: 100098
Summary: Polymorphic pointers and allocatables have incorrect
rank
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jrfsousa at gmail dot com
Target Milestone: ---
Created attachment 50601
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50601&action=edit
Fortran code showing problem
Hi All!
Rank information is not correctly written into the pointer and allocatable
polymorphic object descriptors.
Seen on:
GNU Fortran (GCC) 11.0.1 20210415 (experimental)
GNU Fortran (GCC) 10.3.1 20210415
Thank you very much.
Best regards,
José Rui
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100098] Polymorphic pointers and allocatables have incorrect rank
2021-04-15 12:46 [Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank jrfsousa at gmail dot com
@ 2021-04-16 13:38 ` dominiq at lps dot ens.fr
2021-04-16 23:20 ` jrfsousa at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-04-16 13:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2021-04-16
Status|UNCONFIRMED |NEW
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100098] Polymorphic pointers and allocatables have incorrect rank
2021-04-15 12:46 [Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank jrfsousa at gmail dot com
2021-04-16 13:38 ` [Bug fortran/100098] " dominiq at lps dot ens.fr
@ 2021-04-16 23:20 ` jrfsousa at gmail dot com
2022-10-18 20:44 ` anlauf at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jrfsousa at gmail dot com @ 2021-04-16 23:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098
--- Comment #2 from José Rui Faustino de Sousa <jrfsousa at gmail dot com> ---
Patch posted.
https://gcc.gnu.org/pipermail/fortran/2021-April/055933.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100098] Polymorphic pointers and allocatables have incorrect rank
2021-04-15 12:46 [Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank jrfsousa at gmail dot com
2021-04-16 13:38 ` [Bug fortran/100098] " dominiq at lps dot ens.fr
2021-04-16 23:20 ` jrfsousa at gmail dot com
@ 2022-10-18 20:44 ` anlauf at gcc dot gnu.org
2022-10-21 18:19 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: anlauf at gcc dot gnu.org @ 2022-10-18 20:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #3 from anlauf at gcc dot gnu.org ---
Patch pinged: https://gcc.gnu.org/pipermail/fortran/2022-October/058363.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100098] Polymorphic pointers and allocatables have incorrect rank
2021-04-15 12:46 [Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank jrfsousa at gmail dot com
` (2 preceding siblings ...)
2022-10-18 20:44 ` anlauf at gcc dot gnu.org
@ 2022-10-21 18:19 ` cvs-commit at gcc dot gnu.org
2022-10-29 20:21 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-10-21 18:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098
--- 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:4cfdaeb2755121ac1069f09898def56469b0fb51
commit r13-3440-g4cfdaeb2755121ac1069f09898def56469b0fb51
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date: Tue Oct 18 22:29:59 2022 +0200
Fortran: Add missing TKR initialization to class variables [PR100097,
PR100098]
gcc/fortran/ChangeLog:
PR fortran/100097
PR fortran/100098
* trans-array.cc (gfc_trans_class_array): New function to
initialize class descriptor's TKR information.
* trans-array.h (gfc_trans_class_array): Add function prototype.
* trans-decl.cc (gfc_trans_deferred_vars): Add calls to the new
function for both pointers and allocatables.
gcc/testsuite/ChangeLog:
PR fortran/100097
PR fortran/100098
* gfortran.dg/PR100097.f90: New test.
* gfortran.dg/PR100098.f90: New test.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100098] Polymorphic pointers and allocatables have incorrect rank
2021-04-15 12:46 [Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank jrfsousa at gmail dot com
` (3 preceding siblings ...)
2022-10-21 18:19 ` cvs-commit at gcc dot gnu.org
@ 2022-10-29 20:21 ` cvs-commit at gcc dot gnu.org
2022-10-29 20:25 ` cvs-commit at gcc dot gnu.org
2022-10-29 20:26 ` anlauf at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-10-29 20:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:2b20cf18a62842e2659e891b0c607769638e07f9
commit r12-8877-g2b20cf18a62842e2659e891b0c607769638e07f9
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date: Tue Oct 18 22:29:59 2022 +0200
Fortran: Add missing TKR initialization to class variables [PR100097,
PR100098]
gcc/fortran/ChangeLog:
PR fortran/100097
PR fortran/100098
* trans-array.cc (gfc_trans_class_array): New function to
initialize class descriptor's TKR information.
* trans-array.h (gfc_trans_class_array): Add function prototype.
* trans-decl.cc (gfc_trans_deferred_vars): Add calls to the new
function for both pointers and allocatables.
gcc/testsuite/ChangeLog:
PR fortran/100097
PR fortran/100098
* gfortran.dg/PR100097.f90: New test.
* gfortran.dg/PR100098.f90: New test.
(cherry picked from commit 4cfdaeb2755121ac1069f09898def56469b0fb51)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100098] Polymorphic pointers and allocatables have incorrect rank
2021-04-15 12:46 [Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank jrfsousa at gmail dot com
` (4 preceding siblings ...)
2022-10-29 20:21 ` cvs-commit at gcc dot gnu.org
@ 2022-10-29 20:25 ` cvs-commit at gcc dot gnu.org
2022-10-29 20:26 ` anlauf at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-10-29 20:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098
--- Comment #6 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:f6e4a3b40b69e4f682db2fe49139b17de1b2ef8c
commit r11-10345-gf6e4a3b40b69e4f682db2fe49139b17de1b2ef8c
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date: Tue Oct 18 22:29:59 2022 +0200
Fortran: Add missing TKR initialization to class variables [PR100097,
PR100098]
gcc/fortran/ChangeLog:
PR fortran/100097
PR fortran/100098
* trans-array.c (gfc_trans_class_array): New function to
initialize class descriptor's TKR information.
* trans-array.h (gfc_trans_class_array): Add function prototype.
* trans-decl.c (gfc_trans_deferred_vars): Add calls to the new
function for both pointers and allocatables.
gcc/testsuite/ChangeLog:
PR fortran/100097
PR fortran/100098
* gfortran.dg/PR100097.f90: New test.
* gfortran.dg/PR100098.f90: New test.
(cherry picked from commit 4cfdaeb2755121ac1069f09898def56469b0fb51)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100098] Polymorphic pointers and allocatables have incorrect rank
2021-04-15 12:46 [Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank jrfsousa at gmail dot com
` (5 preceding siblings ...)
2022-10-29 20:25 ` cvs-commit at gcc dot gnu.org
@ 2022-10-29 20:26 ` anlauf at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: anlauf at gcc dot gnu.org @ 2022-10-29 20:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #7 from anlauf at gcc dot gnu.org ---
Fixed.
Thanks for the patch!
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-10-29 20:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 12:46 [Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank jrfsousa at gmail dot com
2021-04-16 13:38 ` [Bug fortran/100098] " dominiq at lps dot ens.fr
2021-04-16 23:20 ` jrfsousa at gmail dot com
2022-10-18 20:44 ` anlauf at gcc dot gnu.org
2022-10-21 18:19 ` cvs-commit at gcc dot gnu.org
2022-10-29 20:21 ` cvs-commit at gcc dot gnu.org
2022-10-29 20:25 ` cvs-commit at gcc dot gnu.org
2022-10-29 20:26 ` 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).