This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24261] gfortran ALLOCATE statement does not align objects on 16-byte boundary
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Feb 2007 23:04:31 -0000
- Subject: [Bug fortran/24261] gfortran ALLOCATE statement does not align objects on 16-byte boundary
- References: <bug-24261-10567@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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