[PATCH] Fix 20723 testcase
Jakub Jelinek
jakub@redhat.com
Thu May 12 18:26:00 GMT 2005
On Mon, Apr 04, 2005 at 09:22:21AM +0100, Nathan Sidwell wrote:
> I thought I had my usual symlinks set up on this new machine, but
> apparently not.
You apparently committed the broken testcase on gcc-4_0-branch,
following committed as obvious.
BTW, there is a very recent regression on gcc-4_0-branch (looking at
gcc-testresults about 2 days old) with g++.dg/opt/temp1.C which is
being miscompiled. While temp1.C.t02.original is identical,
temp1.C.t03.generic already differs:
void f() ()
{
- a = operator+ (&b, &c);
+ struct T D.1999;
+ struct T * D.2003;
+
+ D.1999 = operator+ (&b, &c);
+ D.2003 = &D.1999;
+ a = *D.2003;
}
(and the testcase tests that memcpy is called only twice).
Not sure yet which exact patch caused this.
2005-05-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/spec23.C: Fix dg-error text.
--- gcc/testsuite/g++.dg/template/spec23.C 3 Apr 2005 12:33:02 -0000 1.1
+++ gcc/testsuite/g++.dg/template/spec23.C 4 Apr 2005 08:18:55 -0000 1.2
@@ -19,7 +19,7 @@ struct Bar
Foo Quux (Bar const &b)
{
- return b; // { dg-error "ambiguous overload" "" }
+ return b; // { dg-error "ambiguous" "" }
}
Jakub
More information about the Gcc-patches
mailing list