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: -fdefault-integer-8 again!-(


On Mon, Dec 01, 2008 at 10:17:33AM -0500, Jack Howarth wrote:
> On Mon, Dec 01, 2008 at 06:59:29AM -0800, Steve Kargl wrote:
> > 
> > An even more reasonable response is 'Don't expect -fdefault-*-8 to
> > work with the testsuite.'  The testsuite is designed to test
> > bug fixes.  If you use -fdefault-*-8, then you get what you deserve.
> > 
> Steve,
>     I was thinking along the lines of how must linux testsuite results
> aren't run with -fPIC so related bugs don't often show up on linux
> testsuite results. Also we always have had additional failures show up
> on powerpc-apple-darwin when folks use -mcpu=970 and such.
>          Jack

Jack,

Check the history of the -fdefault-*-8 options.  I'm the person
that got rid of the broken -r8, -i8, and some other option that
escapes me, and got the -fdefault-*-8 options in some sort of
working condition.  These options are dangerous because most
people don't understand what they can and cannot do.  That being
said, the testsuite is design to test specific bug fixes.  If
a test fails when given a -fdefault-*-8 option and someone fixes
that test to work with that option, do they unintentionally break
what the test was actually testing?  Not to mention, if the test
contains an EQUIVALENCE or COMMON with mixed REAL and INTEGER
variables, you cannot use -fdefault-real-8 without also using
-fdefault-integer-8.  There is also an issue with the effect of
these options on ISO C Binding.  I doubt anyone has looked for 
example at whether -fdefault-integer-8 promotes C_INT to C_LONG
or whether it even makes sense to do so. 

The grand irony of this whole thread is that Charles Darwin is
right.  Survival of the fittest clearly is not in favor of
darwin.

-- 
Steve


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