aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-08-09 00:19:11 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2000-08-09 00:19:11 +0100
commit89abf8d1d713b8182c9cebfa7a5682155cc5e32c (patch)
treea807f38e5528f2f079acd1807b2141242e597933 /gcc/toplev.c
parent1a63219b0df915269b6e1176f12ec2da3d98ff30 (diff)
downloadgcc-89abf8d1d713b8182c9cebfa7a5682155cc5e32c.zip
gcc-89abf8d1d713b8182c9cebfa7a5682155cc5e32c.tar.gz
gcc-89abf8d1d713b8182c9cebfa7a5682155cc5e32c.tar.bz2
c-common.c (combine_strings, [...]): Refer to ISO C or ISO C89 instead of ANSI C.
* c-common.c (combine_strings, check_format_info): Refer to ISO C or ISO C89 instead of ANSI C. * c-decl.c (grokdeclarator, xref_tag, finish_struct, build_enumerator, do_case): Likewise. * c-lex.c (parse_float, yylex): Likewise. * c-parse.in: Likewise. * c-typeck.c (common_type, build_array_ref, build_binary_op, build_unary_op, pedantic_lvalue_warning, build_conditional_expr, build_c_cast, convert_for_assignment, set_init_index, set_init_label, c_expand_start_case): Likewise. * toplev.c (documented_lang_options, display_help): Likewise. From-SVN: r35576
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 96e431d..79f6ff7 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1135,7 +1135,7 @@ documented_lang_options[] =
used here is to only describe those options which are not
enabled by default. */
- { "-ansi", "Compile just for ANSI C" },
+ { "-ansi", "Compile just for ISO C89" },
{ "-fallow-single-precision",
"Do not promote floats to double if using -traditional" },
{ "-std= ", "Determine language standard"},
@@ -1236,7 +1236,7 @@ documented_lang_options[] =
{ "-Wno-unknown-pragmas", "" },
{ "-Wstrict-prototypes", "Warn about non-prototyped function decls" },
{ "-Wno-strict-prototypes", "" },
- { "-Wtraditional", "Warn about constructs whose meaning change in ANSI C"},
+ { "-Wtraditional", "Warn about constructs whose meaning change in ISO C"},
{ "-Wno-traditional", "" },
{ "-Wtrigraphs", "Warn when trigraphs are encountered" },
{ "-Wno-trigraphs", "" },
@@ -3741,7 +3741,7 @@ display_help ()
printf (_(" -O[number] Set optimisation level to [number]\n"));
printf (_(" -Os Optimise for space rather than speed\n"));
- printf (_(" -pedantic Issue warnings needed by strict compliance to ANSI C\n"));
+ printf (_(" -pedantic Issue warnings needed by strict compliance to ISO C\n"));
printf (_(" -pedantic-errors Like -pedantic except that errors are produced\n"));
printf (_(" -w Suppress warnings\n"));
printf (_(" -W Enable extra warnings\n"));