public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/99840] New: [9/10/11 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4777
@ 2021-03-30 19:13 gscfq@t-online.de
  2021-03-30 19:53 ` [Bug fortran/99840] " anlauf at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: gscfq@t-online.de @ 2021-03-30 19:13 UTC (permalink / raw)
  To: gcc-bugs

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

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

end of thread, other threads:[~2021-04-02 19:03 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 19:13 [Bug fortran/99840] New: [9/10/11 Regression] ICE in gfc_simplify_matmul, at fortran/simplify.c:4777 gscfq@t-online.de
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

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