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
2007-07-09 Geoffrey Keating <geoffk@apple.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
tree.c
diff --git
a/gcc/tree.c
b/gcc/tree.c
index
06472ea
..
6359ff9
100644
(file)
--- a/
gcc/tree.c
+++ b/
gcc/tree.c
@@
-3312,7
+3312,10
@@
build_decl_stat (enum tree_code code, tree name, tree type MEM_STAT_DECL)
if (code == VAR_DECL || code == PARM_DECL || code == RESULT_DECL)
layout_decl (t, 0);
else if (code == FUNCTION_DECL)
- DECL_MODE (t) = FUNCTION_MODE;
+ {
+ DECL_MODE (t) = FUNCTION_MODE;
+ DECL_ALIGN (t) = FUNCTION_BOUNDARY;
+ }
return t;
}