aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Thomas <pth@suse.de>2011-05-09 10:42:23 +0000
committerPhilipp Thomas <pthomas@gcc.gnu.org>2011-05-09 10:42:23 +0000
commit6d9e7c41392e812ac14837c025558b9ab381f614 (patch)
tree9290f451df7512baf1d4534c2a2e498409307505
parent61d6def5f87750ec8a7c242b55bf37aacd2f71b1 (diff)
downloadgcc-6d9e7c41392e812ac14837c025558b9ab381f614.zip
gcc-6d9e7c41392e812ac14837c025558b9ab381f614.tar.gz
gcc-6d9e7c41392e812ac14837c025558b9ab381f614.tar.bz2
Don't translate syntax example.
From-SVN: r173564
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mep/mep.c10
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6e0089d..e0d739f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-04 Philipp Thomas <pth@suse.de>
+ * config/mep/mep.c (mep_validate_vliw): Syntax description
+ should not be translated.
+
2011-05-09 Joseph Myers <joseph@codesourcery.com>
* config/mips/genopt.sh, config/mips/mips-cpus.def: New files.
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c
index 60cf4eb..9b18599 100644
--- a/gcc/config/mep/mep.c
+++ b/gcc/config/mep/mep.c
@@ -4122,16 +4122,18 @@ mep_validate_vliw (tree *node, tree name, tree args ATTRIBUTE_UNUSED,
if (TREE_CODE (*node) == POINTER_TYPE
&& !gave_pointer_note)
{
- inform (input_location, "to describe a pointer to a VLIW function, use syntax like this:");
- inform (input_location, " typedef int (__vliw *vfuncptr) ();");
+ inform (input_location,
+ "to describe a pointer to a VLIW function, use syntax like this:\n%s",
+ " typedef int (__vliw *vfuncptr) ();");
gave_pointer_note = 1;
}
if (TREE_CODE (*node) == ARRAY_TYPE
&& !gave_array_note)
{
- inform (input_location, "to describe an array of VLIW function pointers, use syntax like this:");
- inform (input_location, " typedef int (__vliw *vfuncptr[]) ();");
+ inform (input_location,
+ "to describe an array of VLIW function pointers, use syntax like this:\n%s",
+ " typedef int (__vliw *vfuncptr[]) ();");
gave_array_note = 1;
}
}