summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0064-2011-04-04-Janus-Weil-janus-gcc.gnu.org.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/0064-2011-04-04-Janus-Weil-janus-gcc.gnu.org.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/0064-2011-04-04-Janus-Weil-janus-gcc.gnu.org.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0064-2011-04-04-Janus-Weil-janus-gcc.gnu.org.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0064-2011-04-04-Janus-Weil-janus-gcc.gnu.org.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0064-2011-04-04-Janus-Weil-janus-gcc.gnu.org.patch
deleted file mode 100644
index 1b94bd0086..0000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0064-2011-04-04-Janus-Weil-janus-gcc.gnu.org.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1From ca7759868733b4570e496b889e711523640fc582 Mon Sep 17 00:00:00 2001
2From: janus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Mon, 4 Apr 2011 18:53:34 +0000
4Subject: [PATCH] 2011-04-04 Janus Weil <janus@gcc.gnu.org>
5
6 PR fortran/48291
7 * class.c (get_unique_hashed_string): Adjust maximum allowable length
8 for unique type string.
9
102011-04-04 Janus Weil <janus@gcc.gnu.org>
11
12 PR fortran/48291
13 * gfortran.dg/class_42.f03: New.
14
15
16git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171950 138bc75d-0d04-0410-961f-82ee72b054a4
17
18index 85da3cb..b99930a 100644
19--- a/gcc/fortran/class.c
20+++ b/gcc/fortran/class.c
21@@ -137,9 +137,9 @@ get_unique_hashed_string (char *string, gfc_symbol *derived)
22 {
23 char tmp[2*GFC_MAX_SYMBOL_LEN+2];
24 get_unique_type_string (&tmp[0], derived);
25- /* If string is too long, use hash value in hex representation
26- (allow for extra decoration, cf. gfc_build_class_symbol)*/
27- if (strlen (tmp) > GFC_MAX_SYMBOL_LEN - 10)
28+ /* If string is too long, use hash value in hex representation (allow for
29+ extra decoration, cf. gfc_build_class_symbol & gfc_find_derived_vtab). */
30+ if (strlen (tmp) > GFC_MAX_SYMBOL_LEN - 11)
31 {
32 int h = gfc_hash_value (derived);
33 sprintf (string, "%X", h);
34new file mode 100644
35index 0000000..dd59835
36--- /dev/null
37+++ b/gcc/testsuite/gfortran.dg/class_42.f03
38@@ -0,0 +1,16 @@
39+! { dg-do compile }
40+!
41+! PR 48291: [4.6/4.7 Regression] [OOP] internal compiler error, new_symbol(): Symbol name too long
42+!
43+! Contributed by Adrian Prantl <adrian@llnl.gov>
44+
45+module Overload_AnException_Impl
46+ type :: Overload_AnException_impl_t
47+ end type
48+contains
49+ subroutine ctor_impl(self)
50+ class(Overload_AnException_impl_t) :: self
51+ end subroutine
52+end module
53+
54+! { dg-final { cleanup-modules "Overload_AnException_Impl" } }
55--
561.7.0.4
57