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/102596] New: [11/12 Regression] ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:713
Date: Mon, 04 Oct 2021 18:42:42 +0000	[thread overview]
Message-ID: <bug-102596-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 102596
           Summary: [11/12 Regression] ICE in gfc_omp_clause_default_ctor,
                    at fortran/trans-openmp.c:713
           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: ---

Changed between 20201108 and 20201115 :
(ICEs with an allocatable)


$ cat z1.f90
program p
   integer, allocatable :: r
   r = 0
   !$omp target parallel reduction(task, +:r)
   r = r + 1
   !$omp end target parallel
end


$ gfortran-12-20211003 -c z1.f90 -fopenmp
during GIMPLE pass: omplower
z1.f90:5:12:

    5 |    r = r + 1
      |            ^
internal compiler error: in gfc_omp_clause_default_ctor, at
fortran/trans-openmp.c:713
0x8af41b gfc_omp_clause_default_ctor(tree_node*, tree_node*, tree_node*)
        ../../gcc/fortran/trans-openmp.c:713
0xc1fc2e lower_rec_input_clauses
        ../../gcc/omp-low.c:6460
0xc239a6 lower_omp_taskreg
        ../../gcc/omp-low.c:12407
0xc14f21 lower_omp_1
        ../../gcc/omp-low.c:14086
0xc14f21 lower_omp
        ../../gcc/omp-low.c:14287
0xc18a44 lower_omp_target
        ../../gcc/omp-low.c:12834
0xc18a44 lower_omp_1
        ../../gcc/omp-low.c:14148
0xc18a44 lower_omp
        ../../gcc/omp-low.c:14287
0xc152e8 lower_omp_1
        ../../gcc/omp-low.c:14064
0xc152e8 lower_omp
        ../../gcc/omp-low.c:14287
0xc153bd lower_omp_1
        ../../gcc/omp-low.c:14077
0xc153bd lower_omp
        ../../gcc/omp-low.c:14287
0xc1c511 execute_lower_omp
        ../../gcc/omp-low.c:14326
0xc1c511 execute
        ../../gcc/omp-low.c:14374

             reply	other threads:[~2021-10-04 18:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 18:42 gscfq@t-online.de [this message]
2021-10-04 20:58 ` [Bug fortran/102596] " pinskia at gcc dot gnu.org
2021-10-11  8:19 ` [Bug fortran/102596] [11/12 Regression] ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:713 since r11-4883-ge929ef532ad52cde marxin at gcc dot gnu.org
2022-01-20  9:24 ` rguenth at gcc dot gnu.org
2022-02-07 14:55 ` burnus at gcc dot gnu.org
2022-04-21  7:50 ` rguenth at gcc dot gnu.org
2023-05-29 10:05 ` [Bug fortran/102596] [11/12/13/14 " jakub 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-102596-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).