diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2024-12-16 11:48:11 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2025-01-08 23:16:35 +0100 |
commit | 975638b2d76ce6f26965ac3160c5af8029e16c29 (patch) | |
tree | bf10c33b6df04f90ab0e73ddf58a7d2511000a3a /gcc/gimplify.cc | |
parent | e5180fbcbcc356c71154413588288cbd30e5198d (diff) | |
download | gcc-975638b2d76ce6f26965ac3160c5af8029e16c29.zip gcc-975638b2d76ce6f26965ac3160c5af8029e16c29.tar.gz gcc-975638b2d76ce6f26965ac3160c5af8029e16c29.tar.bz2 |
nvptx: Add effective-target 'nvptx_softstack', use for effective-target 'alloca'
..., and thereby making the check for effective-target 'alloca' more explicit.
As of commit 5012919d0bd344ac1888e8e531072f0ccbe24d2c (Subversion r242503)
"nvptx backend prerequisites for OpenMP offloading", the check for
effective-target 'alloca' did "use a compile test"; let's make this more
explicit: supported for '-msoft-stack', not supported otherwise.
gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_nvptx_softstack): New.
(check_effective_target_alloca) [nvptx]: Use it.
gcc/
* doc/sourcebuild.texi (Effective-Target Keywords): Document
'nvptx_softstack'.
Diffstat (limited to 'gcc/gimplify.cc')
0 files changed, 0 insertions, 0 deletions