Roland McGrath <mcgrathr@google.com>
authorRoland McGrath <mcgrathr@google.com>
Mon, 11 Jun 2012 20:42:20 +0000 (20:42 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 11 Jun 2012 20:42:20 +0000 (13:42 -0700)
commita04739cb173e53b73d3b451d336d63bcb33f1566
treec7ebdf0a44ddb7c9615aecb8bb202ff64ccf4157
parentf9f472bd6a3080e0be5aed7c05f05c65abbf2fb2
Roland McGrath  <mcgrathr@google.com>

* dwarf2out.c (const_ok_for_output_1): Detect a TLS UNSPEC using
SYMBOL_REF_TLS_MODEL rather than DECL_THREAD_LOCAL_P, in case it's
not a VAR_DECL.  Also don't limit it to UNSPECs with exactly one
operand.

From-SVN: r188398
gcc/ChangeLog
gcc/dwarf2out.c