* gcc.dg/struct/wo_prof_global_var.c: Initialize array.
* gcc.dg/struct/wo_prof_malloc_size_var.c: Ditto.
* gcc.dg/struct/w_prof_local_var.c: Ditto.
* gcc.dg/struct/w_prof_global_var.c: Ditto.
* gcc.dg/struct/wo_prof_local_var.c: Ditto.
From-SVN: r134572
+2008-04-22 Steve Ellcey <sje@cup.hp.com>
+
+ * gcc.dg/struct/wo_prof_global_var.c: Initialize array.
+ * gcc.dg/struct/wo_prof_malloc_size_var.c: Ditto.
+ * gcc.dg/struct/w_prof_local_var.c: Ditto.
+ * gcc.dg/struct/w_prof_global_var.c: Ditto.
+ * gcc.dg/struct/wo_prof_local_var.c: Ditto.
+
2008-04-22 Jason Merrill <jason@redhat.com>
PR c++/35316
int i, sum;
p = malloc (N * sizeof (str_t));
+
+ for (i = 0; i < N; i++)
+ p[i].b = i;
+
for (i = 0; i < N; i++)
p[i].a = p[i].b + 1;
int i, sum;
str_t * p = malloc (N * sizeof (str_t));
+
+ for (i = 0; i < N; i++)
+ p[i].b = i;
+
for (i = 0; i < N; i++)
p[i].a = p[i].b + 1;
int i, sum;
p = malloc (N * sizeof (str_t));
+
+ for (i = 0; i < N; i++)
+ p[i].b = i;
+
for (i = 0; i < N; i++)
p[i].a = p[i].b + 1;
int i, sum;
str_t * p = malloc (N * sizeof (str_t));
+
+ for (i = 0; i < N; i++)
+ p[i].b = i;
+
for (i = 0; i < N; i++)
p[i].a = p[i].b + 1;
if (p == 0)
return 0;
+ for (i = 0; i < N; i++)
+ p[i].b = i;
+
for (i = 0; i < N; i++)
p[i].a = p[i].b + 1;