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

Commit

Permalink
Update to gcc-4.10-20140608 snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw committed Jun 9, 2014
1 parent 879968a commit eb915d6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gcc.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
gcc-4.10-20140525
gcc-4.10-20140608
5 changes: 5 additions & 0 deletions gcc/d/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2014-06-09 Iain Buclaw <ibuclaw@gdcproject.org>

* d-objfile.cc(d_comdat_group): Return a decl.
* d-decl.cc(FuncDeclaration::toThunkSymbol): Don't set comdat group.

2014-05-31 Iain Buclaw <ibuclaw@gdcproject.org>

* d-todt.cc(dt_container): Properly handle zero length static arrays.
Expand Down
1 change: 0 additions & 1 deletion gcc/d/d-decls.cc
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,6 @@ FuncDeclaration::toThunkSymbol (int offset)
/* Needed on some targets to avoid "causes a section type conflict". */
D_DECL_ONE_ONLY (thunk_decl) = D_DECL_ONE_ONLY (target_func_decl);
DECL_COMDAT (thunk_decl) = DECL_COMDAT (target_func_decl);
DECL_COMDAT_GROUP (thunk_decl) = DECL_COMDAT_GROUP (target_func_decl);
DECL_WEAK (thunk_decl) = DECL_WEAK (target_func_decl);

DECL_NAME (thunk_decl) = get_identifier (sthunk->Sident);
Expand Down
2 changes: 1 addition & 1 deletion gcc/d/d-objfile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ d_comdat_group (tree decl)
if (DECL_COMDAT_GROUP (decl))
return DECL_COMDAT_GROUP (decl);

return DECL_ASSEMBLER_NAME (decl);
return decl;
}

// Set DECL up to have the closest approximation of "initialized common"
Expand Down

0 comments on commit eb915d6

Please sign in to comment.