OSDN Git Service

Fix stack overflow found by glibc compile with max optimizations.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jun 1998 20:17:26 +0000 (20:17 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jun 1998 20:17:26 +0000 (20:17 +0000)
commitd56876f510a60da696316cd72842635e900e77bd
tree93fbc1459e6675b3c705a7f66d20d7194d504e4b
parent97c8b24998250169a14127662345281e46c2fd9f
Fix stack overflow found by glibc compile with max optimizations.
* sched.c (schedule_insns): Use xmalloc not alloca for max_uid
indexed arrays.  Call free at the end of the function for them.
* haifa-sched.c (schedule_insns): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20563 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched.c