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&root=gcc&view=rev
Log:
2018-07-02 Richard Biener
PR lto/86321
* trans-type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86321
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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.
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
==
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.
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 (decl_or_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86321
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|