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

« back to all changes in this revision

Viewing changes to .svn/pristine/50/507f303160f1e8d35562382e711c8b7e97bc755c.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.
 
3
 
 
4
--- a/src/gcc/config/rs6000/rs6000.c    2013-02-08 19:36:04.000000000 +0000
 
5
+++ b/src/gcc/config/rs6000/rs6000.c    2013-03-20 16:26:18.566235720 +0000
 
6
@@ -21578,7 +21578,8 @@ rs6000_output_function_epilogue (FILE *f
 
7
         either, so for now use 0.  */
 
8
       if (! strcmp (language_string, "GNU C")
 
9
          || ! strcmp (language_string, "GNU GIMPLE")
 
10
-         || ! strcmp (language_string, "GNU Go"))
 
11
+         || ! strcmp (language_string, "GNU Go")
 
12
+         || ! strcmp (language_string, "GNU D"))
 
13
        i = 0;
 
14
       else if (! strcmp (language_string, "GNU F77")
 
15
               || ! strcmp (language_string, "GNU Fortran"))
 
16
--- a/src/gcc/dwarf2out.c       2013-03-05 23:08:45.000000000 +0000
 
17
+++ b/src/gcc/dwarf2out.c       2013-03-20 16:26:18.690235723 +0000
 
18
@@ -18907,6 +18907,8 @@ gen_compile_unit_die (const char *filena
 
19
   language = DW_LANG_C89;
 
20
   if (strcmp (language_string, "GNU C++") == 0)
 
21
     language = DW_LANG_C_plus_plus;
 
22
+  else if (strcmp (language_string, "GNU D") == 0)
 
23
+    language = DW_LANG_D;
 
24
   else if (strcmp (language_string, "GNU F77") == 0)
 
25
     language = DW_LANG_Fortran77;
 
26
   else if (strcmp (language_string, "GNU Pascal") == 0)
 
27
--- a/src/gcc/gcc.c     2013-03-06 06:32:03.000000000 +0000
 
28
+++ b/src/gcc/gcc.c     2013-03-20 16:26:18.706235722 +0000
 
29
@@ -1002,6 +1002,7 @@ static const struct compiler default_com
 
30
   {".java", "#Java", 0, 0, 0}, {".class", "#Java", 0, 0, 0},
 
31
   {".zip", "#Java", 0, 0, 0}, {".jar", "#Java", 0, 0, 0},
 
32
   {".go", "#Go", 0, 1, 0},
 
33
+  {".d", "#D", 0, 1, 0}, {".dd", "#D", 0, 1, 0}, {".di", "#D", 0, 1, 0},
 
34
   /* Next come the entries for C.  */
 
35
   {".c", "@c", 0, 0, 1},
 
36
   {"@c",