aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2005-07-26 18:47:05 +0000
committerDale Johannesen <dalej@gcc.gnu.org>2005-07-26 18:47:05 +0000
commit576a47952bf100af4edb560d6e6e05979ffdd884 (patch)
tree47b18de3014cb8f2ce64a54de5550be21035cdd5
parent06e8925e96e114b54c2f063a15b62d32201a09e7 (diff)
downloadgcc-576a47952bf100af4edb560d6e6e05979ffdd884.zip
gcc-576a47952bf100af4edb560d6e6e05979ffdd884.tar.gz
gcc-576a47952bf100af4edb560d6e6e05979ffdd884.tar.bz2
postreload-gcse.c (alloc_mem): Start CUID numbering at 1.
2005-07-26 Dale Johannesen <dalej@apple.com> * postreload-gcse.c (alloc_mem): Start CUID numbering at 1. From-SVN: r102391
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/postreload-gcse.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6031f3e..4f71adc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-26 Dale Johannesen <dalej@apple.com>
+
+ * postreload-gcse.c (alloc_mem): Start CUID numbering at 1.
+
2005-07-26 Mark Mitchell <mark@codesourcery.com>
* doc/install.texi (--with-build-sysroot): Fix grammatical error.
diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c
index 4b7d0e9..a0334ab 100644
--- a/gcc/postreload-gcse.c
+++ b/gcc/postreload-gcse.c
@@ -225,7 +225,7 @@ alloc_mem (void)
/* Find the largest UID and create a mapping from UIDs to CUIDs. */
uid_cuid = xcalloc (get_max_uid () + 1, sizeof (int));
- i = 0;
+ i = 1;
FOR_EACH_BB (bb)
FOR_BB_INSNS (bb, insn)
{