This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PING] Function versioning and IPCP extension
On Wed, Jul 27, 2005 at 02:58:12PM +0300, Razya Ladelsky wrote:
> The functionality of create_tmp_var_name is not enough.
> We need to add code that replaces non-alphanumeric characters
> with the character '_'.
> For instance operator<< should be replaced with operator__.
>
Yes, I can see what the function does. I need to understand
"why". Are you exporting these names to the debug info and need
only alphanumeric characters to not confuse the debugger, or
something?
> For the moment versioning code uses inlining code and shares the same
> restrictions.
> This is due to the way in which versioning is currently implemented.
>
> Basically almost every function could be versioned, and versioning should
> have its
> own criteria.
>
If you need to untie yourself from the inlining code, then let's
do that. How much extra work would that be? If necessary, you
could do it as a follow-up patch.