[Bug fortran/24261] gfortran ALLOCATE statement does not align objects on 16-byte boundary
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 1 23:04:00 GMT 2007
------- Comment #6 from pinskia at gcc dot gnu dot org 2007-02-01 23:04 -------
(In reply to comment #5)
> (In reply to comment #4)
> > This is really a glibc bug and needs to be fixed. The C standard says that
> > malloc allocates that the right alignment so this is a glibc bug.
>
> The C standard does not cover SIMD instructions, so it is not a violation of
> the C standard for malloc to return 8-byte aligned memory (which works fine
> with all standard C code).
Well the C standard mentions there can be non standard integer types so that
exists for x86_64, __int128_t which has normally aligned 16bytes so again this
is a bug in glibc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24261
More information about the Gcc-bugs
mailing list