public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/110644] New: Error in gfc_format_decoder
@ 2023-07-12 16:04 kyle.shores44 at gmail dot com
  2023-07-12 17:46 ` [Bug fortran/110644] " kargl at gcc dot gnu.org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: kyle.shores44 at gmail dot com @ 2023-07-12 16:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644

            Bug ID: 110644
           Summary: Error in gfc_format_decoder
           Product: gcc
           Version: 13.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kyle.shores44 at gmail dot com
  Target Milestone: ---

I moved from gcc 11 to gcc 13.1 recently. I have a library that compiled with
gcc 11 but cannot be compiled with gcc 13 without moving use statements out of
functions and subroutines and also changing the order of the use statements.

I would like to provide a small example but I could not figure out how to
replicate this when writing a smaller program. However, here is a PR
(https://github.com/NCAR/tuv-x/pull/272) that shows changes to files that allow
them to compile. I have not been able to compile the entire project yet, but I
have noticed that in general if I put the use statements in the order that the
imported content is used in the rest of the file that I can compile. Sadly,
this pattern doesn't always seem to be true.

After I finish getting the full project compiled, maybe I'll learn enough to
create a smaller example that better reproduces the error.

The error I get is not very useful:

`in gfc_format_decoder, at fortran/error.cc:1078`

I added the line to get the bug report, but I don't see any temporary files
created.

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-03-08 20:32 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-12 16:04 [Bug fortran/110644] New: Error in gfc_format_decoder kyle.shores44 at gmail dot com
2023-07-12 17:46 ` [Bug fortran/110644] " kargl at gcc dot gnu.org
2023-10-13 19:41 ` jvdelisle at gcc dot gnu.org
2023-10-16 14:32 ` kyle.shores44 at gmail dot com
2023-10-18 15:56 ` aluaces at udc dot es
2023-10-18 17:03 ` sgk at troutmask dot apl.washington.edu
2023-10-19  8:00 ` aluaces at udc dot es
2023-10-19 15:44 ` sgk at troutmask dot apl.washington.edu
2023-10-19 16:00 ` aluaces at udc dot es
2023-10-19 16:19 ` sgk at troutmask dot apl.washington.edu
2023-10-20 15:13 ` aluaces at udc dot es
2023-10-20 17:29 ` sgk at troutmask dot apl.washington.edu
2023-10-23 15:16 ` aluaces at udc dot es
2024-03-06  3:40 ` jvdelisle at gcc dot gnu.org
2024-03-08 16:44 ` kyle.shores44 at gmail dot com
2024-03-08 16:56 ` kyle.shores44 at gmail dot com
2024-03-08 17:22 ` sgk at troutmask dot apl.washington.edu
2024-03-08 17:42 ` kyle.shores44 at gmail dot com
2024-03-08 17:42 ` kyle.shores44 at gmail dot com
2024-03-08 19:44 ` sgk at troutmask dot apl.washington.edu
2024-03-08 20:01 ` kyle.shores44 at gmail dot com
2024-03-08 20:32 ` sgk at troutmask dot apl.washington.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).