Re: [C++ Patch] PR 55801

2013-01-09 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 55801

2013-01-08 Thread Paolo Carlini
Hi, On 01/08/2013 09:00 PM, Jason Merrill wrote: I think I'd rather handle this by returning false from var_needs_tls_wrapper. Ah Ok. Then what about the below? Thanks, Paolo. // /cp 2013-01-09 Paolo Carlini PR c++/55801 * decl2.c (var_needs_tls_wrapper

Re: [C++ Patch] PR 55801

2013-01-08 Thread Jason Merrill
I think I'd rather handle this by returning false from var_needs_tls_wrapper. Jason

[C++ Patch] PR 55801

2013-01-08 Thread Paolo Carlini
Hi, a simple ICE on invalid: the problem manifests itself when, during error recovery, var_defined_without_dynamic_init does TYPE_HAS_NONTRIVIAL_DESTRUCTOR (TREE_TYPE (var)) for a VAR_DECL which has error_mark_node as TREE_TYPE. It seems to me that a good place to avoid this is finish_id_exp