aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-18 09:15:53 +0000
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-18 09:15:53 +0000
commit4261520ed438eb79f4d92fb0e1a299d7f9577ba2 (patch)
tree34b0182906d522e088aa640c36f782e8ded3daae /gcc/ChangeLog
parent448bd1e343efa96fae7a0b551e24431b0a3a71ce (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@235099 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 50ef52ff984..dd242443072 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-18 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * has-brig.c (lendian16): Don't try to use __builtin_bswap16
+ unless compiling with at least GCC-4.8.
+
2016-04-15 Kirill Yukhin <kirill.yukhin@intel.com>
PR target/70662