[Bug fortran/110644] Error in gfc_format_decoder

2025-03-11 Thread aluaces at udc dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #24 from Alberto Luaces --- Hi, I am not a gfortran developer nor I am asking for a minimal working example whatsoever. I was just stating that the problem could have disappeared, and I tried just building your whole software (succe

[Bug fortran/110644] Error in gfc_format_decoder

2025-03-11 Thread aluaces at udc dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #22 from Alberto Luaces --- Kyle, can you try again on your side? Following your instructions on 2024/03/08, I checked out tuv-x version from 2024/03/04 and compiled it without problems, using gfortran 14.2.0.

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

2024-10-17 Thread aluaces at udc dot es via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aluaces at udc dot es Target Milestone: --- This happens either with functions or subroutines. Both minimal cases are attached: --Example 1 PROGRAM MAIN

[Bug fortran/110644] Error in gfc_format_decoder

2023-10-23 Thread aluaces at udc dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #12 from Alberto Luaces --- It seems to be slightly different: (gdb) p expr->ts.type $7 = BT_PROCEDURE (gdb) p expr->symtree->name $8 = 0x770244e8 "@1179" (gdb) p expr->where $9 = {nextc = 0x0, lb = 0x0} Maybe it will be clear

[Bug fortran/110644] Error in gfc_format_decoder

2023-10-20 Thread aluaces at udc dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #10 from Alberto Luaces --- Ok, indeed they were some warnings. I had to use &gfc_current_locus, as you suggested, so now all of them are pointed at the end of the file. Yes, I am using OOP: we have a "states" class that has its as

[Bug fortran/110644] Error in gfc_format_decoder

2023-10-19 Thread aluaces at udc dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #8 from Alberto Luaces --- No, I meant building *gcc* with those flags, but alas each gcc compilation stage was still building with "-O2" so almost all of the compiler structures are still optimized. Nevertheless I did what you sugg

[Bug fortran/110644] Error in gfc_format_decoder

2023-10-19 Thread aluaces at udc dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #6 from Alberto Luaces --- Thanks a lot for the guidance. This is the backtrace of the last call to gcc_assert() that makes it crash. It says something about a non-recursive function likely calling itself. I will inspect my source

[Bug fortran/110644] Error in gfc_format_decoder

2023-10-18 Thread aluaces at udc dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 Alberto Luaces changed: What|Removed |Added CC||aluaces at udc dot es --- Comment #4

[Bug fortran/97245] New: ASSOCIATE intrinsic does not recognize a ponter variable the second time it is used

2020-09-29 Thread aluaces at udc dot es via Gcc-bugs
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aluaces at udc dot es Target Milestone: --- Created attachment 49289 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49289&action=edit Minimal

[Bug fortran/89943] New: Submodule functions are not allowed to have C binding

2019-04-03 Thread aluaces at udc dot es
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aluaces at udc dot es Target Milestone: --- The submodule module Foo_mod interface module subroutine runFoo4C(ndim) bind(C, name="runFoo") use, intrinsic :: iso_c_binding imp

[Bug fortran/88286] New: gfortran reports conflicting intent(in) with an intent(in) declared class variable

2018-11-30 Thread aluaces at udc dot es
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aluaces at udc dot es Target Milestone: --- I get the error test_bug.f90:19:16: INTENT(IN) b 1 Error: INTENT (IN) conflicts with INTENT(IN

[Bug fortran/82783] New: gfotran ICEs when compiling polymorphic function call

2017-10-31 Thread aluaces at udc dot es
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aluaces at udc dot es Target Milestone: --- Created attachment 42504 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42504&action=edit Minimal test example with Makefile The attached test example trig