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

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

            Bug ID: 100950
           Summary: 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: ---

Affects versions down to at least r5 :


$ cat z1.f90
program p
   character(8) :: x
   print *, [character(len(x(1:2))) :: 'a', 'b']
end


$ gfortran-12-20210606 -c z1.f90
z1.f90:4:3:

    4 | end
      |   ^
internal compiler error: in output_constructor_regular_field, at varasm.c:5514
0xf3fdad output_constructor_regular_field
        ../../gcc/varasm.c:5514
0xf3fdad output_constructor
        ../../gcc/varasm.c:5820
0xf400ef output_constant
        ../../gcc/varasm.c:5172
0xf400ef assemble_variable_contents
        ../../gcc/varasm.c:2235
0xf47e8d assemble_variable(tree_node*, int, int, int)
        ../../gcc/varasm.c:2414
0xf4a18a varpool_node::assemble_decl()
        ../../gcc/varpool.c:595
0x8b0a8f output_in_order
        ../../gcc/cgraphunit.c:2135
0x8b0a8f symbol_table::compile()
        ../../gcc/cgraphunit.c:2353
0x8b33af symbol_table::compile()
        ../../gcc/cgraphunit.c:2540
0x8b33af symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2537

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

end of thread, other threads:[~2021-09-05 20:22 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 17:34 [Bug fortran/100950] New: ICE in output_constructor_regular_field, at varasm.c:5514 gscfq@t-online.de
2021-06-07 17:34 ` [Bug fortran/100950] " gscfq@t-online.de
2021-06-07 19:29 ` anlauf at gcc dot gnu.org
2021-06-08  7:52 ` rguenth at gcc dot gnu.org
2021-06-08 15:43 ` kargl at gcc dot gnu.org
2021-06-08 17:09 ` gscfq@t-online.de
2021-06-08 17:39 ` sgk at troutmask dot apl.washington.edu
2021-06-08 18:26 ` anlauf at gcc dot gnu.org
2021-06-08 19:31 ` anlauf at gcc dot gnu.org
2021-06-09 21:23 ` anlauf at gcc dot gnu.org
2021-06-09 21:41 ` anlauf at gcc dot gnu.org
2021-06-11 19:37 ` anlauf at gcc dot gnu.org
2021-08-19 19:01 ` cvs-commit at gcc dot gnu.org
2021-08-20 11:38 ` cvs-commit at gcc dot gnu.org
2021-08-31 19:01 ` cvs-commit at gcc dot gnu.org
2021-09-05 20:19 ` cvs-commit at gcc dot gnu.org
2021-09-05 20:19 ` cvs-commit at gcc dot gnu.org
2021-09-05 20: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).