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/104826] New: [11/12 Regression] ICE in gimple_range_global, at value-query.cc:424
Date: Mon, 07 Mar 2022 18:02:39 +0000	[thread overview]
Message-ID: <bug-104826-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 104826
           Summary: [11/12 Regression] ICE in gimple_range_global, at
                    value-query.cc:424
           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 20210606 and 20210613 :


$ cat z1.f90
program p
   character(:), allocatable :: x
   save
   !$omp target
   x = 'abc'
   !$omp end target
end


$ cat z2.f90   # no save
program p
   character(:), allocatable :: x
   !$omp target
   x = 'abc'
   !$omp end target
end


$ gfortran-12-20210606 -c z1.f90 -fopenmp
$ gfortran-12-20220213 -c z2.f90 -fopenmp
$
$ gfortran-12-20220213 -c z1.f90 -fopenmp
during GIMPLE pass: walloca
z1.f90:5:12:

    5 |    x = 'abc'
      |            ^
internal compiler error: Segmentation fault
0xccad7f crash_signal
        ../../gcc/toplev.cc:322
0xf5c9ec gimple_range_global(tree_node*)
        ../../gcc/value-query.cc:424
0x1864d80 ranger_cache::get_global_range(irange&, tree_node*) const
        ../../gcc/gimple-range-cache.cc:923
0x1860f8e gimple_ranger::export_global_ranges()
        ../../gcc/gimple-range.cc:474
0x189c0e1 pass_walloca::execute(function*)
        ../../gcc/gimple-ssa-warn-alloca.cc:381

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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 18:02 gscfq@t-online.de [this message]
2022-03-08  7:22 ` [Bug fortran/104826] " rguenth at gcc dot gnu.org
2022-03-08  8:28 ` jakub at gcc dot gnu.org
2022-04-21  7:51 ` rguenth at gcc dot gnu.org
2023-02-20  8:44 ` [Bug fortran/104826] [11/12/13 Regression] ICE in gimple_range_global, at value-query.cc:424 – with deferred-length character variable burnus at gcc dot gnu.org
2023-05-29 10:06 ` [Bug fortran/104826] [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-104826-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).