------- Comment #2 from jacek at codeweavers dot com  2010-02-16 14:38 -------
Here is simplified test:

struct S {
  int x;
  S(const S &s) {}
};

S __attribute__((__stdcall__)) getS();

void test()
{
  S s = getS();
}

It seems like calling stdcall function that returns a struct (or class) with
copying constructor causes the problem.


-- 


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

Reply via email to