diff options
author | Martin Sebor <msebor@redhat.com> | 2016-11-29 21:08:02 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2016-11-29 14:08:02 -0700 |
commit | 01a4551ceba1063466ab1cbd3e2f4a8df31b2358 (patch) | |
tree | 5fbc744df1a8f6439838b03be9b6d394153c091e /gcc/target.def | |
parent | a918548079a2af0db87abf7611aac4ab4b691c39 (diff) | |
download | gcc-01a4551ceba1063466ab1cbd3e2f4a8df31b2358.zip gcc-01a4551ceba1063466ab1cbd3e2f4a8df31b2358.tar.gz gcc-01a4551ceba1063466ab1cbd3e2f4a8df31b2358.tar.bz2 |
PR tree-optimization/78512 - [7 Regression] r242674 miscompiles Linux kernel
gcc/ChangeLog:
PR tree-optimization/78512
* config/linux.h (TARGET_PRINTF_POINTER_FORMAT): Remove.
* config/rs6000/linux.h: Same.
* config/rs6000/linux64.h: Same.
* config/sol2.h: Same.
* config/sol2.c (solaris_printf_pointer_format): Remove.
* doc/tm.texi.in (TARGET_PRINTF_POINTER_FORMAT): Remove.
* doc/tm.texi: Regenerate.
* gimple-ssa-sprintf.c (format_pointer): Rempove.
(pass_sprintf_length::compute_format_length): Return bool.
(pass_sprintf_length::handle_gimple_call): Adjust.
* target.def (printf_pointer_format): Remove.
* targhooks.c (default_printf_pointer_format): Remove.
(linux_printf_pointer_format): Same.
* targhooks.h (default_printf_pointer_format): Remove.
(linux_printf_pointer_format, solaris_printf_pointer_format): Same.
gcc/testsuite/ChangeLog:
PR tree-optimization/78512
* gcc.dg/tree-ssa/builtin-sprintf-6.c: Add test cases.
* gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Remove test cases.
From-SVN: r242975
Diffstat (limited to 'gcc/target.def')
-rw-r--r-- | gcc/target.def | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/target.def b/gcc/target.def index 417cd02..ac3470e 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -3381,12 +3381,6 @@ greater than 128 and a multiple of 32.", machine_mode, (int n, bool extended), default_floatn_mode) -DEFHOOK -(printf_pointer_format, - "Determine the target @code{printf} implementation format string that the most closely corresponds to the @code{%p} format directive. The object pointed to by the @var{flags} is set to a string consisting of recognized format flags such as the @code{'#'} character.", - const char*, (tree, const char **flags), - default_printf_pointer_format) - /* Compute cost of moving data from a register of class FROM to one of TO, using MODE. */ DEFHOOK |