PATCH: egcs lib/old-dejagnu.exp old-dejagnu proc missing `name' argument

Brendan Kehoe brendan@cygnus.com
Wed Dec 9 13:00:00 GMT 1998


FYI, I checked in the accompanying changes to lib/old-dejagnu.exp so
g++.old-deja/old-deja.exp would work; on 12/7 only the latter was checked in,
not the former actually changing the old-dejagnu proc.

B

*** testsuite/lib/old-dejagnu.exp.~1~	Fri Dec  4 09:58:32 1998
--- testsuite/lib/old-dejagnu.exp	Wed Dec  9 12:51:53 1998
*************** proc old-dejagnu-stat { } {
*** 120,128 ****
  # PROG is the full path name of the file to compile.
  #
! # CFLAGS_VAR is the name of the global variable containing compiler flags.
! # We ignore this now.
! #
! # CFLAGS is the options to always pass to the compiler.
! # This is also ignored.
  #
  # DEFAULT_CFLAGS are additional options if the testcase has none.
--- 120,124 ----
  # PROG is the full path name of the file to compile.
  #
! # CFLAGSX is the options to always pass to the compiler.
  #
  # DEFAULT_CFLAGS are additional options if the testcase has none.
*************** proc old-dejagnu-stat { } {
*** 138,142 ****
  # Think of "cflags" here as "compiler flags", not "C compiler flags".
  
! proc old-dejagnu { compiler prog cflagsx default_cflags libs } {
      global verbose
      global tool
--- 134,138 ----
  # Think of "cflags" here as "compiler flags", not "C compiler flags".
  
! proc old-dejagnu { compiler prog name cflagsx default_cflags libs } {
      global verbose
      global tool
*************** proc old-dejagnu { compiler prog cflagsx
*** 200,204 ****
  #                 "Additional sources: <file>.cc ..."
  
!     set name "[file tail [file dirname $prog]]/[file tail $prog]"
  
      set tmp [grep $prog "FIXME -.*"]
--- 196,201 ----
  #                 "Additional sources: <file>.cc ..."
  
! # $name is now passed in.
! #    set name "[file tail [file dirname $prog]]/[file tail $prog]"
  
      set tmp [grep $prog "FIXME -.*"]



-- 
Brendan Kehoe                                               brendan@cygnus.com
Cygnus Solutions, Sunnyvale, CA                                +1 408 542 9600

Web page: http://www.zen.org/~brendan/



More information about the Gcc-bugs mailing list