This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31775] static object mangling conflicts with extern object
- From: "pinskia at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2008 04:19:33 -0000
- Subject: [Bug c++/31775] static object mangling conflicts with extern object
- References: <bug-31775-638@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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