------- Comment #3 from hp at gcc dot gnu dot org  2010-05-05 19:17 -------
The struct Foo looks like an odd way to try and express

union Foo
{
  int i;
  char c[sizeof (int)];
};

but that doesn't work either, for my 4.3.1 arm-linux build.
Neither does moving the attribute just before the ";" (either ones) or before
"char" (the original or the above). Neither in C (changing reinterpret_cast to
a C cast).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43976

Reply via email to