diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-05-10 23:58:53 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-05-10 21:58:53 +0000 |
commit | ad5bc3248e147212a972d5d4a7fe4d202abebf27 (patch) | |
tree | da7dcb0b5504106093eec4cca9a7a1df5e8ec8c5 /gcc/ChangeLog | |
parent | 15296d46dec964f4f2fea572c183462dbd96e576 (diff) | |
download | gcc-ad5bc3248e147212a972d5d4a7fe4d202abebf27.zip gcc-ad5bc3248e147212a972d5d4a7fe4d202abebf27.tar.gz gcc-ad5bc3248e147212a972d5d4a7fe4d202abebf27.tar.bz2 |
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
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
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 <hubicka@ucw.cz> + * 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 <hubicka@ucw.cz> + * 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. |