+2018-08-02 Tom de Vries <tdevries@suse.de>
+
+ PR target/86660
+ * common/config/nvptx/nvptx-common.c (nvptx_except_unwind_info): New
+ function. Return UI_TARGET unconditionally.
+ (TARGET_EXCEPT_UNWIND_INFO): Redefine to nvptx_except_unwind_info.
+ * config/nvptx/nvptx.c (TARGET_ASM_BYTE_OP): Emit commented out '.byte'.
+
2018-08-02 Richard Sandiford <richard.sandiford@arm.com>
* genemit.c (print_overload_test): Fix typo.
#include "opts.h"
#include "flags.h"
+enum unwind_info_type
+nvptx_except_unwind_info (struct gcc_options *opts ATTRIBUTE_UNUSED)
+{
+ return UI_TARGET;
+}
+
#undef TARGET_HAVE_NAMED_SECTIONS
#define TARGET_HAVE_NAMED_SECTIONS false
#undef TARGET_DEFAULT_TARGET_FLAGS
#define TARGET_DEFAULT_TARGET_FLAGS MASK_ABI64
+#undef TARGET_EXCEPT_UNWIND_INFO
+#define TARGET_EXCEPT_UNWIND_INFO nvptx_except_unwind_info
+
struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;
#undef TARGET_HAVE_SPECULATION_SAFE_VALUE
#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+#undef TARGET_ASM_BYTE_OP
+#define TARGET_ASM_BYTE_OP "// .byte "
+
struct gcc_target targetm = TARGET_INITIALIZER;
#include "gt-nvptx.h"
+2018-08-02 Tom de Vries <tdevries@suse.de>
+
+ PR target/86660
+ * testsuite/libgomp.oacc-c++/routine-1-auto.C: Remove -fno-exceptions.
+ * testsuite/libgomp.oacc-c++/routine-1-template-auto.C: Same.
+ * testsuite/libgomp.oacc-c++/routine-1-template-trailing-return-type.C:
+ Same.
+ * testsuite/libgomp.oacc-c++/routine-1-template.C: Same.
+ * testsuite/libgomp.oacc-c++/routine-1-trailing-return-type.C: Same.
+ * testsuite/libgomp.oacc-c-c++-common/routine-1.c: Same.
+
2018-08-01 Cesar Philippidis <cesar@codesourcery.com>
Thomas Schwinge <thomas@codesourcery.com>
// Routine with "auto" return type.
-// { dg-additional-options "-fno-exceptions" }
-
#define TEMPLATE
#define TYPE int
#define RETURN_1 auto
// Templated routine with "auto" return type.
-// { dg-additional-options "-fno-exceptions" }
-
#define TEMPLATE template<typename TYPE>
#define RETURN_1 auto
#define RETURN_2
// Templated routine using trailing return type syntax.
-// { dg-additional-options "-fno-exceptions" }
-
#define TEMPLATE template<typename TYPE>
#define RETURN_1 auto
#define RETURN_2 -> TYPE
// Templated routine.
-// { dg-additional-options "-fno-exceptions" }
-
#define TEMPLATE template<typename TYPE>
#define RETURN_1 TYPE
#define RETURN_2
// Routine using trailing return type syntax.
-// { dg-additional-options "-fno-exceptions" }
-
#define TEMPLATE
#define TYPE int
#define RETURN_1 auto
-// { dg-additional-options "-fno-exceptions" }
-
// Defaults, if not "#include"d from ../libgomp.oacc-c++/routine-1-*.C.
#ifndef TEMPLATE
# define TEMPLATE