]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa-devirt.c
re PR tree-optimization/90303 (ICE in hash_odr_name with fastcall attribute starting...
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 May 2019 07:32:06 +0000 (09:32 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 3 May 2019 07:32:06 +0000 (09:32 +0200)
commitd1700aa1407c188165eb8e06f40bf059a9b81b16
tree3f7581bb88b4a988b3141445a774c624632f5e4d
parent061a799b8e9b66c59dd55bb11c1b132ea74ebb43
re PR tree-optimization/90303 (ICE in hash_odr_name with fastcall attribute starting with r267359)

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.

From-SVN: r270835
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.target/i386/pr90303.C [new file with mode: 0644]