Add "sorry, target cannot support label values" for nvptx
authorTom de Vries <tom@codesourcery.com>
Fri, 9 Jun 2017 13:11:52 +0000 (13:11 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 9 Jun 2017 13:11:52 +0000 (13:11 +0000)
commit37f30285a934bf6eaf08e102658e3070030556ab
treebbd3f216baaee1fda79637b290ef9bc32ddc70f7
parent051508d769162f11d48b185a253408ffd849ee07
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
gcc/ChangeLog
gcc/config/nvptx/nvptx.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/nvptx/label-values.c [new file with mode: 0644]