re PR target/65810 (powerpc64 alignment of r2 insufficient for loading long-double...
authorAlan Modra <amodra@gmail.com>
Tue, 28 Apr 2015 03:47:19 +0000 (13:17 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 28 Apr 2015 03:47:19 +0000 (13:17 +0930)
commit3954ead0d88676855e877a8a20c05f49256260d7
treea4a4eb35291c72c4e8e3667ec61ef8760b899aa6
parent1a9f259288745633d1cec9991b55c08dfae2669b
re PR target/65810 (powerpc64 alignment of r2 insufficient for loading long-double constants)

PR target/65810
* config/rs6000/rs6000.c (POWERPC64_TOC_POINTER_ALIGNMENT): Define.
(offsettable_ok_by_alignment): Use minimum of decl and toc
pointer alignment.  Replace dead code with assertion.
(use_toc_relative_ref): Add mode arg.  Return false in -mcmodel=medium
case if size exceeds toc pointer alignment.
(rs6000_legitimize_reload_address): Update use_toc_relative_ref call.
(rs6000_emit_move): Likewise.
* configure.ac: Add linker toc pointer alignment check.
* configure: Regenerate.
* config.in: Regenerate.

From-SVN: r222498
gcc/ChangeLog
gcc/config.in
gcc/config/rs6000/rs6000.c
gcc/configure
gcc/configure.ac