aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2001-12-12 01:53:44 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2001-12-12 01:53:44 +0000
commite817125dbbc96845ced07f54f93df2d757d0398f (patch)
tree32ad3e745eda186ee14596f8cb1db079973c7a21
parentaa97fdf377270a635649c439139c86240cbc396b (diff)
downloadgcc-e817125dbbc96845ced07f54f93df2d757d0398f.zip
gcc-e817125dbbc96845ced07f54f93df2d757d0398f.tar.gz
gcc-e817125dbbc96845ced07f54f93df2d757d0398f.tar.bz2
output.h (regno_uninitialized): Make argument unsigned.
2001-12-11 Aldy Hernandez <aldyh@redhat.com> * output.h (regno_uninitialized): Make argument unsigned. * flow.c (regno_uninitialized): Make regno unsigned. From-SVN: r47910
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/flow.c2
-rw-r--r--gcc/output.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 10d5cbd..4151ff9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-11 Aldy Hernandez <aldyh@redhat.com>
+
+ * output.h (regno_uninitialized): Make argument unsigned.
+
+ * flow.c (regno_uninitialized): Make regno unsigned.
+
2001-12-11 David O'Brien <obrien@FreeBSD.org>
* elfos.h (ENDFILE_SPEC, STARTFILE_SPEC): Do not define.
diff --git a/gcc/flow.c b/gcc/flow.c
index 0d9b723..17f8277 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2245,7 +2245,7 @@ libcall_dead_p (pbi, note, insn)
int
regno_uninitialized (regno)
- int regno;
+ unsigned int regno;
{
if (n_basic_blocks == 0
|| (regno < FIRST_PSEUDO_REGISTER
diff --git a/gcc/output.h b/gcc/output.h
index fee817e..d733fce 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -141,7 +141,7 @@ extern int add_weak PARAMS ((const char *, const char *));
/* Functions in flow.c */
extern void allocate_for_life_analysis PARAMS ((void));
-extern int regno_uninitialized PARAMS ((int));
+extern int regno_uninitialized PARAMS ((unsigned int));
extern int regno_clobbered_at_setjmp PARAMS ((int));
extern void find_basic_blocks PARAMS ((rtx, int, FILE *));
extern bool cleanup_cfg PARAMS ((int));