ipa-devirt.c (odr_types_equivalent_p): Expect constants than const decls in TREE_VALU...
[gcc.git] / gcc / ChangeLog
index 6b7f65bd07bc87853981f5e6542dee79550956d5..c893ee253bfd35aff9502eef21141d8888ba6afd 100644 (file)
@@ -1,3 +1,74 @@
+2018-11-07  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-devirt.c (odr_types_equivalent_p): Expect constants
+       than const decls in TREE_VALUE of enum.
+       (dump_type_inheritance_graph): Improve duplicate dumping.
+       (free_enum_values): New.
+       (build_type_inheritance_graph): Use it.
+       * tree.c (free_lang_data_in_type): Free TYPE_VALUES of enums
+       which are not main variants or not ODR types.
+       (verify_type_variant): Expect variants to have no TYPE_VALUES.
+
+2018-11-07  Richard Biener  <rguenther@suse.de>
+
+       * ipa-inline.c (want_inline_small_function_p): Compute
+       big_speedup_p lazily and last.
+
+2018-11-07  Jan Hubicka  <jh@suse.cz>
+
+       * tree.c (fld_type_variant_equal_p): Skip TYPE_ALIGN check when
+       building incomplete variant of complete type.
+       (fld_type_variant): Do not copy TYPE_ALIGN when building incomplete
+       variant of complete type.
+
+2018-11-07  Chenghua Xu  <paul.hua.gm@gmail.com>
+
+       * config/mips/mips.c: Fix typo in documentation of
+       mips_loongson_ext2_prefetch_cookie.
+       (mips_option_override): fix brain twister logical.
+       * config/mips/mips.h: Fix typo in documentation of
+       ISA_HAS_CTZ_CTO and define pattern.
+       * config/mips/mips.md (prefetch): Hoist EXT2 above
+       the 2EF/EXT block.
+       (prefetch_indexed): Hoist EXT2 above the EXT block.
+
+2018-11-07  Jan Hubicka  <jh@suse.cz>
+
+       * tree.c (free_lang_data_in_type): Add fld parameter; simplify
+       return and parameter types of function and method types.
+       (free_lang_data_in_cgraph): Update.
+
+2018-11-07  Martin Liska  <mliska@suse.cz>
+
+       PR rtl-optimization/87868
+       * postreload-gcse.c (eliminate_partially_redundant_load): Set
+       threshold to max_count if we would overflow.
+       * profile-count.h: Make max_count a public constant.
+
+2018-11-07  Martin Liska  <mliska@suse.cz>
+
+       * mem-stats.h: Fix GNU coding style.
+
+2018-11-07  Chenghua Xu  <paul.hua.gm@gmail.com>
+
+       * config/mips/gs264e.md: New.
+       * config/mips/mips-cpus.def: Define gs264e.
+       * config/mips/mips-tables.opt: Regenerate.
+       * config/mips/mips.c (mips_rtx_cost_data): Add DEFAULT_COSTS for
+       gs264e.
+       (mips_issue_rate): Add support for gs264e.
+       (mips_multipass_dfa_lookahead): Likewise.
+       * config/mips/mips.h: Define TARGET_GS264E and TUNE_GS264E.
+       (MIPS_ISA_LEVEL_SPEC): Infer mips64r2 from gs264e.
+       (MIPS_ASE_MSA_SPEC): New.
+       (BASE_DRIVER_SELF_SPECS): march=gs264e implies -mmsa.
+       (ISA_HAS_FUSED_MADD4): Enable for TARGET_GS264E.
+       (ISA_HAS_UNFUSED_MADD4): Exclude TARGET_GS264E.
+       * config/mips/mips.md: Include gs264e.md.
+       (processor): Add gs264e.
+       * config/mips/mips.opt (MSA): Use Mask instead of Var.
+       * doc/invoke.texi: Add gs264e to supported architectures.
+
 2018-11-07  Chenghua Xu  <paul.hua.gm@gmail.com>
 
        * config/mips/gs464e.md: New.