[Bug lto/86321] [9 Regression] ICE: in splice_child_die, at dwarf2out.c:5693 for several Fortran tests with -g -flto

2018-07-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86321 --- Comment #7 from Richard Biener --- Author: rguenth Date: Mon Jul 2 08:00:47 2018 New Revision: 262301 URL: https://gcc.gnu.org/viewcvs?rev=262301=gcc=rev Log: 2018-07-02 Richard Biener PR lto/86321 * trans-types.c

[Bug lto/86321] [9 Regression] ICE: in splice_child_die, at dwarf2out.c:5693 for several Fortran tests with -g -flto

2018-07-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86321 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/86321] [9 Regression] ICE: in splice_child_die, at dwarf2out.c:5693 for several Fortran tests with -g -flto

2018-06-28 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86321 --- Comment #5 from Dominique d'Humieres --- > The following fixes this. Dominique, can you include that in your next > testing to see if that fixes all of the new fails? It does! thanks for the quick fix.

[Bug lto/86321] [9 Regression] ICE: in splice_child_die, at dwarf2out.c:5693 for several Fortran tests with -g -flto

2018-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86321 --- Comment #4 from Richard Biener --- The following fixes this. Dominique, can you include that in your next testing to see if that fixes all of the new fails? Index: gcc/fortran/trans-types.c

[Bug lto/86321] [9 Regression] ICE: in splice_child_die, at dwarf2out.c:5693 for several Fortran tests with -g -flto

2018-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86321 --- Comment #3 from Richard Biener --- So in the end the issue is we have two record_types, record_type 0x76a8dc78 array01_integer(kind=4) and record_type 0x76a8de70 array01_a which are their own TYPE_MAIN_VARIANT but share TYPE_FIELDS.

[Bug lto/86321] [9 Regression] ICE: in splice_child_die, at dwarf2out.c:5693 for several Fortran tests with -g -flto

2018-06-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86321 --- Comment #2 from Richard Biener --- We're generating types late via if ((origin == NULL && !specialization_p) || (origin != NULL && !DECL_ABSTRACT_P (decl_or_origin) && variably_modified_type_p (TREE_TYPE

[Bug lto/86321] [9 Regression] ICE: in splice_child_die, at dwarf2out.c:5693 for several Fortran tests with -g -flto

2018-06-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86321 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|