1. 10 Jun, 2011 18 commits
    • trans-decl.c (gfc_build_builtin_function_decls): Updated declaration of… · f5c01f5b
      trans-decl.c (gfc_build_builtin_function_decls): Updated declaration of caf_sync_all and caf_sync_images.
      
      gcc/fortran/
      2011-06-10  Daniel Carrera  <dcarrera@gmail.com>
      
              * trans-decl.c (gfc_build_builtin_function_decls):
              Updated declaration of caf_sync_all and caf_sync_images.
              * trans-stmt.c (gfc_trans_sync): Function
              can now handle a "stat" variable that has an integer type
              different from integer_type_node.
      
      libgfortran/
      2011-06-10  Daniel Carrera  <dcarrera@gmail.com>
      
              * caf/mpi.c (_gfortran_caf_sync_all,
              _gfortran_caf_sync_images): Functions have void return type
              and move status into parameter list.
              * caf/single.c (_gfortran_caf_sync_all,
              _gfortran_caf_sync_images): Functions have void return type
              and move status into parameter list.
              * caf/libcaf.h (_gfortran_caf_sync_all,
              _gfortran_caf_sync_images): Functions have void return type
              and move status into parameter list.
      
      gcc/testsuite/
      2011-06-10  Daniel Carrera  <dcarrera@gmail.com>
      
              * gfortran.dg/coarray/sync_1.f90: New test for
              "SYNC ALL", "SYNC MEMORY" and "SYNC IMAGES".
      
      From-SVN: r174896
      Daniel Carrera committed
    • ipa-utils.c (searchc): Use cgraph_function_or_thunk_node. · fede8efa
      
      	* ipa-utils.c (searchc): Use cgraph_function_or_thunk_node.
      	* ipa-pure-const.c (analyze_function): Aliases don't need analysis.
      	(self_recursive_p): Use cgraph_function_node.
      	(propagate_pure_const): Likewise.
      	(propagate_nothrow): Likewise.
      	* ipa-reference.c (ipa_reference_get_not_read_global): Use
      	cgraph_function_node.
      	(propagate_bits): Likewise.
      	(propagate): Likewise.
      
      From-SVN: r174895
      Jan Hubicka committed
    • Use mvn properly and consolidate movdi patterns. · 0127c76f
      
      2011-06-10  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
      	    Richard Earnshaw  <rearnsha@arm.com>
      
      	* config/arm/arm.c (const_ok_for_op): Check to see
      	if mvn can be used.
      	* config/arm/vfp.md (*arm_movdi_vfp): Delete.
      	(*thumb2_movdi_vfp): Delete.
      	(*arm_movdi_vfp_cortexa8): Delete.
      	(*movdi_vfp): Consolidate from *arm_movdi_vfp and *thumb2_movdi_vfp.
      	(*movdi_vfp_cortexa8): Likewise.
      
      Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
      
      From-SVN: r174894
      Ramana Radhakrishnan committed
    • stor-layout.c (initialize_sizetypes): Give names to all sizetype kinds. · f93fe5a0
      2011-06-10  Richard Guenther  <rguenther@suse.de>
      
      	* stor-layout.c (initialize_sizetypes): Give names to all
      	sizetype kinds.
      
      From-SVN: r174893
      Richard Guenther committed
    • c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier to print a IDENTIFIER_NODE. · d7fc8c14
      2011-06-10  Richard Guenther  <rguenther@suse.de>
      
      	c-family/
      	* c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
      	to print a IDENTIFIER_NODE.
      
      From-SVN: r174892
      Richard Guenther committed
    • re PR tree-optimization/49318 (177.mesa in SPEC CPU 2000 failed to build) · f2164f87
      
              PR tree-optimization/49318
              * tree-vect-loop.c (vect_determine_vectorization_factor):
              Remove irrelevant pattern statements.
      
      From-SVN: r174891
      Ira Rosen committed
    • re PR c++/49118 (Endless operator-> chain causes infinite loop) · 6904f4b4
      	PR c++/49118
      	* typeck2.c (build_x_arrow): Push fake template context
      	to produce diagnostic on acyclic endless operator-> drill-down.
      	* call.c (build_new_op): Change Boolean overload status
      	value to a pointer to the overload function.
      	* cp-tree.h: Likewise.
      	* typeck.c: Likewise.
      	* parser.c: Likewise.
      	* decl2.c: Likewise.
      	* pt.c: Likewise.
      
      From-SVN: r174889
      David Krauss committed
    • prune.exp: Prune "note"s. · 0dbe3777
      	* lib/prune.exp: Prune "note"s.
      	* g++.dg/uninit-pred-3_b.C: Remove dg-excess-errors.
      
      	* g++.dg/ext/injected-ttp.C: Specify -std=c++98.
      	* g++.dg/template/dependent-expr3.C: Likewise.
      	* g++.dg/parse/template7.C: Likewise.
      	* g++.old-deja/g++.bugs/900119_01.C: Likewise.
      	* g++.old-deja/g++.jason/rfg10.C: Likewise.
      	* g++.old-deja/g++.pt/friend38.C: Likewise.
      	* g++.old-deja/g++.pt/crash32.C: Likewise.
      	* g++.old-deja/g++.other/init4.C: Likewise.
      	* g++.old-deja/g++.other/friend8.C: Likewise.
      
      	* g++.dg/ext/complex7.C: Adjust expected output.
      	* g++.dg/diagnostic/method1.C: Likewise.
      	* g++.dg/parse/parameter-declaration-2.C: Likewise.
      	* g++.dg/parse/crash33.C: Likewise.
      	* g++.dg/other/warning1.C: Likewise.
      	* g++.dg/init/pr29571.C: Likewise.
      	* g++.dg/warn/overflow-warn-1.C: Likewise.
      	* g++.dg/warn/overflow-warn-3.C: Likewise.
      	* g++.dg/warn/overflow-warn-4.C: Likewise.
      	* g++.old-deja/g++.oliva/template1.C: Likewise.
      
      From-SVN: r174886
      Jason Merrill committed
    • prune.exp (libstdc++-dg-prune): Prune notes. · 377a5364
      	* testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
      	* testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
      	* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
      	* testsuite/20_util/forward/1_neg.cc: Likewise.
      	* testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
      	* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
      	* testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
      	* testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: Likewise.
      	* testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
      	* testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
      	* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
      	* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Likewise.
      	* testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc: Likewise.
      	* testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
      	* testsuite/23_containers/map/operators/1_neg.cc: Likewise.
      	* testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Likewise.
      	* testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
      	* testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
      	* testsuite/decimal/operator_neg.cc: Likewise.
      
      From-SVN: r174884
      Jason Merrill committed
    • parser.c (cp_parser_constant_expression): Just return the non-constant expression. · b1623cc5
      	* parser.c (cp_parser_constant_expression): Just return the
      	non-constant expression.
      
      From-SVN: r174882
      Jason Merrill committed
    • * system.h (SETJMP_VIA_SAVE_AREA): Poison. · 3d223145
      From-SVN: r174880
      Hans-Peter Nilsson committed
    • re PR bootstrap/49354 (bootstrap failure) · 3f91c962
      	PR bootstrap/49354
      	* ira-costs.c (setup_regno_cost_classes_by_mode): Add missing cast
      	to last assignment.
      
      From-SVN: r174878
      Hans-Peter Nilsson committed
    • cgraphunit.c (cgraph_reset_node): Do not set redefined_extern_inline; do not… · b125ad45
      cgraphunit.c (cgraph_reset_node): Do not set redefined_extern_inline; do not recompute reachable flag.
      
      
      	* cgraphunit.c (cgraph_reset_node): Do not set redefined_extern_inline;
      	do not recompute reachable flag.
      	(cgraph_finalize_function, cgraph_analyze_functions): Set
      	redefined_extern_inline here.
      
      From-SVN: r174877
      Jan Hubicka committed
    • Daily bump. · 5d4c7c5f
      From-SVN: r174876
      GCC Administrator committed
    • cgraph.h (cgraph_only_called_directly_or_aliased_p): Rename from ... · be330ed4
      	* cgraph.h (cgraph_only_called_directly_or_aliased_p): Rename from ...
      	(cgraph_only_called_directly_p): ... this one; bring offline.
      	(resolution_used_from_other_file_p, cgraph_used_from_object_file_p,
      	varpool_used_from_object_file_p): Drop names from the declaratoin.
      	(cgraph_for_node_thunks_and_aliases, cgraph_for_node_and_aliases,
      	collect_callers_of_node): New.
      	(cgraph_function_node, cgraph_function_or_thunk_node): New functions.
      	(cgraph_edge_recursive_p): Use cgraph_function_node.
      	* cgraph.c (cgraph_add_thunk): Check that thunk is not already alias.
      	(cgraph_node_cannot_be_local_p_1): Break out from ...
      	(cgraph_node_can_be_local_p): ... here; walk aliases.
      	(cgraph_for_node_thunks_and_aliases): New function.
      	(cgraph_for_node_and_aliases): New function.
      	(cgraph_make_node_local_1): Break out from ...
      	(cgraph_make_node_local) ... here; use cgraph_for_node_thunks_and_aliases.
      	(cgraph_set_nothrow_flag_1): Break out from ...
      	(cgraph_set_nothrow_flag) ... here; use cgraph_for_node_thunks_and_aliases.
      	(cgraph_set_const_flag_1): Break out from ...
      	(cgraph_set_const_flag) ... here; use cgraph_for_node_thunks_and_aliases.
      	(cgraph_set_pure_flag_1): Break out from ...
      	(cgraph_set_pure_flag) ... here; use cgraph_for_node_thunks_and_aliases.
      	(cgraph_propagate_frequency_1): Break out from ...
      	(cgraph_propagate_frequency) ... here; use cgraph_for_node_thunks_and_aliases.
      	(cgraph_used_from_object_file_p): Do not care about aliases.
      	(cgraph_not_only_called_directly_p_1, cgraph_only_called_directly_p): New functions.
      	(collect_callers_of_node_1, collect_callers_of_node): New functions.
      
      From-SVN: r174871
      Jan Hubicka committed
  2. 09 Jun, 2011 22 commits