This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [fortran] Disable use of -malign-double


> 
> On Wed, Jan 31, 2007 at 09:59:32PM -0500, Andrew Pinski wrote:
> > > 
> > > On Wed, Jan 31, 2007 at 06:32:58PM -0800, Jerry DeLisle wrote:
> > > > Andrew Pinski wrote:
> > > > >>On Tue, Jan 30, 2007 at 11:17:23PM -0800, Andrew Pinski wrote:
> > > > >>>On Tue, 2007-01-30 at 23:11 -0800, Steve Kargl wrote:
> > > > >>>
> > > > >>How about this patch?
> > > > >
> > > > >This is the wrong approach as some target might define -malign-double
> > > > >to mean something different from x86's definition.  Also I don't think
> > > > >we should be erroring out if someone compiles the whole libc, libgfortran,
> > > > >etc. with -malign-double which will work.
> > > No other target uses -malign-double to means something else.  If 
> > > another target did re-use this option to mean something else, then
> > > that would be a bug.
> > 
> > Why?  This is a target specific option (it starts with -m).
> 
> info gcc

Yes and it is listed under the x86 option documentation and not in the generic section.
So if people can't read, this is not our problem.

> And, then we enter the infinite loop of anwswer the same old questions.

Again who cares, let them a slow death.  
> 
> I'll get those when bogus bug reports come in :-)
No, it is better to just let close them as they come in.

> 
> > Also by the way I could compile all of the libraries with -malign-double
> > and have the option work correctly so erroring out is wrong. 
> 
> Are you sure?  What is the ramification of -malign-double on
> derived types?

Yes if I compile everything with -malign-double including libc, libm, 
all of the GCC target libraries and my program, the ABI is constaint
between everthing.  Yes my system will not run other compiled programs
but that is my fault and nobody elses.

I hope someone else besides me from the GCC community steps up and says
what gfortran is trying to do is wrong.

-- Pinski


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