From: Jakub Jelinek Date: Sat, 7 Apr 2018 10:57:53 +0000 (+0200) Subject: re PR tree-optimization/80021 (untranslateable diagnostic "type variant differs by... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c75d64658039682e0d2bd73c81b0adc88677115;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c44527ad1d..a2639748679 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-04-07 Jakub Jelinek + + PR tree-optimization/80021 + * tree.c (verify_type_variant): Make error call in verify_variant_match + translatable and remove final full stop. + 2018-04-07 Chung-Ju Wu * config/nds32/constants.md (unspec_volatile_element): Add diff --git a/gcc/tree.c b/gcc/tree.c index ce52f0af0b7..8ae9ec800b8 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; \ } \