https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79886
Bug ID: 79886 Summary: [5/6/7 Regression] ICE in pp_format, at pretty-print.c:681 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: manu at gcc dot gnu.org Target Milestone: --- Starting from r217383 we ICE: $ gfortran /home/marxin/Programming/gcc/gcc/testsuite/gfortran.fortran-torture/compile/pr26806.f90 -Wpadded f951: Warning: padding struct size to alignment boundary [-Wpadded] f951: Warning: padding struct size to alignment boundary [-Wpadded] ‘ in pp_format, at pretty-print.c:681 0x1478169 pp_format(pretty_printer*, text_info*) ../../gcc/pretty-print.c:681 0x146a9f8 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*) ../../gcc/diagnostic.c:961 0x146ad53 diagnostic_impl ../../gcc/diagnostic.c:1084 0x146b0cc warning(int, char const*, ...) ../../gcc/diagnostic.c:1172 0xc5a315 place_field(record_layout_info_s*, tree_node*) ../../gcc/stor-layout.c:1215 0xc5bafa layout_type(tree_node*) ../../gcc/stor-layout.c:2375 0x7d4a66 gfc_finish_type(tree_node*) ../../gcc/fortran/trans-types.c:2251 0x7acb43 gfc_build_st_parameter ../../gcc/fortran/trans-io.c:222 0x7acb43 gfc_build_io_library_fndecls() ../../gcc/fortran/trans-io.c:318 0x765c17 gfc_build_builtin_function_decls() ../../gcc/fortran/trans-decl.c:3771 0x73b71a gfc_create_decls ../../gcc/fortran/f95-lang.c:189 0x73b71a gfc_be_parse_file ../../gcc/fortran/f95-lang.c:203