This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: empty function optimizations
- To: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Subject: Re: empty function optimizations
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Wed, 12 Jul 2000 21:33:08 +0100 (BST)
- CC: jbuck at racerx dot synopsys dot com, ken at gesn dot com, gcc at gcc dot gnu dot org
> I personally believe that the right fix is in the compiler, which
> should statically determine that instantiations don't depend on the
> some template parameters, and mangle the function names with a
> wildcard. Different instantiations would then still get the same
> assembler name. The compiler would avoid emitting duplicate
> instantiations of functionally-equivalent code, and the linker would
> remove duplicates as it does today.
I thought we were going towards a standarized ABI and mangling scheme, I.e.
we'll have no freedom to change the mangling?