This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/21769] New: per-file control over PCH inclusion
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2005 16:04:23 -0000
- Subject: [Bug libstdc++/21769] New: per-file control over PCH inclusion
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Some way to turn off the use of an included stdc++.h PCH file in the libstdc++
test suite is needed. As part of
libstdc++/20534
I propose:
+ // { dg-options "-D__GLIBCXX__=99999999" }
+ // NB: This is done to force any generated and possibly included PCH
+ // to be invalid.
which will work.
Paolo suggests hookizing this into:
dg-do compile-no-pch
Sounds like a good idea.
In addition, it looks like a review of the do-compile testcases in the libstdc++
are needed, to see if some expect to be compiled without PCH. (This is
absolutely the case.)
--
Summary: per-file control over PCH inclusion
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bkoz at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21769