------- Comment #6 from pinskia at gcc dot gnu dot org  2009-01-16 18:59 -------
Here is another testcase but this time without -> :
struct s { int i; };
void g(struct s *);
float a (void)
{
  struct s sv;
  sv.i = 0;
  int d = sv.i;
  float d1 = *(float*)&d;
  g(&sv);
  return d1;
}
float a1 (void)
{
  struct s sv;
  sv.i = 0;
  float d = *(float*)&sv.i;
  g(&sv);
  return d;
}


-- 


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

Reply via email to