Re: [PATCH] Fix PR c++/48574

2011-05-06 Thread Dodji Seketeli
Jason Merrill ja...@redhat.com writes: How about type_dependent_expression_p_push instead? Like this ? Lightly tested. A full bootstrap and regression test is under way. Thanks. gcc/cp/ PR c++/48574 * class.c (fixed_type_or_null): Use type_dependent_p_push to test if the

Re: [PATCH] Fix PR c++/48574

2011-05-06 Thread Jason Merrill
On 05/06/2011 07:08 AM, Dodji Seketeli wrote: Jason Merrillja...@redhat.com writes: How about type_dependent_expression_p_push instead? Like this ? Lightly tested. A full bootstrap and regression test is under way. OK. Jason

[PATCH] Fix PR c++/48574

2011-05-05 Thread Dodji Seketeli
Hello, This is a leftover of the fix for PR c++/48574. When fold_non_dependent_expr sees the lvalue reference 'b' in the example of the patch below (because in finish_call_expr, make_args_non_dependent on 'b' calls build_non_dependent_expr which calls null_ptr_cst_p which calls

Re: [PATCH] Fix PR c++/48574

2011-05-05 Thread Jason Merrill
How about type_dependent_expression_p_push instead? Jason