aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-04-07 12:57:53 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-04-07 12:57:53 +0200
commit7c75d64658039682e0d2bd73c81b0adc88677115 (patch)
treeacc9a29d8735c3a1949280b9fdaf4692051b4047 /gcc/tree.c
parentca3a4a555d8e973aa7b8d851038c18efec4c2dcd (diff)
downloadgcc-7c75d64658039682e0d2bd73c81b0adc88677115.zip
gcc-7c75d64658039682e0d2bd73c81b0adc88677115.tar.gz
gcc-7c75d64658039682e0d2bd73c81b0adc88677115.tar.bz2
re PR tree-optimization/80021 (untranslateable diagnostic "type variant differs by " #flag ".")
PR tree-optimization/80021 * tree.c (verify_type_variant): Make error call in verify_variant_match translatable and remove final full stop. From-SVN: r259211
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index ce52f0a..8ae9ec8 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -13035,7 +13035,7 @@ verify_type_variant (const_tree t, tree tv)
do { \
if (flag (tv) != flag (t)) \
{ \
- error ("type variant differs by " #flag "."); \
+ error ("type variant differs by %s", #flag); \
debug_tree (tv); \
return false; \
} \