aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-struct-reorg.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2007-11-16 00:11:47 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-11-16 00:11:47 +0000
commit5576d6f2daa3e88ac6dfcf9469c4e98eb6e67daf (patch)
tree672e864a197fe1e491117b7d173a827a5d262941 /gcc/ipa-struct-reorg.c
parent506af7a420bd9f4016bbbfc1d126ab835764b0ac (diff)
downloadgcc-5576d6f2daa3e88ac6dfcf9469c4e98eb6e67daf.zip
gcc-5576d6f2daa3e88ac6dfcf9469c4e98eb6e67daf.tar.gz
gcc-5576d6f2daa3e88ac6dfcf9469c4e98eb6e67daf.tar.bz2
tree-ssa-structalias.c (ipa_pta_execute): Rename 'cfun' to 'func'.
* tree-ssa-structalias.c (ipa_pta_execute): Rename 'cfun' to 'func'. * tree-parloops.c (create_loop_fn): Use set_cfun. * gengtype.c (open_base_files): Emit #undef cfun. * ipa-struct-reorg.c (do_reorg_1): Use set_cfun. * function.h (cfun): New define. * function.c: Undefine cfun. From-SVN: r130213
Diffstat (limited to 'gcc/ipa-struct-reorg.c')
-rw-r--r--gcc/ipa-struct-reorg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-struct-reorg.c b/gcc/ipa-struct-reorg.c
index e4bc7fa..1985cec 100644
--- a/gcc/ipa-struct-reorg.c
+++ b/gcc/ipa-struct-reorg.c
@@ -3628,7 +3628,7 @@ do_reorg_1 (void)
pop_cfun ();
}
- cfun = NULL;
+ set_cfun (NULL);
}
/* This function creates new global struct variables.