[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/8] {branch-2.6} more fixes for -Wuninitialized warnings
From: |
Akim Demaille |
Subject: |
[PATCH 0/8] {branch-2.6} more fixes for -Wuninitialized warnings |
Date: |
Tue, 6 Nov 2012 17:47:09 +0100 |
These patches update, and complete, the patches I sent originally.
"make maintainer-release-check" found unexpected failures when one
uses a push parser with the pull interface. There are areas in the
push parser that I don't understand well enough (at least, I have the
impression that there could be some significant simplifications),
but I am not willing to do that in branch-2.6.
Akim Demaille (8):
yacc.c: simplify initialization
yacc.c, glr.c: a better YY_LOCATION_PRINT
glr.cc, yacc.c: initialize yylloc properly
yacc.c: also disable -Wuninitialized.
tests: check that C and C++ objects can be linked together.
lalr1.cc: always initialize yylval.
tests: remove useless location initializations
tests: calc: modernize the use of locations
NEWS | 3 ++
data/c.m4 | 43 ++++++++++++++++----
data/glr.c | 26 ++----------
data/glr.cc | 9 ++++-
data/lalr1.cc | 3 +-
data/yacc.c | 60 +++++++++------------------
tests/actions.at | 121 ++++++++++++++++++++++++++++++++++++++++---------------
tests/calc.at | 35 +++++-----------
tests/headers.at | 9 +++--
tests/local.at | 47 +++++++++++++++++----
10 files changed, 213 insertions(+), 143 deletions(-)
--
1.8.0
- [PATCH 0/8] {branch-2.6} more fixes for -Wuninitialized warnings,
Akim Demaille <=
- [PATCH 3/8] glr.cc, yacc.c: initialize yylloc properly, Akim Demaille, 2012/11/06
- [PATCH 4/8] yacc.c: also disable -Wuninitialized., Akim Demaille, 2012/11/06
- [PATCH 6/8] lalr1.cc: always initialize yylval., Akim Demaille, 2012/11/06
- [PATCH 2/8] yacc.c, glr.c: a better YY_LOCATION_PRINT, Akim Demaille, 2012/11/06
- [PATCH 8/8] tests: calc: modernize the use of locations, Akim Demaille, 2012/11/06
- [PATCH 1/8] yacc.c: simplify initialization, Akim Demaille, 2012/11/06
- [PATCH 5/8] tests: check that C and C++ objects can be linked together., Akim Demaille, 2012/11/06
- [PATCH 7/8] tests: remove useless location initializations, Akim Demaille, 2012/11/06