1. 26 Nov, 2015 32 commits
  2. 25 Nov, 2015 8 commits
    • PR c/66516 - missing diagnostic on taking the address of a builtin function · 91f6ec2f
      PR c/66516 - missing diagnostic on taking the address of a builtin function
      	* g++.dg/addr_builtin-1.C: New test (accidentally omitted from
      	initial commit).
      	* gcc.dg/addr_builtin-1.c: Same.
      
      From-SVN: r230916
      Martin Sebor committed
    • re PR lto/67548 (LTO drops weak binding with "ld -r") · 1ff9ed6f
      
      	PR lto/67548
      	* lto-plugin.c (linker_output, linker_output_set): New statics.
      	(all_symbols_read_handler): Add -flinker-output option.
      	(onload): Record linker_output info.
      
      	* ipa-visibility.c (cgraph_externally_visible_p,
      	varpool_node::externally_visible_p): When doing incremental linking,
      	hidden symbols may be still used later.
      	(update_visibility_by_resolution_info): Do not drop weak during
      	incremental link.
      	(function_and_variable_visibility): Fix formating.
      	* flag-types.h (lto_linker_output): Declare.
      	* common.opt 9flag_incremental_link): New flag.
      
      	* lto-lang.c (lto_post_options): Process flag_lto_linker_output.
      	* lang.opt (lto_linker_output): New enum.
      	(flinker_output): New flag.
      
      From-SVN: r230915
      Jan Hubicka committed
    • update changelog · c9d82fb0
      From-SVN: r230914
      Michael Meissner committed
    • <patch #10> · d5906efc
      [gcc]
      2015-11-25  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	<patch #10>
      	* config/rs6000/constraints.md (wb constraint): New constraint for
      	ISA 3.0 d-form scalar addressing.
      
      	* config/rs6000/rs6000.c (mode_supports_vmx_dform): Add support
      	for ISA 3.0 D-form addressing to load SFmode/DFmode scalars into
      	Altivec registers.  Add wb constraint for Altivec registers with
      	D-form addressing.  If we have ISA 3.0 d-form support, undo
      	secondary reload support for using FPR registers if we want to do
      	D-form addressing.
      	(rs6000_debug_reg_global): Likewise.
      	(rs6000_setup_reg_addr_masks): Likewise.
      	(rs6000_init_hard_regno_mode_ok): Likewise.
      	(rs6000_secondary_reload): Likewise.
      	(rs6000_preferred_reload_class): Likewise.
      	(rs6000_secondary_reload_class): Likewise.
      
      	* config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wb
      	constraint.
      
      	* config/rs6000/rs6000.md (f32_lr2 mode attribute): Add support
      	for ISA 3.0 SFmode/DFmode d-form addressing to Altivec registers.
      	(f32_lm2): Likewise.
      	(f32_li2): Likewise.
      	(f32_sr2): Likewise.
      	(f32_sm2): Likewise.
      	(f32_si2): Likewise.
      	(f64_p9): Likewise.
      	(extendsfdf2_fpr): Likewise.
      	(mov<mode>_hardfloat): Likewise.
      	(mov<mode>_hardfloat32): Likewise.
      	(mov<mode>_hardfloat64): Likewise.
      
      	* doc/md.texi (RS/6000 constraints): Document wb constraint.
      	Fixup we constraint documentation.
      
      [gcc/testsuite]
      2015-11-25  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* gcc.target/powerpc/dform-1.c: New test.
      	* gcc.target/powerpc/dform-2.c: Likewise.
      
      From-SVN: r230913
      Michael Meissner committed
    • lto-symtab.c: Include alias.h · 22bea0be
      	* lto-symtab.c: Include alias.h
      	(warn_type_compatibility_p): Replace types_compatible_p checks by
      	TBAA and size checks; set bit 2 if locations are TBAA incompatible.
      	(lto_symtab_merge): Compare DECL sizes.
      	(lto_symtab_merge_decls_2): Warn about TBAA in compatibility.
      	* gfortran.dg/lto/bind_c-6_0.f90: New testcase.
      	* gfortran.dg/lto/bind_c-6_1.c: New testcase.
      
      From-SVN: r230911
      Jan Hubicka committed
    • * g++.dg/init/self1.C: Remove dg-do run. · c74f743a
      From-SVN: r230910
      Jason Merrill committed
    • re PR c++/68434 ([concepts] function tsubst sets TYPE_CANONICAL before setting a… · a0c0e716
      re PR c++/68434 ([concepts] function tsubst sets TYPE_CANONICAL before setting a type's PLACEHOLDER_TYPE_CONSTRAINTS)
      
      	PR c++/68434
      
      	* pt.c (tsubst): Set PLACEHOLDER_TYPE_CONSTRAINTS before
      	calling canonical_type_parameter.
      
      From-SVN: r230909
      Ryan Burn committed
    • lambda.c (maybe_add_lambda_conv_op): Only set no_sanitize_undefined if SANITIZE_NULL. · 75729cff
      	* lambda.c (maybe_add_lambda_conv_op): Only set
      	no_sanitize_undefined if SANITIZE_NULL.
      
      From-SVN: r230908
      Jason Merrill committed