public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/104826] New: [11/12 Regression] ICE in gimple_range_global, at value-query.cc:424
@ 2022-03-07 18:02 gscfq@t-online.de
  2022-03-08  7:22 ` [Bug fortran/104826] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gscfq@t-online.de @ 2022-03-07 18:02 UTC (permalink / raw)
  To: gcc-bugs

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

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

end of thread, other threads:[~2023-05-29 10:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07 18:02 [Bug fortran/104826] New: [11/12 Regression] ICE in gimple_range_global, at value-query.cc:424 gscfq@t-online.de
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

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).