search for: yystacksize

Displaying 4 results from an estimated 4 matches for "yystacksize".

Did you mean: stacksize
2014 Dec 15
2
index-parse.c:1256:6: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
No idea why this happens: index-parse.y: In function 'yyparse': index-parse.c:1256:6: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow] if (yyss + yystacksize - 1 <= yyssp) ^ It only happens on one machine, and not on any others, even though they have similar versions of gcc and bison installed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.word...
2014 Dec 15
0
Re: index-parse.c:1256:6: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
..., 2014 at 05:54:51PM +0000, Richard W.M. Jones wrote: > No idea why this happens: > > index-parse.y: In function 'yyparse': > index-parse.c:1256:6: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow] > if (yyss + yystacksize - 1 <= yyssp) > ^ > > It only happens on one machine, and not on any others, even > though they have similar versions of gcc and bison installed. I should clarify .. Of course I understand what the error message means and why it happens. The mystery is that it only happens...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...}; int yychar; int yylval; int yynerrs; int yyparse (void); int yyparse() { register int yystate; register int yyn; register short *yyssp; register int *yyvsp; int yyerrstatus; int yychar1 = 0; short yyssa[200]; int yyvsa[200]; short *yyss = yyssa; int *yyvs = yyvsa; int yystacksize = 200; int yyfree_stacks = 0; int yyval; int yylen; yystate = 0; yyerrstatus = 0; yynerrs = 0; yychar = -2; yyssp = yyss - 1; yyvsp = yyvs; yynewstate: *++yyssp = yystate; if (yyssp >= yyss + yystacksize - 1) { int *yyvs1 = yyvs; short *yyss1 = yyss; i...