Warn about invoking non-Y2K-compliant intrinsics
[platform/upstream/gcc.git] / gcc / f / news.texi
index aba8e7a..a460fe0 100644 (file)
@@ -9,7 +9,7 @@
 @c The text of this file appears in the file BUGS
 @c in the G77 distribution, as well as in the G77 manual.
 
-@c 1999-02-18
+@c 1999-03-06
 
 @ifclear NEWSONLY
 @node News
@@ -66,17 +66,32 @@ somewhat more difficult.
 @itemize @bullet
 @item
 Fix @code{g77} so it no longer crashes when compiling
-I/O statements with @samp{IOSTAT=@var{j}},
+I/O statements using keywords that define @code{INTEGER} values,
+such as @samp{IOSTAT=@var{j}},
 where @var{j} is other than default @code{INTEGER}
 (such as @code{INTEGER*2}).
 Instead, it issues a diagnostic.
 
 @item
+The @samp{-ax} option is now obeyed when compiling Fortran programs.
+(It is passed to the @file{f771} driver.)
+
+@item
 Source file names with the suffixes @samp{.FOR} and @samp{.FPP}
 now are recognized by @code{g77}
 as if they ended in @samp{.for} and @samp{.fpp}, respectively.
 
 @item
+@code{g77} now warns about a reference to an intrinsic
+that has an interface that is not Year 2000 (Y2K) compliant.
+Also, the @code{libg2c} has been changed to increase the likelihood
+of catching references to the implementations of these intrinsics
+using the @samp{EXTERNAL} mechanism
+(which would avoid the new warnings).
+
+@xref{Year 2000 (Y2K) Problems}, for more information.
+
+@item
 @code{g77} now warns about a reference to a function
 when the corresponding @emph{subsequent} function program unit
 disagrees with the reference concerning the type of the function.
@@ -86,6 +101,33 @@ Improve documentation and indexing,
 including information on Year 2000 (Y2K) compliance.
 @end itemize
 
+@heading In 0.5.24 and @code{egcs} 1.1.2 (versus 0.5.23 and 1.1.1):
+@itemize @bullet
+@item
+Fix the @code{IDate} Intrinsic (VXT)
+so the returned year is in the documented, non-Y2K-compliant range
+of 0--99,
+instead of being returned as 100 in the year 2000.
+
+@ifnothtml
+@xref{IDate Intrinsic (VXT)},
+for more information.
+@end ifnothtml
+
+@item
+Fix the @samp{Date_and_Time} intrinsic (in @code{libg2c})
+to return the milliseconds value properly
+in @var{Values}(8).
+
+@item
+Fix the @samp{LStat} intrinsic (in @code{libg2c})
+to return device-ID information properly
+in @var{SArray}(7).
+
+@item
+Improve documentation.
+@end itemize
+
 @heading In 0.5.24 and @code{egcs} 1.1.1 (versus 0.5.23 and 1.1):
 @itemize @bullet
 @item
@@ -386,8 +428,13 @@ version 0.5.22 of @code{g77}, due to using the
 it to fix a few bugs and improve performance in a
 few cases.
 
+@ifhtml
+See the page on Fortran news
+@end ifhtml
+@ifnothtml
 @xref{Actual Bugs,,Actual Bugs We Haven't Fixed Yet},
 available in plain-text format in @code{gcc/f/BUGS},
+@end ifnothtml
 for information on the known bugs in this version,
 including the regressions.
 
@@ -768,8 +815,13 @@ due to using the
 it to fix a few bugs and improve performance in a
 few cases.
 
+@ifhtml
+See the page on Fortran news
+@end ifhtml
+@ifnothtml
 @xref{Actual Bugs,,Actual Bugs We Haven't Fixed Yet},
 available in plain-text format in @code{gcc/f/BUGS},
+@end ifnothtml
 for information on the known bugs in this version,
 including the regressions.
 
@@ -808,6 +860,18 @@ Fix @code{DTime} intrinsic so as not to truncate
 results to integer values (on some systems).
 
 @item
+@c Toon Moene discovered these.
+Some Fortran code, miscompiled
+by @code{g77} built on @code{gcc} version 2.8.1
+on m68k-next-nextstep3 configurations
+when using the @samp{-O2} option,
+is now compiled correctly.
+It is believed that a C function known to miscompile
+on that configuration
+when using the @samp{-O2 -funroll-loops} options
+also is now compiled correctly.
+
+@item
 Remove support for non-@code{egcs} versions of @code{gcc}.
 
 @cindex -@w{}-driver option