fix evaluation of assignment and qualified arrays
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | add a testcase for assignment to const <type> (*)[]validation/ | +7 | 0 replies | |
| 2/4 | add another testcase with const array/pointervalidation/ | +50 | 0 replies | |
| 3/4 | add testcase for missing warning for assignment to constvalidation/ | +29 | 0 replies | |
| 4/4 | fix evaluation error with assignment of qualified arraysevaluate.c validation/ validation/ | +2 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Ard Biesheuvel |
|---|---|
| 1/4 | Analyzed-by |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] fix evaluation of assignment and qualified arrays
This series contains a tentative fix for a problem reported today on the mailing list as well as some related testcases. The problem concerns the assignment of pointers to const arrays, like the following code:
int a[2][3]; const int (*p)[3] = a;
which was incorrectly given a warning.
Luc Van Oostenryck (4):
add a testcase for assignment to const <type> (*)[] add another testcase with const array/pointer
add testcase for missing warning for assignment to const [RFC] fix evaluation error with assignment of qualified arrays
evaluate.c | 4 +-- validation/eval/array-quals-node.c | 29 ++++++++++++++++++ validation/eval/array-quals0.c | 6 ++++ validation/eval/array-quals1.c | 49 ++++++++++++++++++++++++++++++ 4 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 validation/eval/array-quals-node.c create mode 100644 validation/eval/array-quals0.c create mode 100644 validation/eval/array-quals1.c
Signature · 1 line
2.27.0