[RS6000] TOC refs generated during reload
authorAlan Modra <amodra@gmail.com>
Mon, 8 Aug 2016 12:05:11 +0000 (21:35 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 8 Aug 2016 12:05:11 +0000 (21:35 +0930)
commita1c138325c69c051fa9eb04d350ca2967a6480f7
tree4559853e5b109a7d8873235049434af8305d6208
parent7090cac9f7c9aabd4ad252e6d49b42bdcac85f67
[RS6000] TOC refs generated during reload

The generic reload fix for pr72771 exposed a problem with recognizing
-mcmodel=medium/large TOC references generated during reload.

PR target/72771
* config/rs6000/rs6000.c (toc_relative_expr_p): Allow (lo_sum (high))
toc refs created during reload.  Update function comment.

From-SVN: r239240
gcc/ChangeLog
gcc/config/rs6000/rs6000.c