This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix typo in recent change to gcc.dg/tree-ssa/pr23382.c
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Jan 2007 16:38:15 +0100 (CET)
- Subject: [PATCH] Fix typo in recent change to gcc.dg/tree-ssa/pr23382.c
Committed as obvious after checking the testcase passes after the fix.
Richard.
Index: testsuite/gcc.dg/tree-ssa/pr23382.c
===================================================================
--- testsuite/gcc.dg/tree-ssa/pr23382.c (revision 121204)
+++ testsuite/gcc.dg/tree-ssa/pr23382.c (revision 121205)
@@ -11,7 +11,7 @@ void *malloc(__SIZE_TYPE__ size) __attri
int f(void)
{
struct a *a = malloc(sizeof(struct a));
- return a.length;
+ return a->length;
}
/* { dg-final { scan-tree-dump-times "VDEF <HEAP" 1 "alias1"} } */
/* { dg-final { scan-tree-dump-times "VDEF <HEAP" 1 "alias2"} } */
Index: testsuite/ChangeLog
===================================================================
--- testsuite/ChangeLog (revision 121204)
+++ testsuite/ChangeLog (revision 121205)
@@ -1,3 +1,7 @@
+2007-01-26 Richard Guenther <rguenther@suse.de>
+
+ * gcc.dg/tree-ssa/pr23382.c: Fix typo.
+
2007-01-26 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/gomp/gomp.exp: Support .f03 extension.