This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
gcc/f/expr.c, &c.
- To: egcs-patches at egcs dot cygnus dot com
- Subject: gcc/f/expr.c, &c.
- From: craig at jcb-sc dot com
- Date: 18 Feb 1999 13:47:23 -0000
- Cc: craig at jcb-sc dot com
I've committed this patch. It fixes the g77.f-torture/compile/19980216-0.f
test case I added earlier this morning.
tq vm, (burley)
1999-02-18 Craig Burley <craig@jcb-sc.com>
* expr.c (ffeexpr_finished_): Disallow non-default INTEGER
as argument for FILEINT and FILEASSOC as lhs.
* news.texi: Document fix.
* version.c: Bump.
*** g77-e/gcc/f/expr.c.~1~ Mon Feb 15 20:56:12 1999
--- g77-e/gcc/f/expr.c Thu Feb 18 06:42:50 1999
*************** again: /* :::::::::::::::::::: */
*** 12854,12858 ****
{
case FFEINFO_basictypeINTEGER:
! error = FALSE;
break;
--- 12854,12862 ----
{
case FFEINFO_basictypeINTEGER:
! /* Maybe this should be supported someday, but, right now,
! g77 can't generate a call to libf2c to write to an
! integer other than the default size. */
! error = ((! ffeexpr_stack_->is_rhs)
! && ffeinfo_kindtype (info) != FFEINFO_kindtypeINTEGERDEFAULT);
break;
*** g77-e/gcc/f/news.texi.~1~ Sun Feb 14 14:41:28 1999
--- g77-e/gcc/f/news.texi Thu Feb 18 07:14:08 1999
***************
*** 6,10 ****
@c in the G77 distribution, as well as in the G77 manual.
! @c 1999-02-14
@ifclear NEWSONLY
--- 6,10 ----
@c in the G77 distribution, as well as in the G77 manual.
! @c 1999-02-18
@ifclear NEWSONLY
*************** somewhat more difficult.
*** 62,68 ****
--- 62,79 ----
@itemize @bullet
@item
+ Fix @code{g77} so it no longer crashes when compiling
+ I/O statements with @samp{IOSTAT=@var{j}},
+ where @var{j} is other than default @code{INTEGER}
+ (such as @code{INTEGER*2}).
+ Instead, it issues a diagnostic.
+
+ @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
+ Improve documentation and indexing,
+ including information on Year 2000 (Y2K) compliance.
@end itemize
*** g77-e/gcc/f/version.c.~1~ Sun Feb 14 22:02:20 1999
--- g77-e/gcc/f/version.c Thu Feb 18 07:10:55 1999
***************
*** 1 ****
! char *ffe_version_string = "0.5.24-19990214";
--- 1 ----
! char *ffe_version_string = "0.5.24-19990218";