www.delorie.com/gnu/docs/gcc/g77_617.html   search  
 
Buy the book!


Using and Porting GNU Fortran

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

15.3.34 Better Warnings

Because of how g77 generates code via the back end, it doesn't always provide warnings the user wants. Consider:

 
PROGRAM X
PRINT *, A
END

Currently, the above is not flagged as a case of using an uninitialized variable, because g77 generates a run-time library call that looks, to the GBE, like it might actually modify `A' at run time. (And, in fact, depending on the previous run-time library call, it would!)

Fixing this requires one of the following:


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003