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]

preparing patch for IPCP merge to SSA


Hi,

This patch is a preceding patch to IPCP merge to SSA.

It includes:

1. Creating a new function, get_last_funcdef_no() that returns the value 
    of funcdef_no, and increases it by one.
    The newly allocated function in initialize_cfun uses it to get a new 
funcdef_no .
2. Cleanup in tree_function_versioning.

Thanks to Jan for his help.

Bootstrapped and tested on i686 Linux.
Bootstrapped and tested on ppc Linux.

Ok for mainline?

Thanks,
Razya

Changelog:

        * function.c (get_last_funcdef_no): New function.
          * function.h (get_last_funcdef_no): Declare. 
        * tree-inline.c (initialize_cfun): Add initialization.



Attachment: ssa.diff
Description: Binary data


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