arm64: make iamax kernel buildable by clang

Signed-off-by: Paul Osmialowski <pawel.osmialowski@arm.com>
This commit is contained in:
Paul Osmialowski 2017-08-02 17:39:36 +01:00
parent ebb04e3265
commit 37d2178f10
1 changed files with 2 additions and 1 deletions

View File

@ -208,7 +208,8 @@ extern int blas_level1_thread_with_return_value(int mode, BLASLONG m, BLASLONG n
#endif
static BLASLONG iamax_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x)
static BLASLONG __attribute__((noinline)) iamax_compute(BLASLONG n, FLOAT *x,
BLASLONG inc_x)
{
BLASLONG index = 0;