This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] PR debug/46102 Disable -feliminate-dwarf2-dups when reading a PCH
- From: Mike Stump <mikestump at comcast dot net>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Wed, 25 Feb 2015 13:20:10 -0800
- Subject: Re: [patch] PR debug/46102 Disable -feliminate-dwarf2-dups when reading a PCH
- Authentication-results: sourceware.org; auth=none
- References: <54E6129C dot 5060706 at redhat dot com> <54E61314 dot 9070805 at redhat dot com> <20150219165052 dot GK1746 at tucnak dot redhat dot com> <54EDF147 dot 6070405 at redhat dot com> <54EE0031 dot 8010504 at redhat dot com> <54EE3B0B dot 6020907 at redhat dot com>
On Feb 25, 2015, at 1:13 PM, Jason Merrill <jason@redhat.com> wrote:
> On 02/25/2015 12:02 PM, Aldy Hernandez wrote:
>> + if (flag_eliminate_dwarf2_dups)
>> + {
>> + warning (0, "ignoring unimplemented option -feliminate-dwarf2-dups");
>> + flag_eliminate_dwarf2_dups = 0;
>> + }
>
> I think we only want to disable it for C++, not all languages.
And Objective-C++… if you strcmp the name in a dwarf file). Prefer flag_eliminate_dwarf2_dups = 0 in the C++ startup code someplace.