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]

Fix for PR Fortran/9038 applied.


L.S.,

I applied the attached patch, which fixes Fortran PR 9038. Input by Steven Bosscher and Paul Brook lead to this patch, which is unequal to either of them.

Bootstrapped (C and Fortran only), checked (Fortran), and make dvi'd on powerpc-unknown-linux-gnu (Debian testing as of three weeks ago).

I plan to apply this patch to the 3.3 branch too, as it fixes a regression.

--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
2003-01-04  Toon Moene  <toon@moene.indiv.nluug.nl>

	PR Fortran/9038
	* lang-specs.h: Remove -f options before preprocessing.
	* news.texi: Document fixing of PR Fortran/9038.

*** lang-specs.h.orig	Mon Dec 16 19:37:55 2002
--- lang-specs.h	Sat Jan  4 21:29:28 2003
*************** the Free Software Foundation, 59 Temple 
*** 30,34 ****
    {".FPP", "@f77-cpp-input", 0},
    {"@f77-cpp-input",
!    "cc1 -E -traditional-cpp -D_LANGUAGE_FORTRAN %(cpp_options) \
          %{E|M|MM:%(cpp_debug_options)}\
          %{!M:%{!MM:%{!E: %|.f |\n\
--- 30,34 ----
    {".FPP", "@f77-cpp-input", 0},
    {"@f77-cpp-input",
!    "cc1 -E -traditional-cpp -D_LANGUAGE_FORTRAN %<f* %(cpp_options) \
          %{E|M|MM:%(cpp_debug_options)}\
          %{!M:%{!MM:%{!E: %|.f |\n\
*** news.texi.orig	Sat Jan  4 19:32:25 2003
--- news.texi	Sat Jan  4 19:40:47 2003
***************
*** 1,3 ****
--- 1,4 ----
  @c Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+ @c 2003
  @c  Free Software Foundation, Inc.
  @c This is part of the G77 manual.
***************
*** 9,15 ****
  @c Keep this the same as the dates above, since it's used
  @c in the standalone derivations of this file (e.g. NEWS).
! @set copyrights-news 1995,1996,1997,1998,1999,2000,2001,2002
  
! @set last-update-news 2002-11-19
  
  @ifset DOC-NEWS
--- 10,16 ----
  @c Keep this the same as the dates above, since it's used
  @c in the standalone derivations of this file (e.g. NEWS).
! @set copyrights-news 1995,1996,1997,1998,1999,2000,2001,2002,2003
  
! @set last-update-news 2003-01-04
  
  @ifset DOC-NEWS
*************** is available at
*** 153,156 ****
--- 154,163 ----
  The following information was last updated on @value{last-update-news}:
  
+ @heading In @code{GCC} 3.4 versus @code{GCC} 3.3:
+ @itemize @bullet
+ @item
+ Nothing yet.
+ @end itemize
+ 
  @heading In @code{GCC} 3.3 versus @code{GCC} 3.2:
  @itemize @bullet
*************** Incorrect output with 0-based array of c
*** 183,186 ****
--- 190,196 ----
  @item 8587
  Double complex zero ** double precision number -> NaN instead of zero
+ @item 9038
+ -ffixed-line-length-none -x f77-cpp-input gives: Warning: unknown
+ register name line-length-none
  @end table
  @item

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