public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/103285] New: ICE in output_constructor_regular_field, at varasm.c:5514
@ 2021-11-16 18:37 gscfq@t-online.de
2021-11-18 7:40 ` [Bug fortran/103285] [DEC] " rguenth at gcc dot gnu.org
2021-11-18 10:33 ` marxin at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: gscfq@t-online.de @ 2021-11-16 18:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103285
Bug ID: 103285
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 r6, with option -fdec :
(null() not allowed there)
$ cat z1.f90
program p
structure /s/
character*4 c /'abc'/
integer d(2) /2*null()/
integer e /3/
end structure
record /s/ r
if ( r.c /= 'abc' ) stop
end
$ gfortran-12-20211114 -c z1.f90 -fdec
z1.f90:9:3:
9 | end
| ^
internal compiler error: in output_constructor_regular_field, at varasm.c:5514
0x1014454 output_constructor_regular_field
../../gcc/varasm.c:5514
0x1014454 output_constructor
../../gcc/varasm.c:5826
0x101479f output_constant
../../gcc/varasm.c:5172
0x101479f assemble_variable_contents
../../gcc/varasm.c:2235
0x101c57d assemble_variable(tree_node*, int, int, int)
../../gcc/varasm.c:2414
0x101e87a varpool_node::assemble_decl()
../../gcc/varpool.c:595
0x95b61f output_in_order
../../gcc/cgraphunit.c:2135
0x95b61f symbol_table::compile()
../../gcc/cgraphunit.c:2353
0x95df3f symbol_table::compile()
../../gcc/cgraphunit.c:2540
0x95df3f symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2537
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/103285] [DEC] ICE in output_constructor_regular_field, at varasm.c:5514
2021-11-16 18:37 [Bug fortran/103285] New: ICE in output_constructor_regular_field, at varasm.c:5514 gscfq@t-online.de
@ 2021-11-18 7:40 ` rguenth at gcc dot gnu.org
2021-11-18 10:33 ` marxin at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-11-18 7:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103285
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-11-18
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
(gdb) p debug_generic_expr (exp)
{.c="abc ", .d={0B, 0B}, .e=3}
Confirmed. The .d elements have the wrong type/size.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/103285] [DEC] ICE in output_constructor_regular_field, at varasm.c:5514
2021-11-16 18:37 [Bug fortran/103285] New: ICE in output_constructor_regular_field, at varasm.c:5514 gscfq@t-online.de
2021-11-18 7:40 ` [Bug fortran/103285] [DEC] " rguenth at gcc dot gnu.org
@ 2021-11-18 10:33 ` marxin at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-11-18 10:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103285
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with introduction of -fdec option: r7-636-gf6288c243153b97f
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-18 10:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 18:37 [Bug fortran/103285] New: ICE in output_constructor_regular_field, at varasm.c:5514 gscfq@t-online.de
2021-11-18 7:40 ` [Bug fortran/103285] [DEC] " rguenth at gcc dot gnu.org
2021-11-18 10:33 ` marxin 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).