summaryrefslogtreecommitdiff
path: root/gcc/lambda-mat.c
diff options
context:
space:
mode:
authortneumann <tneumann@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 14:33:57 +0000
committertneumann <tneumann@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 14:33:57 +0000
commiteb7d9cdc889a5abede7c7927d707882401f04654 (patch)
treeb80fec3949a169acee5421cfa7637d4c4eec7242 /gcc/lambda-mat.c
parent4c580c8cd630886cae63a8d75f0576666d52267e (diff)
downloadgcc-eb7d9cdc889a5abede7c7927d707882401f04654.tar.gz
* lambda-code.c (struct lambda_lattice_s): Add a name to the struct.
(lambda_body_vector_new): Use type safe memory macros. (lambda_linear_expression_new): Likewise. (lambda_loopnest_new): Likewise. (lambda_lattice_new): Likewise. (replace_uses_equiv_to_x_with_y): Cast according to the coding conventions. Use type safe memory macros. * lambda.h (struct lambda_trans_matrix_s): Add a name to the struct. (lambda_body_vector_s): Likewise. * lambda-mat.c (lambda_matrix_new): Use type safe memory macros. * lambda-trans.c (lambda_trans_matrix_new): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125491 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lambda-mat.c')
-rw-r--r--gcc/lambda-mat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lambda-mat.c b/gcc/lambda-mat.c
index 39b75e66f73..bd383bc9d5c 100644
--- a/gcc/lambda-mat.c
+++ b/gcc/lambda-mat.c
@@ -37,7 +37,7 @@ lambda_matrix_new (int m, int n)
lambda_matrix mat;
int i;
- mat = ggc_alloc (m * sizeof (lambda_vector));
+ mat = GGC_NEWVEC (lambda_vector, m);
for (i = 0; i < m; i++)
mat[i] = lambda_vector_new (n);