This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: CVS g++ new warning [-Winline -Werror -O1]
>>>>> Richard Henderson <rth@cygnus.com> writes:
> On Thu, Mar 09, 2000 at 11:50:41AM -0800, Jason Merrill wrote:
>> We qualify it with the name of the function. Though it occurs to me that
>> multiple static locals in different blocks with the same name would end up
>> with the same symbol under the current scheme...
> Eh? Under the current scheme we get foo.1, foo.2, etc. And
> non-common, so they're not merged.
I mean, logically static; g++ makes them public so that they can be merged.
Jason