This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: make cfun a non-lvalue


>>>>> "Diego" == Diego Novillo <dnovillo@google.com> writes:

Diego> Tom Tromey wrote:
>> * 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.

Diego> There are other places that set 'cfun', though.  IIRC, tree-inline.c
Diego> and omp-low.c do.

I don't see those in my tree.  Maybe those assignments were removed at
some point?  Also, this patch has survived multiple bootstraps, which
would have caught any assignments -- that's how I found the ones I
fixed.

Diego> Patch is OK otherwise.

I'll check it in shortly, thanks.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]