From 9449a01ede81cac4586abf0a4c421784b1654a8e Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 14 Nov 2018 13:07:03 +0000 Subject: [PATCH] re PR testsuite/88021 (aarch64 Busy hang running testcase pr60183.c since revision 265914) 2018-11-14 Richard Biener PR middle-end/88021 * tree-data-ref.c (lambda_matrix_row_add): Change const1 argument to lambda_int. (lambda_vector_mult_const): Likewise. (lambda_matrix_right_hermite): Use lambda_int temporaries. From-SVN: r266143 --- gcc/ChangeLog | 8 ++++++++ gcc/tree-data-ref.c | 12 +++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47d4930dd32..d70267d12be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2018-11-14 Richard Biener + + PR middle-end/88021 + * tree-data-ref.c (lambda_matrix_row_add): Change const1 argument + to lambda_int. + (lambda_vector_mult_const): Likewise. + (lambda_matrix_right_hermite): Use lambda_int temporaries. + 2018-11-14 Wilco Dijkstra Jackson Woodruff diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index 6019c6168bf..e8e68d7f20f 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -3398,8 +3398,9 @@ lambda_matrix_id (lambda_matrix mat, int size) mat[i][j] = (i == j) ? 1 : 0; } -/* Return the first nonzero element of vector VEC1 between START and N. - We must have START <= N. Returns N if VEC1 is the zero vector. */ +/* Return the index of the first nonzero element of vector VEC1 between + START and N. We must have START <= N. + Returns N if VEC1 is the zero vector. */ static int lambda_vector_first_nz (lambda_vector vec1, int n, int start) @@ -3414,7 +3415,8 @@ lambda_vector_first_nz (lambda_vector vec1, int n, int start) R2 = R2 + CONST1 * R1. */ static void -lambda_matrix_row_add (lambda_matrix mat, int n, int r1, int r2, int const1) +lambda_matrix_row_add (lambda_matrix mat, int n, int r1, int r2, + lambda_int const1) { int i; @@ -3430,7 +3432,7 @@ lambda_matrix_row_add (lambda_matrix mat, int n, int r1, int r2, int const1) static void lambda_vector_mult_const (lambda_vector vec1, lambda_vector vec2, - int size, int const1) + int size, lambda_int const1) { int i; @@ -3495,7 +3497,7 @@ lambda_matrix_right_hermite (lambda_matrix A, int m, int n, { while (S[i][j] != 0) { - int sigma, factor, a, b; + lambda_int sigma, factor, a, b; a = S[i-1][j]; b = S[i][j]; -- 2.30.2