r235099 - in /branches/gcc-6-branch/gcc: Change...
segher@gcc.gnu.org
segher@gcc.gnu.org
Mon Apr 18 09:15:00 GMT 2016
Author: segher
Date: Mon Apr 18 09:15:53 2016
New Revision: 235099
URL: https://gcc.gnu.org/viewcvs?rev=235099&root=gcc&view=rev
Log:
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.
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/hsa-brig.c
More information about the Gcc-cvs
mailing list