summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-3.3.3/pr9365-1-test.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/gcc/gcc-3.3.3/pr9365-1-test.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
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 <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/gcc/gcc-3.3.3/pr9365-1-test.patch')
-rw-r--r--recipes/gcc/gcc-3.3.3/pr9365-1-test.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-3.3.3/pr9365-1-test.patch b/recipes/gcc/gcc-3.3.3/pr9365-1-test.patch
new file mode 100644
index 0000000000..ee7dfa7c19
--- /dev/null
+++ b/recipes/gcc/gcc-3.3.3/pr9365-1-test.patch
@@ -0,0 +1,43 @@
+--- /dev/null Sat Dec 14 13:56:51 2002
++++ gcc-3.3.1/gcc/testsuite/gcc.dg/pr9365-1.c Sun Sep 14 09:34:37 2003
+@@ -0,0 +1,40 @@
++/* PR target/9365
++ * Origin: marcus@mc.pp.se
++ * Testcase tweaked by dank@kegel.com
++ * [3.3 regression] [SH] segfault in gen_far_branch (config/sh/sh.c)
++ * ice-on-valid-code
++ * Not marked as xfail since it's a regression
++*/
++/* { dg-do compile } */
++/* { dg-options "-O2 -fomit-frame-pointer" } */
++
++
++void foo(int n, int *p)
++{
++ switch(n) {
++ case 100: case 110: case 120: case 130: case 140:
++ case 200: case 210: case 220: case 230: case 240:
++ case 300: case 310: case 320: case 330: case 340:
++ case 400: case 410: case 420: case 430: case 440:
++ case 500: case 510: case 520: case 530: case 540:
++ case 600: case 610: case 620: case 630: case 640:
++ case 700: case 710: case 720: case 730: case 740:
++ case 800: case 810: case 820: case 830: case 840:
++ case 900: case 910: case 920: case 930: case 940:
++ break;
++ default:
++ *p = n;
++ break;
++ }
++}
++
++int main(int argc, char **argv)
++{
++ int p;
++
++ (void) argv;
++
++ foo(argc, &p);
++
++ return p;
++}