------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-25 
18:44 -------
The problem is that we don't mark structs which are passed by reference really 
by reference so it adds 
it to the size of the arguments which is wrong.
Simple example:
struct a
{
  int a2[1024][1024];
  int a1[1024][1024];
};
void f(struct a a2){}
struct a a1;
void g()
{
  f(a1);
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.0.0                       |4.0.0 3.3.2
      Known to work|3.3                         |
            Summary|[4.0 Regression] ice in     |ice in expand_call
                   |expand_call                 |
   Target Milestone|4.0.0                       |---


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

Reply via email to