public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/100642] New: ICE in omp_code_to_statement, at fortran/openmp.c:6907
@ 2021-05-17 19:19 gscfq@t-online.de
  2021-05-18  8:04 ` [Bug fortran/100642] [12 Regression] ICE in omp_code_to_statement, at fortran/openmp.c:6907 since r12-20-ga61c4964cd714462 marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gscfq@t-online.de @ 2021-05-17 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100642
           Summary: ICE in omp_code_to_statement, at fortran/openmp.c:6907
           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: ---

Started with r11 between 20210411 and 20210425 :


$ cat z1.f90
program p
   use omp_lib, only: omp_depend_kind
   integer(omp_depend_kind) :: a, b
   !$acc data
   !$omp depobj(b) depend(out:a)
   !$acc end data
end


$ cat z2.f90
program p
   integer :: a, b
   !$acc data
   !$omp depobj(b) depend(out:a)
   !$acc end data
end


$ gfortran-12-20210516 -c z1.f90 -fopenmp -fopenacc
f951: internal compiler error: in omp_code_to_statement, at
fortran/openmp.c:6907
0x6d1e8d omp_code_to_statement
        ../../gcc/fortran/openmp.c:6907
0x6dbdfd resolve_omp_directive_inside_oacc_region
        ../../gcc/fortran/openmp.c:6974
0x6dbdfd gfc_resolve_omp_directive(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/openmp.c:7291
0x7004a3 gfc_resolve_code(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/resolve.c:12242
0x6ff2bf gfc_resolve_blocks(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/resolve.c:10843
0x6dcb63 gfc_resolve_oacc_blocks(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/openmp.c:7126
0x6ff5fb gfc_resolve_code(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/resolve.c:11755
0x701f67 resolve_codes
        ../../gcc/fortran/resolve.c:17402
0x70202e gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:17437
0x6ea584 resolve_all_program_units
        ../../gcc/fortran/parse.c:6309
0x6ea584 gfc_parse_file()
        ../../gcc/fortran/parse.c:6561
0x736f7f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212

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

* [Bug fortran/100642] [12 Regression] ICE in omp_code_to_statement, at fortran/openmp.c:6907 since r12-20-ga61c4964cd714462
  2021-05-17 19:19 [Bug fortran/100642] New: ICE in omp_code_to_statement, at fortran/openmp.c:6907 gscfq@t-online.de
@ 2021-05-18  8:04 ` marxin at gcc dot gnu.org
  2021-05-18 14:41 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-18  8:04 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-05-18
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
            Summary|ICE in                      |[12 Regression] ICE in
                   |omp_code_to_statement, at   |omp_code_to_statement, at
                   |fortran/openmp.c:6907       |fortran/openmp.c:6907 since
                   |                            |r12-20-ga61c4964cd714462
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

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

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

* [Bug fortran/100642] [12 Regression] ICE in omp_code_to_statement, at fortran/openmp.c:6907 since r12-20-ga61c4964cd714462
  2021-05-17 19:19 [Bug fortran/100642] New: ICE in omp_code_to_statement, at fortran/openmp.c:6907 gscfq@t-online.de
  2021-05-18  8:04 ` [Bug fortran/100642] [12 Regression] ICE in omp_code_to_statement, at fortran/openmp.c:6907 since r12-20-ga61c4964cd714462 marxin at gcc dot gnu.org
@ 2021-05-18 14:41 ` cvs-commit at gcc dot gnu.org
  2021-05-18 15:03 ` burnus at gcc dot gnu.org
  2022-11-28 22:50 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-18 14:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- 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:cc193ac840d58ee0ffb57b14b542706cde3db0e7

commit r12-881-gcc193ac840d58ee0ffb57b14b542706cde3db0e7
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue May 18 16:40:45 2021 +0200

    Fortran/OpenMP: Add missing EXEC_OMP_DEPOBJ case val [PR100642]

            PR fortran/100642

    gcc/fortran/ChangeLog:

            * openmp.c (omp_code_to_statement): Add missing EXEC_OMP_DEPOBJ.

    gcc/testsuite/ChangeLog:

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

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

* [Bug fortran/100642] [12 Regression] ICE in omp_code_to_statement, at fortran/openmp.c:6907 since r12-20-ga61c4964cd714462
  2021-05-17 19:19 [Bug fortran/100642] New: ICE in omp_code_to_statement, at fortran/openmp.c:6907 gscfq@t-online.de
  2021-05-18  8:04 ` [Bug fortran/100642] [12 Regression] ICE in omp_code_to_statement, at fortran/openmp.c:6907 since r12-20-ga61c4964cd714462 marxin at gcc dot gnu.org
  2021-05-18 14:41 ` cvs-commit at gcc dot gnu.org
@ 2021-05-18 15:03 ` burnus at gcc dot gnu.org
  2022-11-28 22:50 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu.org @ 2021-05-18 15:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

Thanks for this and the many other reports!

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

* [Bug fortran/100642] [12 Regression] ICE in omp_code_to_statement, at fortran/openmp.c:6907 since r12-20-ga61c4964cd714462
  2021-05-17 19:19 [Bug fortran/100642] New: ICE in omp_code_to_statement, at fortran/openmp.c:6907 gscfq@t-online.de
                   ` (2 preceding siblings ...)
  2021-05-18 15:03 ` burnus at gcc dot gnu.org
@ 2022-11-28 22:50 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-28 22:50 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

end of thread, other threads:[~2022-11-28 22:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 19:19 [Bug fortran/100642] New: ICE in omp_code_to_statement, at fortran/openmp.c:6907 gscfq@t-online.de
2021-05-18  8:04 ` [Bug fortran/100642] [12 Regression] ICE in omp_code_to_statement, at fortran/openmp.c:6907 since r12-20-ga61c4964cd714462 marxin at gcc dot gnu.org
2021-05-18 14:41 ` cvs-commit at gcc dot gnu.org
2021-05-18 15:03 ` burnus at gcc dot gnu.org
2022-11-28 22:50 ` pinskia 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).