diff --git a/gcc47-pr38757.patch b/gcc47-pr38757.patch index b6b3233..5fd23ea 100644 --- a/gcc47-pr38757.patch +++ b/gcc47-pr38757.patch @@ -70,7 +70,7 @@ struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER; --- gcc/dwarf2out.c.jj 2011-01-03 12:53:05.102056475 +0100 +++ gcc/dwarf2out.c 2011-01-04 18:03:14.534151763 +0100 -@@ -17650,9 +17650,18 @@ add_bit_size_attribute (dw_die_ref die, +@@ -15793,9 +15793,18 @@ add_bit_size_attribute (dw_die_ref die, static inline void add_prototyped_attribute (dw_die_ref die, tree func_type) { @@ -92,10 +92,10 @@ } /* Add an 'abstract_origin' attribute below a given DIE. The DIE is found -@@ -19875,6 +19884,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; +@@ -18438,6 +18447,10 @@ gen_compile_unit_die (const char *filena + if (strcmp (language_string, "GNU Go") == 0) + language = DW_LANG_Go; + } + else if (strcmp (language_string, "GNU C") == 0 + && lang_hooks.source_language + && lang_hooks.source_language () >= 1999)