1. 09 Nov, 2009 4 commits
    • extend.texi (Half-Precision): Update wording to reflect that there are now… · e0dc3601
      extend.texi (Half-Precision): Update wording to reflect that there are now multiple -mfpu options that enable...
      
      2009-11-09  Paul Brook  <paul@codesourcery.com>
      	Daniel Jacobowitz  <dan@codesourcery.com>
      	Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/extend.texi (Half-Precision): Update wording to reflect
      	that there are now multiple -mfpu options that enable fp16
      	hardware support.
      	* doc/invoke.texi: Update list of ARM -mfpu= options.
      	* config.gcc: Update ARM --with-fpu option list.
      	* config/arm/arm.c (all_fpus): Add vfpv3-fp16, vfpv3-d16-fp16,
      	vfpv3xd and vfpv3xd-fp16.
      	(use_vfp_abi): New function.
      	(aapcs_vfp_is_call_or_return_candidate): Avoid double precision regs
      	when undesirable.
      	(aapcs_vfp_is_return_candidate, aapcs_vfp_is_call_candidate,
      	aapcs_vfp_allocate_return_reg): Use use_vfp_abi.
              (arm_rtx_costs_1, arm_size_rtx_costs, arm_fastmul_rtx_costs,
              arm_9e_rtx_costs): Only expect double-precision operations if the FPU
              provides them.
      	(coproc_secondary_reload_class): Reload HFmode via GENERAL_REGS if no
      	NEON.
      	(arm_print_operand): Handle 'p' modifier.
      	(arm_hard_regno_mode_ok): : Allow HFmode in VFP registers if
      	TARGET_FP16.
      	* config/arm/arm.h (TARGET_VFP_SINGLE, TARGET_VFP_DOUBLE): Define.
      	(TARGET_FP16): Define.
      	* config/arm/vfp.md: Disable double-precision patterns if the FPU
      	does not provide them.
      	(arm_movdi_vfp, thumb2_movdi_vfp): Use fcpys to move
      	double-precision values on a single-precision FPU.
              (movdf_vfp, thumb2_movdf_vfp): Likewise.  Use "Dy" for
              double-precision constants.
      	(movhf_vfp_neon): New pattern (was movhf_vfp).
      	(movhf_vfp): Remove NEON instructions.
      	* config/arm/constraints.md: Add new "Dy" constraint for
      	double-precision constants.  Update description of "Dv".
      	* config/arm/arm.md: Disable double-precision patterns if the FPU
      	does not provide them
      
      
      Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com>
      Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
      
      From-SVN: r154034
      Paul Brook committed
    • i386.c (print_operand): Fix formatting. · 2bf17308
      	* config/i386/i386.c (print_operand) <case 'D'>: Fix formatting.
      	(print_operand) <case 'Y'>: Likewise.  Fix a pasto in operand lossage
      	diagnostics.
      
      From-SVN: r154033
      Jakub Jelinek committed
    • sso_string_base.h (_M_mutate): Remove extra 'const'. · 624d3e57
      2009-11-08  Jason Merrill  <jason@redhat.com>
      
      	* include/ext/sso_string_base.h (_M_mutate): Remove extra 'const'.
      
      From-SVN: r154025
      Jason Merrill committed
    • Daily bump. · 9cdab33f
      From-SVN: r154024
      GCC Administrator committed
  2. 08 Nov, 2009 15 commits
    • 37920, not 37290 · 6b887d86
      From-SVN: r154021
      Jason Merrill committed
    • collect2.c (main): Search PLUGIN_LD for plugin linker. · 5938f74d
      2009-11-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* collect2.c (main): Search PLUGIN_LD for plugin linker.
      
      	* configure.ac (--with-plugin-ld): New.  Default to ld.
      	* configure: Regenerated.
      	* config.in: Likewise.
      
      	* exec-tool.in (ORIGINAL_PLUGIN_LD_FOR_TARGET): New.
      	(collect-ld): Use ORIGINAL_PLUGIN_LD_FOR_TARGET for -plugin.
      
      From-SVN: r154020
      H.J. Lu committed
    • Remove extra pathname. · aeaebc93
      From-SVN: r154019
      H.J. Lu committed
    • re PR target/37290 (Endless recursion in cse_cc_succs) · ecd0e976
      	PR c++/37290
      	* pt.c (tsubst) [TYPEOF_TYPE]: Set cp_unevaluated_operand.
      
      From-SVN: r154018
      Jason Merrill committed
    • openbsd-stdint.h: Change to reflect what c_common_nodes_and_builtins expects. · f8535154
      	* config/openbsd-stdint.h: Change to reflect what
      	c_common_nodes_and_builtins expects.
      
      From-SVN: r154017
      Jonathan Gray committed
    • builtins.c (apply_args_reg_offset): Remove commented out delaration. · 3ab084fa
      2009-11-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* builtins.c (apply_args_reg_offset): Remove commented out delaration.
      
      From-SVN: r154015
      Paolo Carlini committed
    • re PR target/41985 (Internal compiler error reported.) · 2eea716d
      	PR target/41985
      	* config/i386/i386.c (get_some_local_dynamic_name): Don't assert
      	function contains at least one local dynamic name.
      	(print_operand) <case '&'>: Instead output operand lossage diagnostics
      	here if that happens.
      
      	* gcc.target/i386/pr41985.c: New test.
      
      From-SVN: r154014
      Jakub Jelinek committed
    • cfgrtl.c (pass_free_cfg): Add pass name. · e0a42b0f
              * cfgrtl.c (pass_free_cfg): Add pass name.
              * cgraphbuild.c (pass_build_cgraph_edges): Likewise.
              (pass_rebuild_cgraph_edges, pass_remove_cgraph_callee_edges): Likewise.
              * dce.c (pass_ud_rtl_dce, pass_fast_rtl_dce): Change pass name.
              * df-core.c (pass_df_initialize_no_opt): Likewise.
              * except.c (pass_rtl_eh): Likewise.
              * function.c (pass_init_function, pass_leaf_regs): Likewise.
              * gcse.c (pass_rtl_pre): Change pass name.
              * passes.c (pass_postreload): Add pass name.
              (make_pass_instance): Don't use duplicate-tracking logic for
              names starting with '*'.
              (next_pass_1): Assert that pass has a name.
              (register_one_dump_file): If there is an space in the name,
              skip past it.
              * predict.c (pass_strip_predict_hints): Add pass name.
              * reg-stack.c (pass_stack_regs): Likewise.
              * stack-ptr-mod.c (pass_stack_ptr_mod): Likewise.
              * tree-cfg.c (pass_warn_function_return,
              pass_warn_function_noreturn): Add pass name.
              * tree-dfa.c (pass_referenced_vars): Likewise.
              * tree-optimize.c (pass_cleanup_cfg_post_optimizing):
              Fix whitespace before comment.
              (pass_fixup_cfg): Add pass name, fix whitespace before comment.
              (pass_init_datastructures): Add pass name.
              * tree-ssa-loop.c (pass_record_bounds): Likewise.
              * tree-ssa.c (pass_early_warn_uninitialized,
              pass_late_warn_uninitialized): Likewise.
              * tree.c (pass_ipa_free_lang_data): Likewise.
              * doc/passes.texi (pass manager): Document how to disambiguate
              pass names.
      
      Co-Authored-By: Joern Rennecke <amylaar@spamcop.net>
      
      From-SVN: r154013
      Zbigniew Chamski committed
    • df-problems.c: Fix documentation for forward simulation of LR. · 64274683
      2009-11-08  Paolo Bonzini  <bonzini@gnu.org>
      
      	* df-problems.c: Fix documentation for forward simulation of LR.
      	(df_simulate_one_insn_forwards): Use df_simulate_find_defs.
      	(df_simulate_finalize_forwards): Remove.
      	* df.h (df_simulate_finalize_forwards): Remove.
      
      From-SVN: r154012
      Paolo Bonzini committed
    • tree-ssa-structalias.c (build_succ_graph): Properly make variables escape if… · 379c6f48
      tree-ssa-structalias.c (build_succ_graph): Properly make variables escape if they are stored to anything.
      
      2009-11-08  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-structalias.c (build_succ_graph): Properly make
      	variables escape if they are stored to anything.
      
      	* gcc.dg/torture/pta-escape-1.c: New testcase.
      
      From-SVN: r154010
      Richard Guenther committed
    • decl.c (make_packable_type): Fix oversight. · d770e88d
      	* gcc-interface/decl.c (make_packable_type): Fix oversight.
      	(gnat_to_gnu_field): Do not attempt to change the form of the type
      	if the field requires strict alignment.  Always change the form of
      	the type if the specified size is smaller than its size.
      
      From-SVN: r154009
      Eric Botcazou committed
    • re PR rtl-optimization/41928 (segfault at gcc/bitmap.c:297) · eb149440
      2009-11-08  Richard Guenther  <rguenther@suse.de>
      
      	PR rtl-optimization/41928
      	* loop-invariant.c (free_loop_data): If we didn't allocate
      	loop data do not try to free it.
      
      	* gfortran.dg/pr41928.f90: New testcase.
      
      From-SVN: r154008
      Richard Guenther committed
    • * tree.c (reconstruct_complex_type): Preserve attributes. · b5fcfe89
      From-SVN: r154007
      Jason Merrill committed
    • re PR c++/18451 (C++ error message regression) · 67dc1f24
      	PR c++/18451
      	PR c++/40738
      	* cp-tree.h (cp_decl_specifier_seq): Add any_type_specifiers_p.
      	* parser.c (cp_parser_single_declaration): Call
      	cp_parser_parse_and_diagnose_invalid_type_name here, too.
      	(cp_parser_parameter_declaration): And here.
      	(cp_parser_parse_and_diagnose_invalid_type_name): Be
      	less picky about declarator form.  Don't skip to
      	the end of the block if	we're in a declarator.
      	(cp_parser_decl_specifier_seq): Set any_type_specifiers_p.
      	(cp_parser_simple_declaration): Check it.
      	(cp_parser_member_declaration): Likewise.
      	(cp_parser_diagnose_invalid_type_name): Tweak error message.
      	(cp_parser_expression_statement): Likewise.
      	* decl2.c (grokfield): Mention decltype instead of typeof.
      
      From-SVN: r154006
      Jason Merrill committed
    • Daily bump. · 5241b7e4
      From-SVN: r154005
      GCC Administrator committed
  3. 07 Nov, 2009 10 commits
  4. 06 Nov, 2009 11 commits
    • 2009-11-06 Steven G. Kargl <kargl@gcc.gnu.org> · 800cee34
              resolve.c (check_typebound_override): Remove duplicate "in" in error
              message.
      
      From-SVN: r153982
      Steven G. Kargl committed
    • user.cfg.in: Adjust includes. · 8e32aa11
      2009-11-06  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/doxygen/user.cfg.in: Adjust includes.
      
      	* doc/doxygen/doxygroups.cc: Move group markup.
      	* include/tr1_impl/regex: Change " to '. Add group markup.
      	* include/std/utility: Same.
      	* include/std/type_traits: Same.
      	* include/std/streambuf: Same.
      	* include/std/iosfwd: Same.
      	* include/std/limits: Same.
      	* include/std/sstream: Same.
      	* include/profile/impl/profiler_state.h: Same.
      	* include/profile/impl/profiler_hashtable_size.h: Same.
      	* include/bits/stl_algobase.h: Same.
      	* include/bits/stl_iterator_base_types.h: Same.
      	* include/bits/stream_iterator.h: Same.
      	* include/bits/stl_iterator.h: Same.
      	* include/bits/stl_tempbuf.h: Same.
      	* include/bits/streambuf_iterator.h: Same.
      	* libsupc++/exception: Same.
      	* libsupc++/cxxabi.h: Same.
      	* include/tr1_impl/type_traits: Same.
      
      	* include/parallel/multiway_merge.h: Change @__c to @c, @__f to @f.
      	* include/parallel/list_partition.h: Same.
      	* include/parallel/for_each.h: Same.
      	* include/parallel/workstealing.h: Same.
      	* include/parallel/base.h: Same.
      	* include/parallel/equally_split.h: Same.
      	* include/parallel/random_shuffle.h: Same.
      	* include/parallel/balanced_quicksort.h: Same.
      	* include/parallel/merge.h: Same.
      	* include/parallel/multiway_mergesort.h: Same.
      	* include/parallel/compatibility.h: Same.
      	* include/parallel/queue.h: Same.
      	* include/parallel/checkers.h: Same.
      	* include/parallel/random_number.h: Same.
      
      
      	* include/c_global/csignal: Change # to \#.
      	* include/c_global/cstdlib: Same.
      	* include/c_global/cstdio: Same.
      	* include/c_global/cstdarg: Same.
      	* include/c_global/cctype: Same.
      	* include/c_global/cerrno: Same.
      	* include/c_global/cstdatomic: Same.
      	* include/c_global/cmath: Same.
      	* include/c_global/ciso646: Same.
      	* include/c_global/ctime: Same.
      	* include/c_global/clocale: Same.
      	* include/c_global/climits: Same.
      	* include/c_global/cassert: Same.
      	* include/c_global/csetjmp: Same.
      	* include/c_global/cwchar: Same.
      	* include/c_global/cfloat: Same.
      	* include/c_global/cstring: Same.
      	* include/c_global/cstddef: Same.
      	* include/c_global/cwctype: Same.
      
      	* include/std/memory: Only dance around boost_sp_counted_base.h.
      	* include/tr1_impl/boost_sp_counted_base.h: Add markup.
      	* include/tr1/shared_ptr.h: Strip markup.
      	* include/bits/shared_ptr.h: Move base types...
      	* include/bits/shared_ptr_base.h: ...here.
      	* include/Makefile.am: Add.
      	* include/Makefile.in: Regenerate.
      	* configure: Same.
      	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
      	Adjust line numbers.
      	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
      
      From-SVN: r153980
      Benjamin Kosnik committed
    • add missing changelog line · 2fdbecf6
      From-SVN: r153979
      Jason Merrill committed
    • re PR c++/15946 (Unhelpful error message when "typename" is omitted) · e1faa105
      	PR c++/15946
      	* parser.c (cp_parser_check_template_parameters): Don't talk about
      	specialization at function scope.
      	(cp_parser_diagnose_invalid_type_name): Handle dependent scope.
      	(cp_parser_parse_and_diagnose_invalid_type_name): Likewise.
      	(cp_parser_expression_statement): Suggest typename.
      	* error.c (dump_decl) [SCOPE_REF]: Print the type here.
      	(dump_expr) [SCOPE_REF]: Call it.
      	(dump_type) [UNBOUND_CLASS_TEMPLATE]: Check TFF_UNQUALIFIED_NAME.
      	* cxx-pretty-print.c (pp_cxx_unqualified_id): Print class template
      	args.
      
      From-SVN: r153978
      Jason Merrill committed
    • re PR c++/9381 (attribute on member function pointer have no effect) · 3c3905fc
      	PR c++/9381
      	* decl2.c (build_memfn_type): Preserve attributes.
      	(cp_reconstruct_complex_type): Likewise.
      	(maybe_retrofit_in_chrg): Likewise.
      	* call.c (standard_conversion): Use build_memfn_type.
      	* pt.c (tsubst): Likewise.
      	* decl.c (build_ptrmem_type): Likewise
      	(check_function_type): Preserve attributes.
      	* tree.c (cp_build_type_attribute_variant): Propagate exception
      	specs on METHOD_TYPE, too.
      	(strip_typedefs): Preserve exception specs and attributes.
      
      From-SVN: r153977
      Jason Merrill committed
    • plugins.texi (Plugin callbacks): added PLUGIN_PRAGMAS. · 7ac8318c
      2009-11-06  Basile Starynkevitch  <basile@starynkevitch.net>
      
      	* doc/plugins.texi (Plugin callbacks): added PLUGIN_PRAGMAS.
      	* c-pragma.c: Include "plugin.h".
      	(init_pragma): Invoke PLUGIN_PRAGMAS.
      	* gcc-plugin.h: Added PLUGIN_PRAGMAS.
      	* plugin.c (plugin_event_name): Added PLUGIN_PRAGMAS & the missing
      	PLUGIN_ATTRIBUTES.
      	(register_callback): Added PLUGIN_PRAGMAS. Fixed typo in message
      	error for unknown callback event.
      	(invoke_plugin_callbacks): Added PLUGIN_PRAGMAS.
      	* Makefile.in (c-pragma.o): Added dependency upon plugin.h.
      	(PLUGIN_HEADERS): added plugin.h.
      
      2009-11-06  Basile Starynkevitch  <basile@starynkevitch.net>
      
      	* g++.dg/plugin/pragma_plugin-test-1.C: new testcase for
      	PLUGIN_PRAGMAS.
      	* g++.dg/plugin/pragma_plugin.c: new test plugin for
      	PLUGIN_PRAGMAS.
      	* g++.dg/plugin/plugin.exp (plugin_test_list): Add pragma_plugin.c and
      	pragma_plugin-test-1.C.
      
      From-SVN: r153975
      Basile Starynkevitch committed
    • re PR c++/41536 (always_inline does not work always with constructors) · 87e92864
      2009-11-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR c++/41536
              * optimize.c (maybe_clone_body): Copy DECL_ATTRIBUTES and
              DECL_DISREGARD_INLINE_LIMITS also.
      
      2009-11-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR c++/41536
              * g++.dg/ext/always_inline-5.C: New test.
      
      From-SVN: r153974
      Andrew Pinski committed
    • re PR c++/41967 (gcc get into endless loop when compiling an openmp program) · 2e313572
      	PR c++/41967
      	* parser.c (cp_parser_omp_for_loop): After diagnosing not perfectly
      	nested loop and parsing statements, don't cp_parser_require }, instead
      	exit the loop if next token is CPP_EOF.
      
      	* g++.dg/gomp/pr41967.C: New test.
      
      From-SVN: r153972
      Jakub Jelinek committed
    • re PR middle-end/41963 (177.mesa in SPEC CPU 2K is miscompiled) · 79af7c1f
      	PR middle-end/41963
      	* tree-ssa-math-opts.c (execute_cse_reciprocals): Check all uses
      	of a potential reciprocal to really be reciprocals.
      
      testsuite/
      	* gcc.dg/pr41963.c: New test.
      
      From-SVN: r153971
      Michael Matz committed
    • Checking this in for: Jonas Maebe <jonas.maebe@elis.ugent.be> · 9cd4e79b
              Add DWARF attribute value for the "Borland fastcall" calling
              convention.
              * elf/dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
      
      From-SVN: r153970
      Jonas Maebe committed
    • multiway_merge.h: Simple formatting and uglification fixes. · 77d16198
      2009-11-06  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/parallel/multiway_merge.h: Simple formatting and
      	uglification fixes.
      	* include/parallel/find_selectors.h: Likewise.
      	* include/parallel/losertree.h: Likewise.
      	* include/parallel/list_partition.h: Likewise.
      	* include/parallel/for_each.h: Likewise.
      	* include/parallel/multiseq_selection.h: Likewise.
      	* include/parallel/workstealing.h: Likewise.
      	* include/parallel/par_loop.h: Likewise.
      	* include/parallel/numeric: Likewise.
      	* include/parallel/quicksort.h: Likewise.
      	* include/parallel/equally_split.h: Likewise.
      	* include/parallel/omp_loop_static.h: Likewise.
      	* include/parallel/random_shuffle.h: Likewise.
      	* include/parallel/balanced_quicksort.h: Likewise.
      	* include/parallel/tags.h: Likewise.
      	* include/parallel/set_operations.h: Likewise.
      	* include/parallel/merge.h: Likewise.
      	* include/parallel/unique_copy.h: Likewise.
      	* include/parallel/multiway_mergesort.h: Likewise.
      	* include/parallel/search.h: Likewise.
      	* include/parallel/partition.h: Likewise.
      	* include/parallel/partial_sum.h: Likewise.
      	* include/parallel/find.h: Likewise.
      	* include/parallel/queue.h: Likewise.
      	* include/parallel/omp_loop.h: Likewise.
      	* include/parallel/checkers.h: Likewise.
      	* include/parallel/sort.h: Likewise.
      
      From-SVN: r153966
      Paolo Carlini committed