public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95373] New: [9/10/11 Regression] ICE in build_reference_type, at tree.c:7942
@ 2020-05-27 19:01 gscfq@t-online.de
  2020-05-27 19:11 ` [Bug fortran/95373] " marxin at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: gscfq@t-online.de @ 2020-05-27 19:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95373
           Summary: [9/10/11 Regression] ICE in build_reference_type, at
                    tree.c:7942
           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 20181028 (error) and 20181104 (ICE), with option -std=f95 :


$ cat z1.f90
subroutine s(x)
   integer, parameter :: i = 3
   real(i%kind) :: x
end


$ gfortran-11-20200524 -c z1.f90
$ gfortran-11-20200524 -c z1.f90 -std=f95
z1.f90:1:0:

    1 | subroutine s(x)
      |
internal compiler error: Segmentation fault
0xd548ff crash_signal
        ../../gcc/toplev.c:328
0x106d708 tree_class_check(tree_node*, tree_code_class, char const*, int, char
const*)
        ../../gcc/tree.h:3418
0x106d708 build_reference_type(tree_node*)
        ../../gcc/tree.c:7942
0x7ea456 gfc_sym_type(gfc_symbol*)
        ../../gcc/fortran/trans-types.c:2307
0x7ea993 gfc_get_function_type(gfc_symbol*, gfc_actual_arglist*)
        ../../gcc/fortran/trans-types.c:3059
0x7655a6 build_function_decl
        ../../gcc/fortran/trans-decl.c:2354
0x76be09 gfc_create_function_decl(gfc_namespace*, bool)
        ../../gcc/fortran/trans-decl.c:3048
0x776e3f gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6729
0x6ee246 translate_all_program_units
        ../../gcc/fortran/parse.c:6306
0x6ee246 gfc_parse_file()
        ../../gcc/fortran/parse.c:6545
0x73a76f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:210

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

end of thread, other threads:[~2020-06-05 21:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 19:01 [Bug fortran/95373] New: [9/10/11 Regression] ICE in build_reference_type, at tree.c:7942 gscfq@t-online.de
2020-05-27 19:11 ` [Bug fortran/95373] " marxin at gcc dot gnu.org
2020-05-27 19:47 ` kargl at gcc dot gnu.org
2020-05-27 20:04 ` anlauf at gcc dot gnu.org
2020-05-27 20:30 ` sgk at troutmask dot apl.washington.edu
2020-05-28  7:37 ` rguenth at gcc dot gnu.org
2020-05-28 20:33 ` cvs-commit at gcc dot gnu.org
2020-05-28 20:39 ` anlauf at gcc dot gnu.org
2020-05-29  9:52 ` clyon at gcc dot gnu.org
2020-05-29 20:51 ` anlauf at gcc dot gnu.org
2020-05-30 19:00 ` cvs-commit at gcc dot gnu.org
2020-05-30 19:02 ` anlauf at gcc dot gnu.org
2020-06-05 21:03 ` cvs-commit at gcc dot gnu.org
2020-06-05 21:03 ` cvs-commit at gcc dot gnu.org
2020-06-05 21:17 ` cvs-commit at gcc dot gnu.org
2020-06-05 21:17 ` cvs-commit at gcc dot gnu.org
2020-06-05 21:18 ` 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).