[Bug testsuite/102946] [12 Regression] gcc.dg/vect/pr101145_1.c etc. FAIL

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Wed Oct 27 09:41:17 GMT 2021


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

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Very likely might be fixed with properly aligning the data like with adding
>
>  a = __builtin_assume_aligned (a, __BIGGEST_ALIGNMENT__);
>  b = __builtin_assume_aligned (b, __BIGGEST_ALIGNMENT__);
>
> at the top of each function in pr101145.inc - note the global variables
> would then need a similar aligned attribute for correctness.
>
> Rainer, if you can manage to test this and that works such change is
> pre-approved.

While this fixes the 64-bit SPARC case, the 32-bit failures remain.
pr101145_1.c dump attached.


More information about the Gcc-bugs mailing list