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

--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:592388d4f6e8a6adb470428fef6195694f4a3dce

commit r10-9527-g592388d4f6e8a6adb470428fef6195694f4a3dce
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Mar 15 13:44:07 2021 +0100

    tree-optimization/98834 - fix optimization regression with _b_c_p

    The following makes FRE optimize a load we formerly required
    SRA + CCP for which now run after we get rid of all __builtin_constant_p
    calls.

    2021-03-15  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/98834
            * tree-ssa-sccvn.c (vn_reference_lookup_3): Handle missing
            subsetting by truncating the access size.

            * g++.dg/opt/pr98834.C: New testcase.

    (cherry picked from commit 99415d0f18716deeaa8d80e929b1337968cdfa23)

Reply via email to