diff options
Diffstat (limited to 'gcc/tree-ssa-math-opts.c')
-rw-r--r-- | gcc/tree-ssa-math-opts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 1ff06285de8..a85b6574216 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -151,7 +151,8 @@ occ_new (basic_block bb, struct occurrence *children) { struct occurrence *occ; - occ = bb->aux = pool_alloc (occ_pool); + bb->aux = pool_alloc (occ_pool); + occ = (struct occurrence *) bb->aux; memset (occ, 0, sizeof (struct occurrence)); occ->bb = bb; |