re PR c++/85061 (ICE with __builtin_offsetof applied to static member)
PR c++/85061 * c-common.c (fold_offsetof_1) <case COMPOUND_EXPR>: Assert that get_base_address of the second operand is a VAR_P, rather than the operand itself, and use gcc_checking_assert instead of gcc_assert. * g++.dg/ext/builtin-offsetof3.C: New test. From-SVN: r258902
Showing
gcc/testsuite/g++.dg/ext/builtin-offsetof3.C
0 → 100644
Please
register
or
sign in
to comment