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/102314] New: [11/12 Regression] ICE in verify_ssa, at tree-ssa.c:1076
Date: Mon, 13 Sep 2021 17:30:01 +0000	[thread overview]
Message-ID: <bug-102314-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 102314
           Summary: [11/12 Regression] ICE in verify_ssa, at
                    tree-ssa.c:1076
           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 :: y
   call s(y)
   !$omp target
   y = 'abc'
   !$omp end target
contains
   subroutine s(x)
      character(:), allocatable :: x
      x = '123'
   end
end


$ gfortran-12-20210905 -c z1.f90 -fopenmp -O0
$
$ gfortran-12-20210905 -c z1.f90 -fopenmp -O2
during GIMPLE pass: ccp
z1.f90:4:15:

    4 |    !$omp target
      |               ^
internal compiler error: Segmentation fault
0xd09e4f crash_signal
        ../../gcc/toplev.c:328
0xde9ef1 gimple_code
        ../../gcc/gimple.h:1803
0xde9ef1 gimple_nop_p
        ../../gcc/gimple.h:6673
0xde9ef1 get_default_value
        ../../gcc/tree-ssa-ccp.c:283
0xdea60a get_value
        ../../gcc/tree-ssa-ccp.c:376
0xdea60a ccp_finalize
        ../../gcc/tree-ssa-ccp.c:992
0xdeac64 do_ssa_ccp
        ../../gcc/tree-ssa-ccp.c:2960
0xdeac64 execute
        ../../gcc/tree-ssa-ccp.c:3003

---

$ gfortran-12-20210905 -c z1.f90 -fopenmp   # with --enable-checking=yes
during GIMPLE pass: ssa
z1.f90:4:15:

    4 |    !$omp target
      |               ^
internal compiler error: Segmentation fault
0xeace0f crash_signal
        ../../gcc/toplev.c:328
0x11327f0 verify_ssa(bool, bool)
        ../../gcc/tree-ssa.c:1076
0xdb3187 execute_function_todo
        ../../gcc/passes.c:2049
0xdb3ef2 execute_todo
        ../../gcc/passes.c:2096

             reply	other threads:[~2021-09-13 17:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 17:30 gscfq@t-online.de [this message]
2021-09-14  7:03 ` [Bug fortran/102314] " rguenth at gcc dot gnu.org
2021-09-14  7:26 ` [Bug fortran/102314] [12 Regression] ICE in verify_ssa, at tree-ssa.c:1076 since r12-1319-gd4d38135b3137f1d marxin at gcc dot gnu.org
2022-01-20 10:01 ` rguenth at gcc dot gnu.org
2022-03-22 13:58 ` jakub at gcc dot gnu.org
2022-03-22 14:13 ` jakub at gcc dot gnu.org
2022-04-04 13:06 ` rguenth at gcc dot gnu.org
2022-05-06  8:31 ` [Bug fortran/102314] [12/13 " jakub at gcc dot gnu.org
2023-05-08 12:22 ` [Bug fortran/102314] [12/13/14 Regression] ICE in verify_ssa, at tree-ssa.c:1076 since r12-1319-gd4d38135b3137f1d – with deferred-length character variable 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-102314-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).