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/99125] New: [9/10/11 Regression] ICE: gimplification failed (gimplify.c:15068)
Date: Tue, 16 Feb 2021 17:46:32 +0000	[thread overview]
Message-ID: <bug-99125-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 99125
           Summary: [9/10/11 Regression] ICE: gimplification failed
                    (gimplify.c:15068)
           Product: gcc
           Version: 11.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 20190310 and 20190331 :


$ cat z1.f90
program p
   type t
      character(:), allocatable :: a(:)
   end type
   type(t) :: x
   character(8) :: c(2) = '12 45 78'
   x%a = c
   print *, x%a(7:8)
end


$ gfortran-9-20190310 -c z1.f90
$
$ gfortran-11-20210214 -c z1.f90
gimplification failed:
0 <integer_cst 0x7fed577da288 type <integer_type 0x7fed577d1738
integer(kind=8)> constant 0>
z1.f90:8:20:

    8 |    print *, x%a(7:8)
      |                    ^
internal compiler error: gimplification failed
0xaaad94 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:15068
0xabe043 gimplify_modify_expr
        ../../gcc/gimplify.c:5833
0xaa9e9a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14070
0xaad8a8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0xaa9793 gimplify_statement_list
        ../../gcc/gimplify.c:1879
0xaa9793 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14514
0xaad8a8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0xaae243 gimplify_bind_expr
        ../../gcc/gimplify.c:1421
0xaaa612 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14271
0xaad8a8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0xaa9793 gimplify_statement_list
        ../../gcc/gimplify.c:1879
0xaa9793 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14514
0xaad8a8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0xaae243 gimplify_bind_expr
        ../../gcc/gimplify.c:1421
0xaaa612 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14271
0xaad8a8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0xaa9793 gimplify_statement_list
        ../../gcc/gimplify.c:1879
0xaa9793 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14514
0xaad8a8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6876
0xaae243 gimplify_bind_expr
        ../../gcc/gimplify.c:1421

             reply	other threads:[~2021-02-16 17:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16 17:46 gscfq@t-online.de [this message]
2021-02-16 17:46 ` [Bug fortran/99125] " gscfq@t-online.de
2021-02-16 18:39 ` marxin at gcc dot gnu.org
2021-02-18  9:11 ` rguenth at gcc dot gnu.org
2021-02-21 18:12 ` pault at gcc dot gnu.org
2021-02-22 17:04 ` gscfq@t-online.de
2021-02-22 17:05 ` gscfq@t-online.de
2021-03-13 11:40 ` cvs-commit at gcc dot gnu.org
2021-05-04 12:31 ` [Bug fortran/99125] [9/10/11/12 " rguenth at gcc dot gnu.org
2021-06-01  8:19 ` rguenth at gcc dot gnu.org
2021-08-25 21:12 ` anlauf at gcc dot gnu.org
2021-08-28 18:46 ` cvs-commit at gcc dot gnu.org
2021-08-28 18:48 ` [Bug fortran/99125] [9 " anlauf at gcc dot gnu.org
2021-09-06 18:45 ` cvs-commit at gcc dot gnu.org
2021-09-06 18:49 ` anlauf 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-99125-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).