public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/100245] New: ICE on automatic reallocation
@ 2021-04-24 11:02 jrfsousa at gmail dot com
2021-04-24 11:23 ` [Bug fortran/100245] " dominiq at lps dot ens.fr
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: jrfsousa at gmail dot com @ 2021-04-24 11:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
Bug ID: 100245
Summary: ICE on automatic reallocation
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 50667
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50667&action=edit
Fortran code showing problem
Hi All!
Automatic reallocation ICEs when assigning class to derived type.
Seen on:
GNU Fortran (GCC) 12.0.0 20210424 (experimental)
GNU Fortran (GCC) 11.0.1 20210424 (prerelease)
GNU Fortran (GCC) 10.3.1 20210424
GNU Fortran (GCC) 9.3.1 20210424
Thank you very much.
Best regards,
José Rui
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/100245] ICE on automatic reallocation
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
@ 2021-04-24 11:23 ` dominiq at lps dot ens.fr
2021-04-25 13:54 ` jrfsousa at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-04-24 11:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-04-24
Priority|P3 |P4
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed since at least GCC7.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/100245] ICE on automatic reallocation
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
2021-04-24 11:23 ` [Bug fortran/100245] " dominiq at lps dot ens.fr
@ 2021-04-25 13:54 ` jrfsousa at gmail dot com
2021-06-18 10:59 ` dominiq at lps dot ens.fr
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jrfsousa at gmail dot com @ 2021-04-25 13:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
--- Comment #2 from José Rui Faustino de Sousa <jrfsousa at gmail dot com> ---
Patch posted:
https://gcc.gnu.org/pipermail/fortran/2021-April/055982.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/100245] ICE on automatic reallocation
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
2021-04-24 11:23 ` [Bug fortran/100245] " dominiq at lps dot ens.fr
2021-04-25 13:54 ` jrfsousa at gmail dot com
@ 2021-06-18 10:59 ` dominiq at lps dot ens.fr
2022-09-01 23:36 ` jrfsousa at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-06-18 10:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/100245] ICE on automatic reallocation
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
` (2 preceding siblings ...)
2021-06-18 10:59 ` dominiq at lps dot ens.fr
@ 2022-09-01 23:36 ` jrfsousa at gcc dot gnu.org
2022-09-03 18:57 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jrfsousa at gcc dot gnu.org @ 2022-09-01 23:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
--- Comment #4 from José Rui Faustino de Sousa <jrfsousa at gcc dot gnu.org> ---
On 01/09/22 19:30, anlauf at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
>
Hi Anlauf,
Sorry for the very late answer, but at the moment I am far too busy to
even look into it.
Do as you see fit, it is fine by me.
Best regards,
José Rui
> 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 ---
> Jose, your patch looks fine, but unfortunately was never reviewed.
> Do you plan to ping it, or shall I take care of it?
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/100245] ICE on automatic reallocation
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
` (3 preceding siblings ...)
2022-09-01 23:36 ` jrfsousa at gcc dot gnu.org
@ 2022-09-03 18:57 ` cvs-commit at gcc dot gnu.org
2022-09-16 19:06 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-03 18:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
--- Comment #5 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:504424f33771be0405454e7845219d5df1bb88bb
commit r13-2391-g504424f33771be0405454e7845219d5df1bb88bb
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date: Fri Sep 2 21:35:22 2022 +0200
Fortran: Fix ICE with automatic reallocation [PR100245]
gcc/fortran/ChangeLog:
PR fortran/100245
* trans-expr.cc (trans_class_assignment): Add if clause to handle
derived type in the LHS.
gcc/testsuite/ChangeLog:
PR fortran/100245
* gfortran.dg/PR100245.f90: New test.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/100245] ICE on automatic reallocation
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
` (4 preceding siblings ...)
2022-09-03 18:57 ` cvs-commit at gcc dot gnu.org
@ 2022-09-16 19:06 ` cvs-commit at gcc dot gnu.org
2022-09-24 19:00 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-16 19:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
--- Comment #6 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:9035eaaf028ca609660f1f55c0d9f22fb7d3b797
commit r12-8768-g9035eaaf028ca609660f1f55c0d9f22fb7d3b797
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date: Fri Sep 2 21:35:22 2022 +0200
Fortran: Fix ICE with automatic reallocation [PR100245]
gcc/fortran/ChangeLog:
PR fortran/100245
* trans-expr.cc (trans_class_assignment): Add if clause to handle
derived type in the LHS.
gcc/testsuite/ChangeLog:
PR fortran/100245
* gfortran.dg/PR100245.f90: New test.
(cherry picked from commit 504424f33771be0405454e7845219d5df1bb88bb)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/100245] ICE on automatic reallocation
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
` (5 preceding siblings ...)
2022-09-16 19:06 ` cvs-commit at gcc dot gnu.org
@ 2022-09-24 19:00 ` cvs-commit at gcc dot gnu.org
2022-09-24 19:01 ` cvs-commit at gcc dot gnu.org
2022-09-24 19:02 ` anlauf at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-24 19:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
--- Comment #7 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:de976ebed3be48bd0f2374e2a1d43a2533127d52
commit r11-10271-gde976ebed3be48bd0f2374e2a1d43a2533127d52
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date: Fri Sep 2 21:35:22 2022 +0200
Fortran: Fix ICE with automatic reallocation [PR100245]
gcc/fortran/ChangeLog:
PR fortran/100245
* trans-expr.c (trans_class_assignment): Add if clause to handle
derived type in the LHS.
gcc/testsuite/ChangeLog:
PR fortran/100245
* gfortran.dg/PR100245.f90: New test.
(cherry picked from commit 504424f33771be0405454e7845219d5df1bb88bb)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/100245] ICE on automatic reallocation
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
` (6 preceding siblings ...)
2022-09-24 19:00 ` cvs-commit at gcc dot gnu.org
@ 2022-09-24 19:01 ` cvs-commit at gcc dot gnu.org
2022-09-24 19:02 ` anlauf at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-24 19:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:2e33da576bc08e78020bbb6642b70eccb108192b
commit r10-11001-g2e33da576bc08e78020bbb6642b70eccb108192b
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date: Fri Sep 2 21:35:22 2022 +0200
Fortran: Fix ICE with automatic reallocation [PR100245]
gcc/fortran/ChangeLog:
PR fortran/100245
* trans-expr.c (trans_class_assignment): Add if clause to handle
derived type in the LHS.
gcc/testsuite/ChangeLog:
PR fortran/100245
* gfortran.dg/PR100245.f90: New test.
(cherry picked from commit 504424f33771be0405454e7845219d5df1bb88bb)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/100245] ICE on automatic reallocation
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
` (7 preceding siblings ...)
2022-09-24 19:01 ` cvs-commit at gcc dot gnu.org
@ 2022-09-24 19:02 ` anlauf at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: anlauf at gcc dot gnu.org @ 2022-09-24 19:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Target Milestone|--- |10.5
--- Comment #9 from anlauf at gcc dot gnu.org ---
Fixed on all open branches.
Thanks for the patch!
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-09-24 19:02 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-24 11:02 [Bug fortran/100245] New: ICE on automatic reallocation jrfsousa at gmail dot com
2021-04-24 11:23 ` [Bug fortran/100245] " dominiq at lps dot ens.fr
2021-04-25 13:54 ` jrfsousa at gmail dot com
2021-06-18 10:59 ` dominiq at lps dot ens.fr
2022-09-01 23:36 ` jrfsousa at gcc dot gnu.org
2022-09-03 18:57 ` cvs-commit at gcc dot gnu.org
2022-09-16 19:06 ` cvs-commit at gcc dot gnu.org
2022-09-24 19:00 ` cvs-commit at gcc dot gnu.org
2022-09-24 19:01 ` cvs-commit at gcc dot gnu.org
2022-09-24 19:02 ` 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).