aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/run.sh
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-09 10:24:39 +0100
committerlemon <lsof@mailbox.org>2026-03-09 10:24:39 +0100
commit1529b5221389c75371d0f3f181957a77a158a53c (patch)
tree89f2c9893c38fc74a4ed08c11c7d20c894bcf7b5 /test/run.sh
parent9f1e1fa5d89b0cd1ae5bef585eadd97870994344 (diff)
c: relax constexpr constraints, fix alignof
- 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.
Diffstat (limited to 'test/run.sh')
0 files changed, 0 insertions, 0 deletions