[Bug tree-optimization/107686] [12 Regression] ICE: verify_gimple failed (invalid types in nop conversion) with _Decimal64 vector

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 12 11:20:53 GMT 2022


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

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

https://gcc.gnu.org/g:232305bd0c8dd37b17b815864e730aa630714606

commit r12-8976-g232305bd0c8dd37b17b815864e730aa630714606
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Nov 16 15:27:13 2022 +0100

    tree-optimization/107686 - fix bitfield ref through vec_unpack optimization

    The following propely restricts the bitfield access to integral types
    when we look through VEC_UNPACK with the intent to emit a widening
    conversion.

            PR tree-optimization/107686
            * tree-ssa-forwprop.cc (optimize_vector_load): Restrict
            VEC_UNPACK support to integral typed bitfield refs.

            * gcc.dg/pr107686.c: New testcase.

    (cherry picked from commit 246bbdaa5f536b7a199dda9860c473137f40d622)


More information about the Gcc-bugs mailing list