aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.ch>2004-01-24 10:57:07 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2004-01-24 10:57:07 +0100
commit174b84e5c2bbbef10170f7192612c43198c1738a (patch)
tree2b25b335760731df7e56d5e0abd228c8915bf5c3 /gcc
parent16537909997615938403e3ac9ea83d04457f5608 (diff)
downloadgcc-174b84e5c2bbbef10170f7192612c43198c1738a.zip
gcc-174b84e5c2bbbef10170f7192612c43198c1738a.tar.gz
gcc-174b84e5c2bbbef10170f7192612c43198c1738a.tar.bz2
cse.c: (cse_cc_succs) Fix comparison warning.
2004-01-24 Andreas Tobler <a.tobler@schweiz.ch> * cse.c: (cse_cc_succs) Fix comparison warning. From-SVN: r76487
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cse.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 920959b..75da346 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * cse.c: (cse_cc_succs) Fix comparison warning.
+
2004-01-24 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md: Remove extraneous USE in expanders.
diff --git a/gcc/cse.c b/gcc/cse.c
index 1ec01f9..90c67c0 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -7806,7 +7806,7 @@ cse_cc_succs (basic_block bb, rtx cc_reg, rtx cc_src, bool can_change_mode)
if (found)
{
found_equiv = true;
- if (insn_count < sizeof insns / sizeof insn[0])
+ if (insn_count < ARRAY_SIZE(insns))
{
insns[insn_count] = insn;
modes[insn_count] = set_mode;