2017-06-11 Tom de Vries <tom@codesourcery.com>
PR target/79939
* config/nvptx/nvptx.c (nvptx_cannot_force_const_mem): New function.
Return true.
(TARGET_CANNOT_FORCE_CONST_MEM): Redefine to
nvptx_cannot_force_const_mem.
From-SVN: r249106
+2017-06-11 Tom de Vries <tom@codesourcery.com>
+
+ PR target/79939
+ * config/nvptx/nvptx.c (nvptx_cannot_force_const_mem): New function.
+ Return true.
+ (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to
+ nvptx_cannot_force_const_mem.
+
2017-06-10 Jan Hubicka <hubicka@ucw.cz>
* opts.c (finish_options): Move test for flag_split_stack after
}
}
+static bool
+nvptx_cannot_force_const_mem (machine_mode mode ATTRIBUTE_UNUSED,
+ rtx x ATTRIBUTE_UNUSED)
+{
+ return true;
+}
+
#undef TARGET_OPTION_OVERRIDE
#define TARGET_OPTION_OVERRIDE nvptx_option_override
#undef TARGET_GOACC_REDUCTION
#define TARGET_GOACC_REDUCTION nvptx_goacc_reduction
+#undef TARGET_CANNOT_FORCE_CONST_MEM
+#define TARGET_CANNOT_FORCE_CONST_MEM nvptx_cannot_force_const_mem
+
struct gcc_target targetm = TARGET_INITIALIZER;
#include "gt-nvptx.h"