diff options
author | Andreas Jaeger <aj@suse.de> | 2001-01-01 23:20:49 +0100 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2001-01-01 15:20:49 -0700 |
commit | 021d7b267e4ce91b56eb752ac0d0d3798d163f56 (patch) | |
tree | fd82e11d03a30b7a7b787d2b56f1e311008f1000 /gcc/loop.c | |
parent | cf01124384cddd2ab5526a356a5ad7628c73f017 (diff) | |
download | gcc-021d7b267e4ce91b56eb752ac0d0d3798d163f56.zip gcc-021d7b267e4ce91b56eb752ac0d0d3798d163f56.tar.gz gcc-021d7b267e4ce91b56eb752ac0d0d3798d163f56.tar.bz2 |
* loop.c (scan_loop): Use xmalloc to allocate movables.
From-SVN: r38598
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ /* Perform various loop optimizations, including strength reduction. Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, - 1998, 1999, 2000 Free Software Foundation, Inc. + 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -909,7 +909,7 @@ scan_loop (loop, flags) if (VARRAY_INT (regs->set_in_loop, regno) == 2) { register struct movable *m; - m = (struct movable *) alloca (sizeof (struct movable)); + m = (struct movable *) xmalloc (sizeof (struct movable)); m->next = 0; m->insn = p; m->set_dest = SET_DEST (set); |