https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303
--- Comment #6 from Jakub Jelinek ---
Author: jakub
Date: Fri May 3 07:32:06 2019
New Revision: 270835
URL: https://gcc.gnu.org/viewcvs?rev=270835&root=gcc&view=rev
Log:
PR tree-optimization/90303
* ipa-devirt.c (obj_type_ref_cl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303
--- Comment #5 from Jan Hubicka ---
I see, i suppose we may lose some optimizations in early opts because of
this but your patch is safe and I don't think the missed optimizations
are very important (if they are we should avoid having structural
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303
--- Comment #4 from Jakub Jelinek ---
No, TYPE_CANONICAL (TYPE_MAIN_VARIANT (type)) is also NULL, for the same
reasons.
It is a template instantiation with a template parameter that needs structural
equality.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303
--- Comment #3 from Jan Hubicka ---
> This comes from build_type_attribute_qual_variant:
> 1159 if (ntype != dtype)
> 1160/* This variant was already in the hash table, don't mess with
> 1161 TYPE_CANONICAL. */
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|--- |9.2