[Bug fortran/114141] ASSOCIATE and complex part ref when associate target is a function

2024-03-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114141 --- Comment #12 from Paul Thomas --- (In reply to Steve Kargl from comment #11) ...snip... > I know you had some ASSOCIATE patches in the works, and > certainly do not want to interfere. Do you want to > incorporate my patch or some variation

[Bug fortran/114141] ASSOCIATE and complex part ref when associate target is a function

2024-02-29 Thread pault at gcc dot gnu.org via Gcc-bugs
|NEW CC||pault at gcc dot gnu.org Last reconfirmed||2024-02-29 --- Comment #10 from Paul Thomas --- (In reply to Jerry DeLisle from comment #9) > --- snip --- > > % gfcx -o z a.f90 > > a.f90:5:6:

[Bug fortran/113363] ICE on ASSOCIATE and unlimited polymorphic function

2024-01-17 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363 --- Comment #3 from Paul Thomas --- (In reply to Paul Thomas from comment #2) > > > > Both allocation with source and assignment are broken :-( > > With numerical output from foo ([1,2,3,4,5]), we get: > >1 3

[Bug fortran/113363] ICE on ASSOCIATE and unlimited polymorphic function

2024-01-14 Thread pault at gcc dot gnu.org via Gcc-bugs
|1 Status|UNCONFIRMED |NEW Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #2 from Paul Thomas --- > > Both allocation with source and assignment are broken :-( With numerical output from foo ([1,2

[Bug fortran/113363] ICE on ASSOCIATE and unlimited polymorphic function

2024-01-14 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363 --- Comment #1 from Paul Thomas --- (In reply to anlauf from comment #0) > While discussing a patch for PR89645/99065, the following issue with > ASSOCIATE and unlimited polymorphic functions was found: > >

[Bug fortran/89645] No IMPLICIT type error with: ASSOCIATE( X => function() )

2023-12-16 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89645 --- Comment #5 from Paul Thomas --- Created attachment 56892 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56892=edit An experimental patch for two pass compilation of contained procedures with failures I am giving up on this. Failures

[Bug fortran/112834] Class array function selector causes chain of syntax and other spurious errors

2023-12-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112834 Paul Thomas changed: What|Removed |Added Blocks||87477 --- Comment #2 from Paul Thomas

[Bug fortran/112834] Class array function selector causes chain of syntax and other spurious errors

2023-12-06 Thread pault at gcc dot gnu.org via Gcc-bugs
dot gnu.org |pault at gcc dot gnu.org Last reconfirmed||2023-12-06 CC||pault at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Paul Thomas --- Created attachment 56814

[Bug fortran/112834] New: Class array function selector causes chain of syntax and other spurious errors

2023-12-03 Thread pault at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: pault at gcc dot gnu.org Target Milestone: --- Created attachment 56777 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56777=edit testcase demonstrating prob

[Bug fortran/89645] No IMPLICIT type error with: ASSOCIATE( X => function() )

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

[Bug fortran/85836] [meta-bug] Fortran 2018 support

2023-12-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85836 --- Comment #7 from Paul Thomas --- Created attachment 56774 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56774=edit Features 6.x

[Bug fortran/85836] [meta-bug] Fortran 2018 support

2023-12-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85836 --- Comment #6 from Paul Thomas --- Created attachment 56773 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56773=edit Feature 5.12

[Bug fortran/85836] [meta-bug] Fortran 2018 support

2023-12-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85836 --- Comment #5 from Paul Thomas --- Created attachment 56772 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56772=edit Features 4.x

[Bug fortran/85836] [meta-bug] Fortran 2018 support

2023-12-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85836 --- Comment #4 from Paul Thomas --- Created attachment 56771 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56771=edit Features 2.x

[Bug fortran/85836] [meta-bug] Fortran 2018 support

2023-12-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85836 --- Comment #3 from Paul Thomas --- Created attachment 56770 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56770=edit Features 1.x

[Bug fortran/85836] [meta-bug] Fortran 2018 support

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

[Bug fortran/102689] Segfault with RESHAPE of CLASS as actual argument

2023-11-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102689 --- Comment #2 from Paul Thomas --- Created attachment 56730 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56730=edit Another failing testcase With the attached, we should get: [pault@pc30 pr87477]$ rm ./a.out;ifort

[Bug fortran/55824] [OOP] ICE with ALLOCATE and SOURCE= TRANSPOSE/RESHAPE

2023-11-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55824 --- Comment #8 from Paul Thomas --- (In reply to Andrew Pinski from comment #7) > Seems to be working in GCC 7+. Hmmm! It seems to me to be broken from 7-branch through the current mainline. Cheers Paul

[Bug fortran/102689] Segfault with RESHAPE of CLASS as actual argument

2023-11-29 Thread pault at gcc dot gnu.org via Gcc-bugs
||2023-11-29 CC||pault at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Paul Thomas --- Confirmed! implicit none (type, external) type t integer :: i end type t integer :: j integer :: src(100) = [(j

[Bug fortran/112459] gfortran -w option causes derived-type finalization at creation time

2023-11-11 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112459 --- Comment #3 from Paul Thomas --- Hi Sebastien, I have posted the patch to the gfortran list. Hopefully, the bug will be fixed this weekend. Thanks for the report. Paul

[Bug fortran/112459] gfortran -w option causes derived-type finalization at creation time

2023-11-09 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112459 Paul Thomas changed: What|Removed |Added Last reconfirmed||2023-11-09

[Bug fortran/112407] [13/14 Regression] Fix for PR37336 triggers an ICE in gfc_format_decoder while constructing a vtab

2023-11-09 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112407 --- Comment #6 from Paul Thomas --- (In reply to Tomáš Trnka from comment #5) > I'm looking forward to any more information on the root cause. I have failed to produce a compact reproducer that resembles your bug. In fact, you will note the

[Bug fortran/112407] [13/14 Regression] Fix for PR37336 triggers an ICE in gfc_format_decoder while constructing a vtab

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

[Bug fortran/112407] [13/14 Regression] Fix for PR37336 triggers an ICE in gfc_format_decoder while constructing a vtab

2023-11-07 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112407 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/98498] Interp request: defined operators and unlimited polymorphic

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

[Bug fortran/112316] [13 Regression] Fix for PR87477 rejects valid code with a bogus error about pointer assignment and causes an ICE since r13-7761-gd6997a5aab7aaa325946a6283bfee8ac2bd9f540

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

[Bug fortran/112316] [13 Regression] Fix for PR87477 rejects valid code with a bogus error about pointer assignment and causes an ICE since r13-7761-gd6997a5aab7aaa325946a6283bfee8ac2bd9f540

2023-11-02 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112316 Paul Thomas changed: What|Removed |Added Last reconfirmed||2023-11-02 Ever confirmed|0

[Bug fortran/87448] ICE at trans-expr:3417 in allocate statement with type signature using an associated variable

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

[Bug fortran/98458] ICE in gfc_conv_array_initializer due to array expressions within implied do-loop

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

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

2023-10-31 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 Resolution|--- |FIXED Status|NEW

[Bug fortran/96320] gfortran 8-10 shape mismatch in assumed-length dummy argument character array

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

[Bug fortran/49213] [OOP] gfortran rejects structure constructor expression

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

[Bug fortran/49213] [OOP] gfortran rejects structure constructor expression

2023-10-31 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49213 --- Comment #38 from Paul Thomas --- This bug has fixed itself on mainline. I thought that it might be r14-4943-g8d2130a4e5ce369f5884c8522934dc027db6e9d8 but reversion didn't cause a recurrence. @Martin - as and when you have the time, could

[Bug fortran/49213] [OOP] gfortran rejects structure constructor expression

2023-10-31 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49213 Paul Thomas changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #37

[Bug fortran/97045] A wrong column is selected when addressing individual elements of unlimited polymorphic dummy argument

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

[Bug fortran/104555] ICE in gfc_compare_derived_types, at fortran/interface.cc:628 since r10-2912-g70570ec192745095

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

[Bug fortran/104625] ICE in fixup_array_ref, at fortran/resolve.cc:9275 since r10-2912-g70570ec192745095

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

[Bug fortran/67740] Wrong association status of allocatable character pointer in derived types

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

[Bug fortran/104625] ICE in fixup_array_ref, at fortran/resolve.cc:9275 since r10-2912-g70570ec192745095

2023-10-26 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104625 --- Comment #8 from Paul Thomas --- (In reply to anlauf from comment #6) > Steve Lionel of Intel confirmed that the code is valid, and that if X is > polymorphic, so is (X): > >

[Bug fortran/104625] ICE in fixup_array_ref, at fortran/resolve.cc:9275 since r10-2912-g70570ec192745095

2023-10-26 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104625 --- Comment #7 from Paul Thomas --- (In reply to anlauf from comment #6) > Steve Lionel of Intel confirmed that the code is valid, and that if X is > polymorphic, so is (X): > >

[Bug fortran/104625] ICE in fixup_array_ref, at fortran/resolve.cc:9275 since r10-2912-g70570ec192745095

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

[Bug fortran/39627] [meta-bug] Fortran 2008 support

2023-10-12 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39627 --- Comment #3 from Paul Thomas --- Created attachment 56098 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56098=edit Evidence for replies in last attachment As promised in the previous entry in this PR. Paul

[Bug fortran/39627] [meta-bug] Fortran 2008 support

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

[Bug fortran/52994] [OOP] [F08] internal compiler error: in gfc_trans_assignment_1, at fortran/trans-expr.c:6881

2023-10-12 Thread pault at gcc dot gnu.org via Gcc-bugs
|--- |FIXED CC||pault at gcc dot gnu.org --- Comment #15 from Paul Thomas --- >From as far back as GNU Fortran (GCC) 11.2.1 20210728, the pointer function assignment gives the correct result arr(-1) = -666.0 Marking it as fixed. Paul

[Bug fortran/39627] [meta-bug] Fortran 2008 support

2023-10-12 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39627 Bug 39627 depends on bug 52994, which changed state. Bug 52994 Summary: [OOP] [F08] internal compiler error: in gfc_trans_assignment_1, at fortran/trans-expr.c:6881 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52994 What|Removed

[Bug fortran/67740] Wrong association status of allocatable character pointer in derived types

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

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

2023-10-04 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 111674, which changed state. Bug 111674 Summary: [13/14 regression] Failure to finalize an allocatable subobject of a non-finalizable type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111674 What|Removed

[Bug fortran/111674] [13/14 regression] Failure to finalize an allocatable subobject of a non-finalizable type

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

[Bug fortran/111674] [13/14 regression] Failure to finalize an allocatable subobject of a non-finalizable type

2023-10-03 Thread pault at gcc dot gnu.org via Gcc-bugs
|NEW Last reconfirmed||2023-10-03 Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #1 from Paul Thomas --- Created attachment 56036 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56036=edit Fix for this PR

[Bug fortran/111674] New: [13/14 regression] Failure to finalize an allocatable subobject of a non-finalizable type

2023-10-03 Thread pault at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: pault at gcc dot gnu.org Target Milestone: --- Created attachment 56035 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56035=edit Testc

[Bug fortran/80757] Internal compiler error when omitting upper subscript of a character substring in a module subroutine

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

[Bug fortran/19276] [meta-bug] CHARACTER related bugs in gfortran

2023-09-24 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19276 Bug 19276 depends on bug 92586, which changed state. Bug 92586 Summary: ICE in gimplify_expr, at gimplify.c:13479 with nested allocatable derived types https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92586 What|Removed

[Bug fortran/92586] ICE in gimplify_expr, at gimplify.c:13479 with nested allocatable derived types

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

[Bug fortran/68155] ICE on initializing character array in type (len_lhs <> len_rhs)

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

[Bug fortran/19276] [meta-bug] CHARACTER related bugs in gfortran

2023-09-24 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19276 Bug 19276 depends on bug 68155, which changed state. Bug 68155 Summary: ICE on initializing character array in type (len_lhs <> len_rhs) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68155 What|Removed |Added

[Bug fortran/111271] gcc/fortran/trans-expr.cc:1134:8: warning: duplicated ‘if’ condition [-Wduplicated-cond]

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

[Bug fortran/68155] ICE on initializing character array in type (len_lhs <> len_rhs)

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

[Bug fortran/111271] gcc/fortran/trans-expr.cc:1134:8: warning: duplicated ‘if’ condition [-Wduplicated-cond]

2023-09-12 Thread pault at gcc dot gnu.org via Gcc-bugs
|1 Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org Status|UNCONFIRMED |NEW --- Comment #2 from Paul Thomas --- (In reply to David Binderman from comment #1) > git blame says > > 6c95fe9bc0 (Pa

[Bug fortran/97122] Spurious FINAL ... must be in the specification part of a MODULE

2023-09-09 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97122 --- Comment #13 from Paul Thomas --- (In reply to anlauf from comment #12) > Fixed on mainline for gcc-14. > > Shall we close it? Or does it deserve backporting? Hi Harald, I was considering a backport of a composite finalization patch to

[Bug fortran/92586] ICE in gimplify_expr, at gimplify.c:13479 with nested allocatable derived types

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

[Bug fortran/92586] ICE in gimplify_expr, at gimplify.c:13479 with nested allocatable derived types

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

[Bug fortran/109684] compiling failure: complaining about a final subroutine of a type being not PURE (while it is indeed PURE)

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

[Bug fortran/109684] compiling failure: complaining about a final subroutine of a type being not PURE (while it is indeed PURE)

2023-08-09 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109684 --- Comment #16 from Paul Thomas --- > > I am wondering about the pureness test itself, however. Surely, the test > should be for impure procedures that are referenced and not just accessible? > > Paul Cancel that comment - it's nonsense!

[Bug fortran/109684] compiling failure: complaining about a final subroutine of a type being not PURE (while it is indeed PURE)

2023-08-09 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109684 --- Comment #15 from Paul Thomas --- (In reply to kargl from comment #14) > (In reply to Paul Thomas from comment #13) > > (In reply to Steve Kargl from comment #12) > > > On Mon, Aug 07, 2023 at 10:04:54PM +, kargl at gcc dot gnu.org

[Bug fortran/109684] compiling failure: complaining about a final subroutine of a type being not PURE (while it is indeed PURE)

2023-08-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109684 --- Comment #13 from Paul Thomas --- (In reply to Steve Kargl from comment #12) > On Mon, Aug 07, 2023 at 10:04:54PM +, kargl at gcc dot gnu.org wrote: > > > > diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc > > index

[Bug fortran/110720] [13 Regression] Internal compiler error (segmentation fault) in gfc_expression_rank

2023-07-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110720 --- Comment #2 from Paul Thomas --- (In reply to anlauf from comment #1) > Looks like a dup of pr109948, which is fixed on 14-trunk. > > @Paul: do you think your patch (commit r14-1487-g3c2eba4) is > backportable to 13-branch? I know that it

[Bug fortran/99139] ICE: gfc_get_default_type(): Bad symbol '__tmp_UNKNOWN_0_rank_1'

2023-07-15 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99139 --- Comment #8 from Paul Thomas --- (In reply to anlauf from comment #7) > Updating known-to-work/known to fail version. > > Paul/Steve: do you want to assign this PR to one of you? I am of two minds as to whether or not to backport the patch

[Bug fortran/106050] ICE in reject_statement, at fortran/parse.cc:2879 since r8-3056-g5bab4c9631c478b7

2023-07-11 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106050 --- Comment #7 from Paul Thomas --- (In reply to Mikael Morin from comment #6) > (In reply to Mikael Morin from comment #5) > > Possibly walking the symbols in reverse order to release them would fix > > this. > > > It seems to work: > >

[Bug fortran/106050] ICE in reject_statement, at fortran/parse.cc:2879 since r8-3056-g5bab4c9631c478b7

2023-07-10 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106050 --- Comment #4 from Paul Thomas --- Created attachment 55515 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55515=edit Patch that fixes this PR for me I had to add to Steve's patch to get this PR sorted out. Ideally of course, we would

[Bug fortran/106050] ICE in reject_statement, at fortran/parse.cc:2879 since r8-3056-g5bab4c9631c478b7

2023-07-10 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106050 --- Comment #3 from Paul Thomas --- (In reply to Martin Liška from comment #2) > Likely started with r8-3056-g5bab4c9631c478b7, it was rejected before the > revision anyway. With all branches up to 13-branch, I see:

[Bug fortran/104649] ICE in gfc_match_formal_arglist, at fortran/decl.cc:6733 since r6-1958-g4668d6f9c00d4767

2023-07-09 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104649 --- Comment #3 from Paul Thomas --- (In reply to kargl from comment #2) > Null pointer dereference. > > > diff --git a/gcc/fortran/decl.cc b/gcc/fortran/decl.cc > index bd586e75008..8e2cd511c4d 100644 > --- a/gcc/fortran/decl.cc > +++

[Bug fortran/106242] [PDT] Internal compiler error: Parameterised derived types

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org Summary|Internal compiler error:|[PDT] Internal compiler |Parameterised derived types |error: Parameterised ||derived types --- Comment #1 from Paul Thomas --- Added to PDT meta

[Bug fortran/108663] Accepts invalid bug with pdtXXX

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

[Bug fortran/107142] [PDT] ICE: Segmentation fault (in next_statement)

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107142 --- Comment #2 from Paul Thomas --- Added to PDT meta-bug

[Bug fortran/107142] [PDT] ICE: Segmentation fault (in next_statement)

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

[Bug fortran/105380] [PDT] ICE in gfc_conv_array_initializer, at fortran/trans-array.cc:6317 since r8-3056-g5bab4c9631c478b7

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105380 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #3 from Paul Thomas

[Bug fortran/104650] [PDT] ICE in gfc_resolve_finalizers, at fortran/resolve.cc:13749 since r8-3056-g5bab4c9631c478b7

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104650 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #3 from Paul Thomas

[Bug fortran/104097] parameterized derived type (PDT) with type-bound procedure

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
||82173 Last reconfirmed||2023-06-30 Status|UNCONFIRMED |NEW CC||pault at gcc dot gnu.org --- Comment #1 from Paul Thomas --- Added to PDT meta-bug Referenced Bugs: https

[Bug fortran/104096] ICE with parameterized derived type (PDT)

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org --- Comment #3 from Paul Thomas --- Added to PDT meta-bug Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173 [Bug 82173] [meta-bug] [PDT] Parameterized derived type errors

[Bug fortran/103748] [PDT] Variable declaration with PDT syntax when the type is not a PDT fails to trigger a syntax error

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
||2023-06-30 Blocks||82173 CC||pault at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Paul Thomas --- Added to PDT meta-bug Referenced Bugs: https

[Bug fortran/103508] [PDT] ICE in gfc_find_symtree, at fortran/symbol.c:2979

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
|1 Status|UNCONFIRMED |NEW CC||pault at gcc dot gnu.org Last reconfirmed||2023-06-30 --- Comment #2 from Paul Thomas --- Added to PDT meta-bug Referenced Bugs: https

[Bug fortran/103414] [10/11/12/13/14 Regression] [PDT] ICE in gfc_free_actual_arglist, at fortran/expr.c:547 since r10-2083-g8dc63166e0b85954

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
|1 CC||pault at gcc dot gnu.org Blocks||82173 Last reconfirmed||2023-06-30 --- Comment #9 from Paul Thomas --- Added to PDT meta-bug Referenced Bugs: https

[Bug fortran/103371] [PDT] f951: internal compiler error: Aborted (free(): double free detected in tcache 2) when giving diagnostics on type of a parameter expression since r8-3056-g5bab4c9631c478b7

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103371 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #2 from Paul Thomas

[Bug fortran/102901] ICE (segfault) when compiling pdt_13.f03 with -fcheck=all in gfc_check_pdt_dummy -> structure_alloc_comps

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

[Bug fortran/102686] [PDT] ICE in check_host_association, at fortran/resolve.c:6055

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102686 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #2 from Paul Thomas

[Bug fortran/102457] [PDT] ICE in fold_convert_const_int_from_real, at fold-const.c:2034

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102457 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #2 from Paul Thomas

[Bug fortran/102241] [PDT] ICE when declaring derived type with a parameterized derived type member

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

[Bug fortran/102240] [PDT] derived type parameter does not shadow variable name in enclosing scope

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org --- Comment #2 from Paul Thomas --- Added to PDT meta-bug Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173 [Bug 82173] [meta-bug] [PDT] Parameterized derived type errors

[Bug fortran/102003] [PDT] Length of character component not simplified

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
||2023-06-30 Blocks||82173 Ever confirmed|0 |1 CC||pault at gcc dot gnu.org --- Comment #2 from Paul Thomas --- Added to PDT meta-bug Referenced Bugs: https

[Bug fortran/99709] [PDT] VALUE attribute for an object with nonconstant length parameter

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

[Bug fortran/98023] ICE: [PDT] free_expr0(): Bad expr type

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98023 --- Comment #4 from Paul Thomas --- Added to PDT meta-bug

[Bug fortran/95543] [PDT] ICE in is_CFI_desc, at fortran/expr.c:1080

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

[Bug fortran/95541] [PDT] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6909

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95541 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #2 from Paul Thomas

[Bug fortran/95504] [PDT] ICE in transfer_array_component, at fortran/trans-io.c:2167

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org --- Comment #3 from Paul Thomas --- Added to PDT meta-bug Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173 [Bug 82173] [meta-bug] [PDT] Parameterized derived type errors

[Bug fortran/87908] [PDT] ICE in check_interface0, at fortran/interface.c:1841

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

[Bug fortran/89645] No IMPLICIT type error with: ASSOCIATE( X => function() )

2023-06-28 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89645 --- Comment #3 from Paul Thomas --- *** Bug 99065 has been marked as a duplicate of this bug. ***

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

2023-06-28 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 99065, which changed state. Bug 99065 Summary: ASSOCIATE function selector expression "no IMPLICIT type" failure https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99065 What|Removed |Added

[Bug fortran/99065] ASSOCIATE function selector expression "no IMPLICIT type" failure

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

[Bug fortran/49213] [OOP] gfortran rejects structure constructor expression

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

[Bug fortran/100650] Passing a derived-type array constructor to the reshape intrinsic gives incorrect results

2023-06-21 Thread pault at gcc dot gnu.org via Gcc-bugs
||pault at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #3 from Paul Thomas --- (In reply to Damian Rouson from comment #1) > Here's a shorter reproducer: > > % cat resh

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