public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/104428] New: [12 Regression] ICE in gfc_trans_omp_declare_variant, at fortran/trans-openmp.cc:7648
@ 2022-02-07 18:46 gscfq@t-online.de
  2022-02-08  9:04 ` [Bug fortran/104428] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gscfq@t-online.de @ 2022-02-07 18:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104428
           Summary: [12 Regression] ICE in gfc_trans_omp_declare_variant,
                    at fortran/trans-openmp.cc:7648
           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 between 20211010 and 20211017 :


$ cat z1.f90
program p
contains
   subroutine s
      !$omp declare variant(x) match(construct={do})
   end
end


$ cat z2.f90   # accepted
subroutine s
   !$omp declare variant(x) match(construct={do})
end


$ gfortran-12-20220206 -c z2.f90 -fopenmp
$
$ gfortran-12-20220206 -c z1.f90 -fopenmp
z1.f90:3:15:

    3 |    subroutine s
      |               1
interner Compiler-Fehler: Speicherzugriffsfehler
0xcc806f crash_signal
        ../../gcc/toplev.cc:322
0x816506 gfc_trans_omp_declare_variant(gfc_namespace*)
        ../../gcc/fortran/trans-openmp.cc:7648
0x7cb007 gfc_create_function_decl(gfc_namespace*, bool)
        ../../gcc/fortran/trans-decl.cc:3118
0x7d016e gfc_generate_contained_functions
        ../../gcc/fortran/trans-decl.cc:5768
0x7d016e gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.cc:7586
0x7530ae translate_all_program_units
        ../../gcc/fortran/parse.cc:6651
0x7530ae gfc_parse_file()
        ../../gcc/fortran/parse.cc:6938
0x7a00af gfc_be_parse_file
        ../../gcc/fortran/f95-lang.cc:216

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

end of thread, other threads:[~2023-05-08 12:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 18:46 [Bug fortran/104428] New: [12 Regression] ICE in gfc_trans_omp_declare_variant, at fortran/trans-openmp.cc:7648 gscfq@t-online.de
2022-02-08  9:04 ` [Bug fortran/104428] " rguenth at gcc dot gnu.org
2022-02-24 10:36 ` [Bug fortran/104428] [12 Regression] ICE in gfc_trans_omp_declare_variant, at fortran/trans-openmp.cc:7648 since r12-4409-g724ee5a0093da443 marxin at gcc dot gnu.org
2022-05-06  8:32 ` [Bug fortran/104428] [12/13 " jakub at gcc dot gnu.org
2023-05-08 12:23 ` [Bug fortran/104428] [12/13/14 " rguenth 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).