From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/gcc/gcc-3.3.3/reverse-compare.patch | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 recipes/gcc/gcc-3.3.3/reverse-compare.patch (limited to 'recipes/gcc/gcc-3.3.3/reverse-compare.patch') diff --git a/recipes/gcc/gcc-3.3.3/reverse-compare.patch b/recipes/gcc/gcc-3.3.3/reverse-compare.patch new file mode 100644 index 0000000000..7b6c1b6425 --- /dev/null +++ b/recipes/gcc/gcc-3.3.3/reverse-compare.patch @@ -0,0 +1,31 @@ +--- gcc-3.3.3/gcc/flow.c~ 2003-07-30 01:57:24.000000000 +0100 ++++ gcc-3.3.3/gcc/flow.c 2004-04-23 19:23:43.000000000 +0100 +@@ -1904,6 +1904,7 @@ + regset diff = INITIALIZE_REG_SET (diff_head); + basic_block bb_true, bb_false; + rtx cond_true, cond_false, set_src; ++ enum rtx_code reversed_code; + int i; + + /* Identify the successor blocks. */ +@@ -1934,7 +1935,11 @@ + /* Extract the condition from the branch. */ + set_src = SET_SRC (pc_set (bb->end)); + cond_true = XEXP (set_src, 0); +- cond_false = gen_rtx_fmt_ee (reverse_condition (GET_CODE (cond_true)), ++ reversed_code = reverse_condition (GET_CODE (cond_true)); ++ if (reversed_code == UNKNOWN) ++ goto skip; ++ ++ cond_false = gen_rtx_fmt_ee (reversed_code, + GET_MODE (cond_true), XEXP (cond_true, 0), + XEXP (cond_true, 1)); + if (GET_CODE (XEXP (set_src, 1)) == PC) +@@ -1980,6 +1985,7 @@ + }); + } + ++ skip: + FREE_REG_SET (diff); + } + #endif -- cgit v1.2.3