This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch/RFC] PR 58671


Hi,

On 01/14/2015 04:00 PM, Jason Merrill wrote:
On 01/14/2015 08:13 AM, Paolo Carlini wrote:
in order to avoid ICEing in var_defined_without_dynamic_init for
self-initialized thread_local vars, shall we simply return false for those?

What is clearing DECL_INITIALIZED_P  for such variables?
I can look again, but as far as I remember nothing is clearing it, it just stay false because the ICE happens while we process the 'i' on the right hand side and the DECL_INITIALIZED_P becomes true only in cp_finish_decl.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]