aboutsummaryrefslogtreecommitdiff
path: root/gcc/range-op-float.cc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2022-11-16 08:58:44 +0100
committerTobias Burnus <tobias@codesourcery.com>2022-11-16 08:58:44 +0100
commitd59858f6ee7f356f27ccc2d29129826781f9483f (patch)
tree17e87a2709f7fd026ab3ef4070ae7812acc25c2d /gcc/range-op-float.cc
parent7f014022861b5b3f00be9bb32fe3fe772517ddac (diff)
downloadgcc-d59858f6ee7f356f27ccc2d29129826781f9483f.zip
gcc-d59858f6ee7f356f27ccc2d29129826781f9483f.tar.gz
gcc-d59858f6ee7f356f27ccc2d29129826781f9483f.tar.bz2
nvptx/mkoffload.cc: Fix "$nohost" check
If lhd_set_decl_assembler_name is invoked - in particular if !TREE_PUBLIC (decl) && !DECL_FILE_SCOPE_P (decl) - the '.nohost' suffix might change to '.nohost.2'. This happens for the existing reverse offload testcases via cgraph_node::analyze and is a side effect of r13-3455-g178ac530fe67e4f2fc439cc4ce89bc19d571ca31 for some reason. The solution is to not only check for a tailing '$nohost' but also for '$nohost$' in nvptx/mkoffload.cc. gcc/ChangeLog: * config/nvptx/mkoffload.cc (process): Recognize '$nohost$...' besides tailing '$nohost' as being for reverse offload.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions