From 5576d6f2daa3e88ac6dfcf9469c4e98eb6e67daf Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 16 Nov 2007 00:11:47 +0000 Subject: 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 --- gcc/tree-parloops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree-parloops.c') diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index ca829f7..afa2ed5 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -1,5 +1,5 @@ /* Loop autoparallelization. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2007 Free Software Foundation, Inc. Contributed by Sebastian Pop and Zdenek Dvorak . @@ -1252,7 +1252,7 @@ create_loop_fn (void) /* The call to allocate_struct_function clobbers CFUN, so we need to restore it. */ - cfun = act_cfun; + set_cfun (act_cfun); return decl; } -- cgit v1.1