public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/99839] New: ICE in inline_matmul_assign, at fortran/frontend-passes.c:4234
@ 2021-03-30 19:12 gscfq@t-online.de
  2021-03-30 20:07 ` [Bug fortran/99839] " anlauf at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: gscfq@t-online.de @ 2021-03-30 19:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99839
           Summary: ICE in inline_matmul_assign, at
                    fortran/frontend-passes.c:4234
           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: ---

Affects versions down to r7, at -O1+ :


$ cat z1.f90
program p
   real :: x(3, 3) = 1.0
   class(*), allocatable :: z(:, :)
   z = matmul(x, x)
end


$ gfortran-11-20210328 -c z1.f90 -O0
$ 
$ gfortran-11-20210328 -c z1.f90 -O2
f951: internal compiler error: in inline_matmul_assign, at
fortran/frontend-passes.c:4234
0x7bf248 inline_matmul_assign
        ../../gcc/fortran/frontend-passes.c:4234
0x7bfd69 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int
(*)(gfc_expr**, int*, void*), void*)
        ../../gcc/fortran/frontend-passes.c:5320
0x7c1172 optimize_namespace
        ../../gcc/fortran/frontend-passes.c:1500
0x7c154f gfc_run_passes(gfc_namespace*)
        ../../gcc/fortran/frontend-passes.c:169
0x6fd1a7 gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:17436
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] 12+ messages in thread

end of thread, other threads:[~2021-06-04 18:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 19:12 [Bug fortran/99839] New: ICE in inline_matmul_assign, at fortran/frontend-passes.c:4234 gscfq@t-online.de
2021-03-30 20:07 ` [Bug fortran/99839] " anlauf at gcc dot gnu.org
2021-03-30 20:10 ` [Bug fortran/99839] [8/9/10/11 Regression] " anlauf at gcc dot gnu.org
2021-03-31 12:53 ` marxin at gcc dot gnu.org
2021-05-14  9:54 ` [Bug fortran/99839] [9/10/11/12 " jakub at gcc dot gnu.org
2021-05-27 20:21 ` anlauf at gcc dot gnu.org
2021-06-01  8:20 ` rguenth at gcc dot gnu.org
2021-06-04 17:24 ` cvs-commit at gcc dot gnu.org
2021-06-04 17:42 ` cvs-commit at gcc dot gnu.org
2021-06-04 17:54 ` cvs-commit at gcc dot gnu.org
2021-06-04 18:19 ` cvs-commit at gcc dot gnu.org
2021-06-04 18:22 ` 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).