-m(no-)align-double compatible libgfortran

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Tue Feb 20 17:38:00 GMT 2007


Andrew Pinski wrote:
>> Hi,
>>
>> I somehow lost track. It was proposed to make libgfortran again
>> compatible with malign-double/nomalign-double.
> That is because there is no way to get it compatible all the time
> with any of the ABI changing options.
> 
>> The last email I found was:
>>    http://gcc.gnu.org/ml/fortran/2007-02/msg00047.html
>>
>> Did someone actually look at the source code how this is possible or has
>> someone filled a PR (I couldn't find one)?
> Yes someone filed a bug reprot but I closed it right away as invalid as
> they did not read the docs warning that it changes the ABI.
> 
> 
> This is a "m"achine specific option which 
> should not be touched in the front-end at all.

I think most of us Fortran people decided to disagree with you.  There 
seems to be only one point where this affects the gfortran/libgfortran 
interface, and this can easily be made to work by adding padding to a 
structure, independent of whether the option is given or not.  IIRC Erik 
was working on a patch.  Erik, have you run into obstacles or did the 
patch go by unnoticed?

- Tobi



More information about the Fortran mailing list