re PR c++/58671 ([c++11] ICE with thread_local and self-referential variable initiali...
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 14 Jan 2015 22:28:07 +0000 (22:28 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 14 Jan 2015 22:28:07 +0000 (22:28 +0000)
commit36b218ee8f31c868d1370df090a9ddc0594b1ba0
tree96e1255b764e798c3eafe4ea4ecfcc39128e60e1
parent622ef5dae9892df79bc88f7c36a5f6d7d37aa6e7
re PR c++/58671 ([c++11] ICE with thread_local and self-referential variable initialization)

/cp
2015-01-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58671
* decl2.c (var_defined_without_dynamic_init): Handle gracefully
self-initialization.

/testsuite
2015-01-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58671
* g++.dg/tls/thread_local-ice3.C: New.

From-SVN: r219621
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tls/thread_local-ice3.C [new file with mode: 0644]