* gcc.c-torture/execute/
20051113-1.c (main): Use the correct type
when allocating and initializing a flexible array.
From-SVN: r126156
+2007-06-30 Nathan Froyd <froydnj@codesourcery.com>
+
+ * gcc.c-torture/execute/20051113-1.c (main): Use the correct type
+ when allocating and initializing a flexible array.
+
2007-06-30 Daniel Franke <franke.daniel@gmail.com>
PR fortran/20373
PR tree-opt/32417
* gfortran.fortran-torture/compile/pr32417.f90: New test.
->>>>>>> .r126123
2007-06-28 Dorit Nuzman <dorit@il.ibm.com>
* gcc.dg/vect/vect-iv-4.c: Test now passes on vect_pack_trunc
PR c++/32111
* g++.dg/other/friend5.C: New test.
+>>>>>>> .r126155
2007-06-25 Paul Thomas <pault@gcc.gnu.org>
PR fortran/32464
return count;
}
main() {
- Struct3 *p = malloc (sizeof (int) + 3 * sizeof(Struct1));
- memset(p, 0, sizeof(int) + 3*sizeof(Struct1));
+ Struct3 *p = malloc (sizeof (int) + 3 * sizeof(Union));
+ memset(p, 0, sizeof(int) + 3*sizeof(Union));
p->Count = 3;
p->List[0].a.Count = 555;
p->List[1].a.Count = 999;