diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 69959aa52bf7..22edc49e5ffb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-12-11 Aldy Hernandez + + * flow.c (find_regno_partial): Indent properly. Add a default to + switch. + 2001-12-11 Neil Booth * c-common.c (combine_strings): Complain if concatenating diff --git a/gcc/flow.c b/gcc/flow.c index 69147f340900..0d9b723efa5e 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -1322,24 +1322,27 @@ find_regno_partial (ptr, data) switch (GET_CODE (*ptr)) { - case ZERO_EXTRACT: - case SIGN_EXTRACT: - case STRICT_LOW_PART: - if (GET_CODE (XEXP (*ptr, 0)) == REG && REGNO (XEXP (*ptr, 0)) == reg) - { - param->retval = XEXP (*ptr, 0); - return 1; - } - break; + case ZERO_EXTRACT: + case SIGN_EXTRACT: + case STRICT_LOW_PART: + if (GET_CODE (XEXP (*ptr, 0)) == REG && REGNO (XEXP (*ptr, 0)) == reg) + { + param->retval = XEXP (*ptr, 0); + return 1; + } + break; - case SUBREG: - if (GET_CODE (SUBREG_REG (*ptr)) == REG - && REGNO (SUBREG_REG (*ptr)) == reg) - { - param->retval = SUBREG_REG (*ptr); - return 1; - } - break; + case SUBREG: + if (GET_CODE (SUBREG_REG (*ptr)) == REG + && REGNO (SUBREG_REG (*ptr)) == reg) + { + param->retval = SUBREG_REG (*ptr); + return 1; + } + break; + + default: + break; } return 0;