mirror of git://gcc.gnu.org/git/gcc.git
Add "sorry, target cannot support label values" for nvptx
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
This commit is contained in:
parent
051508d769
commit
37f30285a9
|
|
@ -1,3 +1,9 @@
|
|||
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.
|
||||
|
|
|
|||
|
|
@ -254,6 +254,9 @@
|
|||
emit_move_insn (operands[0], tmp);
|
||||
DONE;
|
||||
}
|
||||
|
||||
if (GET_CODE (operands[1]) == LABEL_REF)
|
||||
sorry ("target cannot support label values");
|
||||
})
|
||||
|
||||
(define_insn "zero_extendqihi2"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
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):
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
/* { 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" "" } */
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue