diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-12 22:44:38 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-12 22:44:38 +0000 |
commit | 99d1a915cb21b53922a3865d012df793c3e554a8 (patch) | |
tree | 7739ef2a1f7304bb57b169ecc6dcaabab8b5feef /gcc/cfgexpand.c | |
parent | 2eff3dbf9807c8f1f70edc4eb4262543031fbc1c (diff) | |
download | ppe42-gcc-99d1a915cb21b53922a3865d012df793c3e554a8.tar.gz ppe42-gcc-99d1a915cb21b53922a3865d012df793c3e554a8.zip |
* cfgexpand.c (expand_one_stack_var): Do not expand variables when we
do unit-at-a-time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101950 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 83a88cc15d2..220b6adc261 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -552,6 +552,10 @@ expand_one_stack_var (tree var) static void expand_one_static_var (tree var) { + /* In unit-at-a-time all the static variables are expanded at the end + of compilation process. */ + if (flag_unit_at_a_time) + return; /* If this is an inlined copy of a static local variable, look up the original. */ var = DECL_ORIGIN (var); |