https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90303

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May 17 19:48:25 2019
New Revision: 271349

URL: https://gcc.gnu.org/viewcvs?rev=271349&root=gcc&view=rev
Log:
        Backported from mainline
        2019-05-03  Jakub Jelinek  <ja...@redhat.com>

        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

Reply via email to