rpms/gcc/devel gcc44-pr38757.patch,1.1,1.2
Jakub Jelinek
jakub at fedoraproject.org
Wed Sep 23 20:17:19 UTC 2009
Author: jakub
Update of /cvs/pkgs/rpms/gcc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26737
Modified Files:
gcc44-pr38757.patch
Log Message:
4.4.1-16
gcc44-pr38757.patch:
c-lang.c | 10 +++++++++-
dwarf2out.c | 19 ++++++++++++++++---
langhooks-def.h | 4 +++-
langhooks.h | 6 +++++-
4 files changed, 33 insertions(+), 6 deletions(-)
Index: gcc44-pr38757.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/devel/gcc44-pr38757.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gcc44-pr38757.patch 19 Mar 2009 16:38:39 -0000 1.1
+++ gcc44-pr38757.patch 23 Sep 2009 20:17:19 -0000 1.2
@@ -90,7 +90,7 @@
const struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER;
--- gcc/dwarf2out.c.jj 2009-03-17 13:06:29.000000000 +0100
+++ gcc/dwarf2out.c 2009-03-18 12:55:36.000000000 +0100
-@@ -12470,9 +12470,18 @@ add_bit_size_attribute (dw_die_ref die,
+@@ -14286,9 +14286,18 @@ add_bit_size_attribute (dw_die_ref die,
static inline void
add_prototyped_attribute (dw_die_ref die, tree func_type)
{
@@ -112,18 +112,14 @@
}
/* Add an 'abstract_origin' attribute below a given DIE. The DIE is found
-@@ -14419,7 +14428,13 @@ gen_compile_unit_die (const char *filena
- else if (strcmp (language_string, "GNU Objective-C++") == 0)
- language = DW_LANG_ObjC_plus_plus;
- else
-- language = DW_LANG_C89;
-+ {
-+ if (lang_hooks.source_language
-+ && lang_hooks.source_language () >= 1999)
+@@ -16290,6 +16299,10 @@ gen_compile_unit_die (const char *filena
+ language = DW_LANG_ObjC;
+ else if (strcmp (language_string, "GNU Objective-C++") == 0)
+ language = DW_LANG_ObjC_plus_plus;
++ else if (strcmp (language_string, "GNU C") == 0
++ && lang_hooks.source_language
++ && lang_hooks.source_language () >= 1999)
+ language = DW_LANG_C99;
-+ else
-+ language = DW_LANG_C89;
-+ }
+ }
add_AT_unsigned (die, DW_AT_language, language);
- return die;
More information about the fedora-extras-commits
mailing list