This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] PR debug/46102 Disable -feliminate-dwarf2-dups when reading a PCH


On 02/25/2015 01:13 PM, Jason Merrill 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.

Attached.

I also moved the -felimite-dwarf2-dups tests that were in g{cc,++}.dg/debug/ into g{cc,++}.dg/debug/dwarf2/ where they belong. It makes no sense to test -feliminate-dwarf2-dups with stabs.

Ok pending another round of tests?

Attachment: curr
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]