On Dec 11, 2024, Richard Biener <richard.guent...@gmail.com> wrote: > Am 11.12.2024 um 14:50 schrieb Alexandre Oliva <ol...@adacore.com>: >> if (get_best_mode (end_bit - first_bit, first_bit, 0, 0,
> I think These 0, 0 args are supposed to indicate Maximum extent of the > resulting Access - but Widening to the largest Mode fitting alignment > boundary should be valid, so I Wonder what the failure Mode was? The generated BIT_FIELD_REF hit this gimple check in tree-cfg.cc: if (!AGGREGATE_TYPE_P (TREE_TYPE (op)) && known_gt (size + bitpos, tree_to_poly_uint64 (TYPE_SIZE (TREE_TYPE (op))))) { error ("position plus size exceeds size of referenced object in " "%qs", code_name); return true; } -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer More tolerance and less prejudice are key for inclusion and diversity Excluding neuro-others for not behaving ""normal"" is *not* inclusive