diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2015-11-19 17:37:12 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2015-11-19 12:37:12 -0500 |
commit | 498cb3c3200161be080af98733be859294cd439b (patch) | |
tree | 71ada635a5d06353f5db16143a2226396fa19549 /gcc | |
parent | 1014b6f54b75b690b81dfac4b284961c2fb51646 (diff) | |
download | gcc-498cb3c3200161be080af98733be859294cd439b.zip gcc-498cb3c3200161be080af98733be859294cd439b.tar.gz gcc-498cb3c3200161be080af98733be859294cd439b.tar.bz2 |
revert: rs6000.c (use_toc_relative_ref): Ignore type-limits warning.
2015-11-19 David Edelsohn <dje.gcc@gmail.com>
Revert
2015-11-18 Alan Modra <amodra@gmail.com>
* config/rs6000/rs6000.c (use_toc_relative_ref): Ignore
type-limits warning.
From-SVN: r230619
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 5 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e8383f..096b069 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2015-11-19 David Edelsohn <dje.gcc@gmail.com> + + Revert + 2015-11-18 Alan Modra <amodra@gmail.com> + + * config/rs6000/rs6000.c (use_toc_relative_ref): Ignore + type-limits warning. + + 2015-11-19 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> * tree.h (desired_pro_or_demotion_p): New function. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 5962889..457e944 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -7994,17 +7994,12 @@ rs6000_cannot_force_const_mem (machine_mode mode ATTRIBUTE_UNUSED, rtx x) static bool use_toc_relative_ref (rtx sym, machine_mode mode) { -/* Silence complaint that the POWERPC64_TOC_POINTER_ALIGNMENT test - is always true. */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wtype-limits" return ((constant_pool_expr_p (sym) && ASM_OUTPUT_SPECIAL_POOL_ENTRY_P (get_pool_constant (sym), get_pool_mode (sym))) || (TARGET_CMODEL == CMODEL_MEDIUM && SYMBOL_REF_LOCAL_P (sym) && GET_MODE_SIZE (mode) <= POWERPC64_TOC_POINTER_ALIGNMENT)); -#pragma GCC diagnostic pop } /* Our implementation of LEGITIMIZE_RELOAD_ADDRESS. Returns a value to |