| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
`const int x[]` was being treated as `const int x[const]`, which is
wrong, and matters when `x` is a function parameter that really decays
to a pointer (`int const *const x`)
|
| | |
|
| | |
|
| |
|
|
|
| |
Explicit node for static symbol (addresses). Should not break with edge
cases like the previous ad-hoc approach. And some other bugfixes
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Allow short-circuiting of constant logical expressions where the
unevaluated operand is not a constant expression (`1 || 0/0`)
- Allow constant integer expressions that evaluate to zero to be used
as null pointer constants (GNU extension).
+ According to the standard, `int *x = 5*0;` should be rejected.
But compilers evaluate `5*0 -> 0` and allow it as if a null pointer
literal.
|
| |
|