This is the mail archive of the gcc-patches@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]

Re: [patch] PR 13070 Asymmetric Integers


Scott Robert Ladd wrote:
> It's been ten months since I submitted the original patch for this PR. 
> I've gone back over these past discussions (below) and generated a new 
> patch.
> 
> http://gcc.gnu.org/ml/fortran/2003-12/msg00095.html
> http://gcc.gnu.org/ml/fortran/2003-12/msg00082.html
> http://groups.google.com/groups?threadm=nT7Hb.471073%24Dw6.1384364%40attbi_s02
> 
> I've had another Fortran 95 program fail to compile with gfortran 
> because of this "inconsistency" with general practice. To me, it matters 
> little whether or not gfortran is being exceptionally pedantic or not; 
> what matters is the ability to compile code containing a common (and 
> somewhat obvious) convention.

For the record: I still think that this is something that we should support by
default, not enable via an option.  We can warn about this when compiling with
-pedantic, or whatever, but this is nothing that is violating the standard:
the model numbers, as defined in the standard, are only used for defining how
the various intrinsics work, they put no restrictions on what numbers are
actually supported by the compiler.  E.g. denormals are not within the space
defined by the model for real numbers, but we'd definitely want to support them.

- Tobi


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