This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Important patch for 1.1.1
- To: egcs-patches at cygnus dot com
- Subject: Important patch for 1.1.1
- From: "Charles M. Hannum" <root at ihack dot net>
- Date: Sat, 21 Nov 1998 17:02:40 -0500 (EST)
The following change fixed a bug that caused at least two serious
problems in NetBSD:
1) It caused GNU malloc() to fail on the m68k.
2) It caused one of our Ethernet drivers to fail on the i386.
I'd appreciate it if this could be pulled up to the 1.1.1 branch.
CVS log for gcc/global.c
...
1.13 Tue Sep 8 0:29:34 1998 by law
CVS Tags: egcs_ss_19980914
Diffs to 1.12
* global.c: Update comments.
(global_alloc): Assign allocation-numbers
even for registers allocated by local_alloc in case
they are later spilled and retry_global_alloc is called.
(mark_reg_store, mark_reg_clobber,
mark_reg_conflicts, mark_reg_death): Always record a
conflict with a pseudo register even if it has been
assigned to a hard register.
(dump_conflicts): Don't list pseudo registers already assigned to
a hard register as needing to be allocated, but do list their
conflicts.
* local-alloc.c: Update comment.