re PR c++/55801 (ICE with thread_local after ill-formed declaration)
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 9 Jan 2013 14:43:50 +0000 (14:43 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 9 Jan 2013 14:43:50 +0000 (14:43 +0000)
commitfdbff37f390c9bb60794be943acb898159717834
tree7ee3571a404ca61b085d951e2c2b45b35989eb13
parentf0d5414883f580b91d88025c4c8c8863321048f7
re PR c++/55801 (ICE with thread_local after ill-formed declaration)

/cp
2013-01-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/55801
* decl2.c (var_needs_tls_wrapper): Return false when error_operand_p
of the argument is true.

/testsuite
2013-01-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/55801
* g++.dg/tls/thread_local-ice.C: New.

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