2 // { dg-options "-O2 -fstrict-aliasing" }
4 // Test that we don't let TBAA reorder an assignment across a
8 typedef __SIZE_TYPE__ size_t;
10 inline void* operator new(size_t, void* __p) throw() { return __p; }
12 void __attribute__((noinline)) bar() {}
14 long __attribute__((noinline)) foo(double *p, int n)
17 for (int i=0; i<n; ++i)
28 extern "C" void abort(void);
35 if (foo((double *)&u, 1) != -1)