This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/24261] gfortran ALLOCATE statement does not align objects on 16-byte boundary



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]