Mercurial > hg > CbC > CbC_gcc
comparison gcc/cfgexpand.c @ 20:9de9dad105d4
update gcc from 4.4.0 to 4.4.1.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 24 Sep 2009 14:29:28 +0900 |
parents | a4c410aa4714 58ad6c70ea60 |
children | 959d4c8c8abc |
comparison
equal
deleted
inserted
replaced
17:1572d6553fb6 | 20:9de9dad105d4 |
---|---|
1080 we conservatively assume it will be on stack even if VAR is | 1080 we conservatively assume it will be on stack even if VAR is |
1081 eventually put into register after RA pass. For non-automatic | 1081 eventually put into register after RA pass. For non-automatic |
1082 variables, which won't be on stack, we collect alignment of | 1082 variables, which won't be on stack, we collect alignment of |
1083 type and ignore user specified alignment. */ | 1083 type and ignore user specified alignment. */ |
1084 if (TREE_STATIC (var) || DECL_EXTERNAL (var)) | 1084 if (TREE_STATIC (var) || DECL_EXTERNAL (var)) |
1085 align = TYPE_ALIGN (TREE_TYPE (var)); | 1085 align = MINIMUM_ALIGNMENT (TREE_TYPE (var), |
1086 TYPE_MODE (TREE_TYPE (var)), | |
1087 TYPE_ALIGN (TREE_TYPE (var))); | |
1086 else | 1088 else |
1087 align = DECL_ALIGN (var); | 1089 align = MINIMUM_ALIGNMENT (var, DECL_MODE (var), DECL_ALIGN (var)); |
1088 | 1090 |
1089 if (crtl->stack_alignment_estimated < align) | 1091 if (crtl->stack_alignment_estimated < align) |
1090 { | 1092 { |
1091 /* stack_alignment_estimated shouldn't change after stack | 1093 /* stack_alignment_estimated shouldn't change after stack |
1092 realign decision made */ | 1094 realign decision made */ |