This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Add a missing break.


Committed as obvious. It was triggered by a patch I am working on, and adding the "break" produced the correct results.

Paolo

2005-02-21 Paolo Bonzini <bonzini@gnu.org>

        * simplify-rtx.c (simplify_unary_operation): Add a missing
        "break" statement.
Index: simplify-rtx.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/simplify-rtx.c,v
retrieving revision 1.228
diff -u -p -r1.228 simplify-rtx.c
--- simplify-rtx.c	12 Feb 2005 15:17:56 -0000	1.228
+++ simplify-rtx.c	21 Feb 2005 07:36:34 -0000
@@ -758,6 +758,7 @@ simplify_unary_operation (enum rtx_code 
 	      tmp[i] = ~tmp[i];
 	    real_from_target (&d, tmp, mode);
 	  }
+	  break;
 	default:
 	  gcc_unreachable ();
 	}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]