diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-03-01 17:04:14 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-03-01 10:04:14 -0700 |
commit | de153e82901428764173c157c0647ccc5e532f22 (patch) | |
tree | c502797f44a3df6b1f00cc012a4910f59a628e1a /gcc | |
parent | 81023100d3ae76c0a71d83247aa5b9d35732448f (diff) | |
download | gcc-de153e82901428764173c157c0647ccc5e532f22.zip gcc-de153e82901428764173c157c0647ccc5e532f22.tar.gz gcc-de153e82901428764173c157c0647ccc5e532f22.tar.bz2 |
* fold-const.c (fold_range_test): Always return a value.
From-SVN: r18343
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fold-const.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8a261c5..6e05c50 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com) + + * fold-const.c (fold_range_test): Always return a value. + Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu> * config/i386/winnt.c (i386_pe_unique_section): Put read-only diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 12d9cad..32f3996 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -3255,8 +3255,9 @@ fold_range_test (exp) TREE_TYPE (exp), lhs, rhs); } } - else - return 0; + + + return 0; } /* Subroutine for fold_truthop: C is an INTEGER_CST interpreted as a P |