Skip to content
This repository was archived by the owner on Jun 20, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gcc/d/dmd/mtype.d
Original file line number Diff line number Diff line change
Expand Up @@ -3409,10 +3409,10 @@ extern (C++) final class TypeBasic : Type
EnumDeclaration ed = (cast(TypeEnum)to).sym;
if (ed.isSpecial())
{
/* Special enums that allow implicit conversions to them
* with a MATCH.convert
*/
/* Special enums that allow implicit conversions to them. */
tob = to.toBasetype().isTypeBasic();
if (tob)
return implicitConvTo(tob);
}
else
return MATCH.nomatch;
Expand Down
1 change: 1 addition & 0 deletions gcc/d/dmd/root/longdouble.d
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ struct longdouble
}

longdouble opAssign(T)(T r)
if (!is (T : longdouble))
{
this.set(r);
return this;
Expand Down
6 changes: 3 additions & 3 deletions gcc/d/patches/patch-gcc-7.patch
Original file line number Diff line number Diff line change
Expand Up @@ -185,23 +185,23 @@ relevant documentation about the GDC front end.
return;
if (TREE_STATIC (decl) && decl_function_context (decl))
context_die = lookup_decl_die (DECL_CONTEXT (decl));
@@ -29054,6 +29066,7 @@ prune_unused_types_walk_local_classes (d
@@ -27804,6 +27816,7 @@ prune_unused_types_walk_local_classes (d
case DW_TAG_structure_type:
case DW_TAG_union_type:
case DW_TAG_class_type:
+ case DW_TAG_interface_type:
break;

case DW_TAG_subprogram:
@@ -29087,6 +29100,7 @@ prune_unused_types_walk (dw_die_ref die)
@@ -27837,6 +27850,7 @@ prune_unused_types_walk (dw_die_ref die)
case DW_TAG_structure_type:
case DW_TAG_union_type:
case DW_TAG_class_type:
+ case DW_TAG_interface_type:
if (die->die_perennial_p)
break;

@@ -29113,7 +29127,6 @@ prune_unused_types_walk (dw_die_ref die)
@@ -27863,7 +27877,6 @@ prune_unused_types_walk (dw_die_ref die)
case DW_TAG_volatile_type:
case DW_TAG_typedef:
case DW_TAG_array_type:
Expand Down
8 changes: 8 additions & 0 deletions gcc/d/patches/patch-targetdm-7.patch
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,14 @@ The following OS versions are implemented:
# Support for --with-cpu and related options (and a few unrelated options,
# too).
case ${with_cpu} in
@@ -4586,6 +4614,7 @@ case ${target} in
out_file=rs6000/rs6000.c
c_target_objs="${c_target_objs} rs6000-c.o"
cxx_target_objs="${cxx_target_objs} rs6000-c.o"
+ d_target_objs="${d_target_objs} rs6000-d.o"
tmake_file="rs6000/t-rs6000 ${tmake_file}"
;;

--- /dev/null
+++ b/gcc/config/aarch64/aarch64-d.c
@@ -0,0 +1,31 @@
Expand Down
Loading