diff options
author | Tom Tromey <tromey@redhat.com> | 2007-11-16 00:11:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-11-16 00:11:47 +0000 |
commit | 5576d6f2daa3e88ac6dfcf9469c4e98eb6e67daf (patch) | |
tree | 672e864a197fe1e491117b7d173a827a5d262941 /gcc/function.c | |
parent | 506af7a420bd9f4016bbbfc1d126ab835764b0ac (diff) | |
download | gcc-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/function.c')
-rw-r--r-- | gcc/function.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index 56abe4d..f549c77 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -66,6 +66,9 @@ along with GCC; see the file COPYING3. If not see #include "timevar.h" #include "vecprim.h" +/* So we can assign to cfun in this file. */ +#undef cfun + #ifndef LOCAL_ALIGNMENT #define LOCAL_ALIGNMENT(TYPE, ALIGNMENT) ALIGNMENT #endif |