Commit c914d981 by Jason Merrill

increase array size to force into memory

From-SVN: r44764
parent cf35eebc
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
extern "C" void abort (); extern "C" void abort ();
void f (int i) void f (long i)
{ {
union union
{ {
int ui; long ui;
float uf[2]; float uf[20];
}; };
ui = i; ui = i;
...@@ -19,7 +19,7 @@ void f (int i) ...@@ -19,7 +19,7 @@ void f (int i)
int main () int main ()
{ {
union U { int i; float f[2]; } u; union U { long i; float f[20]; } u;
u.f[0] = 42.0; u.f[0] = 42.0;
f (u.i); f (u.i);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment