1. 27 Nov, 2012 12 commits
  2. 26 Nov, 2012 22 commits
    • functional (__is_socketlike): Change from class template to alias template. · 5895a897
      	* include/std/functional (__is_socketlike): Change from class
      	template to alias template.
      
      From-SVN: r193832
      Jonathan Wakely committed
    • re PR libstdc++/55463 (Result of std::mem_fn doesn't accept rvalues) · 5127244e
      	PR libstdc++/55463
      	* include/std/functional (_Mem_fn): Handle rvalue objects. Add
      	noexcept-specifications.
      	* testsuite/20_util/function_objects/mem_fn/55463.cc: New.
      	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
      
      From-SVN: r193831
      Jonathan Wakely committed
    • * gcc.dg/20050811-2.c: Change -dv option to -graph option. · d5b8b24b
      From-SVN: r193830
      Steven Bosscher committed
    • * reorg.c (redundant_insn): Do not handle DEBUG_INSNs. · 90251a62
      From-SVN: r193829
      Eric Botcazou committed
    • 54455.c: Require scheduling. · d8405cc1
      	* gcc.dg/54455.c: Require scheduling.
      	* gcc.dg/c1x-align-4.c: Skip avr.
      	* gcc.dg/pr44024.c: Skip avr in final scan.
      
      From-SVN: r193827
      Georg-Johann Lay committed
    • re PR testsuite/52641 (Test cases fail for 16-bit int targets) · 72c931b4
      	PR testsuite/52641
      	* gcc.c-torture/execute/20120919-1.x: New file (int32plus).
      	* gcc.dg/pr54676.c: Make work for 16-bit int.
      
      From-SVN: r193826
      Georg-Johann Lay committed
    • re PR target/55277 (ICE in assign_by_spills, at lra-assigns.c:1217) · f421c426
      2012-11-26  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/55277
      	* gcc.target/i386/pr55227.c: New test.
      
      2012-11-26  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/55277
      	* lra-constraints.c (in_class_p): Check reg class contents too.
      
      From-SVN: r193824
      Vladimir Makarov committed
    • aarch64-builtins.c (aarch64_builtin_decls): New. · 119103ca
      gcc/
      	* config/aarch64/aarch64-builtins.c (aarch64_builtin_decls): New.
      	(aarch64_init_simd_builtins): Store declaration after builtin
      	initialisation.
      	(aarch64_builtin_decl): New.
      	* config/aarch64/aarch64-protos.h (aarch64_builtin_decl): New.
      	* config/aarch64/aarch64.c (TARGET_BUILTIN_DECL): Define.
      
      From-SVN: r193823
      James Greenhalgh committed
    • invoke.texi: Remove -dv documentation. · a27a5de9
      gcc/
      	* doc/invoke.texi: Remove -dv documentation.  Fix up graph dump related
      	documentation.  Document the '-graph' dump option.  Complete the '-slim'
      	dump option documentation.
      
      	* common.opt (Variable graph_dump_format): Remove.
      	* flag-types.h (enum graph_dump_types): Remove.
      	* flags.h (dump_for_graph): Remove.
      	* opts.c (decode_d_option): Remove -dv handling.
      	* sched-int.h (print_insn, print_pattern, print_value): Move prototypes
      	from here ...
      	* rtl.h: ...to here.  Add note that these functions ought to be in
      	another file.
      	* sched-vis.c (print_insn): Add detailed dump for insn notes.
      	* print-rtl.c (dump_for_graph): Remove.
      	(print_rtx): Remove dump_for_graph related code.
      	* graph.c: Almost complete re-write to dump DOT (GraphViz) dumps
      	instead of VCG dumps.
      	* graph.h (print_rtl_graph_with_bb): Update prototype.
      	* passes.c (finish_optimization_passes): Fix profile dump finishing.
      	Unconditionally loop over graph dumps to finalize.
      	(execute_function_dump): Split code to dump graphs to separate block.
      	(execute_one_pass): Don't set TDF_GRAPH here, let the dump option
      	decoders do their job.
      
      	* ddg.c (vcg_print_ddg): Make it a DEBUG_FUNCTION.
      	* toplev.c: Don't include graph.h.
      	* tree-optimize.c: Don't include graph.h.
      
      testsuite/
      	* testsuite/gcc.dg/20050811-1.c: Change -dv option to -graph option
      	to -fdump-rtl-all.
      	* testsuite/gcc.dg/pr37858.c: Remove -dv option.
      
      From-SVN: r193821
      Steven Bosscher committed
    • Remove redundant variable in hash_set. · f460c170
      From-SVN: r193820
      Marek Polacek committed
    • tree.h (DECL_RESTRICTED_P): Delete. · 8bed6809
      	* tree.h (DECL_RESTRICTED_P): Delete.
      	(DECL_READ_P): Add comment.
      	(DECL_NONSHAREABLE): Likewise.
      	(TYPE_NO_FORCE_BLK): Fix comment.
      	(struct tree_decl_common): Remove decl_restricted_flag, add decl_flag_3.
      	* tree-emutls.c (new_emutls_decl): Do not deal with DECL_RESTRICTED_P.
      	* tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise.
      	* tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise.
      fortran/
      	* trans-decl.c (gfc_finish_var_decl): Do not set DECL_RESTRICTED_P.
      
      	* alias.c (nonoverlapping_component_refs_p): Fix thinko.
      
      From-SVN: r193815
      Eric Botcazou committed
    • sourcebuild.texi: Document arm_v8_vfp_ok. · e3f9361d
      gcc/
      
      2012-11-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* doc/sourcebuild.texi: Document arm_v8_vfp_ok.
      
      gcc/testsuite/
      
      2012-11-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* lib/target-supports.exp (check_effective_target_arm_v8_vfp_ok):
      	 New procedure.
      	(add_options_for_arm_v8_vfp): New procedure.
      	* gcc.target/arm/vrintaf32.c: New test.
      	* gcc.target/arm/vrintaf64.c: Likewise.
      	* gcc.target/arm/vrintmf32.c: Likewise.
      	* gcc.target/arm/vrintmf64.c: Likewise.
      	* gcc.target/arm/vrintpf32.c: Likewise.
      	* gcc.target/arm/vrintpf64.c: Likewise.
      	* gcc.target/arm/vrintrf32.c: Likewise.
      	* gcc.target/arm/vrintrf64.c: Likewise.
      	* gcc.target/arm/vrintxf32.c: Likewise.
      	* gcc.target/arm/vrintxf64.c: Likewise.
      	* gcc.target/arm/vrintzf32.c: Likewise.
      	* gcc.target/arm/vrintzf64.c: Likewise.
      
      From-SVN: r193814
      Kyrylo Tkachov committed
    • arm.h (TARGET_FPU_ARMV8): New macro. · 1dd4fe1f
      gcc/
      
      2012-11-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* config/arm/arm.h (TARGET_FPU_ARMV8): New macro.
      	* config/arm/arm.md (UNSPEC_VRINTZ, UNSPEC_VRINTP, UNSPEC_VRINTM)
      	(UNSPEC_VRINTR, UNSPEC_VRINTX, UNSPEC_VRINTA): New unspecs.
      	(f_rints, f_rintd): New types.
      	* config/arm/iterators.md (VRINT): New int iterator.
      	(F_fma_type): Remove.
      	(vfp_type): New mode attribute.
      	(vfp_double_cond): Likewise.
      	(vrint_pattern, vrint_variant, vrint_predicable): New int attribute.
      	* config/arm/vfp.md (fma<SDF:mode>4): Use vfp_type iterator
      	instead of F_fma_type.
      	(*fmsub<SDF:mode>4, *fnmsub<SDF:mode>4, *fnmadd<SDF:mode>4): Likewise.
      	(<vrint_pattern><SDF:mode>2): New pattern.
      
      From-SVN: r193813
      Kyrylo Tkachov committed
    • fold-const.c (const_binop): Adjust comment. · 67ae67ec
      	* fold-const.c (const_binop): Adjust comment.
      	(extract_muldiv_1): Likewise.
      	(fold_comparison): Likewise.
      	* stor-layout.c (place_field): Fix typo.
      	* tree.c (double_int_fits_to_tree_p): Remove obsolete comment.
      	(force_fit_type_double): Likewise.  Fix long line.
      
      From-SVN: r193812
      Eric Botcazou committed
    • re PR fortran/54997 (-Wunused-function gives false warnings) · 29be7510
      2012-11-26  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/54997
      	* decl.c (match_procedure_decl): Don't set 'referenced' attribute
      	for PROCEDURE declarations.
      	* parse.c (gfc_fixup_sibling_symbols,parse_contained): Don't set
      	'referenced' attribute for all contained procedures.
      	* trans-decl.c (gfc_get_symbol_decl): Allow for unreferenced procedures.
      	(build_function_decl): Set TREE_USED for referenced procedures.
      
      2012-11-26  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/54997
      	* gfortran.dg/warn_unused_function_2.f90: New.
      
      From-SVN: r193811
      Janus Weil committed
    • arm.h (TARGET_LDRD): Reject Thumb1 targets. · 3383b7fa
      2012-11-26  Greta Yorsh  <Greta.Yorsh@arm.com>
      
      	* config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets.
      
      From-SVN: r193810
      Greta Yorsh committed
    • re PR fortran/54881 ([OOP] ICE in fold_convert_loc, at fold-const.c:2016) · fca04db3
      2012-11-26  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/54881
      	* match.c (select_derived_set_tmp,select_class_set_tmp): Removed and
      	unified into ...
      	(select_type_set_tmp): ... this one. Set POINTER argument according to
      	selector.
      	* trans-intrinsic.c (gfc_conv_associated): Use 'gfc_class_data_get'
      	instead of 'gfc_add_data_component'.
      
      2012-11-26  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/54881
      	* gfortran.dg/associated_6.f90: New.
      	* gfortran.dg/select_type_30.f03: New.
      
      From-SVN: r193809
      Janus Weil committed
    • t-linux (MULTIARCH_DIRNAME): Fix unbalanced parentheses. · 412dc842
      2012-11-26  Matthias Klose  <doko@ubuntu.com>
      
              * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix unbalanced
              parentheses.
      
      From-SVN: r193807
      Matthias Klose committed
    • re PR tree-optimization/54471 (FAIL: gcc.dg/sms-8.c execution test) · 751a2433
      	PR tree-optimization/54471
      	* tree-vrp.c (extract_range_from_binary_expr_1): For MULT_EXPR,
      	don't canonicalize range if min2 is zero.
      
      	* gcc.dg/tree-ssa/vrp86.c: New test.
      	* gcc.c-torture/execute/pr54471.c: New test.
      
      From-SVN: r193806
      Jakub Jelinek committed
    • re PR middle-end/55030 (gcc.c-torture/execute/builtins/memcpy-chk.c execution, -Os (et al)) · d42f26c1
      	PR middle-end/55030
      	* gcc.dg/guality/pr36728-1.c, gcc.dg/guality/pr36728-2.c (foo): Don't
      	use volatile asms, use plain asms.   Where the output value for the
      	asm is unused, write a global variable.
      
      From-SVN: r193803
      Hans-Peter Nilsson committed
    • re PR middle-end/55030 (gcc.c-torture/execute/builtins/memcpy-chk.c execution, -Os (et al)) · adddc347
      	PR middle-end/55030
      	* builtins.c (expand_builtin_setjmp_receiver): Update comment
      	regarding purpose of blockage.
      	* emit-rtl.c [!HAVE_blockage] (gen_blockage): Similarly for
      	the head comment.
      	* rtlanal.c (volatile_insn_p): Ditto.
      	* doc/md.texi (blockage): Update similarly.  Change wording to
      	require one of two forms, rather than implying a wider choice.
      	* cse.c (cse_insn): Where checking for blocking insns, use
      	volatile_insn_p instead of manual check for volatile ASM.
      	* dse.c (scan_insn): Ditto.
      	* cselib.c (cselib_process_insn): Ditto.
      
      From-SVN: r193802
      Hans-Peter Nilsson committed
    • Daily bump. · 15c115d3
      From-SVN: r193801
      GCC Administrator committed
  3. 25 Nov, 2012 6 commits