public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/101348] New: ICE in gfc_get_nodesc_array_type, at fortran/trans-types.c:1697
@ 2021-07-06 17:31 gscfq@t-online.de
  2021-07-18 20:03 ` [Bug fortran/101348] [Coarray] " anlauf at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: gscfq@t-online.de @ 2021-07-06 17:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101348
           Summary: ICE in gfc_get_nodesc_array_type, at
                    fortran/trans-types.c:1697
           Product: gcc
           Version: 12.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 at least r5 :


$ cat z1.f90
module m
   integer :: a(1)[1:,:]
end


$ cat z2.f90
program p
   integer :: a(1)[1:,:]
end


$ gfortran-12-20210704 -c z2.f90 -fcoarray=lib   # accepted
$
$ gfortran-12-20210704 -c z1.f90 -fcoarray=lib
f951: internal compiler error: Segmentation fault
0xc93c2f crash_signal
        ../../gcc/toplev.c:328
0x82bedc gfc_get_nodesc_array_type(tree_node*, gfc_array_spec*, gfc_packed,
bool)
        ../../gcc/fortran/trans-types.c:1697
0x7cf376 gfc_get_symbol_decl(gfc_symbol*)
        ../../gcc/fortran/trans-decl.c:1797
0x7d25c8 gfc_create_module_variable
        ../../gcc/fortran/trans-decl.c:5359
0x790e12 do_traverse_symtree
        ../../gcc/fortran/symbol.c:4170
0x7d2dcb gfc_generate_module_vars(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:5858
0x7ad0d4 gfc_generate_module_code(gfc_namespace*)
        ../../gcc/fortran/trans.c:2303
0x759421 translate_all_program_units
        ../../gcc/fortran/parse.c:6451
0x759421 gfc_parse_file()
        ../../gcc/fortran/parse.c:6733
0x7a5c4f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

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

* [Bug fortran/101348] [Coarray] ICE in gfc_get_nodesc_array_type, at fortran/trans-types.c:1697
  2021-07-06 17:31 [Bug fortran/101348] New: ICE in gfc_get_nodesc_array_type, at fortran/trans-types.c:1697 gscfq@t-online.de
@ 2021-07-18 20:03 ` anlauf at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: anlauf at gcc dot gnu.org @ 2021-07-18 20:03 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in                      |[Coarray] ICE in
                   |gfc_get_nodesc_array_type,  |gfc_get_nodesc_array_type,
                   |at                          |at
                   |fortran/trans-types.c:1697  |fortran/trans-types.c:1697
   Last reconfirmed|                            |2021-07-18
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Priority|P3                          |P4

--- Comment #1 from anlauf at gcc dot gnu.org ---
Confirmed.

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

end of thread, other threads:[~2021-07-18 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-06 17:31 [Bug fortran/101348] New: ICE in gfc_get_nodesc_array_type, at fortran/trans-types.c:1697 gscfq@t-online.de
2021-07-18 20:03 ` [Bug fortran/101348] [Coarray] " 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).