public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/102313] New: [12 Regression] ICE in gfc_ascii_statement(): Bad statement code
@ 2021-09-13 17:28 gscfq@t-online.de
  2021-09-14  6:55 ` [Bug fortran/102313] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gscfq@t-online.de @ 2021-09-13 17:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102313
           Summary: [12 Regression] ICE in gfc_ascii_statement(): Bad
                    statement code
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Not really a regression, but changed between 20210808 and 20210822 :


$ cat z1.f90
!$omp end scope
end


$ gfortran-12-20210801 -c z1.f90 -fopenmp
f951: internal compiler error: gfc_ascii_statement(): Bad statement code
0x75faa9 gfc_report_diagnostic
        ../../gcc/fortran/error.c:874
0x761617 gfc_internal_error(char const*, ...)
        ../../gcc/fortran/error.c:1494
0x7bd910 gfc_ascii_statement(gfc_statement)
        ../../gcc/fortran/parse.c:2729
0x7bda98 unexpected_statement
        ../../gcc/fortran/parse.c:2871
0x7c10ba parse_progunit
        ../../gcc/fortran/parse.c:6161
0x7c24dc gfc_parse_file()
        ../../gcc/fortran/parse.c:6703
0x80f57f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

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

* [Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code
  2021-09-13 17:28 [Bug fortran/102313] New: [12 Regression] ICE in gfc_ascii_statement(): Bad statement code gscfq@t-online.de
@ 2021-09-14  6:55 ` rguenth at gcc dot gnu.org
  2021-09-14  7:25 ` [Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-09-14  6:55 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
           Priority|P3                          |P4

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

* [Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c
  2021-09-13 17:28 [Bug fortran/102313] New: [12 Regression] ICE in gfc_ascii_statement(): Bad statement code gscfq@t-online.de
  2021-09-14  6:55 ` [Bug fortran/102313] " rguenth at gcc dot gnu.org
@ 2021-09-14  7:25 ` marxin at gcc dot gnu.org
  2021-09-14 12:19 ` cvs-commit at gcc dot gnu.org
  2021-09-14 12:25 ` burnus at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-14  7:25 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[12 Regression] ICE in      |[12 Regression] ICE in
                   |gfc_ascii_statement(): Bad  |gfc_ascii_statement(): Bad
                   |statement code              |statement code since
                   |                            |r12-2962-gf8d535f3fec81c1c
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r12-2962-gf8d535f3fec81c1c.

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

* [Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c
  2021-09-13 17:28 [Bug fortran/102313] New: [12 Regression] ICE in gfc_ascii_statement(): Bad statement code gscfq@t-online.de
  2021-09-14  6:55 ` [Bug fortran/102313] " rguenth at gcc dot gnu.org
  2021-09-14  7:25 ` [Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c marxin at gcc dot gnu.org
@ 2021-09-14 12:19 ` cvs-commit at gcc dot gnu.org
  2021-09-14 12:25 ` burnus at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-14 12:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:

https://gcc.gnu.org/g:33fdbbe4ce6055eb858096d01720ccf94aa854ec

commit r12-3524-g33fdbbe4ce6055eb858096d01720ccf94aa854ec
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Sep 14 14:17:35 2021 +0200

    Fortran: Add missing ST_OMP_END_SCOPE handling [PR102313]

            PR fortran/102313

    gcc/fortran/ChangeLog:

            * parse.c (gfc_ascii_statement): Add missing ST_OMP_END_SCOPE.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/goacc/unexpected-end.f90: New test.
            * gfortran.dg/gomp/unexpected-end.f90: New test.

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

* [Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c
  2021-09-13 17:28 [Bug fortran/102313] New: [12 Regression] ICE in gfc_ascii_statement(): Bad statement code gscfq@t-online.de
                   ` (2 preceding siblings ...)
  2021-09-14 12:19 ` cvs-commit at gcc dot gnu.org
@ 2021-09-14 12:25 ` burnus at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu.org @ 2021-09-14 12:25 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
FIXED. Thanks for the report.

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

end of thread, other threads:[~2021-09-14 12:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 17:28 [Bug fortran/102313] New: [12 Regression] ICE in gfc_ascii_statement(): Bad statement code gscfq@t-online.de
2021-09-14  6:55 ` [Bug fortran/102313] " rguenth at gcc dot gnu.org
2021-09-14  7:25 ` [Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c marxin at gcc dot gnu.org
2021-09-14 12:19 ` cvs-commit at gcc dot gnu.org
2021-09-14 12:25 ` burnus at gcc dot gnu.org

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).