diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-11 01:43:48 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-11 01:43:48 +0000 |
commit | 1c62dfe7e521c9e061d330c8b710401c1af5c10f (patch) | |
tree | 84f56b24d40ec62fc88d6efabff1565b1bdd42c6 /gcc/auto-profile.c | |
parent | cca1575aca0d9065377850d5ff50d223b20e87c3 (diff) | |
download | gcc-1c62dfe7e521c9e061d330c8b710401c1af5c10f.tar.gz |
Remove trailing period from various diagnostic messages (PR translation/79923)
gcc/ChangeLog:
PR translation/79923
* auto-profile.c (get_combined_location): Convert leading
character of diagnostics to lower case and remove trailing period.
(read_profile): Likewise for various diagnostics.
* config/arm/arm.c (arm_option_override): Remove trailing period
from various diagnostics.
* config/msp430/msp430.c (msp430_expand_delay_cycles): Likewise.
(msp430_expand_delay_cycles): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246067 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/auto-profile.c')
-rw-r--r-- | gcc/auto-profile.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/auto-profile.c b/gcc/auto-profile.c index 6255f947991..4b21340c6f0 100644 --- a/gcc/auto-profile.c +++ b/gcc/auto-profile.c @@ -344,7 +344,7 @@ get_combined_location (location_t loc, tree decl) { /* TODO: allow more bits for line and less bits for discriminator. */ if (LOCATION_LINE (loc) - DECL_SOURCE_LINE (decl) >= (1<<16)) - warning_at (loc, OPT_Woverflow, "Offset exceeds 16 bytes."); + warning_at (loc, OPT_Woverflow, "offset exceeds 16 bytes"); return ((LOCATION_LINE (loc) - DECL_SOURCE_LINE (decl)) << 16); } @@ -917,13 +917,13 @@ read_profile (void) { if (gcov_open (auto_profile_file, 1) == 0) { - error ("Cannot open profile file %s.", auto_profile_file); + error ("cannot open profile file %s", auto_profile_file); return; } if (gcov_read_unsigned () != GCOV_DATA_MAGIC) { - error ("AutoFDO profile magic number does not match."); + error ("AutoFDO profile magic number does not match"); return; } @@ -931,7 +931,7 @@ read_profile (void) unsigned version = gcov_read_unsigned (); if (version != AUTO_PROFILE_VERSION) { - error ("AutoFDO profile version %u does match %u.", + error ("AutoFDO profile version %u does match %u", version, AUTO_PROFILE_VERSION); return; } @@ -943,7 +943,7 @@ read_profile (void) afdo_string_table = new string_table (); if (!afdo_string_table->read()) { - error ("Cannot read string table from %s.", auto_profile_file); + error ("cannot read string table from %s", auto_profile_file); return; } @@ -951,7 +951,7 @@ read_profile (void) afdo_source_profile = autofdo_source_profile::create (); if (afdo_source_profile == NULL) { - error ("Cannot read function profile from %s.", auto_profile_file); + error ("cannot read function profile from %s", auto_profile_file); return; } @@ -961,7 +961,7 @@ read_profile (void) /* Read in the working set. */ if (gcov_read_unsigned () != GCOV_TAG_AFDO_WORKING_SET) { - error ("Cannot read working set from %s.", auto_profile_file); + error ("cannot read working set from %s", auto_profile_file); return; } |