[Bug libfortran/119502] Runtime segfault when closing invalid unit

2025-04-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 Jerry DeLisle changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/119836] [15/16 Regression] Elemental intrinsic treated as IMPURE within BLOCK within DO CONCURRENT

2025-04-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836 --- Comment #15 from Jerry DeLisle --- Building with Steve's latest patch now. If all passes here I will commit to 16 and request to backport to 15. Thanks Steve.

[Bug fortran/119856] Missing commas in I/O formats not diagnosed by default at compile time.

2025-04-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
||83282 Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org Last reconfirmed||2025-04-18 Ever confirmed|0 |1 CC||jvdelisle at gcc dot gnu.org

[Bug fortran/119836] [15/16 Regression] Elemental intrinsic treated as IMPURE within BLOCK within DO CONCURRENT

2025-04-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836 --- Comment #13 from Jerry DeLisle --- (In reply to kargls from comment #12) > On 4/17/25 23:59, pault at gcc dot gnu.org wrote: > > > > Is it worth reverting or fixing this before the 15-branch release? After > > all, > > the bug made its way

[Bug fortran/119836] [15 Regression] Elemental intrinsic treated as IMPURE within BLOCK within DO CONCURRENT

2025-04-16 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836 --- Comment #6 from Jerry DeLisle --- I get one test failure: FAIL: gfortran.dg/do_concurrent_all_clauses.f90 -O (test for errors, line 21) from: ! { dg-do compile } program do_concurrent_all_clauses implicit none integer :: i, arr(10

[Bug fortran/119836] [15 Regression] Elemental intrinsic treated as IMPURE within BLOCK within DO CONCURRENT

2025-04-16 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug fortran/119836] [15 Regression] Elemental intrinsic treated as IMPURE within BLOCK within DO CONCURRENT

2025-04-16 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836 --- Comment #2 from Jerry DeLisle --- You have a great crystal ball.

[Bug libfortran/119502] Runtime segfault when closing invalid unit

2025-04-12 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 --- Comment #6 from Jerry DeLisle --- Interestingly PR 48618 has a slightly different interpretation of the standard. I will be checking the 2023 to see.

[Bug libfortran/119502] Runtime segfault when closing invalid unit

2025-04-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 Jerry DeLisle changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libfortran/119502] Runtime segfault when closing invalid unit

2025-04-10 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug libfortran/119502] Runtime segfault when closing invalid unit

2025-03-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/119406] Typo in Index variable %qs at %L cannot be specified in alocality-spec

2025-03-21 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119406 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/119403] Typo in Interface mismatch in dummy procedure at %L conflichts with %L: %s

2025-03-21 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119403 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/119406] Typo in Index variable %qs at %L cannot be specified in alocality-spec

2025-03-21 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119406 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/119403] Typo in Interface mismatch in dummy procedure at %L conflichts with %L: %s

2025-03-21 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119403 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/119380] [12,13,14,15] Associate malloc error on selector with allocatable and procedure pointer components

2025-03-20 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119380 --- Comment #3 from Jerry DeLisle --- Works for me on gcc version 12.3.1 20230805 (GCC) The last commit there is commit a3931bf6093dbeda637601da07cdbbd07e57ccbd (HEAD -> releases/gcc-12) This was a cherry pick from commit 03fb35f8753d87148b. M

[Bug fortran/119380] [12,13,14,15] Associate malloc error on selector with allocatable and procedure pointer components

2025-03-20 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119380 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/119349] [15 Regression] polymorphic array dummy argument with function result actual argument in elemental function

2025-03-19 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119349 --- Comment #4 from Jerry DeLisle --- (In reply to anlauf from comment #3) > Looks related to pr118747, where an elemental subroutine was used > instead of a function. It has some similarities. Since Andre did the fix on that one, we need to se

[Bug fortran/119349] [15 Regression] polymorphic array dummy argument with function result actual argument in elemental function

2025-03-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119349 --- Comment #2 from Jerry DeLisle --- With this modification it works: implicit none type string_t character(len=:), allocatable :: string_ end type logical :: result result = .false. result = true(string()) print *, resu

[Bug fortran/119349] [15 Regression] polymorphic array dummy argument with function result actual argument in elemental function

2025-03-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
|1 CC||jvdelisle at gcc dot gnu.org Status|UNCONFIRMED |NEW --- Comment #1 from Jerry DeLisle --- I can reproduce this. The following might be a hint. $ gfc14 -Wall -pedantic -fcheck=all pr119349.f90

[Bug fortran/115265] Generic function for constructor not invoked for same-name derived type with procedure pointer component

2025-03-09 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115265 --- Comment #11 from Jerry DeLisle --- (In reply to Matthew Krupcale from comment #10) > Thanks Jerry! I think you may also have to backport the fix [1] for PR118640 > to avoid regression on the 14 branch as well. > > [1] > https://gcc.gnu.org/

[Bug fortran/118640] [15 Regression] cp2k ICE in gfc_conv_expr_present since r15-5347

2025-03-09 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118640 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/115265] Generic function for constructor not invoked for same-name derived type with procedure pointer component

2025-03-09 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115265 Jerry DeLisle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/115265] Generic function for constructor not invoked for same-name derived type with procedure pointer component

2025-03-09 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115265 --- Comment #8 from Jerry DeLisle --- I have backported cleanly and regression tested on 14 branch. Will push shortly.

[Bug fortran/115265] Generic function for constructor not invoked for same-name derived type with procedure pointer component

2025-03-09 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115265 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/119054] [12/13/14/15 Regression] ICE on passing optional array to elemental procedure with -pedantic

2025-03-07 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119054 --- Comment #5 from Jerry DeLisle --- Fixed on gcc-15, preparing backport to 14.

[Bug fortran/119136] Printing result of function that prints itself hangs

2025-03-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #7 from Jerry DeLisle --- I have some ideas about how to do this. so i will take it. I may be asking for additional input

[Bug fortran/119136] Printing result of function that prints itself hangs

2025-03-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119136 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/119118] substring with negative start index

2025-03-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119118 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/118793] request NAMELIST reports of input errors indicate position of error and show line containing error

2025-02-28 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118793 --- Comment #4 from Jerry DeLisle --- The particular error situation is unique because it is just before we try to match the variable name. This might be sufficient in this case: $ ./a.out At line 18 of file pr118793.f90 Fortran runtime error

[Bug fortran/119054] ICE on passing optional array to elemental procedure with -pedantic

2025-02-28 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
|1 CC||jvdelisle at gcc dot gnu.org Last reconfirmed||2025-02-28 --- Comment #1 from Jerry DeLisle --- Thanks for PR and a patch submitted here: https://gcc.gnu.org/pipermail/fortran/2025-February/061793.html

[Bug fortran/108369] FM509 Fails to compile with error when using undocumented -x option

2025-02-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 Jerry DeLisle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/118793] request NAMELIST reports of input errors indicate position of error and show line containing error

2025-02-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |jvdelisle at gcc dot gnu.org --- Comment #3 from Jerry DeLisle --- (In reply to urbanjost from comment #2) > I can imagine that different parsing of the input might make this very > difficult but might also be very straight-forward so was hoping for the > b

[Bug fortran/108369] FM509 Fails to compile with error when using undocumented -x option

2025-02-26 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 --- Comment #23 from Jerry DeLisle --- I have modified gcc.texi here to yield, after make info, the following pasted out of my terminal viewing with info: ‘-x LANGUAGE’ Specify explicitly the LANGUAGE for the following input files (ra

[Bug fortran/108369] FM509 Fails to compile with error when using undocumented -x option

2025-02-25 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 --- Comment #21 from Jerry DeLisle --- (In reply to kargls from comment #20) > (In reply to Jerry DeLisle from comment #19) > > > > What this is doing is invoking -std=legacy for files with suffixes that > > imply legacy files such as .f > > >

[Bug fortran/108369] FM509 Fails to compile with error when using undocumented -x option

2025-02-25 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 --- Comment #19 from Jerry DeLisle --- Created attachment 60593 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60593&action=edit Possible patch to change compile behavior This patch changes the fortran/lang-spec.h as a possible better app

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2025-02-25 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 --- Comment #12 from Jerry DeLisle --- "The keyword INTEGER with no kind-selector specifies type integer with default kind; the kind type parameter value is equal to KIND (0). The decimal exponent range of default integer shall be at least 5." -

[Bug fortran/117430] gfortran allows type(C_ptr) in I/O list

2025-02-25 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117430 Jerry DeLisle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2025-02-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 --- Comment #9 from Jerry DeLisle --- We can have only one default integer otherwise its not a default. Our default integer is KIND=4 The RANGE of KIND=4 integer is 9, so we exceed the requirement for at least a decimal range of 5. RANGE is def

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2025-02-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 --- Comment #7 from Jerry DeLisle --- >From the 2023 standard I find: "The keyword INTEGER with no kind-selector specifies type integer with default kind; the kind type parameter value is equal to KIND (0). The decimal exponent range of default

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2025-02-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 --- Comment #6 from Jerry DeLisle --- The check is being done in interface.cc. The kind is being checked against default_integer_kind. case(2):/* UNIT */ type = BT_INTEGER; kind = gfc_default

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2025-02-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 Jerry DeLisle changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Jerry DeLisle

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2025-02-22 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680 Jerry DeLisle changed: What|Removed |Added Status|NEW |WAITING Severity|normal

[Bug libfortran/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-20 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 --- Comment #12 from Jerry DeLisle --- (In reply to Thomas Koenig from comment #10) > What does the OpenMP standard say about I/O in partallel exexution? I don't know,but the situation is libgfortran threads are being launched by the async I/O

[Bug libfortran/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-19 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/115781] Error with passing array of derived type

2025-02-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115781 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/118789] [15 Regression] ICE in gfc_add_modify_loc, at fortran/trans.cc:229

2025-02-16 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118789 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/118793] request NAMELIST reports of input errors indicate position of error and show line containing error

2025-02-16 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
||jvdelisle at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Jerry DeLisle --- I must agree this would be very useful. I have not looked at our implementation recently to see how

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-15 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 --- Comment #13 from Jerry DeLisle --- Thanks Thomas. I was just getting ready to get lapack set up here for future testing.

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 --- Comment #6 from Jerry DeLisle --- I forgot to mention this is a good hint for Thomas regarding how to tweak the previous fix.

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 --- Comment #5 from Jerry DeLisle --- Not disagreeing, however: Warning: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)) cget24.f-pp.f:545:32: 237 |IF( CSLECT( W( I ) ) ) |

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/117430] gfortran allows type(C_ptr) in I/O list

2025-02-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117430 --- Comment #4 from Jerry DeLisle --- If I had just scrolled down in resolve.cc a few more hunks, eye roll: $ gfc -pedantic zorig.f90 zorig.f90:45:32: 45 | write(*,*) "B:", self%cptr |1 Warning:

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/117430] gfortran allows type(C_ptr) in I/O list

2025-02-08 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117430 --- Comment #3 from Jerry DeLisle --- Where we resolve the data transfer statement the variable c_ptr is derived, It has an attribute of private_comp. The interop_kind is 0. The gdb in resolve.cc shows: 11745 derived = ts->u.derived; (g

[Bug fortran/116829] Missing default initialization of finalizable non-polymorphic intent(out) arguments

2025-02-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116829 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug libfortran/114618] Format produces incorrect output when contains 1x, ok when uses " "

2025-02-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114618 --- Comment #9 from Jerry DeLisle --- I am thinking to backport this as it cleans up some output with garbage in it. Any thoughts?

[Bug libfortran/118774] Tab skips miscalculated with 'stream' write

2025-02-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org Last reconfirmed||2025-02-06

[Bug libfortran/118774] New: Tab skips miscalculated with 'stream' write

2025-02-06 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: jvdelisle at gcc dot gnu.org Target Milestone: --- This test case found during review of patch for PR114618. program z3 implicit none integer, parameter :: wp = kind(0d0) real(kind

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2025-02-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 Jerry DeLisle changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/47485] gfortran -M output is incorrect when -MT option is used

2025-02-04 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
|--- |FIXED CC||jvdelisle at gcc dot gnu.org --- Comment #8 from Jerry DeLisle --- I do not see a reason to backport. Let me know otherwise.

[Bug fortran/117430] gfortran allows type(C_ptr) in I/O list

2025-02-03 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |jvdelisle at gcc dot gnu.org CC||jvdelisle at gcc dot gnu.org --- Comment #2 from Jerry DeLisle --- I am going to make an attempt on this one.

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2025-02-03 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #18 from Jerry DeLisle --- (In reply to Jerry DeLisle from comment #17) > (In reply to Damian Rouson from comment #16) > > Is there a chance of this fix being backported to the 14 branch? If not, > > then I assume this issue can be

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2025-02-03 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #17 from Jerry DeLisle --- (In reply to Damian Rouson from comment #16) > Is there a chance of this fix being backported to the 14 branch? If not, > then I assume this issue can be marked as resolved. Unfortunately, however, > I'm

[Bug fortran/118724] [F08] Gfortran rejects passing a procedure as an actual argument to a procedure pointer dummy argument

2025-02-02 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118724 --- Comment #3 from Jerry DeLisle --- I wonder if the fix was the patch for 117434.

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-02-01 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 Jerry DeLisle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/118724] [F08] Gfortran rejects passing a procedure as an actual argument to a procedure pointer dummy argument

2025-02-01 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118724 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug libfortran/114618] Format produces incorrect output when contains 1x, ok when uses " "

2025-01-30 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114618 --- Comment #7 from Jerry DeLisle --- Oatch submitted: https://gcc.gnu.org/pipermail/fortran/2025-January/061651.html

[Bug fortran/101602] [F2018] local and local_init are not supported in DO CONCURRENT

2025-01-25 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101602 --- Comment #8 from Jerry DeLisle --- I have the patch applied here. do_concurrent_12.f90 has six failures that look like related to optimization. I will see if I can figure this out. Running /home/jerry/dev/trunk/gcc/testsuite/gfortran.dg/dg.e

[Bug fortran/101602] [F2018] local and local_init are not supported in DO CONCURRENT

2025-01-25 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101602 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/58857] [OOP] CLASS wrongly rejected in BLOCK DATA

2025-01-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58857 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 Jerry DeLisle changed: What|Removed |Added Last reconfirmed||2025-01-24 Status|UNCONFIRM

[Bug fortran/116668] A very strange error when trying to copy substrings from a select type generic

2025-01-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116668 Jerry DeLisle changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/116668] A very strange error when trying to copy substrings from a select type generic

2025-01-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116668 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/117188] ICE when OUT variable dimension is defined by a IN variable member

2025-01-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
|--- |INVALID CC||jvdelisle at gcc dot gnu.org --- Comment #3 from Jerry DeLisle --- I think this can be closed.

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #8 from Jerry DeLisle --- Created attachment 60256 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60256&action=edit Proposed final patch This patch submitted for approval.

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-21 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #7 from Jerry DeLisle --- If no width is specified w_len comes in as zero so we have to handle that case. diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c index 54312bf67e9..15a0dd5c3e9 100644 --- a/libgfortran/io/write.

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #6 from Jerry DeLisle --- (In reply to kargls from comment #3) > diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c > index 54312bf67e9..084ac314f5c 100644 > --- a/libgfortran/io/write.c > +++ b/libgfortran/io/write.c > @@

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-20 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug fortran/106005] (F2023) Support for REDUCE clause in DO CONCURRENT loop

2025-01-18 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106005 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-16 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #10 from Jerry DeLisle --- (In reply to Thomas Koenig from comment #9) > Question is, what should we permit... > > For 'normal' operations, only unsigned op unsigned is permitted, > so unsigned**unsigned is obviously ok. > > What a

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-15 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/118471] Missed folding of descriptor span field for contiguous Fortran pointers

2025-01-15 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118471 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/71884] ICE in gfc_trans_allocate, at fortran/trans-stmt.c:5582 and :5698

2025-01-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71884 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug libfortran/118406] Printing large UNSIGNED(kind=16) crashes

2025-01-10 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118406 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/118372] Bogus error when passing polymorphic-result function

2025-01-08 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118372 --- Comment #2 from Jerry DeLisle --- Also appears to be OK on 14 as well.

[Bug fortran/118372] Bogus error when passing polymorphic-result function

2025-01-08 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118372 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/117643] F_C_STRING from F23 is missing

2025-01-01 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 Jerry DeLisle changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/117798] Audit intrinsic subprograms with scalar INTENT(OUT) character strings

2024-12-28 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117798 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-28 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #28 from Jerry DeLisle --- --- snip --- > In iso-c-binding.def, one finds > > NAMED_CHARKNDCST (ISOCBINDING_CHAR, "c_char",gfc_default_character_kind) > > so kind('a') == kind(c_char_'a') on all targets. This implies that is_c_in

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-28 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #26 from Jerry DeLisle --- Why not set it in gfc_resolve_expr near the top before any other actions? also Are there any systems where c_char is not equal to 1? If not then BT_CHARACTER and KIND==1 is always C interoperable. ??

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-28 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #25 from Jerry DeLisle --- I clearly see where my logic was incorrect. I do wonder if there is a resolve string expr that would allow us to set the interop for all cases of kind=1 BT_CHARACTER.

[Bug fortran/47928] Gfortran intrinsics documentation paragraph ordering illogical

2024-12-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47928 --- Comment #5 from Jerry DeLisle --- I was not thinking about rewriting the whole thing, but rearranging enmasse may be helpful if you know how to do that. I think we need to hear from others though.

[Bug fortran/47928] Gfortran intrinsics documentation paragraph ordering illogical

2024-12-26 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47928 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #19 from Jerry DeLisle --- (In reply to kargls from comment #17) > On 12/24/24 10:03, jvdelisle at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 > > > > --- Comment #

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 Jerry DeLisle changed: What|Removed |Added Attachment #59960|0 |1 is obsolete|

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #16 from Jerry DeLisle --- Needed a minor tweak: + if (string->ts.type != BT_CHARACTER + || (string->ts.type == BT_CHARACTER // && on the inner paren instead of || + && (string->ts.kind != 1 && string->ts.is_c_interop

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #15 from Jerry DeLisle --- >From Harald's post. "There is another case I found while playing which is rejected: print *, f_c_string(c_char_"abc", asis)" I bet the parsing does not handle c_char_ with the two underscores. I h

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #13 from Jerry DeLisle --- Created attachment 59960 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59960&action=edit Cleaned up patch with Harald's addition. This patch fixes some white space and merges in Haralds patch for op

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #12 from Jerry DeLisle --- The following additional patch from Harald posted on the gfortran list: https://gcc.gnu.org/pipermail/fortran/2024-December/061452.html diff --git a/gcc/fortran/trans-intrinsic.cc b/gcc/fortran/trans-intr

  1   2   3   4   5   6   7   8   9   10   >