summaryrefslogtreecommitdiff
path: root/libjava/include/java-stack.h
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2016-04-18 11:15:53 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2016-04-18 11:15:53 +0200
commit316bf64595c8997b77026e70e86239c9b0554d36 (patch)
tree34b0182906d522e088aa640c36f782e8ded3daae /libjava/include/java-stack.h
parent278c4d790349318af2f57ef49bf6be8c0a97d4f0 (diff)
hsa: Fix bootstrap with older host compilers
We didn't have __builtin_swap16 on all targets before GCC 4.8; hsa-brig tries to use it if the host GCC is 4.6 or up though, breaking bootstrap. This trivial patch fixes it. Noticed on gcc22. * has-brig.c (lendian16): Don't try to use __builtin_bswap16 unless compiling with at least GCC-4.8. From-SVN: r235099
Diffstat (limited to 'libjava/include/java-stack.h')
0 files changed, 0 insertions, 0 deletions