On 01/21/2012 06:02 AM, Richard Sandiford wrote:
Does this mean that the { target c++98 } lines are acceptable in C++11, while the { xfail c++11 } lines are still errors in C++11, but aren't detected?
Right.
The reason for asking is that the line: g<(void (A::*)())&B::f>(); // { dg-error "" } also fails for C++11 on targets that define TARGET_PTRMEMFUNC_VBIT_LOCATION to ptrmemfunc_vbit_in_delta. Is that expected, and if so, is the patch below OK? Or should I try to look at it a bit further first?
I'm not sure why that would be, but the patch is OK. I wouldn't worry about trying to get this line right until we fix the other xfails.
Jason