[Bug fortran/102106] Freeing unallocated memory, with associate to derived type with polymorphic component

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102106 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 100948, which changed state. Bug 100948 Summary: [12/13 Regression] ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9069 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100948 What|Removed

[Bug fortran/100948] [12/13 Regression] ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9069

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100948 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 93813, which changed state. Bug 93813 Summary: [10/11/12/13 Regression] ICE in gfc_trans_select_type_cases, at fortran/trans-stmt.c:2874 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93813 What|Removed

[Bug fortran/93813] [10/11/12/13 Regression] ICE in gfc_trans_select_type_cases, at fortran/trans-stmt.c:2874

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93813 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 93339, which changed state. Bug 93339 Summary: [10/11/12/13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2830 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93339 What|Removed

[Bug fortran/93339] [10/11/12/13 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2830

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93339 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 92779, which changed state. Bug 92779 Summary: [10/11/12/13 Regression] ICE in gfc_conv_intrinsic_funcall, at fortran/trans-intrinsic.c:4225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92779 What|Removed

[Bug fortran/92779] [10/11/12/13 Regression] ICE in gfc_conv_intrinsic_funcall, at fortran/trans-intrinsic.c:4225

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92779 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 91941, which changed state. Bug 91941 Summary: [10/11/12/13 Regression] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7336 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91941 What|Removed

[Bug fortran/91941] [10/11/12/13 Regression] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7336

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org Resolution|--- |FIXED --- Comment #8 from Paul Thomas --- Fixed on mainline Thanks for the report Paul

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 88247, which changed state. Bug 88247 Summary: [10/11/12/13 Regression] ICE in get_array_ctor_var_strlen, at fortran/trans-array.c:2068 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88247 What|Removed

[Bug fortran/88247] [10/11/12/13 Regression] ICE in get_array_ctor_var_strlen, at fortran/trans-array.c:2068

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88247 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/83700] [Meta-bug] Fortran Coarray issues

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83700 Bug 83700 depends on bug 88247, which changed state. Bug 88247 Summary: [10/11/12/13 Regression] ICE in get_array_ctor_var_strlen, at fortran/trans-array.c:2068 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88247 What|Removed

[Bug fortran/85686] [10/11/12/13 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85686 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-04-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 85686, which changed state. Bug 85686 Summary: [10/11/12/13 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85686 What|Removed

[Bug fortran/104272] finalizer gets called during allocate

2023-04-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104272 --- Comment #4 from Paul Thomas --- Created attachment 54811 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54811=edit Fix for this PR I was sufficiently intrigued by this bug that I decided that I would look into it right away. After

[Bug fortran/104272] finalizer gets called during allocate

2023-04-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104272 --- Comment #3 from Paul Thomas --- Following the allocation itself, we get: solver._data.dim[0].lbound = 1; solver._data.dim[0].ubound = 2; solver._data.dim[0].stride = 1; solver._data.offset = -1;

[Bug fortran/104272] finalizer gets called during allocate

2023-04-03 Thread pault at gcc dot gnu.org via Gcc-bugs
dot gnu.org |pault at gcc dot gnu.org Last reconfirmed||2023-04-03 Ever confirmed|0 |1 --- Comment #2 from Paul Thomas --- Hi Kai, Thanks for the report. nagfor agrees that the finalization shouldn't occur. From the work that I

[Bug fortran/101047] Pointer explicit initialization fails

2023-03-31 Thread pault at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |NEW Ever confirmed|0 |1 CC||pault at gcc dot gnu.org --- Comment #4 from Paul Thomas --- (In reply to Jerry DeLisle from comment #3) > Did we let this fall in a crack or was there some other holdup?

[Bug fortran/109348] New: Pointer initialization fails for target with references

2023-03-30 Thread pault at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: pault at gcc dot gnu.org Target Milestone: --- As posted by Peter Klausler on clf complex, save, target :: a(4) = [(1.,0.),(2.,0.),(3.,0.),(4.,0)] real, pointer :: p(:) => a(1:3:2)%re pr

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-03-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 92960, which changed state. Bug 92960 Summary: ICE tree check: expected tree that contains 'decl minimal' structure, have 'component_ref' in add_decl_as_local, at fortran/trans-decl.c:261

[Bug fortran/92960] ICE tree check: expected tree that contains 'decl minimal' structure, have 'component_ref' in add_decl_as_local, at fortran/trans-decl.c:261

2023-03-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92960 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/98408] Character lengths for allocatable character arrays

2023-03-28 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98408 --- Comment #3 from Paul Thomas --- (In reply to Dominique d'Humieres from comment #2) > Compiling the test with -Wall gives > > 2 | character (len=:), allocatable :: a(:) > |^ > Warning: '.a'

[Bug fortran/105205] Incorrect assignment of derived type with allocatable, deferred-length character component

2023-03-28 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105205 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Last

[Bug fortran/108581] wrong assignment on two-rank array with deferred-length characters

2023-03-28 Thread pault at gcc dot gnu.org via Gcc-bugs
|NEW Last reconfirmed||2023-03-28 CC||pault at gcc dot gnu.org --- Comment #2 from Paul Thomas --- Dear Saito-san, Thank you for the report. Confirmed on 13.0.1. The fault persists even when the limits

[Bug fortran/108961] Segfault when associating to pointer from C_F_POINTER

2023-03-23 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org Status|UNCONFIRMED |NEW Blocks||87477 Last reconfirmed||2023-03-23 --- Comment #2 from Paul Thomas --- Good catch. Thanks for the report. Paul Referenced Bugs

[Bug fortran/109206] [13 Regression] gcc/fortran/class.cc:2768:14: runtime error: load of value 4139789424, which is not a valid value for type 'bt' since r13-6747-gd7caf313525a46

2023-03-21 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109206 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-21 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #14 from Paul Thomas --- For the record, the fix is: diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc index 1d973d12ff1..1a03e458d99 100644 --- a/gcc/fortran/resolve.cc +++ b/gcc/fortran/resolve.cc @@ -11760,6 +11760,7

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 --- Comment #13 from Paul Thomas --- (In reply to Tobias Burnus from comment #12) > I bet that's due to the finalization > commit r13-6747-gd7caf313525a46f200d7f5db1ba893f853774aee > but I have not verified. > ...snip... See my reply above.

[Bug fortran/109209] [13 regression] erroneous error on assignment of alloctables

2023-03-20 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109209 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/109206] [13 Regression] gcc/fortran/class.cc:2768:14: runtime error: load of value 4139789424, which is not a valid value for type 'bt' since r13-6747-gd7caf313525a46

2023-03-20 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109206 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org

[Bug fortran/55207] [F08] Variables declared in the main program should implicitly get the SAVE attribute

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 --- Comment #23 from Paul Thomas --- As far as I am aware, this bug has either been fixed or has been worked round everywhere. However, it doesn't block PR37336 and so I am releasing that dependency. Cheers Paul

[Bug fortran/55207] [F08] Variables declared in the main program should implicitly get the SAVE attribute

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 107914, which changed state. Bug 107914 Summary: Finalization errors https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107914 What|Removed |Added

[Bug fortran/107914] Finalization errors

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107914 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 106576, which changed state. Bug 106576 Summary: Finalization of temporaries from functions not occuring https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106576 What|Removed |Added

[Bug fortran/106576] Finalization of temporaries from functions not occuring

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106576 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/104382] Finalization of parent components not compliant with standard

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104382 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 104382, which changed state. Bug 104382 Summary: Finalization of parent components not compliant with standard https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104382 What|Removed |Added

[Bug fortran/96122] Segfault when using finalizer

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96122 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 96122, which changed state. Bug 96122 Summary: Segfault when using finalizer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96122 What|Removed |Added

[Bug fortran/93691] Type bound assignment causes too many finalization of derived type when part of other type

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
|RESOLVED CC||pault at gcc dot gnu.org --- Comment #4 from Paul Thomas --- Hi Florian, I am closing this as fixed, even though it runs to the third finalization and then segfaults, because both nagfor and ifort behave in the same way

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 93691, which changed state. Bug 93691 Summary: Type bound assignment causes too many finalization of derived type when part of other type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93691 What|Removed

[Bug fortran/91316] Derived type finalization failing

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91316 --- Comment #5 from Paul Thomas --- Hi Jose, This is fixed to the extent that it behaves in the same way as ifort. nagfor, on the other hand, gives: [pault@pc30 pr37336]$ rm ./a.out;nagfor pr91316.f90 -g;./a.out NAG Fortran Compiler Release

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 88735, which changed state. Bug 88735 Summary: Nested assignment triggers call of final method for right hand side https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88735 What|Removed

[Bug fortran/88735] Nested assignment triggers call of final method for right hand side

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88735 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org

[Bug fortran/84472] Missing finalization and memory leak

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84472 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #7

[Bug fortran/82996] ICE and segfault with derived type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org Resolution|--- |FIXED --- Comment #12 from Paul Thomas --- Fixed on mainline. The testcases now have the same behaviour as ifort and nagfor. I will ask to backport to 12-branch in a few weeks. Cheers Paul

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 82996, which changed state. Bug 82996 Summary: ICE and segfault with derived type finalization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82996 What|Removed |Added

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 80524, which changed state. Bug 80524 Summary: [F03] Problematic behaviour with a finalization subroutine in gfortran https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80524 What|Removed

[Bug fortran/80524] [F03] Problematic behaviour with a finalization subroutine in gfortran

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80524 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/71798] [OOP] failure to finalise temporary

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71798 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 71798, which changed state. Bug 71798 Summary: [OOP] failure to finalise temporary https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71798 What|Removed |Added

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 69298, which changed state. Bug 69298 Summary: [OOP] Array finalisers seem to be given the wrong array when the array is a member variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69298 What|Removed

[Bug fortran/69298] [OOP] Array finalisers seem to be given the wrong array when the array is a member variable

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69298 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/67471] [F03] Finalizer not invoked for assignment to array section

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Paul Thomas --- This is fixed on mainline. I will ask if I can backport to 12-branch in a few weeks. Cheers Paul

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 67471, which changed state. Bug 67471 Summary: [F03] Finalizer not invoked for assignment to array section https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67471 What|Removed |Added

[Bug fortran/67444] [F03] RHS in assignment of polymorphic types not finalized

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
|--- |FIXED CC||pault at gcc dot gnu.org --- Comment #4 from Paul Thomas --- This is now fixed on mainline. Once the dust has settled and any nasties rooted out, I will ask if I can backport to 12-branch. Paul

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 67444, which changed state. Bug 67444 Summary: [F03] RHS in assignment of polymorphic types not finalized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67444 What|Removed |Added

[Bug fortran/65347] [F03] Final subroutine not called for function result

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65347 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #4

[Bug fortran/64290] [F03] No finalization at deallocation of LHS

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64290 Paul Thomas changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 64290, which changed state. Bug 64290 Summary: [F03] No finalization at deallocation of LHS https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64290 What|Removed |Added

[Bug fortran/37336] [F03] Finish derived-type finalization

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 59694, which changed state. Bug 59694 Summary: [F03] no finalization of an unused variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59694 What|Removed |Added

[Bug fortran/59694] [F03] no finalization of an unused variable

2023-03-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59694 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org

[Bug fortran/109066] Segfault when using defined assignment

2023-03-09 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109066 --- Comment #2 from Paul Thomas --- Hi Andrew, Thanks for the report. However, IMHO the code is invalid since the result of hdf5Constructor is not defined. function hdf5Constructor() result(self) implicit none type(hdf5Object) ::

[Bug tree-optimization/109075] [13 Regression] rnflow hangs at -O3

2023-03-09 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109075 Paul Thomas changed: What|Removed |Added Keywords||needs-bisection --- Comment #11 from

[Bug tree-optimization/109075] [13 Regression] rnflow hangs at -O3

2023-03-09 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org Known to work|12.2.0 | Keywords||needs-bisection --- Comment #10 from Paul Thomas --- See comment at rnflow.f90:899 - As Richard Biener suggested to the list -fdefault-integer-8 fixes

[Bug fortran/109066] Segfault when using defined assignment

2023-03-09 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org Status|UNCONFIRMED |NEW Version|unknown |13.0 Ever confirmed|0 |1 --- Comment #1 from Paul Thomas --- 8.3.1 20191027 runs through to the end of the program

[Bug fortran/106576] Finalization of temporaries from functions not occuring

2022-12-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106576 --- Comment #7 from Paul Thomas --- (In reply to Thomas Koenig from comment #6) > > > I hope that you are well and that the lack of time is for a good cause? > > Hi Paul, > > yes, I'm well, and the lack of time is indeed for a good cause

[Bug fortran/91316] Derived type finalization failing

2022-12-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91316 --- Comment #2 from Paul Thomas --- (In reply to Paul Thomas from comment #1) > I notice that this is missing from the list of dependencies of PR37336, for > which a wider fix will be submitted this afternoon. > > Best regards > > Paul I have

[Bug fortran/107914] Finalization errors

2022-11-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107914 --- Comment #1 from Paul Thomas --- Created attachment 53982 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53982=edit Subsidiary program for testcase As promised, here is the subsidiary program. Paul

[Bug fortran/107914] New: Finalization errors

2022-11-29 Thread pault at gcc dot gnu.org via Gcc-bugs
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: pault at gcc dot gnu.org CC: damian at archaeologic dot codes Blocks: 37336 Target Milestone: --- Created attachment 53981 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53981=e

[Bug fortran/104382] Finalization of parent components not compliant with standard

2022-11-28 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104382 --- Comment #6 from Paul Thomas --- (In reply to Thomas Koenig from comment #4) > To add some variety to the tests, nagfor gives > > destructor4(complicated) 2.000 2.000 > destructor5 (simple2) 5 > destructor5 (simple2) 6 >

[Bug fortran/106576] Finalization of temporaries from functions not occuring

2022-11-28 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106576 --- Comment #5 from Paul Thomas --- Hi Thomas, I hope that you are well and that the lack of time is for a good cause? I have just returned to my finalizer patch. With it applied, your testcase produces the same output as NAG. I will attach

[Bug fortran/106576] Finalization of temporaries from functions not occuring

2022-11-28 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106576 --- Comment #4 from Paul Thomas --- Created attachment 53977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53977=edit Ongoing patch for PR37336 Fixes this PR, so testcase will be added to the collection. Paul

[Bug fortran/107872] ICE on recursive DT with DTIO since r7-4096-gbf9f15ee55f5b291

2022-11-28 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107872 --- Comment #3 from Paul Thomas --- Created attachment 53975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53975=edit Fix for this PR This is a trivial bug. The ICE is occurring in resolve.cc(derived_inaccessible) because derived types

[Bug fortran/107489] Insufficiently deep allocate/copy for simple assignment of derived types with recursive components

2022-11-08 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed||2022-11-08 Summary|Runtime segfault in |Insufficiently deep |finalization routine of |allocate/copy for simple

[Bug fortran/104382] Finalization of parent components not compliant with standard

2022-02-07 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104382 --- Comment #3 from Paul Thomas --- (In reply to anlauf from comment #2) > crayftn 11 & 12 output: > > destructor4(complicated) 2*2. > destructor5 (simple2) 5 > destructor5 (simple2) 6 > destructor2(simple) 2*1 > destructor4(complicated)

[Bug fortran/104382] Finalization of parent components not compliant with standard

2022-02-07 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104382 --- Comment #1 from Paul Thomas --- (In reply to Paul Thomas from comment #0) > Created attachment 52349 [details] > Testcase for the problems > > With all branches that feature finalization, the attached testcase outputs: > final_count after

[Bug fortran/104382] New: Finalization of parent components not compliant with standard

2022-02-04 Thread pault at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: pault at gcc dot gnu.org Target Milestone: --- Created attachment 52349 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52349=edit Testcase for the problems With all branc

[Bug fortran/37336] [F03] Finish derived-type finalization

2022-02-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 91648, which changed state. Bug 91648 Summary: [9/10/11/12 Regression] ICE in generate_finalization_wrapper, at fortran/class.c:2009 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91648 What|Removed

[Bug fortran/91648] [9/10/11/12 Regression] ICE in generate_finalization_wrapper, at fortran/class.c:2009

2022-02-03 Thread pault at gcc dot gnu.org via Gcc-bugs
|--- |FIXED CC||pault at gcc dot gnu.org --- Comment #8 from Paul Thomas --- This was fixed by Tobias Burnus with PR/92587 Paul

[Bug fortran/91316] Derived type finalization failing

2022-02-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91316 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org

[Bug fortran/37336] [F03] Finish derived-type finalization

2022-02-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 70863, which changed state. Bug 70863 Summary: [F03] Finalization of array of derived type causes segfault https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70863 What|Removed |Added

[Bug fortran/69298] [OOP] Array finalisers seem to be given the wrong array when the array is a member variable

2022-02-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69298 Paul Thomas changed: What|Removed |Added CC||weiqun.zhang at gmail dot com --- Comment

[Bug fortran/70863] [F03] Finalization of array of derived type causes segfault

2022-02-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70863 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org

[Bug fortran/96122] Segfault when using finalizer

2022-02-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96122 --- Comment #5 from Paul Thomas --- (In reply to Paul Thomas from comment #4) > (In reply to Thomas Koenig from comment #3) > > (In reply to Andrew Benson from comment #2) > > > (In reply to Dominique d'Humieres from comment #1) > > > >

[Bug fortran/80524] [F03] Problematic behaviour with a finalization subroutine in gfortran

2022-01-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80524 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #8

[Bug fortran/97024] Overriding finalization on polymorphic types triggers ICE error in generate_finalization_wrapper

2022-01-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97024 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #4

[Bug fortran/104048] ICE with recursively defined derived type

2022-01-17 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104048 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org

[Bug fortran/96122] Segfault when using finalizer

2022-01-17 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96122 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #4

[Bug fortran/103366] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2022-01-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 --- Comment #6 from Paul Thomas --- > From F2017: 15.5.2.5 > The actual argument shall be polymorphic if and only if the associated dummy > argument is polymorphic, and either both the actual and dummy arguments > shall be unlimited

[Bug fortran/103366] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2022-01-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 --- Comment #5 from Paul Thomas --- (In reply to Paul Thomas from comment #4) > (In reply to Martin Liška from comment #3) > > (In reply to Andrew Pinski from comment #2) > > > (In reply to Martin Liška from comment #1) > > > > Started with

[Bug fortran/103366] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2022-01-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 --- Comment #4 from Paul Thomas --- (In reply to Martin Liška from comment #3) > (In reply to Andrew Pinski from comment #2) > > (In reply to Martin Liška from comment #1) > > > Started with r9-5372-gbbf18dc5d248a79a. > > > > Are you sure? >

[Bug fortran/103854] ICE in generate_finalization_wrapper, at fortran/class.c:1618 since r8-4344-gaea5e9327a49bc73

2021-12-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103854 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org

[Bug fortran/99602] [11/12 regression] runtime error: pointer actual argument not associated

2021-07-28 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99602 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/101635] FAIL: gfortran.dg/PR93963.f90 – alias-handling issue with BIND(C)'s _gfortran_cfi_desc_to_gfc_desc

2021-07-27 Thread pault at gcc dot gnu.org via Gcc-bugs
||2021-07-27 Ever confirmed|0 |1 CC||pault at gcc dot gnu.org --- Comment #1 from Paul Thomas --- > Solution: I think the proper fix is to remove both > _gfortran_gfc_desc_to_cf

[Bug c++/46691] Null pointer in template deduction

2021-05-07 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #3

<    1   2   3   4   5   6   7   8   9   10   >