diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-12 19:04:21 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-12 19:04:21 +0000 |
commit | 03a75ccf13890665c526af2ed013c1bd3d043d8a (patch) | |
tree | d585bd9a727662ed7182cfeb363f23fa1011da6b /gcc/target-globals.c | |
parent | 22d65d2c5f380476cb0375bfb086d95c4f10b7fb (diff) | |
download | gcc-03a75ccf13890665c526af2ed013c1bd3d043d8a.tar.gz |
gcc/
* reginfo.c (init_reg_sets): Don't zero globals here. Update comment
to say that the function can be called more than once.
* target-globals.c (save_target_globals): Call init_reg_sets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162110 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target-globals.c')
-rw-r--r-- | gcc/target-globals.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/target-globals.c b/gcc/target-globals.c index 49b9dc85457..7a4058ebd18 100644 --- a/gcc/target-globals.c +++ b/gcc/target-globals.c @@ -80,6 +80,7 @@ save_target_globals (void) g->gcse = XCNEW (struct target_gcse); g->bb_reorder = XCNEW (struct target_bb_reorder); restore_target_globals (g); + init_reg_sets (); target_reinit (); return g; } |