verification/rvgen: Fix variable definition generation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | verification/rvgen: Generate each variable definition only oncetools/ | +5 | 0 replies | |
| 2/2 | verification/rvgen: Do not generate unused variablestools/ | +21 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Gabriele Monaco |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] verification/rvgen: Fix variable definition generation
Hi,
The ltl2k script generates a variable definition for each node in the abstract syntax tree. This may causes compiler warning on the generated monitors, because:
- Some of the variables may be unused
- Some of the variables may be duplicated
This series fixes these issues.
Nam Cao (2):
verification/rvgen: Generate each variable definition only once verification/rvgen: Do not generate unused variables
tools/verification/rvgen/rvgen/ltl2k.py | 33 +++++++++++++++++++------ 1 file changed, 26 insertions(+), 7 deletions(-)
Signature · 1 line
2.39.5