~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/56/562f08c18ce72880ac80fe6abce626a193d7c1fc.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: This implements D language support in the GCC back end, and adds
 
2
# DP: relevant documentation about the GDC front end (code part).
 
3
 
 
4
Index: b/src/gcc/config/rs6000/rs6000.c
 
5
===================================================================
 
6
--- a/src/gcc/config/rs6000/rs6000.c
 
7
+++ b/src/gcc/config/rs6000/rs6000.c
 
8
@@ -24977,7 +24977,8 @@ rs6000_output_function_epilogue (FILE *f
 
9
         either, so for now use 0.  */
 
10
       if (! strcmp (language_string, "GNU C")
 
11
          || ! strcmp (language_string, "GNU GIMPLE")
 
12
-         || ! strcmp (language_string, "GNU Go"))
 
13
+         || ! strcmp (language_string, "GNU Go")
 
14
+         || ! strcmp (language_string, "GNU D"))
 
15
        i = 0;
 
16
       else if (! strcmp (language_string, "GNU F77")
 
17
               || ! strcmp (language_string, "GNU Fortran"))
 
18
Index: b/src/gcc/dwarf2out.c
 
19
===================================================================
 
20
--- a/src/gcc/dwarf2out.c
 
21
+++ b/src/gcc/dwarf2out.c
 
22
@@ -18909,6 +18909,8 @@ gen_compile_unit_die (const char *filena
 
23
   language = DW_LANG_C89;
 
24
   if (strcmp (language_string, "GNU C++") == 0)
 
25
     language = DW_LANG_C_plus_plus;
 
26
+  else if (strcmp (language_string, "GNU D") == 0)
 
27
+    language = DW_LANG_D;
 
28
   else if (strcmp (language_string, "GNU F77") == 0)
 
29
     language = DW_LANG_Fortran77;
 
30
   else if (strcmp (language_string, "GNU Pascal") == 0)
 
31
Index: b/src/gcc/gcc.c
 
32
===================================================================
 
33
--- a/src/gcc/gcc.c
 
34
+++ b/src/gcc/gcc.c
 
35
@@ -1003,6 +1003,7 @@ static const struct compiler default_com
 
36
   {".java", "#Java", 0, 0, 0}, {".class", "#Java", 0, 0, 0},
 
37
   {".zip", "#Java", 0, 0, 0}, {".jar", "#Java", 0, 0, 0},
 
38
   {".go", "#Go", 0, 1, 0},
 
39
+  {".d", "#D", 0, 1, 0}, {".dd", "#D", 0, 1, 0}, {".di", "#D", 0, 1, 0},
 
40
   /* Next come the entries for C.  */
 
41
   {".c", "@c", 0, 0, 1},
 
42
   {"@c",