From 223b87b6ac3c7a0e37bf4709242a0dbdd6ac1eb2 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Sat, 11 Jan 2003 00:45:47 +0000 Subject: [PATCH] * toplev.c (documented_lang_options): Document -Winvalid-pch. From-SVN: r61181 --- gcc/ChangeLog | 4 ++++ gcc/toplev.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 978cfc8d73d..7d0ca380beb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-01-10 Geoffrey Keating + + * toplev.c (documented_lang_options): Document -Winvalid-pch. + 2003-01-10 Richard Henderson * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set. diff --git a/gcc/toplev.c b/gcc/toplev.c index f98fc366d4a..554f471b397 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1,6 +1,6 @@ /* Top level of GNU C compiler Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GCC. @@ -1308,6 +1308,8 @@ documented_lang_options[] = { "-Wimport", N_("Warn about the use of the #import directive") }, { "-Wno-import", "" }, + { "-Winvalid-pch", + N_("Warn about PCH files that are found but not used") }, { "-Wlong-long","" }, { "-Wno-long-long", N_("Do not warn about using 'long long' when -pedantic") },