summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0188-PR-c-48742.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-17 17:11:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 11:50:07 +0100
commit0faa5f72999fea82fadda8bab70abea2303216c7 (patch)
tree05a8c18d2f67d883f94d2bd6f060ab0f4ac7f156 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0188-PR-c-48742.patch
parentc2007ba4cdb64fa9e308d3dae395c03ef4cc9161 (diff)
downloadpoky-0faa5f72999fea82fadda8bab70abea2303216c7.tar.gz
gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6 Remove the backport patches (From OE-Core rev: 68b545f4ff719f2b6e57d68b002dc9845c7a14ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0188-PR-c-48742.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0188-PR-c-48742.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0188-PR-c-48742.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0188-PR-c-48742.patch
deleted file mode 100644
index a93a84b806..0000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0188-PR-c-48742.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From 1a6d9e7052b3632a85ca6f79b48384fd684c4411 Mon Sep 17 00:00:00 2001
2From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Wed, 27 Apr 2011 07:05:54 +0000
4Subject: [PATCH] PR c/48742
5 * c-typeck.c (build_binary_op): Don't wrap arguments if
6 int_operands is true.
7
8 * gcc.c-torture/compile/pr48742.c: New test.
9
10
11git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@173012 138bc75d-0d04-0410-961f-82ee72b054a4
12
13index fca369c..6ae9b4c 100644
14--- a/gcc/c-typeck.c
15+++ b/gcc/c-typeck.c
16@@ -10178,7 +10178,7 @@ build_binary_op (location_t location, enum tree_code code,
17 warn_for_sign_compare (location, orig_op0_folded,
18 orig_op1_folded, op0, op1,
19 result_type, resultcode);
20- if (!in_late_binary_op)
21+ if (!in_late_binary_op && !int_operands)
22 {
23 if (!op0_maybe_const || TREE_CODE (op0) != INTEGER_CST)
24 op0 = c_wrap_maybe_const (op0, !op0_maybe_const);
25new file mode 100644
26index 0000000..0a670f3
27--- /dev/null
28+++ b/gcc/testsuite/gcc.c-torture/compile/pr48742.c
29@@ -0,0 +1,15 @@
30+/* PR c/48742 */
31+
32+void baz (int);
33+
34+int
35+foo (void)
36+{
37+ return 1 / 0 > 0;
38+}
39+
40+void
41+bar (void)
42+{
43+ baz (1 <= 2 % (3 >> 1 > 5 / 6 == 3));
44+}
45--
461.7.0.4
47