https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126159
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:c31cb13628593fc57779419a806170b6ef2c3b81 commit r17-2217-gc31cb13628593fc57779419a806170b6ef2c3b81 Author: Richard Biener <[email protected]> Date: Wed Jul 8 10:06:40 2026 +0200 tree-optimization/126159 - handle unions in data dependence analysis The following implements minimal handling of union accesses in data reference analysis, namely accesses to non-aggregate fields, in particular those we are not adding additional subsetting on. PR tree-optimization/126159 * tree-data-ref.cc (dr_analyze_indices): Handle non-aggregate union field accesses. (access_fn_component_p): Adjust. * gcc.dg/vect/vect-pr126159-1.c: New testcase. * gcc.dg/vect/vect-pr126159-2.c: Likewise.
