[Bug c++/31775] static object mangling conflicts with extern object
pinskia at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Mar 1 04:20:00 GMT 2008
------- Comment #9 from pinskia at gmail dot com 2008-03-01 04:19 -------
Subject: Re: static object mangling conflicts with extern object
Sent from my iPhone
On Feb 29, 2008, at 20:05, "geoffk at geoffk dot org" <gcc-bugzilla@gcc.gnu.org
> wrote:
>
>
> ------- Comment #8 from geoffk at geoffk dot org 2008-03-01 04:05
> ----
>>
>
> It should be mangled, because there are still three different things
> named 'i' declared in this program, and so the two that have assembler
> names have to have different names, and I don't think we want to start
> mangling non-static variable names.
Also mangling non-static variables will cause an ABI change.
Thanks,
Andrew Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31775
More information about the Gcc-bugs
mailing list