bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bison CVS test case failures for C++ parser


From: Paul Eggert
Subject: Bison CVS test case failures for C++ parser
Date: Wed, 18 Jan 2006 21:51:32 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"make maintainer-check" fails with Bison CVS due to the use of some
uninitialized objects in the C++ parser.  Can a C++ expert please look
into this?  Here is a log:

512-penguin $ ./testsuite -v -d PREBISON='valgrind -q' PREPARSER='valgrind -q' 
110 111
## -------------------------- ##
## GNU Bison 2.1a test suite. ##
## -------------------------- ##
110. calc.at:651: testing ...
calc.at:651: bison -o calc.cc calc.y
calc.at:651: $BISON_CXX_WORKS
stderr:
stdout:
calc.at:651: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc $LIBS
stderr:
stdout:
calc.at:651: $PREPARSER ./calc input
stderr:
Starting parse
Entering state 0
Reading a token: Next token is token "number" (1.0: )
Shifting token "number" (1.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.0: )
-> $$ = nterm exp (1.0: )
Entering state 8
Reading a token: Next token is token '+' (1.2: )
Shifting token '+' (1.2: )
Entering state 17
Reading a token: Next token is token "number" (1.4: )
Shifting token "number" (1.4: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.4: )
-> $$ = nterm exp (1.4: )
Entering state 26
Reading a token: Next token is token '*' (1.6: )
Shifting token '*' (1.6: )
Entering state 18
Reading a token: Next token is token "number" (1.8: )
Shifting token "number" (1.8: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.8: )
-> $$ = nterm exp (1.8: )
Entering state 27
Reading a token: Next token is token '=' (1.10: )
Reducing stack 0 by rule 9 (line 99):
   $1 = nterm exp (1.4: )
   $2 = token '*' (1.6: )
   $3 = nterm exp (1.8: )
-> $$ = nterm exp (1.4-8: )
Entering state 26
Reducing stack 0 by rule 7 (line 97):
   $1 = nterm exp (1.0: )
   $2 = token '+' (1.2: )
   $3 = nterm exp (1.4-8: )
-> $$ = nterm exp (1.0-8: )
Entering state 8
Shifting token '=' (1.10: )
Entering state 15
Reading a token: Next token is token "number" (1.12: )
Shifting token "number" (1.12: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.12: )
-> $$ = nterm exp (1.12: )
Entering state 24
Reading a token: Next token is token '\n' (1.13-2.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (1.0-8: )
   $2 = token '=' (1.10: )
   $3 = nterm exp (1.12: )
-> $$ = nterm exp (1.0-12: )
Entering state 8
Shifting token '\n' (1.13-2.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (1.0-12: )
   $2 = token '\n' (1.13-2.0: )
-> $$ = nterm line (1.0-2.0: )
Entering state 7
Reducing stack 0 by rule 1 (line 80):
   $1 = nterm line (1.0-2.0: )
-> $$ = nterm input (1.0-2.0: )
Entering state 6
Reading a token: Next token is token "number" (2.0: )
Shifting token "number" (2.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (2.0: )
-> $$ = nterm exp (2.0: )
Entering state 8
Reading a token: Next token is token '+' (2.2: )
Shifting token '+' (2.2: )
Entering state 17
Reading a token: Next token is token "number" (2.4: )
Shifting token "number" (2.4: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (2.4: )
-> $$ = nterm exp (2.4: )
Entering state 26
Reading a token: Next token is token '*' (2.6: )
Shifting token '*' (2.6: )
Entering state 18
Reading a token: Next token is token '-' (2.8: )
Shifting token '-' (2.8: )
Entering state 2
Reading a token: Next token is token "number" (2.9: )
Shifting token "number" (2.9: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (2.9: )
-> $$ = nterm exp (2.9: )
Entering state 10
Reading a token: Next token is token '=' (2.11: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (2.8: )
   $2 = nterm exp (2.9: )
-> $$ = nterm exp (2.8-9: )
Entering state 27
Reducing stack 0 by rule 9 (line 99):
   $1 = nterm exp (2.4: )
   $2 = token '*' (2.6: )
   $3 = nterm exp (2.8-9: )
-> $$ = nterm exp (2.4-9: )
Entering state 26
Reducing stack 0 by rule 7 (line 97):
   $1 = nterm exp (2.0: )
   $2 = token '+' (2.2: )
   $3 = nterm exp (2.4-9: )
-> $$ = nterm exp (2.0-9: )
Entering state 8
Shifting token '=' (2.11: )
Entering state 15
Reading a token: Next token is token '-' (2.13: )
Shifting token '-' (2.13: )
Entering state 2
Reading a token: Next token is token "number" (2.14: )
Shifting token "number" (2.14: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (2.14: )
-> $$ = nterm exp (2.14: )
Entering state 10
Reading a token: Next token is token '\n' (2.15-3.0: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (2.13: )
   $2 = nterm exp (2.14: )
-> $$ = nterm exp (2.13-14: )
Entering state 24
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (2.0-9: )
   $2 = token '=' (2.11: )
   $3 = nterm exp (2.13-14: )
-> $$ = nterm exp (2.0-14: )
Entering state 8
Shifting token '\n' (2.15-3.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (2.0-14: )
   $2 = token '\n' (2.15-3.0: )
-> $$ = nterm line (2.0-3.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-2.0: )
   $2 = nterm line (2.0-3.0: )
-> $$ = nterm input (1.0-3.0: )
Entering state 6
Reading a token: Next token is token '\n' (3.0-4.0: )
Shifting token '\n' (3.0-4.0: )
Entering state 3
Reducing stack 0 by rule 3 (line 85):
   $1 = token '\n' (3.0-4.0: )
-> $$ = nterm line (3.0-4.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-3.0: )
   $2 = nterm line (3.0-4.0: )
-> $$ = nterm input (1.0-4.0: )
Entering state 6
Reading a token: Next token is token '-' (4.0: )
Shifting token '-' (4.0: )
Entering state 2
Reading a token: Next token is token "number" (4.1: )
Shifting token "number" (4.1: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (4.1: )
-> $$ = nterm exp (4.1: )
Entering state 10
Reading a token: Next token is token '^' (4.2: )
Shifting token '^' (4.2: )
Entering state 20
Reading a token: Next token is token "number" (4.3: )
Shifting token "number" (4.3: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (4.3: )
-> $$ = nterm exp (4.3: )
Entering state 29
Reading a token: Next token is token '=' (4.5: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (4.1: )
   $2 = token '^' (4.2: )
   $3 = nterm exp (4.3: )
-> $$ = nterm exp (4.1-3: )
Entering state 10
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (4.0: )
   $2 = nterm exp (4.1-3: )
-> $$ = nterm exp (4.0-3: )
Entering state 8
Shifting token '=' (4.5: )
Entering state 15
Reading a token: Next token is token '-' (4.7: )
Shifting token '-' (4.7: )
Entering state 2
Reading a token: Next token is token "number" (4.8: )
Shifting token "number" (4.8: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (4.8: )
-> $$ = nterm exp (4.8: )
Entering state 10
Reading a token: Next token is token '\n' (4.9-5.0: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (4.7: )
   $2 = nterm exp (4.8: )
-> $$ = nterm exp (4.7-8: )
Entering state 24
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (4.0-3: )
   $2 = token '=' (4.5: )
   $3 = nterm exp (4.7-8: )
-> $$ = nterm exp (4.0-8: )
Entering state 8
Shifting token '\n' (4.9-5.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (4.0-8: )
   $2 = token '\n' (4.9-5.0: )
-> $$ = nterm line (4.0-5.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-4.0: )
   $2 = nterm line (4.0-5.0: )
-> $$ = nterm input (1.0-5.0: )
Entering state 6
Reading a token: Next token is token '(' (5.0: )
Shifting token '(' (5.0: )
Entering state 4
Reading a token: Next token is token '-' (5.1: )
Shifting token '-' (5.1: )
Entering state 2
Reading a token: Next token is token "number" (5.2: )
Shifting token "number" (5.2: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (5.2: )
-> $$ = nterm exp (5.2: )
Entering state 10
Reading a token: Next token is token ')' (5.3: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (5.1: )
   $2 = nterm exp (5.2: )
-> $$ = nterm exp (5.1-2: )
Entering state 12
Shifting token ')' (5.3: )
Entering state 23
Reducing stack 0 by rule 13 (line 103):
   $1 = token '(' (5.0: )
   $2 = nterm exp (5.1-2: )
   $3 = token ')' (5.3: )
-> $$ = nterm exp (5.0-3: )
Entering state 8
Reading a token: Next token is token '^' (5.4: )
Shifting token '^' (5.4: )
Entering state 20
Reading a token: Next token is token "number" (5.5: )
Shifting token "number" (5.5: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (5.5: )
-> $$ = nterm exp (5.5: )
Entering state 29
Reading a token: Next token is token '=' (5.7: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (5.0-3: )
   $2 = token '^' (5.4: )
   $3 = nterm exp (5.5: )
-> $$ = nterm exp (5.0-5: )
Entering state 8
Shifting token '=' (5.7: )
Entering state 15
Reading a token: Next token is token "number" (5.9: )
Shifting token "number" (5.9: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (5.9: )
-> $$ = nterm exp (5.9: )
Entering state 24
Reading a token: Next token is token '\n' (5.10-6.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (5.0-5: )
   $2 = token '=' (5.7: )
   $3 = nterm exp (5.9: )
-> $$ = nterm exp (5.0-9: )
Entering state 8
Shifting token '\n' (5.10-6.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (5.0-9: )
   $2 = token '\n' (5.10-6.0: )
-> $$ = nterm line (5.0-6.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-5.0: )
   $2 = nterm line (5.0-6.0: )
-> $$ = nterm input (1.0-6.0: )
Entering state 6
Reading a token: Next token is token '\n' (6.0-7.0: )
Shifting token '\n' (6.0-7.0: )
Entering state 3
Reducing stack 0 by rule 3 (line 85):
   $1 = token '\n' (6.0-7.0: )
-> $$ = nterm line (6.0-7.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-6.0: )
   $2 = nterm line (6.0-7.0: )
-> $$ = nterm input (1.0-7.0: )
Entering state 6
Reading a token: Next token is token '-' (7.0: )
Shifting token '-' (7.0: )
Entering state 2
Reading a token: Next token is token '-' (7.1: )
Shifting token '-' (7.1: )
Entering state 2
Reading a token: Next token is token '-' (7.2: )
Shifting token '-' (7.2: )
Entering state 2
Reading a token: Next token is token "number" (7.3: )
Shifting token "number" (7.3: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (7.3: )
-> $$ = nterm exp (7.3: )
Entering state 10
Reading a token: Next token is token '=' (7.5: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (7.2: )
   $2 = nterm exp (7.3: )
-> $$ = nterm exp (7.2-3: )
Entering state 10
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (7.1: )
   $2 = nterm exp (7.2-3: )
-> $$ = nterm exp (7.1-3: )
Entering state 10
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (7.0: )
   $2 = nterm exp (7.1-3: )
-> $$ = nterm exp (7.0-3: )
Entering state 8
Shifting token '=' (7.5: )
Entering state 15
Reading a token: Next token is token '-' (7.7: )
Shifting token '-' (7.7: )
Entering state 2
Reading a token: Next token is token "number" (7.8: )
Shifting token "number" (7.8: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (7.8: )
-> $$ = nterm exp (7.8: )
Entering state 10
Reading a token: Next token is token '\n' (7.9-8.0: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (7.7: )
   $2 = nterm exp (7.8: )
-> $$ = nterm exp (7.7-8: )
Entering state 24
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (7.0-3: )
   $2 = token '=' (7.5: )
   $3 = nterm exp (7.7-8: )
-> $$ = nterm exp (7.0-8: )
Entering state 8
Shifting token '\n' (7.9-8.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (7.0-8: )
   $2 = token '\n' (7.9-8.0: )
-> $$ = nterm line (7.0-8.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-7.0: )
   $2 = nterm line (7.0-8.0: )
-> $$ = nterm input (1.0-8.0: )
Entering state 6
Reading a token: Next token is token '\n' (8.0-9.0: )
Shifting token '\n' (8.0-9.0: )
Entering state 3
Reducing stack 0 by rule 3 (line 85):
   $1 = token '\n' (8.0-9.0: )
-> $$ = nterm line (8.0-9.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-8.0: )
   $2 = nterm line (8.0-9.0: )
-> $$ = nterm input (1.0-9.0: )
Entering state 6
Reading a token: Next token is token "number" (9.0: )
Shifting token "number" (9.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (9.0: )
-> $$ = nterm exp (9.0: )
Entering state 8
Reading a token: Next token is token '-' (9.2: )
Shifting token '-' (9.2: )
Entering state 16
Reading a token: Next token is token "number" (9.4: )
Shifting token "number" (9.4: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (9.4: )
-> $$ = nterm exp (9.4: )
Entering state 25
Reading a token: Next token is token '-' (9.6: )
Reducing stack 0 by rule 8 (line 98):
   $1 = nterm exp (9.0: )
   $2 = token '-' (9.2: )
   $3 = nterm exp (9.4: )
-> $$ = nterm exp (9.0-4: )
Entering state 8
Shifting token '-' (9.6: )
Entering state 16
Reading a token: Next token is token "number" (9.8: )
Shifting token "number" (9.8: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (9.8: )
-> $$ = nterm exp (9.8: )
Entering state 25
Reading a token: Next token is token '=' (9.10: )
Reducing stack 0 by rule 8 (line 98):
   $1 = nterm exp (9.0-4: )
   $2 = token '-' (9.6: )
   $3 = nterm exp (9.8: )
-> $$ = nterm exp (9.0-8: )
Entering state 8
Shifting token '=' (9.10: )
Entering state 15
Reading a token: Next token is token '-' (9.12: )
Shifting token '-' (9.12: )
Entering state 2
Reading a token: Next token is token "number" (9.13: )
Shifting token "number" (9.13: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (9.13: )
-> $$ = nterm exp (9.13: )
Entering state 10
Reading a token: Next token is token '\n' (9.14-10.0: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (9.12: )
   $2 = nterm exp (9.13: )
-> $$ = nterm exp (9.12-13: )
Entering state 24
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (9.0-8: )
   $2 = token '=' (9.10: )
   $3 = nterm exp (9.12-13: )
-> $$ = nterm exp (9.0-13: )
Entering state 8
Shifting token '\n' (9.14-10.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (9.0-13: )
   $2 = token '\n' (9.14-10.0: )
-> $$ = nterm line (9.0-10.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-9.0: )
   $2 = nterm line (9.0-10.0: )
-> $$ = nterm input (1.0-10.0: )
Entering state 6
Reading a token: Next token is token "number" (10.0: )
Shifting token "number" (10.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (10.0: )
-> $$ = nterm exp (10.0: )
Entering state 8
Reading a token: Next token is token '-' (10.2: )
Shifting token '-' (10.2: )
Entering state 16
Reading a token: Next token is token '(' (10.4: )
Shifting token '(' (10.4: )
Entering state 4
Reading a token: Next token is token "number" (10.5: )
Shifting token "number" (10.5: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (10.5: )
-> $$ = nterm exp (10.5: )
Entering state 12
Reading a token: Next token is token '-' (10.7: )
Shifting token '-' (10.7: )
Entering state 16
Reading a token: Next token is token "number" (10.9: )
Shifting token "number" (10.9: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (10.9: )
-> $$ = nterm exp (10.9: )
Entering state 25
Reading a token: Next token is token ')' (10.10: )
Reducing stack 0 by rule 8 (line 98):
   $1 = nterm exp (10.5: )
   $2 = token '-' (10.7: )
   $3 = nterm exp (10.9: )
-> $$ = nterm exp (10.5-9: )
Entering state 12
Shifting token ')' (10.10: )
Entering state 23
Reducing stack 0 by rule 13 (line 103):
   $1 = token '(' (10.4: )
   $2 = nterm exp (10.5-9: )
   $3 = token ')' (10.10: )
-> $$ = nterm exp (10.4-10: )
Entering state 25
Reading a token: Next token is token '=' (10.12: )
Reducing stack 0 by rule 8 (line 98):
   $1 = nterm exp (10.0: )
   $2 = token '-' (10.2: )
   $3 = nterm exp (10.4-10: )
-> $$ = nterm exp (10.0-10: )
Entering state 8
Shifting token '=' (10.12: )
Entering state 15
Reading a token: Next token is token "number" (10.14: )
Shifting token "number" (10.14: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (10.14: )
-> $$ = nterm exp (10.14: )
Entering state 24
Reading a token: Next token is token '\n' (10.15-11.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (10.0-10: )
   $2 = token '=' (10.12: )
   $3 = nterm exp (10.14: )
-> $$ = nterm exp (10.0-14: )
Entering state 8
Shifting token '\n' (10.15-11.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (10.0-14: )
   $2 = token '\n' (10.15-11.0: )
-> $$ = nterm line (10.0-11.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-10.0: )
   $2 = nterm line (10.0-11.0: )
-> $$ = nterm input (1.0-11.0: )
Entering state 6
Reading a token: Next token is token '\n' (11.0-12.0: )
Shifting token '\n' (11.0-12.0: )
Entering state 3
Reducing stack 0 by rule 3 (line 85):
   $1 = token '\n' (11.0-12.0: )
-> $$ = nterm line (11.0-12.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-11.0: )
   $2 = nterm line (11.0-12.0: )
-> $$ = nterm input (1.0-12.0: )
Entering state 6
Reading a token: Next token is token "number" (12.0: )
Shifting token "number" (12.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (12.0: )
-> $$ = nterm exp (12.0: )
Entering state 8
Reading a token: Next token is token '^' (12.1: )
Shifting token '^' (12.1: )
Entering state 20
Reading a token: Next token is token "number" (12.2: )
Shifting token "number" (12.2: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (12.2: )
-> $$ = nterm exp (12.2: )
Entering state 29
Reading a token: Next token is token '^' (12.3: )
Shifting token '^' (12.3: )
Entering state 20
Reading a token: Next token is token "number" (12.4: )
Shifting token "number" (12.4: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (12.4: )
-> $$ = nterm exp (12.4: )
Entering state 29
Reading a token: Next token is token '=' (12.6: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (12.2: )
   $2 = token '^' (12.3: )
   $3 = nterm exp (12.4: )
-> $$ = nterm exp (12.2-4: )
Entering state 29
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (12.0: )
   $2 = token '^' (12.1: )
   $3 = nterm exp (12.2-4: )
-> $$ = nterm exp (12.0-4: )
Entering state 8
Shifting token '=' (12.6: )
Entering state 15
Reading a token: Next token is token "number" (12.8-10: )
Shifting token "number" (12.8-10: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (12.8-10: )
-> $$ = nterm exp (12.8-10: )
Entering state 24
Reading a token: Next token is token '\n' (12.11-13.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (12.0-4: )
   $2 = token '=' (12.6: )
   $3 = nterm exp (12.8-10: )
-> $$ = nterm exp (12.0-10: )
Entering state 8
Shifting token '\n' (12.11-13.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (12.0-10: )
   $2 = token '\n' (12.11-13.0: )
-> $$ = nterm line (12.0-13.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-12.0: )
   $2 = nterm line (12.0-13.0: )
-> $$ = nterm input (1.0-13.0: )
Entering state 6
Reading a token: Next token is token '(' (13.0: )
Shifting token '(' (13.0: )
Entering state 4
Reading a token: Next token is token "number" (13.1: )
Shifting token "number" (13.1: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (13.1: )
-> $$ = nterm exp (13.1: )
Entering state 12
Reading a token: Next token is token '^' (13.2: )
Shifting token '^' (13.2: )
Entering state 20
Reading a token: Next token is token "number" (13.3: )
Shifting token "number" (13.3: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (13.3: )
-> $$ = nterm exp (13.3: )
Entering state 29
Reading a token: Next token is token ')' (13.4: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (13.1: )
   $2 = token '^' (13.2: )
   $3 = nterm exp (13.3: )
-> $$ = nterm exp (13.1-3: )
Entering state 12
Shifting token ')' (13.4: )
Entering state 23
Reducing stack 0 by rule 13 (line 103):
   $1 = token '(' (13.0: )
   $2 = nterm exp (13.1-3: )
   $3 = token ')' (13.4: )
-> $$ = nterm exp (13.0-4: )
Entering state 8
Reading a token: Next token is token '^' (13.5: )
Shifting token '^' (13.5: )
Entering state 20
Reading a token: Next token is token "number" (13.6: )
Shifting token "number" (13.6: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (13.6: )
-> $$ = nterm exp (13.6: )
Entering state 29
Reading a token: Next token is token '=' (13.8: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (13.0-4: )
   $2 = token '^' (13.5: )
   $3 = nterm exp (13.6: )
-> $$ = nterm exp (13.0-6: )
Entering state 8
Shifting token '=' (13.8: )
Entering state 15
Reading a token: Next token is token "number" (13.10-11: )
Shifting token "number" (13.10-11: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (13.10-11: )
-> $$ = nterm exp (13.10-11: )
Entering state 24
Reading a token: Next token is token '\n' (13.12-14.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (13.0-6: )
   $2 = token '=' (13.8: )
   $3 = nterm exp (13.10-11: )
-> $$ = nterm exp (13.0-11: )
Entering state 8
Shifting token '\n' (13.12-14.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (13.0-11: )
   $2 = token '\n' (13.12-14.0: )
-> $$ = nterm line (13.0-14.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-13.0: )
   $2 = nterm line (13.0-14.0: )
-> $$ = nterm input (1.0-14.0: )
Entering state 6
Reading a token: Next token is token "end of input" (14.0: )
Shifting token "end of input" (14.0: )
Entering state 13
Cleanup: popping token "end of input" (14.0: )
Cleanup: popping nterm input (1.0-14.0: )
Cleanup: popping token "end of input" (==32275== Conditional jump or move 
depends on uninitialised value(s)
==32275==    at 0x804D0E7: yy::position::columns(int) (position.hh:62)
==32275==    by 0x804D11F: yy::operator+=(yy::position&, int) (position.hh:82)
==32275==    by 0x804D155: yy::operator+(yy::position const&, int) 
(position.hh:91)
==32275==    by 0x804D198: yy::operator-(yy::position const&, int) 
(position.hh:105)
==32275==    by 0x804D274: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:109)
==32275==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
==32275==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
==32275==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
==32275==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
==32275==    by 0x804CD1B: calcparse(yy::parser&) (calc.cc:2452)
==32275==    by 0x804CD8A: yy::parser::parse() (calc.cc:2744)
==32275==    by 0x804CDBD: calcparse() (calc.y:125)
==32275== 
==32275== Use of uninitialised value of size 4
==32275==    at 0x1B973597: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:869)
==32275==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
==32275==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
==32275==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
==32275==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
==32275==    by 0x804D204: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
==32275==    by 0x804D29B: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
==32275==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
==32275==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
==32275==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
==32275==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
==32275==    by 0x804CD1B: calcparse(yy::parser&) (calc.cc:2452)
==32275== 
==32275== Conditional jump or move depends on uninitialised value(s)
==32275==    at 0x1B9735A0: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:867)
==32275==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
==32275==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
==32275==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
==32275==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
==32275==    by 0x804D204: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
==32275==    by 0x804D29B: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
==32275==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
==32275==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
==32275==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
==32275==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
==32275==    by 0x804CD1B: calcparse(yy::parser&) (calc.cc:2452)
128686770.463658140==32275== 
==32275== Conditional jump or move depends on uninitialised value(s)
==32275==    at 0x804D307: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:115)
==32275==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
==32275==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
==32275==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
==32275==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
==32275==    by 0x804CD1B: calcparse(yy::parser&) (calc.cc:2452)
==32275==    by 0x804CD8A: yy::parser::parse() (calc.cc:2744)
==32275==    by 0x804CDBD: calcparse() (calc.y:125)
==32275==    by 0x804CE83: main (calc.y:276)
-462405968.5: )
calc.at:651: $PREPARSER ./calc input
stderr:
Starting parse
Entering state 0
Reading a token: Next token is token "number" (1.0: )
Shifting token "number" (1.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.0: )
-> $$ = nterm exp (1.0: )
Entering state 8
Reading a token: Next token is token "number" (1.2: )
1.2: syntax error, unexpected number
Error: popping nterm exp (1.0: )
Error: popping token "end of input" (==32282== Conditional jump or move depends 
on uninitialised value(s)
==32282==    at 0x804D0E7: yy::position::columns(int) (position.hh:62)
==32282==    by 0x804D11F: yy::operator+=(yy::position&, int) (position.hh:82)
==32282==    by 0x804D155: yy::operator+(yy::position const&, int) 
(position.hh:91)
==32282==    by 0x804D198: yy::operator-(yy::position const&, int) 
(position.hh:105)
==32282==    by 0x804D274: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:109)
==32282==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
==32282==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
==32282==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
==32282==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
==32282==    by 0x804BF5D: yyrecoverSyntaxError(yyGLRStack*, yy::parser&) 
(calc.cc:2196)
==32282==    by 0x804CC18: calcparse(yy::parser&) (calc.cc:2409)
==32282==    by 0x804CD8A: yy::parser::parse() (calc.cc:2744)
==32282== 
==32282== Use of uninitialised value of size 4
==32282==    at 0x1B973597: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:869)
==32282==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
==32282==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
==32282==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
==32282==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
==32282==    by 0x804D204: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
==32282==    by 0x804D29B: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
==32282==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
==32282==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
==32282==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
==32282==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
==32282==    by 0x804BF5D: yyrecoverSyntaxError(yyGLRStack*, yy::parser&) 
(calc.cc:2196)
==32282== 
==32282== Conditional jump or move depends on uninitialised value(s)
==32282==    at 0x1B9735A0: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:867)
==32282==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
==32282==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
==32282==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
==32282==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
==32282==    by 0x804D204: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
==32282==    by 0x804D29B: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
==32282==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
==32282==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
==32282==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
==32282==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
==32282==    by 0x804BF5D: yyrecoverSyntaxError(yyGLRStack*, yy::parser&) 
(calc.cc:2196)
128686770.463658140==32282== 
==32282== Conditional jump or move depends on uninitialised value(s)
==32282==    at 0x804D307: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:115)
==32282==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
==32282==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
==32282==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
==32282==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
==32282==    by 0x804BF5D: yyrecoverSyntaxError(yyGLRStack*, yy::parser&) 
(calc.cc:2196)
==32282==    by 0x804CC18: calcparse(yy::parser&) (calc.cc:2409)
==32282==    by 0x804CD8A: yy::parser::parse() (calc.cc:2744)
==32282==    by 0x804CDBD: calcparse() (calc.y:125)
==32282==    by 0x804CE83: main (calc.y:276)
-462405968.5: )
Cleanup: discarding lookahead token "number" (1.2: )
calc.at:651: cat stderr
--- expout      2006-01-18 21:45:22.000000000 -0800
+++ /home/eggert/src/gnu/bison/tests/testsuite.dir/at-stdout    2006-01-18 
21:45:22.000000000 -0800
@@ -1 +1,54 @@
 1.2: syntax error, unexpected number
+==32282==    at 0x804D0E7: yy::position::columns(int) (position.hh:62)
+==32282==    by 0x804D11F: yy::operator+=(yy::position&, int) (position.hh:82)
+==32282==    by 0x804D155: yy::operator+(yy::position const&, int) 
(position.hh:91)
+==32282==    by 0x804D198: yy::operator-(yy::position const&, int) 
(position.hh:105)
+==32282==    by 0x804D274: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:109)
+==32282==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
+==32282==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
+==32282==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
+==32282==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
+==32282==    by 0x804BF5D: yyrecoverSyntaxError(yyGLRStack*, yy::parser&) 
(calc.cc:2196)
+==32282==    by 0x804CC18: calcparse(yy::parser&) (calc.cc:2409)
+==32282==    by 0x804CD8A: yy::parser::parse() (calc.cc:2744)
+==32282== 
+==32282== Use of uninitialised value of size 4
+==32282==    at 0x1B973597: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:869)
+==32282==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
+==32282==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
+==32282==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
+==32282==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
+==32282==    by 0x804D204: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
+==32282==    by 0x804D29B: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
+==32282==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
+==32282==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
+==32282==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
+==32282==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
+==32282==    by 0x804BF5D: yyrecoverSyntaxError(yyGLRStack*, yy::parser&) 
(calc.cc:2196)
+==32282== 
+==32282== Conditional jump or move depends on uninitialised value(s)
+==32282==    at 0x1B9735A0: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:867)
+==32282==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
+==32282==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
+==32282==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
+==32282==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
+==32282==    by 0x804D204: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
+==32282==    by 0x804D29B: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
+==32282==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
+==32282==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
+==32282==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
+==32282==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
+==32282==    by 0x804BF5D: yyrecoverSyntaxError(yyGLRStack*, yy::parser&) 
(calc.cc:2196)
+128686770.463658140==32282== 
+==32282== Conditional jump or move depends on uninitialised value(s)
+==32282==    at 0x804D307: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:115)
+==32282==    by 0x804CFB7: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2773)
+==32282==    by 0x8048D89: yy_symbol_print(_IO_FILE*, int, 
yy::parser::semantic_type const*, yy::location const*, yy::parser&) 
(calc.cc:501)
+==32282==    by 0x8049050: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&) (calc.cc:977)
+==32282==    by 0x80490D1: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&) (calc.cc:999)
+==32282==    by 0x804BF5D: yyrecoverSyntaxError(yyGLRStack*, yy::parser&) 
(calc.cc:2196)
+==32282==    by 0x804CC18: calcparse(yy::parser&) (calc.cc:2409)
+==32282==    by 0x804CD8A: yy::parser::parse() (calc.cc:2744)
+==32282==    by 0x804CDBD: calcparse() (calc.y:125)
+==32282==    by 0x804CE83: main (calc.y:276)
+-462405968.5: )
110. calc.at:651: FAILED (calc.at:651)

111. calc.at:653: testing ...
calc.at:653: bison -o calc.cc calc.y
calc.at:653: $BISON_CXX_WORKS
stderr:
stdout:
calc.at:653: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o calc calc.cc $LIBS
stderr:
stdout:
calc.at:653: $PREPARSER ./calc input
stderr:
Starting parse
Entering state 0
Reading a token: Next token is token "number" (1.0: )
Shifting token "number" (1.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.0: )
-> $$ = nterm exp (1.0: )
Entering state 8
Reading a token: Next token is token '+' (1.2: )
Shifting token '+' (1.2: )
Entering state 17
Reading a token: Next token is token "number" (1.4: )
Shifting token "number" (1.4: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.4: )
-> $$ = nterm exp (1.4: )
Entering state 26
Reading a token: Next token is token '*' (1.6: )
Shifting token '*' (1.6: )
Entering state 18
Reading a token: Next token is token "number" (1.8: )
Shifting token "number" (1.8: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.8: )
-> $$ = nterm exp (1.8: )
Entering state 27
Reading a token: Next token is token '=' (1.10: )
Reducing stack 0 by rule 9 (line 99):
   $1 = nterm exp (1.4: )
   $2 = token '*' (1.6: )
   $3 = nterm exp (1.8: )
-> $$ = nterm exp (1.4-8: )
Entering state 26
Reducing stack 0 by rule 7 (line 97):
   $1 = nterm exp (1.0: )
   $2 = token '+' (1.2: )
   $3 = nterm exp (1.4-8: )
-> $$ = nterm exp (1.0-8: )
Entering state 8
Shifting token '=' (1.10: )
Entering state 15
Reading a token: Next token is token "number" (1.12: )
Shifting token "number" (1.12: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.12: )
-> $$ = nterm exp (1.12: )
Entering state 24
Reading a token: Next token is token '\n' (1.13-2.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (1.0-8: )
   $2 = token '=' (1.10: )
   $3 = nterm exp (1.12: )
-> $$ = nterm exp (1.0-12: )
Entering state 8
Shifting token '\n' (1.13-2.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (1.0-12: )
   $2 = token '\n' (1.13-2.0: )
-> $$ = nterm line (1.0-2.0: )
Entering state 7
Reducing stack 0 by rule 1 (line 80):
   $1 = nterm line (1.0-2.0: )
-> $$ = nterm input (1.0-2.0: )
Entering state 6
Reading a token: Next token is token "number" (2.0: )
Shifting token "number" (2.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (2.0: )
-> $$ = nterm exp (2.0: )
Entering state 8
Reading a token: Next token is token '+' (2.2: )
Shifting token '+' (2.2: )
Entering state 17
Reading a token: Next token is token "number" (2.4: )
Shifting token "number" (2.4: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (2.4: )
-> $$ = nterm exp (2.4: )
Entering state 26
Reading a token: Next token is token '*' (2.6: )
Shifting token '*' (2.6: )
Entering state 18
Reading a token: Next token is token '-' (2.8: )
Shifting token '-' (2.8: )
Entering state 2
Reading a token: Next token is token "number" (2.9: )
Shifting token "number" (2.9: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (2.9: )
-> $$ = nterm exp (2.9: )
Entering state 10
Reading a token: Next token is token '=' (2.11: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (2.8: )
   $2 = nterm exp (2.9: )
-> $$ = nterm exp (2.8-9: )
Entering state 27
Reducing stack 0 by rule 9 (line 99):
   $1 = nterm exp (2.4: )
   $2 = token '*' (2.6: )
   $3 = nterm exp (2.8-9: )
-> $$ = nterm exp (2.4-9: )
Entering state 26
Reducing stack 0 by rule 7 (line 97):
   $1 = nterm exp (2.0: )
   $2 = token '+' (2.2: )
   $3 = nterm exp (2.4-9: )
-> $$ = nterm exp (2.0-9: )
Entering state 8
Shifting token '=' (2.11: )
Entering state 15
Reading a token: Next token is token '-' (2.13: )
Shifting token '-' (2.13: )
Entering state 2
Reading a token: Next token is token "number" (2.14: )
Shifting token "number" (2.14: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (2.14: )
-> $$ = nterm exp (2.14: )
Entering state 10
Reading a token: Next token is token '\n' (2.15-3.0: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (2.13: )
   $2 = nterm exp (2.14: )
-> $$ = nterm exp (2.13-14: )
Entering state 24
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (2.0-9: )
   $2 = token '=' (2.11: )
   $3 = nterm exp (2.13-14: )
-> $$ = nterm exp (2.0-14: )
Entering state 8
Shifting token '\n' (2.15-3.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (2.0-14: )
   $2 = token '\n' (2.15-3.0: )
-> $$ = nterm line (2.0-3.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-2.0: )
   $2 = nterm line (2.0-3.0: )
-> $$ = nterm input (1.0-3.0: )
Entering state 6
Reading a token: Next token is token '\n' (3.0-4.0: )
Shifting token '\n' (3.0-4.0: )
Entering state 3
Reducing stack 0 by rule 3 (line 85):
   $1 = token '\n' (3.0-4.0: )
-> $$ = nterm line (3.0-4.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-3.0: )
   $2 = nterm line (3.0-4.0: )
-> $$ = nterm input (1.0-4.0: )
Entering state 6
Reading a token: Next token is token '-' (4.0: )
Shifting token '-' (4.0: )
Entering state 2
Reading a token: Next token is token "number" (4.1: )
Shifting token "number" (4.1: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (4.1: )
-> $$ = nterm exp (4.1: )
Entering state 10
Reading a token: Next token is token '^' (4.2: )
Shifting token '^' (4.2: )
Entering state 20
Reading a token: Next token is token "number" (4.3: )
Shifting token "number" (4.3: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (4.3: )
-> $$ = nterm exp (4.3: )
Entering state 29
Reading a token: Next token is token '=' (4.5: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (4.1: )
   $2 = token '^' (4.2: )
   $3 = nterm exp (4.3: )
-> $$ = nterm exp (4.1-3: )
Entering state 10
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (4.0: )
   $2 = nterm exp (4.1-3: )
-> $$ = nterm exp (4.0-3: )
Entering state 8
Shifting token '=' (4.5: )
Entering state 15
Reading a token: Next token is token '-' (4.7: )
Shifting token '-' (4.7: )
Entering state 2
Reading a token: Next token is token "number" (4.8: )
Shifting token "number" (4.8: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (4.8: )
-> $$ = nterm exp (4.8: )
Entering state 10
Reading a token: Next token is token '\n' (4.9-5.0: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (4.7: )
   $2 = nterm exp (4.8: )
-> $$ = nterm exp (4.7-8: )
Entering state 24
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (4.0-3: )
   $2 = token '=' (4.5: )
   $3 = nterm exp (4.7-8: )
-> $$ = nterm exp (4.0-8: )
Entering state 8
Shifting token '\n' (4.9-5.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (4.0-8: )
   $2 = token '\n' (4.9-5.0: )
-> $$ = nterm line (4.0-5.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-4.0: )
   $2 = nterm line (4.0-5.0: )
-> $$ = nterm input (1.0-5.0: )
Entering state 6
Reading a token: Next token is token '(' (5.0: )
Shifting token '(' (5.0: )
Entering state 4
Reading a token: Next token is token '-' (5.1: )
Shifting token '-' (5.1: )
Entering state 2
Reading a token: Next token is token "number" (5.2: )
Shifting token "number" (5.2: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (5.2: )
-> $$ = nterm exp (5.2: )
Entering state 10
Reading a token: Next token is token ')' (5.3: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (5.1: )
   $2 = nterm exp (5.2: )
-> $$ = nterm exp (5.1-2: )
Entering state 12
Shifting token ')' (5.3: )
Entering state 23
Reducing stack 0 by rule 13 (line 103):
   $1 = token '(' (5.0: )
   $2 = nterm exp (5.1-2: )
   $3 = token ')' (5.3: )
-> $$ = nterm exp (5.0-3: )
Entering state 8
Reading a token: Next token is token '^' (5.4: )
Shifting token '^' (5.4: )
Entering state 20
Reading a token: Next token is token "number" (5.5: )
Shifting token "number" (5.5: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (5.5: )
-> $$ = nterm exp (5.5: )
Entering state 29
Reading a token: Next token is token '=' (5.7: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (5.0-3: )
   $2 = token '^' (5.4: )
   $3 = nterm exp (5.5: )
-> $$ = nterm exp (5.0-5: )
Entering state 8
Shifting token '=' (5.7: )
Entering state 15
Reading a token: Next token is token "number" (5.9: )
Shifting token "number" (5.9: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (5.9: )
-> $$ = nterm exp (5.9: )
Entering state 24
Reading a token: Next token is token '\n' (5.10-6.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (5.0-5: )
   $2 = token '=' (5.7: )
   $3 = nterm exp (5.9: )
-> $$ = nterm exp (5.0-9: )
Entering state 8
Shifting token '\n' (5.10-6.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (5.0-9: )
   $2 = token '\n' (5.10-6.0: )
-> $$ = nterm line (5.0-6.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-5.0: )
   $2 = nterm line (5.0-6.0: )
-> $$ = nterm input (1.0-6.0: )
Entering state 6
Reading a token: Next token is token '\n' (6.0-7.0: )
Shifting token '\n' (6.0-7.0: )
Entering state 3
Reducing stack 0 by rule 3 (line 85):
   $1 = token '\n' (6.0-7.0: )
-> $$ = nterm line (6.0-7.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-6.0: )
   $2 = nterm line (6.0-7.0: )
-> $$ = nterm input (1.0-7.0: )
Entering state 6
Reading a token: Next token is token '-' (7.0: )
Shifting token '-' (7.0: )
Entering state 2
Reading a token: Next token is token '-' (7.1: )
Shifting token '-' (7.1: )
Entering state 2
Reading a token: Next token is token '-' (7.2: )
Shifting token '-' (7.2: )
Entering state 2
Reading a token: Next token is token "number" (7.3: )
Shifting token "number" (7.3: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (7.3: )
-> $$ = nterm exp (7.3: )
Entering state 10
Reading a token: Next token is token '=' (7.5: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (7.2: )
   $2 = nterm exp (7.3: )
-> $$ = nterm exp (7.2-3: )
Entering state 10
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (7.1: )
   $2 = nterm exp (7.2-3: )
-> $$ = nterm exp (7.1-3: )
Entering state 10
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (7.0: )
   $2 = nterm exp (7.1-3: )
-> $$ = nterm exp (7.0-3: )
Entering state 8
Shifting token '=' (7.5: )
Entering state 15
Reading a token: Next token is token '-' (7.7: )
Shifting token '-' (7.7: )
Entering state 2
Reading a token: Next token is token "number" (7.8: )
Shifting token "number" (7.8: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (7.8: )
-> $$ = nterm exp (7.8: )
Entering state 10
Reading a token: Next token is token '\n' (7.9-8.0: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (7.7: )
   $2 = nterm exp (7.8: )
-> $$ = nterm exp (7.7-8: )
Entering state 24
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (7.0-3: )
   $2 = token '=' (7.5: )
   $3 = nterm exp (7.7-8: )
-> $$ = nterm exp (7.0-8: )
Entering state 8
Shifting token '\n' (7.9-8.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (7.0-8: )
   $2 = token '\n' (7.9-8.0: )
-> $$ = nterm line (7.0-8.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-7.0: )
   $2 = nterm line (7.0-8.0: )
-> $$ = nterm input (1.0-8.0: )
Entering state 6
Reading a token: Next token is token '\n' (8.0-9.0: )
Shifting token '\n' (8.0-9.0: )
Entering state 3
Reducing stack 0 by rule 3 (line 85):
   $1 = token '\n' (8.0-9.0: )
-> $$ = nterm line (8.0-9.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-8.0: )
   $2 = nterm line (8.0-9.0: )
-> $$ = nterm input (1.0-9.0: )
Entering state 6
Reading a token: Next token is token "number" (9.0: )
Shifting token "number" (9.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (9.0: )
-> $$ = nterm exp (9.0: )
Entering state 8
Reading a token: Next token is token '-' (9.2: )
Shifting token '-' (9.2: )
Entering state 16
Reading a token: Next token is token "number" (9.4: )
Shifting token "number" (9.4: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (9.4: )
-> $$ = nterm exp (9.4: )
Entering state 25
Reading a token: Next token is token '-' (9.6: )
Reducing stack 0 by rule 8 (line 98):
   $1 = nterm exp (9.0: )
   $2 = token '-' (9.2: )
   $3 = nterm exp (9.4: )
-> $$ = nterm exp (9.0-4: )
Entering state 8
Shifting token '-' (9.6: )
Entering state 16
Reading a token: Next token is token "number" (9.8: )
Shifting token "number" (9.8: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (9.8: )
-> $$ = nterm exp (9.8: )
Entering state 25
Reading a token: Next token is token '=' (9.10: )
Reducing stack 0 by rule 8 (line 98):
   $1 = nterm exp (9.0-4: )
   $2 = token '-' (9.6: )
   $3 = nterm exp (9.8: )
-> $$ = nterm exp (9.0-8: )
Entering state 8
Shifting token '=' (9.10: )
Entering state 15
Reading a token: Next token is token '-' (9.12: )
Shifting token '-' (9.12: )
Entering state 2
Reading a token: Next token is token "number" (9.13: )
Shifting token "number" (9.13: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (9.13: )
-> $$ = nterm exp (9.13: )
Entering state 10
Reading a token: Next token is token '\n' (9.14-10.0: )
Reducing stack 0 by rule 11 (line 101):
   $1 = token '-' (9.12: )
   $2 = nterm exp (9.13: )
-> $$ = nterm exp (9.12-13: )
Entering state 24
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (9.0-8: )
   $2 = token '=' (9.10: )
   $3 = nterm exp (9.12-13: )
-> $$ = nterm exp (9.0-13: )
Entering state 8
Shifting token '\n' (9.14-10.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (9.0-13: )
   $2 = token '\n' (9.14-10.0: )
-> $$ = nterm line (9.0-10.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-9.0: )
   $2 = nterm line (9.0-10.0: )
-> $$ = nterm input (1.0-10.0: )
Entering state 6
Reading a token: Next token is token "number" (10.0: )
Shifting token "number" (10.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (10.0: )
-> $$ = nterm exp (10.0: )
Entering state 8
Reading a token: Next token is token '-' (10.2: )
Shifting token '-' (10.2: )
Entering state 16
Reading a token: Next token is token '(' (10.4: )
Shifting token '(' (10.4: )
Entering state 4
Reading a token: Next token is token "number" (10.5: )
Shifting token "number" (10.5: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (10.5: )
-> $$ = nterm exp (10.5: )
Entering state 12
Reading a token: Next token is token '-' (10.7: )
Shifting token '-' (10.7: )
Entering state 16
Reading a token: Next token is token "number" (10.9: )
Shifting token "number" (10.9: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (10.9: )
-> $$ = nterm exp (10.9: )
Entering state 25
Reading a token: Next token is token ')' (10.10: )
Reducing stack 0 by rule 8 (line 98):
   $1 = nterm exp (10.5: )
   $2 = token '-' (10.7: )
   $3 = nterm exp (10.9: )
-> $$ = nterm exp (10.5-9: )
Entering state 12
Shifting token ')' (10.10: )
Entering state 23
Reducing stack 0 by rule 13 (line 103):
   $1 = token '(' (10.4: )
   $2 = nterm exp (10.5-9: )
   $3 = token ')' (10.10: )
-> $$ = nterm exp (10.4-10: )
Entering state 25
Reading a token: Next token is token '=' (10.12: )
Reducing stack 0 by rule 8 (line 98):
   $1 = nterm exp (10.0: )
   $2 = token '-' (10.2: )
   $3 = nterm exp (10.4-10: )
-> $$ = nterm exp (10.0-10: )
Entering state 8
Shifting token '=' (10.12: )
Entering state 15
Reading a token: Next token is token "number" (10.14: )
Shifting token "number" (10.14: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (10.14: )
-> $$ = nterm exp (10.14: )
Entering state 24
Reading a token: Next token is token '\n' (10.15-11.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (10.0-10: )
   $2 = token '=' (10.12: )
   $3 = nterm exp (10.14: )
-> $$ = nterm exp (10.0-14: )
Entering state 8
Shifting token '\n' (10.15-11.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (10.0-14: )
   $2 = token '\n' (10.15-11.0: )
-> $$ = nterm line (10.0-11.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-10.0: )
   $2 = nterm line (10.0-11.0: )
-> $$ = nterm input (1.0-11.0: )
Entering state 6
Reading a token: Next token is token '\n' (11.0-12.0: )
Shifting token '\n' (11.0-12.0: )
Entering state 3
Reducing stack 0 by rule 3 (line 85):
   $1 = token '\n' (11.0-12.0: )
-> $$ = nterm line (11.0-12.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-11.0: )
   $2 = nterm line (11.0-12.0: )
-> $$ = nterm input (1.0-12.0: )
Entering state 6
Reading a token: Next token is token "number" (12.0: )
Shifting token "number" (12.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (12.0: )
-> $$ = nterm exp (12.0: )
Entering state 8
Reading a token: Next token is token '^' (12.1: )
Shifting token '^' (12.1: )
Entering state 20
Reading a token: Next token is token "number" (12.2: )
Shifting token "number" (12.2: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (12.2: )
-> $$ = nterm exp (12.2: )
Entering state 29
Reading a token: Next token is token '^' (12.3: )
Shifting token '^' (12.3: )
Entering state 20
Reading a token: Next token is token "number" (12.4: )
Shifting token "number" (12.4: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (12.4: )
-> $$ = nterm exp (12.4: )
Entering state 29
Reading a token: Next token is token '=' (12.6: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (12.2: )
   $2 = token '^' (12.3: )
   $3 = nterm exp (12.4: )
-> $$ = nterm exp (12.2-4: )
Entering state 29
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (12.0: )
   $2 = token '^' (12.1: )
   $3 = nterm exp (12.2-4: )
-> $$ = nterm exp (12.0-4: )
Entering state 8
Shifting token '=' (12.6: )
Entering state 15
Reading a token: Next token is token "number" (12.8-10: )
Shifting token "number" (12.8-10: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (12.8-10: )
-> $$ = nterm exp (12.8-10: )
Entering state 24
Reading a token: Next token is token '\n' (12.11-13.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (12.0-4: )
   $2 = token '=' (12.6: )
   $3 = nterm exp (12.8-10: )
-> $$ = nterm exp (12.0-10: )
Entering state 8
Shifting token '\n' (12.11-13.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (12.0-10: )
   $2 = token '\n' (12.11-13.0: )
-> $$ = nterm line (12.0-13.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-12.0: )
   $2 = nterm line (12.0-13.0: )
-> $$ = nterm input (1.0-13.0: )
Entering state 6
Reading a token: Next token is token '(' (13.0: )
Shifting token '(' (13.0: )
Entering state 4
Reading a token: Next token is token "number" (13.1: )
Shifting token "number" (13.1: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (13.1: )
-> $$ = nterm exp (13.1: )
Entering state 12
Reading a token: Next token is token '^' (13.2: )
Shifting token '^' (13.2: )
Entering state 20
Reading a token: Next token is token "number" (13.3: )
Shifting token "number" (13.3: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (13.3: )
-> $$ = nterm exp (13.3: )
Entering state 29
Reading a token: Next token is token ')' (13.4: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (13.1: )
   $2 = token '^' (13.2: )
   $3 = nterm exp (13.3: )
-> $$ = nterm exp (13.1-3: )
Entering state 12
Shifting token ')' (13.4: )
Entering state 23
Reducing stack 0 by rule 13 (line 103):
   $1 = token '(' (13.0: )
   $2 = nterm exp (13.1-3: )
   $3 = token ')' (13.4: )
-> $$ = nterm exp (13.0-4: )
Entering state 8
Reading a token: Next token is token '^' (13.5: )
Shifting token '^' (13.5: )
Entering state 20
Reading a token: Next token is token "number" (13.6: )
Shifting token "number" (13.6: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (13.6: )
-> $$ = nterm exp (13.6: )
Entering state 29
Reading a token: Next token is token '=' (13.8: )
Reducing stack 0 by rule 12 (line 102):
   $1 = nterm exp (13.0-4: )
   $2 = token '^' (13.5: )
   $3 = nterm exp (13.6: )
-> $$ = nterm exp (13.0-6: )
Entering state 8
Shifting token '=' (13.8: )
Entering state 15
Reading a token: Next token is token "number" (13.10-11: )
Shifting token "number" (13.10-11: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (13.10-11: )
-> $$ = nterm exp (13.10-11: )
Entering state 24
Reading a token: Next token is token '\n' (13.12-14.0: )
Reducing stack 0 by rule 6 (line 91):
   $1 = nterm exp (13.0-6: )
   $2 = token '=' (13.8: )
   $3 = nterm exp (13.10-11: )
-> $$ = nterm exp (13.0-11: )
Entering state 8
Shifting token '\n' (13.12-14.0: )
Entering state 21
Reducing stack 0 by rule 4 (line 86):
   $1 = nterm exp (13.0-11: )
   $2 = token '\n' (13.12-14.0: )
-> $$ = nterm line (13.0-14.0: )
Entering state 14
Reducing stack 0 by rule 2 (line 81):
   $1 = nterm input (1.0-13.0: )
   $2 = nterm line (13.0-14.0: )
-> $$ = nterm input (1.0-14.0: )
Entering state 6
Reading a token: Next token is token "end of input" (14.0: )
Shifting token "end of input" (14.0: )
Entering state 13
Cleanup: popping token "end of input" (14.0: )
Cleanup: popping nterm input (1.0-14.0: )
Cleanup: popping token "end of input" (==32331== Conditional jump or move 
depends on uninitialised value(s)
==32331==    at 0x804D4B5: yy::position::columns(int) (position.hh:62)
==32331==    by 0x804D4ED: yy::operator+=(yy::position&, int) (position.hh:82)
==32331==    by 0x804D523: yy::operator+(yy::position const&, int) 
(position.hh:91)
==32331==    by 0x804D566: yy::operator-(yy::position const&, int) 
(position.hh:105)
==32331==    by 0x804D642: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:109)
==32331==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32331==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32331==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32331==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32331==    by 0x804D0A1: calcparse(yy::parser&, int*, int*) (calc.cc:2460)
==32331==    by 0x804D124: yy::parser::parse() (calc.cc:2756)
==32331==    by 0x804D165: calcparse(int*, int*) (calc.y:125)
==32331== 
==32331== Use of uninitialised value of size 4
==32331==    at 0x1B973597: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:869)
==32331==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
==32331==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
==32331==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
==32331==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
==32331==    by 0x804D5D2: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
==32331==    by 0x804D669: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
==32331==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32331==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32331==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32331==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32331==    by 0x804D0A1: calcparse(yy::parser&, int*, int*) (calc.cc:2460)
==32331== 
==32331== Conditional jump or move depends on uninitialised value(s)
==32331==    at 0x1B9735A0: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:867)
==32331==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
==32331==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
==32331==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
==32331==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
==32331==    by 0x804D5D2: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
==32331==    by 0x804D669: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
==32331==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32331==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32331==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32331==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32331==    by 0x804D0A1: calcparse(yy::parser&, int*, int*) (calc.cc:2460)
463686479.1388308472==32331== 
==32331== Conditional jump or move depends on uninitialised value(s)
==32331==    at 0x804D6D5: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:115)
==32331==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32331==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32331==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32331==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32331==    by 0x804D0A1: calcparse(yy::parser&, int*, int*) (calc.cc:2460)
==32331==    by 0x804D124: yy::parser::parse() (calc.cc:2756)
==32331==    by 0x804D165: calcparse(int*, int*) (calc.y:125)
==32331==    by 0x804D238: main (calc.y:276)
==32331== 
==32331== Conditional jump or move depends on uninitialised value(s)
==32331==    at 0x804D725: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:117)
==32331==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32331==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32331==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32331==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32331==    by 0x804D0A1: calcparse(yy::parser&, int*, int*) (calc.cc:2460)
==32331==    by 0x804D124: yy::parser::parse() (calc.cc:2756)
==32331==    by 0x804D165: calcparse(int*, int*) (calc.y:125)
==32331==    by 0x804D238: main (calc.y:276)
-128686769: )
calc.at:653: $PREPARSER ./calc input
stderr:
Starting parse
Entering state 0
Reading a token: Next token is token "number" (1.0: )
Shifting token "number" (1.0: )
Entering state 1
Reducing stack 0 by rule 5 (line 90):
   $1 = token "number" (1.0: )
-> $$ = nterm exp (1.0: )
Entering state 8
Reading a token: Next token is token "number" (1.2: )
1.2: syntax error, unexpected number
Error: popping nterm exp (1.0: )
Error: popping token "end of input" (==32338== Conditional jump or move depends 
on uninitialised value(s)
==32338==    at 0x804D4B5: yy::position::columns(int) (position.hh:62)
==32338==    by 0x804D4ED: yy::operator+=(yy::position&, int) (position.hh:82)
==32338==    by 0x804D523: yy::operator+(yy::position const&, int) 
(position.hh:91)
==32338==    by 0x804D566: yy::operator-(yy::position const&, int) 
(position.hh:105)
==32338==    by 0x804D642: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:109)
==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, int*, 
int*) (calc.cc:2204)
==32338==    by 0x804CF72: calcparse(yy::parser&, int*, int*) (calc.cc:2417)
==32338==    by 0x804D124: yy::parser::parse() (calc.cc:2756)
==32338== 
==32338== Use of uninitialised value of size 4
==32338==    at 0x1B973597: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:869)
==32338==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
==32338==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
==32338==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
==32338==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
==32338==    by 0x804D5D2: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
==32338==    by 0x804D669: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, int*, 
int*) (calc.cc:2204)
==32338== 
==32338== Conditional jump or move depends on uninitialised value(s)
==32338==    at 0x1B9735A0: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:867)
==32338==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
==32338==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
==32338==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
==32338==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
==32338==    by 0x804D5D2: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
==32338==    by 0x804D669: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, int*, 
int*) (calc.cc:2204)
463686479.1388308472==32338== 
==32338== Conditional jump or move depends on uninitialised value(s)
==32338==    at 0x804D6D5: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:115)
==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, int*, 
int*) (calc.cc:2204)
==32338==    by 0x804CF72: calcparse(yy::parser&, int*, int*) (calc.cc:2417)
==32338==    by 0x804D124: yy::parser::parse() (calc.cc:2756)
==32338==    by 0x804D165: calcparse(int*, int*) (calc.y:125)
==32338==    by 0x804D238: main (calc.y:276)
==32338== 
==32338== Conditional jump or move depends on uninitialised value(s)
==32338==    at 0x804D725: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:117)
==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, int*, 
int*) (calc.cc:2204)
==32338==    by 0x804CF72: calcparse(yy::parser&, int*, int*) (calc.cc:2417)
==32338==    by 0x804D124: yy::parser::parse() (calc.cc:2756)
==32338==    by 0x804D165: calcparse(int*, int*) (calc.y:125)
==32338==    by 0x804D238: main (calc.y:276)
-128686769: )
Cleanup: discarding lookahead token "number" (1.2: )
calc.at:653: cat stderr
--- expout      2006-01-18 21:45:26.000000000 -0800
+++ /home/eggert/src/gnu/bison/tests/testsuite.dir/at-stdout    2006-01-18 
21:45:26.000000000 -0800
@@ -1 +1,66 @@
 1.2: syntax error, unexpected number
+==32338==    at 0x804D4B5: yy::position::columns(int) (position.hh:62)
+==32338==    by 0x804D4ED: yy::operator+=(yy::position&, int) (position.hh:82)
+==32338==    by 0x804D523: yy::operator+(yy::position const&, int) 
(position.hh:91)
+==32338==    by 0x804D566: yy::operator-(yy::position const&, int) 
(position.hh:105)
+==32338==    by 0x804D642: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:109)
+==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
+==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
+==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
+==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
+==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, 
int*, int*) (calc.cc:2204)
+==32338==    by 0x804CF72: calcparse(yy::parser&, int*, int*) (calc.cc:2417)
+==32338==    by 0x804D124: yy::parser::parse() (calc.cc:2756)
+==32338== 
+==32338== Use of uninitialised value of size 4
+==32338==    at 0x1B973597: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:869)
+==32338==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
+==32338==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
+==32338==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
+==32338==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
+==32338==    by 0x804D5D2: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
+==32338==    by 0x804D669: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
+==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
+==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
+==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
+==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
+==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, 
int*, int*) (calc.cc:2204)
+==32338== 
+==32338== Conditional jump or move depends on uninitialised value(s)
+==32338==    at 0x1B9735A0: int std::__int_to_char<char, unsigned long>(char*, 
unsigned long, char const*, std::_Ios_Fmtflags, bool) (locale_facets.tcc:867)
+==32338==    by 0x1B98740A: std::ostreambuf_iterator<char, 
std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::_M_insert_int<unsigned 
long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, 
char, unsigned long) const (locale_facets.tcc:833)
+==32338==    by 0x1B9877B9: std::num_put<char, std::ostreambuf_iterator<char, 
std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, 
std::char_traits<char> >, std::ios_base&, char, unsigned long) const 
(locale_facets.tcc:1204)
+==32338==    by 0x1B98B7F5: std::ostream::operator<<(unsigned long) 
(locale_facets.h:2292)
+==32338==    by 0x1B98B953: std::ostream::operator<<(unsigned) (ostream:203)
+==32338==    by 0x804D5D2: yy::operator<<(std::ostream&, yy::position const&) 
(position.hh:117)
+==32338==    by 0x804D669: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:110)
+==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
+==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
+==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
+==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
+==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, 
int*, int*) (calc.cc:2204)
+463686479.1388308472==32338== 
+==32338== Conditional jump or move depends on uninitialised value(s)
+==32338==    at 0x804D6D5: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:115)
+==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
+==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
+==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
+==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
+==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, 
int*, int*) (calc.cc:2204)
+==32338==    by 0x804CF72: calcparse(yy::parser&, int*, int*) (calc.cc:2417)
+==32338==    by 0x804D124: yy::parser::parse() (calc.cc:2756)
+==32338==    by 0x804D165: calcparse(int*, int*) (calc.y:125)
+==32338==    by 0x804D238: main (calc.y:276)
+==32338== 
+==32338== Conditional jump or move depends on uninitialised value(s)
+==32338==    at 0x804D725: yy::operator<<(std::ostream&, yy::location const&) 
(location.hh:117)
+==32338==    by 0x804D385: yy::parser::yy_symbol_print_(int, 
yy::parser::semantic_type const*, yy::location const*) (calc.cc:2785)
+==32338==    by 0x8048D89: 
_Z15yy_symbol_printP8_IO_FILEiPKN2yy6parser13semantic_typeEPKNS1_8locationERS2_PiSA_
 (calc.cc:503)
+==32338==    by 0x804905E: yydestruct(char const*, int, 
yy::parser::semantic_type*, yy::location*, yy::parser&, int*, int*) 
(calc.cc:983)
+==32338==    by 0x80490ED: yydestroyGLRState(char const*, yyGLRState*, 
yy::parser&, int*, int*) (calc.cc:1005)
+==32338==    by 0x804C1C0: yyrecoverSyntaxError(yyGLRStack*, yy::parser&, 
int*, int*) (calc.cc:2204)
+==32338==    by 0x804CF72: calcparse(yy::parser&, int*, int*) (calc.cc:2417)
+==32338==    by 0x804D124: yy::parser::parse() (calc.cc:2756)
+==32338==    by 0x804D165: calcparse(int*, int*) (calc.y:125)
+==32338==    by 0x804D238: main (calc.y:276)
+-128686769: )
111. calc.at:653: FAILED (calc.at:653)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 2 tests were run,
2 failed unexpectedly.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `testsuite.log' and all information you think might help:

   To: <address@hidden>
   Subject: [GNU Bison 2.1a] testsuite: 110 111 failed





reply via email to

[Prev in Thread] Current Thread [Next in Thread]