https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82392
Wilco <wilco at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilco at gcc dot gnu.org --- Comment #3 from Wilco <wilco at gcc dot gnu.org> --- (In reply to Thomas Koenig from comment #2) > Test case for the fact that we don't align, or that this > causes a performance loss? The request is to use a higher alignment than necessary when allocating large arrays which might result in better performance. I've proposed patches for malloc to automatically overalign large allocations. Note small allocations could use alloca rather than malloc even without -fstack-arrays - this would give Fortran code built with -O2/-O3 a big boost and avoid the issues caused by -fstack-arrays.