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

2007-02-01 Thread stevenj at alum dot mit dot edu
--- Comment #7 from stevenj at alum dot mit dot edu 2007-02-02 02:06 --- > 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. First, 16-byte alignment for SIM

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

2007-02-01 Thread pinskia 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 sta

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

2007-02-01 Thread stevenj at alum dot mit dot edu
--- Comment #5 from stevenj at alum dot mit dot edu 2007-02-01 23:00 --- (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 instruc

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

2005-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-11 11:19 --- 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. -- pinskia at gcc dot gnu dot org changed: What|Remove

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

2005-10-11 Thread mick at nag dot co dot uk
--- Comment #3 from mick at nag dot co dot uk 2005-10-11 09:26 --- Thanks - the problem is now fixed in 64-bit compilations. However, if I compile try.f and sub.c with the -m32 flag, I still get memory allocated on 8-byte boundaries rather than 16-byte. As Andrew said, this is down to th

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

2005-10-07 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2005-10-07 17:25 --- On amd64-*-freebsd with Jakub's patch, I get troutmask:sgk[206] gfc41 -static -o z try.f sub.c troutmask:sgk[207] ./z Address of x = 0x00554000 x is aligned on a 16-byte boundary -- http://gcc.gnu.org/b

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

2005-10-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-07 17:05 --- Fixed by: 2005-10-01 Jakub Jelinek <[EMAIL PROTECTED]> * runtime/memory.c (malloc_t): Remove. (GFC_MALLOC_MAGIC, HEADER_SIZE, DATA_POINTER, DATA_HEADER): Remove. (mem_root, runtime_cleanup,