public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/102685] New: [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514
@ 2021-10-11 17:06 gscfq@t-online.de
  2021-10-11 17:07 ` [Bug fortran/102685] " gscfq@t-online.de
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: gscfq@t-online.de @ 2021-10-11 17:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102685
           Summary: [12 Regression] ICE in
                    output_constructor_regular_field, at varasm.c:5514
           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: ---

Changed _recently_ between 20211003 and 20211010 :


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


$ gfortran-12-20211003 -c z1.f90
$
$ gfortran-12-20211010 -c z1.f90
z1.f90:7:3:

    7 | end
      |   ^
internal compiler error: in output_constructor_regular_field, at varasm.c:5514
0x10131f4 output_constructor_regular_field
        ../../gcc/varasm.c:5514
0x10131f4 output_constructor
        ../../gcc/varasm.c:5826
0x101353f output_constant
        ../../gcc/varasm.c:5172
0x101353f assemble_variable_contents
        ../../gcc/varasm.c:2235
0x101b31d assemble_variable(tree_node*, int, int, int)
        ../../gcc/varasm.c:2414
0x101d61a varpool_node::assemble_decl()
        ../../gcc/varpool.c:595
0x953def output_in_order
        ../../gcc/cgraphunit.c:2135
0x953def symbol_table::compile()
        ../../gcc/cgraphunit.c:2353
0x95670f symbol_table::compile()
        ../../gcc/cgraphunit.c:2540
0x95670f symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2537

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

end of thread, other threads:[~2021-11-13 20:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 17:06 [Bug fortran/102685] New: [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 gscfq@t-online.de
2021-10-11 17:07 ` [Bug fortran/102685] " gscfq@t-online.de
2021-10-11 17:39 ` anlauf at gcc dot gnu.org
2021-10-11 21:51 ` anlauf at gcc dot gnu.org
2021-10-12  6:19 ` rguenth at gcc dot gnu.org
2021-10-12 12:45 ` [Bug fortran/102685] [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 since r12-4278-g74ccca380cde5e79 marxin at gcc dot gnu.org
2021-10-14 21:27 ` anlauf at gcc dot gnu.org
2021-10-15 19:23 ` cvs-commit at gcc dot gnu.org
2021-10-24 19:09 ` anlauf at gcc dot gnu.org
2021-10-24 19:15 ` anlauf at gcc dot gnu.org
2021-11-07 20:54 ` cvs-commit at gcc dot gnu.org
2021-11-13 20:15 ` cvs-commit at gcc dot gnu.org
2021-11-13 20: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).