From ad5bc3248e147212a972d5d4a7fe4d202abebf27 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 10 May 2015 23:58:53 +0200 Subject: ipa-devirt.c (warn_types_mismatch): Do not ICE when warning about mismatch between C and C++ type... * ipa-devirt.c (warn_types_mismatch): Do not ICE when warning about mismatch between C and C++ type; compoare correctly ARG_TYPES for non-prototypes and output correctly parameter index for METHOD_TYPE. (odr_types_equivalent_p): Fix wording of warning about attributes; it is OK to match prototype and non-prototype. From-SVN: r222985 --- gcc/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/ChangeLog') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a43fe95..73f6be6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ 2015-05-09 Jan Hubicka + * ipa-devirt.c (warn_types_mismatch): Do not ICE when warning about + mismatch between C and C++ type; compoare correctly ARG_TYPES + for non-prototypes and output correctly parameter index for METHOD_TYPE. + (odr_types_equivalent_p): Fix wording of warning about attributes; + it is OK to match prototype and non-prototype. + +2015-05-09 Jan Hubicka + * tree.c (free_lang_data_in_type): Free TREE_PURPOSE of TYPE_ARG_TYPES list. (verify_type): Permit non-NULL TREE_PURPOSE in non-LTO builds. -- cgit v1.1