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/49501] support ATTRIBUTES ALIGN in gfortran


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49501

--- Comment #1 from stevenj at alum dot mit.edu 2011-06-22 17:38:25 UTC ---
Actually, it looks like there is a way to allocate aligned memory, albeit a 
bit ugly, thanks to Fortran 2003's C interoperability.  Declare a bind(C)
interface to e.g. posix_memalign, and then use C_F_POINTER intrinsic to convert
this into a pointer to a Fortran array.


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