public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/84006] [8/9/10/11 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
@ 2021-04-11 0:37 ` jrfsousa at gmail dot com
2021-05-14 9:49 ` [Bug fortran/84006] [9/10/11/12 " jakub at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: jrfsousa at gmail dot com @ 2021-04-11 0:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
José Rui Faustino de Sousa <jrfsousa at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jrfsousa at gmail dot com
--- Comment #8 from José Rui Faustino de Sousa <jrfsousa at gmail dot com> ---
Patch posted
https://gcc.gnu.org/pipermail/fortran/2021-April/055922.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/84006] [9/10/11/12 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
2021-04-11 0:37 ` [Bug fortran/84006] [8/9/10/11 Regression] ICE in storage_size() with CLASS entity jrfsousa at gmail dot com
@ 2021-05-14 9:49 ` jakub at gcc dot gnu.org
2021-06-01 8:09 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14 9:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/84006] [9/10/11/12 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
2021-04-11 0:37 ` [Bug fortran/84006] [8/9/10/11 Regression] ICE in storage_size() with CLASS entity jrfsousa at gmail dot com
2021-05-14 9:49 ` [Bug fortran/84006] [9/10/11/12 " jakub at gcc dot gnu.org
@ 2021-06-01 8:09 ` rguenth at gcc dot gnu.org
2022-05-27 9:38 ` [Bug fortran/84006] [10/11/12/13 " rguenth at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/84006] [10/11/12/13 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-06-01 8:09 ` rguenth at gcc dot gnu.org
@ 2022-05-27 9:38 ` rguenth at gcc dot gnu.org
2022-06-28 10:34 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/84006] [10/11/12/13 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2022-05-27 9:38 ` [Bug fortran/84006] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:34 ` jakub at gcc dot gnu.org
2023-07-07 10:32 ` [Bug fortran/84006] [11/12/13/14 " rguenth at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/84006] [11/12/13/14 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2022-06-28 10:34 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:32 ` rguenth at gcc dot gnu.org
2024-05-12 5:59 ` [Bug fortran/84006] [11/12/13/14/15 " cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/84006] [11/12/13/14/15 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2023-07-07 10:32 ` [Bug fortran/84006] [11/12/13/14 " rguenth at gcc dot gnu.org
@ 2024-05-12 5:59 ` cvs-commit at gcc dot gnu.org
2024-05-12 6:10 ` [Bug fortran/84006] [11/12/13/14 " pault at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-12 5:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:b9294757f82aae8de6d98c122cd4e3b98f685217
commit r15-386-gb9294757f82aae8de6d98c122cd4e3b98f685217
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Sun May 12 06:59:45 2024 +0100
Fortran: Unlimited polymorphic intrinsic function arguments [PR84006]
2024-05-12 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/84006
PR fortran/100027
PR fortran/98534
* iresolve.cc (gfc_resolve_transfer): Emit a TODO error for
unlimited polymorphic mold.
* trans-expr.cc (gfc_resize_class_size_with_len): Use the fold
even if a block is not available in which to fix the result.
(trans_class_assignment): Enable correct assignment of
character expressions to unlimited polymorphic variables using
lhs _len field and rse string_length.
* trans-intrinsic.cc (gfc_conv_intrinsic_storage_size): Extract
the class expression so that the unlimited polymorphic class
expression can be used in gfc_resize_class_size_with_len to
obtain the storage size for character payloads. Guard the use
of GFC_DECL_SAVED_DESCRIPTOR by testing for DECL_LANG_SPECIFIC
to prevent the ICE. Also, invert the order to use the class
expression extracted from the argument.
(gfc_conv_intrinsic_transfer): In same way as 'storage_size',
use the _len field to obtaining the correct length for arg 1.
Add a branch for the element size in bytes of class expressions
with provision to make use of the unlimited polymorphic _len
field. Again, the class references are explicitly identified.
'mold_expr' was already declared. Use it instead of 'arg'. Do
not fix 'dest_word_len' for deferred character sources because
reallocation on assign makes use of it before it is assigned.
gcc/testsuite/
PR fortran/84006
PR fortran/100027
* gfortran.dg/storage_size_7.f90: New test.
PR fortran/98534
* gfortran.dg/transfer_class_4.f90: New test.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/84006] [11/12/13/14 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2024-05-12 5:59 ` [Bug fortran/84006] [11/12/13/14/15 " cvs-commit at gcc dot gnu.org
@ 2024-05-12 6:10 ` pault at gcc dot gnu.org
2024-06-09 6:28 ` pault at gcc dot gnu.org
2024-06-09 6:28 ` pault at gcc dot gnu.org
9 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu.org @ 2024-05-12 6:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[11/12/13/14/15 Regression] |[11/12/13/14 Regression]
|ICE in storage_size() with |ICE in storage_size() with
|CLASS entity |CLASS entity
CC| |pault at gcc dot gnu.org
--- Comment #15 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on mainline. Will backport in a month.
Paul
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/84006] [11/12/13/14 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2024-05-12 6:10 ` [Bug fortran/84006] [11/12/13/14 " pault at gcc dot gnu.org
@ 2024-06-09 6:28 ` pault at gcc dot gnu.org
2024-06-09 6:28 ` pault at gcc dot gnu.org
9 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu.org @ 2024-06-09 6:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org
--- Comment #16 from Paul Thomas <pault at gcc dot gnu.org> ---
Since I fixed it on mainline, I might as well take the bug :-)
Thanks for the report, Steve.
Paul
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/84006] [11/12/13/14 Regression] ICE in storage_size() with CLASS entity
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2024-06-09 6:28 ` pault at gcc dot gnu.org
@ 2024-06-09 6:28 ` pault at gcc dot gnu.org
9 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu.org @ 2024-06-09 6:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006
--- Comment #17 from Paul Thomas <pault at gcc dot gnu.org> ---
Since I fixed it on mainline, I might as well take the bug :-)
Thanks for the report, Steve.
Paul
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-06-09 6:28 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-84006-4@http.gcc.gnu.org/bugzilla/>
2021-04-11 0:37 ` [Bug fortran/84006] [8/9/10/11 Regression] ICE in storage_size() with CLASS entity jrfsousa at gmail dot com
2021-05-14 9:49 ` [Bug fortran/84006] [9/10/11/12 " jakub at gcc dot gnu.org
2021-06-01 8:09 ` rguenth at gcc dot gnu.org
2022-05-27 9:38 ` [Bug fortran/84006] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:34 ` jakub at gcc dot gnu.org
2023-07-07 10:32 ` [Bug fortran/84006] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-05-12 5:59 ` [Bug fortran/84006] [11/12/13/14/15 " cvs-commit at gcc dot gnu.org
2024-05-12 6:10 ` [Bug fortran/84006] [11/12/13/14 " pault at gcc dot gnu.org
2024-06-09 6:28 ` pault at gcc dot gnu.org
2024-06-09 6:28 ` pault 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).