Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.50
 
1.51
 
MAIN:ragge:20110601084425
 
local.c
_>8383 
 8484 int gotnr; /* tempnum for GOT register */
 8585 int argstacksize;
<>86 -static int ininval;
8786 
 8887 /*
 8988  * Create a reference for an extern variable or function.
     
 !
370369                                 p = tlsref(p);
 371370                                 break;
 372371                         }
<>373 -                        if (kflag == 0)
  372+                        if (kflag == 0 || statinit)
374373                                 break;
 375374                         if (blevel > 0)
 376375                                 p = picext(p);
     
 !
715714 int
 716715 andable(NODE *p)
 717716 {
<>718 -        if (ininval)
 719 -                return 1;
720717         if (p->n_sp->sclass == STATIC || p->n_sp->sclass == USTATIC)
 721718                 return 0;
 722719         return 1;
     
 !
894891 {
 895892         union { float f; double d; long double l; int i[3]; } u;
 896893         struct symtab *q;
<>897 -        NODE st, *op = NIL;
  894+        NODE *op = NIL;
898895         TWORD t;
 899896 
<>900 -        if (coptype(p->n_op) != LTYPE) {
 901 -                ininval = 1;
 902 -                op = p = optim(ccopy(p));
 903 -                ininval = 0;
 904 -        }
 905 -
 906 -        while (p->n_op == PCONV)
 907 -                p = p->n_left;
 908 -
909897         t = p->n_type;
<>910 -
 911 -        if (kflag && p->n_op == NAME && ISPTR(t) &&
 912 -            (ISFTN(DECREF(t)) || ISSOU(BTYPE(t)))) {
 913 -                /* functions as initializers will be NAME here */
 914 -                if (op == NIL) {
 915 -                        st = *p;
 916 -                        p = &st;
 917 -                }
 918 -                p->n_op = ICON;
 919 -        }
 920 -
921898         if (t > BTMASK)
 922899                 t = LONG; /* pointer */
 923900 
<>924 -        if (p->n_op == COMOP) {
 925 -                NODE *r = p->n_right;
 926 -                tfree(p->n_left);
 927 -                nfree(p);
 928 -                p = r;
 929 -        }
 930 -
 931 -        if (p->n_op != ICON && p->n_op != FCON) {
 932 -fwalk(p, eprint, 0);
  901+        if (p->n_op != ICON && p->n_op != FCON)
933902                 cerror("ninval: init node not constant");
<>934 -        }
<_935903 
 936904         if (p->n_op == ICON && p->n_sp != NULL && DEUNSIGN(t) != LONG)
 937905                 uerror("element not constant");
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-09-21 08:07 +0200