1. 26 Nov, 2012 13 commits
    • 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
  2. 25 Nov, 2012 7 commits
  3. 24 Nov, 2012 9 commits
  4. 23 Nov, 2012 11 commits
    • Add the missing file · 8a1af320
      From-SVN: r193771
      H.J. Lu committed
    • quadmath-rounding-mode.h: New. · 05abb346
      2012-11-23  Tobias Burnus  <burnus@net-b.de>
                  Joseph Myers  <joseph@codesourcery.com>
      
              * quadmath-rounding-mode.h: New.
              * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
              * printf/fpioconst.h: Ditto.
              * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
              Make printf respect the rounding mode for decimal output.
              * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
              GLIBC.  Make printf respect the rounding mode for hex output.
              * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
              rounding mode. Fix strtod handling of underflow.
      
      
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      
      From-SVN: r193770
      Tobias Burnus committed
    • re PR libstdc++/52680 (std::this_thread::sleep_for #ifdef'd out by _GLIBCXX_USE_NANOSLEEP) · aa66b299
      	PR libstdc++/52680
      	* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Check for usleep and
      	sleep if nanosleep is not available. Bump libtool revision.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      	* config/abi/pre/gnu.ver (GLIBCXX_3.4.18): Add __sleep_for.
      	* include/std/thread (this_thread::__sleep_for): Add.
      	(this_thread::yield, this_thread::sleep_until, this_thread::sleep_for):
      	Declare unconditionally.
      	* src/c++11/thread.cc (this_thread::__sleep_for): Define.
      	* testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Rename to
      	check_v3_target_sleep.
      	* testsuite/lib/dg-options.exp (dg-require-nanosleep): Rename to
      	dg-require-sleep.
      	* testsuite/30_threads/condition_variable_any/53830.cc: Update.
      	* testsuite/30_threads/this_thread/2.cc: Likewise.
      	* testsuite/30_threads/this_thread/3.cc: Likewise.
      	* testsuite/30_threads/this_thread/4.cc: Likewise.
      	* testsuite/30_threads/async/54297.cc: Likewise.
      
      From-SVN: r193769
      Jonathan Wakely committed
    • Set gcc_version in tsan/Makefile.am · 9cb5411c
      	PR sanitizer/55450
      	* tsan/Makefile.am (gcc_version): New.
      	* tsan/Makefile.in: Regenerated.
      
      From-SVN: r193767
      H.J. Lu committed
    • invoke.texi (-fsanitize=address): Remove obsolete remark. · a1b98cc1
      2012-11-23  Tobias Burnus  <burnus@net-b.de>
      
              * doc/invoke.texi (-fsanitize=address): Remove obsolete
              remark.
      
      From-SVN: r193764
      Tobias Burnus committed
    • asan-dg.exp (asan_symbolize): Remove all "BFD: " prefixed lines from the output. · 644525ff
      	* lib/asan-dg.exp (asan_symbolize): Remove all "BFD: " prefixed lines
      	from the output.
      
      From-SVN: r193763
      Jakub Jelinek committed
    • re PR c++/54046 (wrong control reaches end of non-void function for switch case… · 88cd0e88
      re PR c++/54046 (wrong control reaches end of non-void function for switch case with throw and default)
      
      	PR c++/54046
      	* Makefile.in (gimple-low.o): Depend on langhooks.h.
      	* gimple-low.c: Include langhooks.c.
      	(block_may_fallthru): Handle TARGET_EXPR and ERROR_MARK,
      	by default call lang_hooks.block_may_fallthru.
      	* langhooks.h (struct lang_hooks): Add block_may_fallthru
      	langhook.
      	* langhooks-def.h (LANG_HOOKS_BLOCK_MAY_FALLTHRU): Define.
      	(LANG_HOOKS_INITIALIZER): Use it.
      
      	* cp-objcp-common.h (LANG_HOOKS_BLOCK_MAY_FALLTHRU): Redefine.
      	* cp-objcp-common.c (cxx_block_may_fallthru): New function.
      	* cp-tree.h (cxx_block_may_fallthru): New prototype.
      
      	* g++.dg/warn/Wreturn-type-8.C: New test.
      
      From-SVN: r193762
      Jakub Jelinek committed
    • i386-c.c (ix86_target_macros_internal): Update handling of core chips. · 340ef734
      
      	* i386-c.c (ix86_target_macros_internal): Update handling of core
      	chips.
      	* i386.c (DUMMY_STRINGOP_ALGS): Update
      	(*_cost): Update.
      	(core_cost): Copy from generic64_cost; fix stringop descriptors.
      	(m_CORE2_32, m_CORE2_64, m_COREI7_32, m_COREI7_64, m_CORE2I7_32,
      	m_CORE2I7_64): Remove.
      	(m_CORE2, m_COREI7, m_CORE2I7): Update.
      	(initial_ix86_tune_features): Update.
      	(processor_target): Update.
      	(ix86_option_override_internal): Update.
      	(ix86_option_override_internal): Remove PROCESSOR_CORE2_64,
      	PROCESSOR_COREI7_64 special cases.
      	(decide_alg): Add noalign parameter; set it.
      	(ix86_expand_movmem, ix86_expand_setmem): Update noalign handling.
      	(ix86_issue_rate): Update.
      	(ia32_multipass_dfa_lookahead): Update.
      	(ix86_sched_init_global): Update.
      	(get_builtin_code_for_version): Update.
      	* i386.h (stringop_strategy): Add noalign flag.
      	(TARGET_CORE2_32, TARGET_CORE2_64, TARGET_COREI7_32, TARGET_COREI7_64):
      	Remove.
      	(TARGET_CORE2, TARGET_COREI7): New.
      	(enum processor_type): Remove PROCESSOR_CORE2_32, PROCESSOR_CORE2_64,
      	PROCESSOR_COREI7_32, PROCESSOR_COREI7_64; add PROCESSOR_CORE2,
      	PROCESSOR_COREI7.
      
      From-SVN: r193761
      Jan Hubicka committed
    • re PR rtl-optimization/55388 (ICE in int_mode_for_mode at stor-layout.c:423) · ee88e690
      	PR rtl-optimization/55388
      	* alias.c (nonoverlapping_component_refs_p): Handle bitfields.
      	* emit-rtl.c (adjust_address_1): Deal with VOIDmode early.
      	* expmed.c (store_bit_field): Turn the call to adjust_address
      	into a call to adjust_bitfield_address_size.
      
      From-SVN: r193760
      Eric Botcazou committed
    • lra.c (lra): Move init_reg_info and expand_reg_info calls before init_insn_recog_data. · afa22e29
      2012-11-23  Vladimir Makarov  <vmakarov@redhat.com>
      
      	* lra.c (lra): Move init_reg_info and expand_reg_info calls before
      	init_insn_recog_data.
      
      From-SVN: r193759
      Vladimir Makarov committed
    • re PR c++/55418 (Valgrind: Conditional jump or move depends on uninitialised… · 59ddadab
      re PR c++/55418 (Valgrind: Conditional jump or move depends on uninitialised value(s) in implicitly_declare_fn() method.c:1623)
      
      2012-11-23  Markus Trippelsdorf  <markus@trippelsdorf.de>
      
      	PR c++/55418
      	* method.c (implicitly_declare_fn): Properly initialize trivial_p.
      
      From-SVN: r193758
      Markus Trippelsdorf committed