Name |
Last commit
|
Last update |
---|---|---|
.. | ||
dfp | ||
Wconversion-real.c | ||
asmgoto-1.c | ||
asmgoto-2.c | ||
asmgoto-3.c | ||
builtin-offsetof.c | ||
pr41935.c | ||
restrict-1.c | ||
restrict-2.c | ||
restrict-4.c |
re PR c/41935 (ICE : tree check: expected integer_cst, have nop_expr in int_cst_value, at tree.c:8301) PR middle-end/41935 * c-common.c (fold_offsetof_1) <case ARRAY_REF>: Don't crash for VLAs or non-constant index, allow index one past the last element and allow exceeding array bound in arrays that might be used as flexible array members. * gcc.dg/pr41935.c: New test. * c-c++-common/pr41935.c: New test. * c-c++-common/builtin-offsetof.c (f0): Allow index one past the last element. * gcc.c-torture/execute/pr41935.c: New test. From-SVN: r153962
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
dfp | Loading commit data... | |
Wconversion-real.c | Loading commit data... | |
asmgoto-1.c | Loading commit data... | |
asmgoto-2.c | Loading commit data... | |
asmgoto-3.c | Loading commit data... | |
builtin-offsetof.c | Loading commit data... | |
pr41935.c | Loading commit data... | |
restrict-1.c | Loading commit data... | |
restrict-2.c | Loading commit data... | |
restrict-4.c | Loading commit data... |