OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compiler: Use backend interface for type sizes and alignments.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
go
/
go-backend.c
diff --git
a/gcc/go/go-backend.c
b/gcc/go/go-backend.c
index
4d1ea82
..
5dab2f1
100644
(file)
--- a/
gcc/go/go-backend.c
+++ b/
gcc/go/go-backend.c
@@
-1,5
+1,5
@@
/* go-backend.c -- Go frontend interface to gcc backend.
/* go-backend.c -- Go frontend interface to gcc backend.
- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2010, 2011
, 2012
Free Software Foundation, Inc.
This file is part of GCC.
This file is part of GCC.
@@
-48,14
+48,6
@@
along with GCC; see the file COPYING3. If not see
/* This file holds all the cases where the Go frontend needs
information from gcc's backend. */
/* This file holds all the cases where the Go frontend needs
information from gcc's backend. */
-/* Return the alignment in bytes of a value of type T. */
-
-unsigned int
-go_type_alignment (tree t)
-{
- return TYPE_ALIGN_UNIT (t);
-}
-
/* Return the alignment in bytes of a struct field of type T. */
unsigned int
/* Return the alignment in bytes of a struct field of type T. */
unsigned int