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/99840] New: [9/10/11 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4777
Date: Tue, 30 Mar 2021 19:13:55 +0000	[thread overview]
Message-ID: <bug-99840-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 99840
           Summary: [9/10/11 Regression] ICE in gfc_simplify_matmul, at
                    fortran/simplify.c:4777
           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: ---

Started with r8, compiles with r7 :


$ cat z1.f90
program p
   integer, parameter :: x(0,0) = 0
   integer :: y(0,0)
   y = matmul(x, transpose(x))
end


$ gfortran-7 -c z1.f90
$
$ gfortran-11-20210328 -c z1.f90
 f951: internal compiler error: Segmentation fault
0xc09d4f crash_signal
        ../../gcc/toplev.c:327
0x716f87 gfc_simplify_matmul(gfc_expr*, gfc_expr*)
        ../../gcc/fortran/simplify.c:4777
0x69b9d3 do_simplify
        ../../gcc/fortran/intrinsic.c:4664
0x6a63fa gfc_intrinsic_func_interface(gfc_expr*, int)
        ../../gcc/fortran/intrinsic.c:5050
0x6f5699 resolve_unknown_f
        ../../gcc/fortran/resolve.c:2926
0x6f5699 resolve_function
        ../../gcc/fortran/resolve.c:3270
0x6f5699 gfc_resolve_expr(gfc_expr*)
        ../../gcc/fortran/resolve.c:7105
0x6fbb24 gfc_resolve_expr(gfc_expr*)
        ../../gcc/fortran/resolve.c:11728
0x6fbb24 gfc_resolve_code(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/resolve.c:11824
0x6fd0b7 resolve_codes
        ../../gcc/fortran/resolve.c:17395
0x6fd17e gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:17430
0x6e56e4 resolve_all_program_units
        ../../gcc/fortran/parse.c:6290
0x6e56e4 gfc_parse_file()
        ../../gcc/fortran/parse.c:6542
0x7320ef gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212

             reply	other threads:[~2021-03-30 19:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 19:13 gscfq@t-online.de [this message]
2021-03-30 19:53 ` [Bug fortran/99840] " anlauf at gcc dot gnu.org
2021-03-30 20:05 ` kargl at gcc dot gnu.org
2021-03-31  8:10 ` rguenth at gcc dot gnu.org
2021-03-31 12:54 ` marxin at gcc dot gnu.org
2021-03-31 20:38 ` anlauf at gcc dot gnu.org
2021-03-31 20:51 ` anlauf at gcc dot gnu.org
2021-03-31 21:07 ` sgk at troutmask dot apl.washington.edu
2021-03-31 21:11 ` anlauf at gmx dot de
2021-03-31 21:12 ` anlauf at gcc dot gnu.org
2021-04-01  5:50 ` cvs-commit at gcc dot gnu.org
2021-04-01  6:15 ` cvs-commit at gcc dot gnu.org
2021-04-02 18:54 ` cvs-commit at gcc dot gnu.org
2021-04-02 19:02 ` cvs-commit at gcc dot gnu.org
2021-04-02 19:03 ` 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-99840-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).