[Bug tree-optimization/90303] [9 Regression] ICE in hash_odr_name with fastcall attribute starting with r267359

2019-05-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed.

[Bug tree-optimization/90303] [9 Regression] ICE in hash_odr_name with fastcall attribute starting with r267359

2019-05-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Fri May 17 19:48:25 2019
New Revision: 271349

URL: https://gcc.gnu.org/viewcvs?rev=271349=gcc=rev
Log:
Backported from mainline
2019-05-03  Jakub Jelinek  

PR tree-optimization/90303
* ipa-devirt.c (obj_type_ref_class, get_odr_type): Don't use
TYPE_CANONICAL for TYPE_STRUCTURAL_EQUALITY_P types in !in_lto_p mode.

* g++.target/i386/pr90303.C: New test.

Added:
branches/gcc-9-branch/gcc/testsuite/g++.target/i386/pr90303.C
Modified:
branches/gcc-9-branch/gcc/ChangeLog
branches/gcc-9-branch/gcc/ipa-devirt.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog

[Bug tree-optimization/90303] [9 Regression] ICE in hash_odr_name with fastcall attribute starting with r267359

2019-05-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org
Summary|[9/10 Regression] ICE in|[9 Regression] ICE in
   |hash_odr_name with fastcall |hash_odr_name with fastcall
   |attribute starting with |attribute starting with
   |r267359 |r267359

--- Comment #7 from Jakub Jelinek  ---
Fixed for 10.1+ so far.