This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ERROR: tcl error sourcing /cvs/gcc/gcc/testsuite/g++.dg/dg.exp.
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: ERROR: tcl error sourcing /cvs/gcc/gcc/testsuite/g++.dg/dg.exp.
- From: Graham Stott <grahams at redhat dot com>
- Date: Fri, 02 Nov 2001 11:17:07 +0000
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <hon12578mn.fsf@gee.suse.de>
Andreas,
Andreas Jaeger wrote:
>
> With dejagnu 1.4.0 I get currently this error running make check on
> i686-linux:
>
> Running /cvs/gcc/gcc/testsuite/g++.dg/dg.exp ...
> ERROR: tcl error sourcing /cvs/gcc/gcc/testsuite/g++.dg/dg.exp.
> ERROR: unmatched open brace in list
The problem is caused by typos in the new "g++.dg/other/debug1.C" testcase.
I've have just commit a fix for this under the obviously correct rule.
Graham
testsuite/ChangeLog
* g++.dg/other/debug1.C: Fix typos.
-----------------------------------------------------------------------------
Index: debug1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/other/debug1.C,v
retrieving revision 1.1
diff -c -p -r1.1 debug1.C
*** debug1.C 2001/11/01 21:09:39 1.1
--- debug1.C 2001/11/02 11:10:21
***************
*** 1,5 ****
// Test whether dwarf2 debug info works with named return value optimization
! // { dg-do compile { i?86-*-linux* }
// { dg-options "-O2 -gdwarf-2" }
struct S
--- 1,5 ----
// Test whether dwarf2 debug info works with named return value optimization
! // { dg-do compile { target i?86-*-linux* } }
// { dg-options "-O2 -gdwarf-2" }
struct S
---------------------------------------------------------------------------------