re PR middle-end/6196 (ICE in copy_to_mode_reg, at explow.c:711)
PR c++/6196 * pt.c (tsubst_copy_and_build): Correct handling of address-of-label extension. * semantics.c (finish_goto_stmt): The address of a label must go through the lvalue-to-rvalue conversion. PR c++/6196 * g++.dg/ext/label1.C: New test. * g++.dg/ext/label2.C: Likewise. From-SVN: r70932
Showing
gcc/testsuite/g++.dg/ext/label1.C
0 → 100644
gcc/testsuite/g++.dg/ext/label2.C
0 → 100644
Please
register
or
sign in
to comment