------- Comment #2 from rguenth at gcc dot gnu dot org  2008-04-25 14:59 -------
Ahm, not exactly a dup of PR31309.

Shorter (non-runtime) testcase:

struct colour
{
  unsigned short red;
  unsigned short green;
  unsigned short blue;
};

void print_colour(struct colour col);

void foo(struct colour *c)
{
  print_colour(*c);
}


-- 


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

Reply via email to