Fix grammar in error message.

	PR ipa/93760
	* ipa-devirt.c (odr_types_equivalent_p): Fix grammar.
	PR ipa/93760
	* g++.dg/lto/odr-8_1.C: Fix grammar.
parent c83a55d8
2020-02-17 Martin Liska <mliska@suse.cz> 2020-02-17 Martin Liska <mliska@suse.cz>
PR ipa/93760
* ipa-devirt.c (odr_types_equivalent_p): Fix grammar.
2020-02-17 Martin Liska <mliska@suse.cz>
PR translation/93755 PR translation/93755
* config/rs6000/rs6000.c (rs6000_option_override_internal): * config/rs6000/rs6000.c (rs6000_option_override_internal):
Fix double quotes. Fix double quotes.
......
...@@ -1548,7 +1548,7 @@ odr_types_equivalent_p (tree t1, tree t2, bool warn, bool *warned, ...@@ -1548,7 +1548,7 @@ odr_types_equivalent_p (tree t1, tree t2, bool warn, bool *warned,
&& COMPLETE_TYPE_P (t1) && COMPLETE_TYPE_P (t2)) && COMPLETE_TYPE_P (t1) && COMPLETE_TYPE_P (t2))
{ {
warn_odr (t1, t2, NULL, NULL, warn, warned, warn_odr (t1, t2, NULL, NULL, warn, warned,
G_("one type needs to be constructed while other not")); G_("one type needs to be constructed while the other does not"));
gcc_checking_assert (RECORD_OR_UNION_TYPE_P (t1)); gcc_checking_assert (RECORD_OR_UNION_TYPE_P (t1));
return false; return false;
} }
......
2020-02-17 Martin Liska <mliska@suse.cz>
PR ipa/93760
* g++.dg/lto/odr-8_1.C: Fix grammar.
2020-02-17 Richard Biener <rguenther@suse.de> 2020-02-17 Richard Biener <rguenther@suse.de>
PR c/86134 PR c/86134
......
struct a {char c; a() {} a(struct a &) {}}; // { dg-lto-message "one type needs to be constructed while other not" } struct a {char c; a() {} a(struct a &) {}}; // { dg-lto-message "one type needs to be constructed while the other does not" }
extern int test (struct a *a); extern int test (struct a *a);
int int
main() main()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment