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: trouble using gfortran


On Wed, Apr 19, 2006 at 10:44:08PM +0200, Toon Moene wrote:
> Steve Kargl wrote:
> 
> >On Wed, Apr 19, 2006 at 09:40:53PM +0200, Toon Moene wrote:
> 
> >>We might want to discern between "initialize with zero" (that g77 
> >>already supports) and "initialize with bogus values - i.e. SNAN" (that 
> >>g77 doesn't support, but is really, really useful).
> 
> >SNAN doesn't help with uninitialized integers.
> 
> No, but it is a nice "won't happen integer" due to its bit pattern.  Of 
> course, I'd rather initialize integers with something like 5a5a5a5a hex :-)
> 
> >Additionally, gcc is very broken in its backend when inf and nan occur in
> >complex types.  See PR 24581.
> 
> My reading of Joseph Myers' comment is that the C Standard hadn't made 
> up its mind at that time ...

If you read my last comment in the PR, you'll note that Annex G
of the working draft of the standard (n1124.pdf) explicitly says
that Joseph's interpretation is incorrect. 

-- 
Steve


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