public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/106986] New: [10/11/12/13 Regression] ICE in simplify_findloc_nodim, at fortran/simplify.cc:5675
@ 2022-09-20 17:35 gscfq@t-online.de
  2022-09-20 19:03 ` [Bug fortran/106986] " anlauf at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gscfq@t-online.de @ 2022-09-20 17:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106986
           Summary: [10/11/12/13 Regression] ICE in
                    simplify_findloc_nodim, at fortran/simplify.cc:5675
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20211031 and 20211107 :


$ cat z1.f90
program p
   integer, parameter :: a(:) = [1]
   print *, findloc(a, 1)
end


$ gfortran-13-20220918 -c z1.f90
z1.f90:2:29:

    2 |    integer, parameter :: a(:) = [1]
      |                             1
Error: Parameter array 'a' at (1) cannot be automatic or of deferred shape
f951: internal compiler error: Segmentation fault
0xf3a72f crash_signal
        ../../gcc/toplev.cc:314
0x881fd0 simplify_findloc_nodim
        ../../gcc/fortran/simplify.cc:5675
0x88c259 gfc_simplify_findloc(gfc_expr*, gfc_expr*, gfc_expr*, gfc_expr*,
gfc_expr*, gfc_expr*)
        ../../gcc/fortran/simplify.cc:5941
0x809024 do_simplify
        ../../gcc/fortran/intrinsic.cc:4698
0x813f1a gfc_intrinsic_func_interface(gfc_expr*, int)
        ../../gcc/fortran/intrinsic.cc:5056
0x8695b8 resolve_unknown_f
        ../../gcc/fortran/resolve.cc:2990
0x8695b8 resolve_function
        ../../gcc/fortran/resolve.cc:3347
0x8695b8 gfc_resolve_expr(gfc_expr*)
        ../../gcc/fortran/resolve.cc:7194
0x86f8bc gfc_resolve_expr(gfc_expr*)
        ../../gcc/fortran/resolve.cc:7161
0x86f8bc gfc_resolve_code(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/resolve.cc:11974
0x86e34f gfc_resolve_blocks(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/resolve.cc:10972
0x86e6a8 gfc_resolve_code(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/resolve.cc:11964
0x871457 resolve_codes
        ../../gcc/fortran/resolve.cc:17617
0x87151e gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.cc:17652
0x8592e4 resolve_all_program_units
        ../../gcc/fortran/parse.cc:6606
0x8592e4 gfc_parse_file()
        ../../gcc/fortran/parse.cc:6862
0x8a7ccf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.cc:229

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

end of thread, other threads:[~2022-09-26 18:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-20 17:35 [Bug fortran/106986] New: [10/11/12/13 Regression] ICE in simplify_findloc_nodim, at fortran/simplify.cc:5675 gscfq@t-online.de
2022-09-20 19:03 ` [Bug fortran/106986] " anlauf at gcc dot gnu.org
2022-09-20 20:46 ` marxin at gcc dot gnu.org
2022-09-20 20:50 ` cvs-commit at gcc dot gnu.org
2022-09-20 20:58 ` anlauf at gcc dot gnu.org
2022-09-21  7:50 ` rguenth at gcc dot gnu.org
2022-09-22 18:48 ` cvs-commit at gcc dot gnu.org
2022-09-26 18:13 ` cvs-commit at gcc dot gnu.org
2022-09-26 18:16 ` cvs-commit at gcc dot gnu.org
2022-09-26 18:19 ` 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).