http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46102
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.02.03 08:39:42
Ever Confirmed|0 |1
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-03
08:39:42 UTC ---
For -feliminate-dwarf2-dups the problem with PCH is that it wipes
unconditionally the DW_TAG_GNU_BINCL DIE (or, if -feliminate-dwarf2-dups was
used for PCH replaces or adds it with a wrong filename), resulting in inbalance
between the notes.
I guess the easiest would be just disable PCH for -feliminate-dwarf2-dups
(reject writing a PCH file with that option, and c_common_no_more_pch with it
too).