From 1e5fcbe2009a34584768d8b8833756bc8de97dc3 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Tue, 9 Nov 2004 10:13:30 +0000 Subject: * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h, c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c, gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c, tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c, config/darwin.c, config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c, config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.c, config/rs6000/host-darwin.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/sh/symbian.c, config/stormy16/stormy16.c, config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. Use %' as apostrophe in diagnostics where applicable. Use %< and %> in place of '' quotes where applicable. Use %qs in place of %<%s%>. Consistently quote __builtin function names. ada: * misc.c (gnat_handle_option): Use %< and %> for quoting in warning message. cp: * call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c, pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for quoting in diagnostics. * parser.c (cp_parser_sizeof_operand): Use '' instead of `' for quoting in printf format. * decl.c (duplicate_decls, start_decl): Use %qD instead of unquoted %D. objc: * objc-act.c: Use %q, %< and %> for quoting in diagnostics. testsuite: * gcc.dg/builtin-prefetch-1.c: Adjust expected messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90337 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gcov.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'gcc/gcov.c') diff --git a/gcc/gcov.c b/gcc/gcov.c index 83515967cdd..ee4d6b9aa80 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -537,16 +537,16 @@ process_file (const char *file_name) if (gcov_file) { - fnotice (stdout, "%s:creating `%s'\n", + fnotice (stdout, "%s:creating '%s'\n", src->name, gcov_file_name); output_lines (gcov_file, src); if (ferror (gcov_file)) - fnotice (stderr, "%s:error writing output file `%s'\n", + fnotice (stderr, "%s:error writing output file '%s'\n", src->name, gcov_file_name); fclose (gcov_file); } else - fnotice (stderr, "%s:could not open output file `%s'\n", + fnotice (stderr, "%s:could not open output file '%s'\n", src->name, gcov_file_name); free (gcov_file_name); } @@ -716,7 +716,7 @@ read_graph_file (void) GCOV_UNSIGNED2STRING (v, version); GCOV_UNSIGNED2STRING (e, GCOV_VERSION); - fnotice (stderr, "%s:version `%.4s', prefer `%.4s'\n", + fnotice (stderr, "%s:version '%.4s', prefer '%.4s'\n", bbg_file_name, v, e); } bbg_stamp = gcov_read_unsigned (); @@ -768,7 +768,7 @@ read_graph_file (void) else if (fn && tag == GCOV_TAG_BLOCKS) { if (fn->blocks) - fnotice (stderr, "%s:already seen blocks for `%s'\n", + fnotice (stderr, "%s:already seen blocks for '%s'\n", bbg_file_name, fn->name); else { @@ -978,7 +978,7 @@ read_count_file (void) GCOV_UNSIGNED2STRING (v, version); GCOV_UNSIGNED2STRING (e, GCOV_VERSION); - fnotice (stderr, "%s:version `%.4s', prefer version `%.4s'\n", + fnotice (stderr, "%s:version '%.4s', prefer version '%.4s'\n", da_file_name, v, e); } tag = gcov_read_unsigned (); @@ -1010,7 +1010,7 @@ read_count_file (void) fn_n = NULL; else { - fnotice (stderr, "%s:unknown function `%u'\n", + fnotice (stderr, "%s:unknown function '%u'\n", da_file_name, ident); break; } @@ -1023,7 +1023,7 @@ read_count_file (void) else if (gcov_read_unsigned () != fn->checksum) { mismatch:; - fnotice (stderr, "%s:profile mismatch for `%s'\n", + fnotice (stderr, "%s:profile mismatch for '%s'\n", da_file_name, fn->name); goto cleanup; } @@ -1066,12 +1066,12 @@ solve_flow_graph (function_t *fn) block_t *invalid_blocks = NULL; /* invalid, but inferable blocks. */ if (fn->num_blocks < 2) - fnotice (stderr, "%s:`%s' lacks entry and/or exit blocks\n", + fnotice (stderr, "%s:'%s' lacks entry and/or exit blocks\n", bbg_file_name, fn->name); else { if (fn->blocks[0].num_pred) - fnotice (stderr, "%s:`%s' has arcs to entry block\n", + fnotice (stderr, "%s:'%s' has arcs to entry block\n", bbg_file_name, fn->name); else /* We can't deduce the entry block counts from the lack of @@ -1079,7 +1079,7 @@ solve_flow_graph (function_t *fn) fn->blocks[0].num_pred = ~(unsigned)0; if (fn->blocks[fn->num_blocks - 1].num_succ) - fnotice (stderr, "%s:`%s' has arcs from exit block\n", + fnotice (stderr, "%s:'%s' has arcs from exit block\n", bbg_file_name, fn->name); else /* Likewise, we can't deduce exit block counts from the lack @@ -1287,7 +1287,7 @@ solve_flow_graph (function_t *fn) for (ix = 0; ix < fn->num_blocks; ix++) if (!fn->blocks[ix].count_valid) { - fnotice (stderr, "%s:graph is unsolvable for `%s'\n", + fnotice (stderr, "%s:graph is unsolvable for '%s'\n", bbg_file_name, fn->name); break; } @@ -1367,7 +1367,7 @@ format_gcov (gcov_type top, gcov_type bottom, int dp) static void function_summary (const coverage_t *coverage, const char *title) { - fnotice (stdout, "%s `%s'\n", title, coverage->name); + fnotice (stdout, "%s '%s'\n", title, coverage->name); if (coverage->lines) fnotice (stdout, "Lines executed:%s of %d\n", @@ -1537,7 +1537,7 @@ add_line_counts (coverage_t *coverage, function_t *fn) } } if (!line) - fnotice (stderr, "%s:no lines for `%s'\n", bbg_file_name, fn->name); + fnotice (stderr, "%s:no lines for '%s'\n", bbg_file_name, fn->name); } /* Accumulate the line counts of a file. */ @@ -1796,7 +1796,7 @@ output_lines (FILE *gcov_file, const source_t *src) if (!fstat (fileno (source_file), &status) && status.st_mtime > bbg_file_time) { - fnotice (stderr, "%s:source file is newer than graph file `%s'\n", + fnotice (stderr, "%s:source file is newer than graph file '%s'\n", src->name, bbg_file_name); fprintf (gcov_file, "%9s:%5d:Source is newer than graph\n", "-", 0); -- cgit v1.2.1