public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/104827] New: [12 Regression] ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.cc:8329
Date: Mon, 07 Mar 2022 18:04:08 +0000	[thread overview]
Message-ID: <bug-104827-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 104827
           Summary: [12 Regression] ICE in
                    gfc_conv_array_constructor_expr, at
                    fortran/trans-expr.cc:8329
           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
   !$omp declare variant(a) match(implementation={f([1])})
end


$ cat z2.f90
program p
   !$omp declare variant(a) match(implementation={f(1)})
end


$ gfortran-12-20220306 -c z2.f90 -fopenmp
$
$ gfortran-12-20220306 -c z1.f90 -fopenmp
z1.f90:1:9:

    1 | program p
      |         1
internal compiler error: in gfc_conv_array_constructor_expr, at
fortran/trans-expr.cc:8329
0x7dab56 gfc_conv_array_constructor_expr
        ../../gcc/fortran/trans-expr.cc:8329
0x7dab56 gfc_conv_expr(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-expr.cc:9422
0x8184a1 gfc_trans_omp_declare_variant(gfc_namespace*)
        ../../gcc/fortran/trans-openmp.cc:7641
0x7cce37 gfc_create_function_decl(gfc_namespace*, bool)
        ../../gcc/fortran/trans-decl.cc:3118
0x7d317e gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.cc:7471
0x754b0e translate_all_program_units
        ../../gcc/fortran/parse.cc:6651
0x754b0e gfc_parse_file()
        ../../gcc/fortran/parse.cc:6938
0x7a1edf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.cc:216

             reply	other threads:[~2022-03-07 18:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 18:04 gscfq@t-online.de [this message]
2022-03-08  7:22 ` [Bug fortran/104827] " rguenth at gcc dot gnu.org
2022-03-08 15:00 ` [Bug fortran/104827] [12 Regression] ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.cc:8329 since r12-4409-g724ee5a0093da443 marxin at gcc dot gnu.org
2022-05-06  8:32 ` [Bug fortran/104827] [12/13 " jakub at gcc dot gnu.org
2023-05-08 12:24 ` [Bug fortran/104827] [12/13/14 " rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-104827-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).