Skip to content
This repository was archived by the owner on Jun 20, 2019. It is now read-only.

Commit 98fe041

Browse files
authored
Merge pull request #459 from ibuclaw/gcc-8-20170423
Update to gcc-8-20170423
2 parents 06ffc62 + d69f977 commit 98fe041

File tree

8 files changed

+67
-58
lines changed

8 files changed

+67
-58
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ The master branch of this project closely follows [GCC development branch][gcc-d
1818
* [GCC 4.8.x](https://github.com/D-Programming-GDC/GDC/tree/gdc-4.8)
1919
* [GCC 4.9.x](https://github.com/D-Programming-GDC/GDC/tree/gdc-4.9)
2020
* [GCC 5.x](https://github.com/D-Programming-GDC/GDC/tree/gdc-5)
21+
* [GCC 6.x](https://github.com/D-Programming-GDC/GDC/tree/gdc-6)
22+
* [GCC 7.x](https://github.com/D-Programming-GDC/GDC/tree/gdc-7)
2123

2224
[home]: http://gdcproject.org
2325
[wiki]: http://wiki.dlang.org/GDC

gcc.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
gcc-7-20170326
1+
gcc-8-20170423

gcc/d/patches/patch-gcc-7.x renamed to gcc/d/patches/patch-gcc-8.x

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ relevant documentation about the GDC front end.
44

55
--- a/gcc/config/rs6000/rs6000.c
66
+++ b/gcc/config/rs6000/rs6000.c
7-
@@ -31381,7 +31381,8 @@ rs6000_output_function_epilogue (FILE *file,
7+
@@ -31548,7 +31548,8 @@ rs6000_output_function_epilogue (FILE *file,
88
if (lang_GNU_C ()
99
|| ! strcmp (language_string, "GNU GIMPLE")
1010
|| ! strcmp (language_string, "GNU Go")
@@ -52,7 +52,7 @@ relevant documentation about the GDC front end.
5252

5353
--- a/gcc/doc/invoke.texi
5454
+++ b/gcc/doc/invoke.texi
55-
@@ -1346,6 +1346,15 @@ called @dfn{specs}.
55+
@@ -1351,6 +1351,15 @@ called @dfn{specs}.
5656
Ada source code file containing a library unit body (a subprogram or
5757
package body). Such files are also called @dfn{bodies}.
5858

@@ -68,7 +68,7 @@ relevant documentation about the GDC front end.
6868
@c GCC also knows about some suffixes for languages not yet included:
6969
@c Pascal:
7070
@c @var{file}.p
71-
@@ -1381,6 +1390,7 @@ objective-c objective-c-header objective-c-cpp-output
71+
@@ -1386,6 +1395,7 @@ objective-c objective-c-header objective-c-cpp-output
7272
objective-c++ objective-c++-header objective-c++-cpp-output
7373
assembler assembler-with-cpp
7474
ada
@@ -109,7 +109,7 @@ relevant documentation about the GDC front end.
109109
@xref{Top, GNAT Reference Manual, About This Guide, gnat_rm,
110110
--- a/gcc/dwarf2out.c
111111
+++ b/gcc/dwarf2out.c
112-
@@ -5049,6 +5049,16 @@ is_ada (void)
112+
@@ -5079,6 +5079,16 @@ is_ada (void)
113113
return lang == DW_LANG_Ada95 || lang == DW_LANG_Ada83;
114114
}
115115
@@ -126,7 +126,7 @@ relevant documentation about the GDC front end.
126126
/* Remove the specified attribute if present. Return TRUE if removal
127127
was successful. */
128128
129-
@@ -23549,6 +23559,8 @@ gen_compile_unit_die (const char *filename)
129+
@@ -23594,6 +23604,8 @@ gen_compile_unit_die (const char *filename)
130130
language = DW_LANG_ObjC;
131131
else if (strcmp (language_string, "GNU Objective-C++") == 0)
132132
language = DW_LANG_ObjC_plus_plus;
@@ -135,7 +135,7 @@ relevant documentation about the GDC front end.
135135
else if (dwarf_version >= 5 || !dwarf_strict)
136136
{
137137
if (strcmp (language_string, "GNU Go") == 0)
138-
@@ -25076,7 +25088,7 @@ declare_in_namespace (tree thing, dw_die_ref context_die)
138+
@@ -25158,7 +25170,7 @@ declare_in_namespace (tree thing, dw_die_ref context_die)
139139
140140
if (ns_context != context_die)
141141
{
@@ -144,7 +144,7 @@ relevant documentation about the GDC front end.
144144
return ns_context;
145145
if (DECL_P (thing))
146146
gen_decl_die (thing, NULL, NULL, ns_context);
147-
@@ -25099,7 +25111,7 @@ gen_namespace_die (tree decl, dw_die_ref context_die)
147+
@@ -25181,7 +25193,7 @@ gen_namespace_die (tree decl, dw_die_ref context_die)
148148
{
149149
/* Output a real namespace or module. */
150150
context_die = setup_namespace_context (decl, comp_unit_die ());
@@ -153,7 +153,7 @@ relevant documentation about the GDC front end.
153153
? DW_TAG_module : DW_TAG_namespace,
154154
context_die, decl);
155155
/* For Fortran modules defined in different CU don't add src coords. */
156-
@@ -25166,7 +25178,7 @@ gen_decl_die (tree decl, tree origin, struct vlr_context *ctx,
156+
@@ -25248,7 +25260,7 @@ gen_decl_die (tree decl, tree origin, struct vlr_context *ctx,
157157
break;
158158

159159
case CONST_DECL:
@@ -162,7 +162,7 @@ relevant documentation about the GDC front end.
162162
{
163163
/* The individual enumerators of an enum type get output when we output
164164
the Dwarf representation of the relevant enum type itself. */
165-
@@ -25711,7 +25723,7 @@ dwarf2out_decl (tree decl)
165+
@@ -25795,7 +25807,7 @@ dwarf2out_decl (tree decl)
166166
case CONST_DECL:
167167
if (debug_info_level <= DINFO_LEVEL_TERSE)
168168
return;

0 commit comments

Comments
 (0)