Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.278
 
1.279
 
MAIN:ragge:20100508154745
 
pftn.c
_>21002100                 printf("end arglist\n");
 21012101 }
 21022102 #endif
<> 2103+static int
  2104+suemeq(struct suedef *s1, struct suedef *s2)
  2105+{
  2106+
  2107+        GETSUE(s1, s1);
  2108+        GETSUE(s2, s2);
  2109+
  2110+        return (s1->suem == s2->suem);
  2111+}
  2112+
21032113 /*
 21042114  * Do prototype checking and add conversions before calling a function.
 21052115  * Argument f is function and a is a CM-separated list of arguments.
     
 !
22832293                                 goto out;
 22842294 #endif
 22852295                         } else if (ISSOU(BTYPE(type))) {
<>2286 -                                if (apole->node->n_sue->suem != al[1].sue->suem)
  2296+                                if (!suemeq(apole->node->n_sue, al[1].sue))
22872297                                         goto incomp;
 22882298                         }
 22892299                         goto out;
     
 !
23032313                 /* Check for struct/union compatibility */
 23042314                 if (type == arrt) {
 23052315                         if (ISSOU(BTYPE(type))) {
<>2306 -                                struct suedef *s1, *s2;
 2307 -
 2308 -                                GETSUE(s1, apole->node->n_sue);
 2309 -                                GETSUE(s2, al[1].sue);
 2310 -
 2311 -                                if (s1->suem == s2->suem)
  2316+                                if (suemeq(apole->node->n_sue, al[1].sue))
<_23122317                                         goto out;
 23132318                         } else
 23142319                                 goto out;
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-08-31 04:14 +0200