~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to src/cmd/gc/walk.c

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý, Ondřej Surý, Michael Stapelberg
  • Date: 2012-06-28 12:14:15 UTC
  • mfrom: (1.1.15)
  • mto: (3.1.5 experimental) (14.3.1 saucy)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20120628121415-w1b0076ixkarr1ml
[ Ondřej Surý ]
* Imported Upstream version 1.0.2
* Update Vcs fields to reflect new git repository location
* Kill get-orig-source, since 1.0.0, the tarballs can be downloaded
  from webpage

[ Michael Stapelberg ]
* golang-mode: use debian-pkg-add-load-path-item (Closes: #664802)
* Add manpages (Closes: #632964)
* Use updated pt.po from Pedro Ribeiro (Closes: #674958)

Show diffs side-by-side

added added

removed removed

Lines of Context:
846
846
                // if range of type cannot exceed static array bound,
847
847
                // disable bounds check
848
848
                if(isfixedarray(n->left->type))
 
849
                if(!issigned[n->right->type->etype])
849
850
                if(n->right->type->width < 4)
850
851
                if((1<<(8*n->right->type->width)) <= n->left->type->bound)
851
852
                        n->etype = 1;
852
853
 
853
854
                if(isconst(n->left, CTSTR))
 
855
                if(!issigned[n->right->type->etype])
854
856
                if(n->right->type->width < 4)
855
857
                if((1<<(8*n->right->type->width)) <= n->left->val.u.sval->len)
856
858
                        n->etype = 1;