Commit ebd3cb12 by Richard Sandiford Committed by Richard Sandiford

re PR target/63171 (Segfault in rs6000.c:rs6000_emit_move for multiple tls tests…

re PR target/63171 (Segfault in rs6000.c:rs6000_emit_move for multiple tls tests starting with r214658)

gcc/
	PR middle-end/63171
	* rtlanal.c (tls_referenced_p): Don't skip constant subrtxes.

From-SVN: r214989
parent 811e4f15
2014-09-06 Richard Sandiford <rdsandiford@googlemail.com>
PR middle-end/63171
* rtlanal.c (tls_referenced_p): Don't skip constant subrtxes.
2014-09-06 Tom de Vries <tom@codesourcery.com> 2014-09-06 Tom de Vries <tom@codesourcery.com>
* ira-costs.c (ira_tune_allocno_costs): Don't conditionalize * ira-costs.c (ira_tune_allocno_costs): Don't conditionalize
...@@ -6072,7 +6072,7 @@ tls_referenced_p (const_rtx x) ...@@ -6072,7 +6072,7 @@ tls_referenced_p (const_rtx x)
return false; return false;
subrtx_iterator::array_type array; subrtx_iterator::array_type array;
FOR_EACH_SUBRTX (iter, array, x, NONCONST) FOR_EACH_SUBRTX (iter, array, x, ALL)
if (GET_CODE (*iter) == SYMBOL_REF && SYMBOL_REF_TLS_MODEL (*iter) != 0) if (GET_CODE (*iter) == SYMBOL_REF && SYMBOL_REF_TLS_MODEL (*iter) != 0)
return true; return true;
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment