2017-06-09 Tom de Vries <tom@codesourcery.com>
PR target/80855
* config/nvptx/nvptx.md (define_expand "mov<QHSDISDFM>"): Error out with
"target cannot support label values" when encountering LABEL_REF.
* gcc.target/nvptx/label-values.c: New test.
From-SVN: r249060
+2017-06-09 Tom de Vries <tom@codesourcery.com>
+
+ PR target/80855
+ * config/nvptx/nvptx.md (define_expand "mov<QHSDISDFM>"): Error out with
+ "target cannot support label values" when encountering LABEL_REF.
+
2017-06-09 Martin Liska <mliska@suse.cz>
* tree-profile.c (gimple_gen_ic_profiler): Update comment.
emit_move_insn (operands[0], tmp);
DONE;
}
+
+ if (GET_CODE (operands[1]) == LABEL_REF)
+ sorry ("target cannot support label values");
})
(define_insn "zero_extendqihi2"
+2017-06-09 Tom de Vries <tom@codesourcery.com>
+
+ PR target/80855
+ * gcc.target/nvptx/label-values.c: New test.
+
2017-06-09 Thomas Preud'homme <thomas.preudhomme@arm.com>
* lib/target-supports.exp (check_effective_target_arm_arch_FUNC_ok):
--- /dev/null
+/* { dg-do compile } */
+/* { dg-additional-options "-Wno-pedantic" } */
+
+int
+main (void)
+{
+ goto L2;
+ L1:
+ return 0;
+ L2:
+ {
+ void *ptr = &&L1; /* { dg-message "sorry, unimplemented: target cannot support label values" "" } */
+ }
+}