From 4fce8e83ba05a8dcdc5a65be2e9b26457b1d9993 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Thu, 12 Mar 1998 00:15:19 +0000 Subject: [PATCH] i386.md (andsi): Add default case in enumeration switch. d * i386.md (andsi): Add default case in enumeration switch. (iorsi3): Likewise. (iorhi3): Likewise. (xorsi3): Likewise. * call.c (default_parm_conversions): Remove prototype definition. (build_method_call): Remove unused variable result. (build_over_call): Add default case in enumeration switch. From-SVN: r18493 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/i386.md | 12 ++++++++++++ gcc/cp/call.c | 2 ++ 3 files changed, 21 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2daa654ae2e..c4f54a2c805 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Thu Mar 12 09:11:35 1998 Manfred Hollstein + + * i386.md (andsi): Add default case in enumeration switch. + (iorsi3): Likewise. + (iorhi3): Likewise. + (xorsi3): Likewise. + Thu Mar 12 08:37:02 1998 Manfred Hollstein * c-decl (finish_struct): Change type of min_align to unsigned. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 8db8acf4f6b..a9c84203cec 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -3797,6 +3797,9 @@ word_zero_and_operation: operands[0] = adj_offsettable_operand (operands[0], 2); goto word_zero_and_operation; } + + default: + break; } return AS2 (and%L0,%2,%0); @@ -3995,6 +3998,9 @@ byte_or_operation: operands[0] = adj_offsettable_operand (operands[0], 3); goto byte_or_operation; } + + default: + break; } return AS2 (or%L0,%2,%0); @@ -4058,6 +4064,9 @@ byte_or_operation: goto byte_or_operation; } + + default: + break; } if (REG_P (operands[0]) @@ -4168,6 +4177,9 @@ byte_xor_operation: operands[0] = adj_offsettable_operand (operands[0], 3); goto byte_xor_operation; } + + default: + break; } return AS2 (xor%L0,%2,%0); diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 8fe87aa8c76..e38b7d3cf03 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -3341,6 +3341,8 @@ build_over_call (fn, convs, args, flags) if (converted_args == 0) return integer_zero_node; return build_unary_op (ABS_EXPR, TREE_VALUE (converted_args), 0); + default: + break; } fn = build_call (fn, TREE_TYPE (TREE_TYPE (TREE_TYPE (fn))), converted_args); -- 2.30.2