1. 10 Aug, 2010 13 commits
    • [multiple changes] · d606f1df
      2010-08-10  Robert Dewar  <dewar@adacore.com>
      
      	* a-suenco.adb (Convert): Fix bug in UTF-16 to UTF-8 conversion for
      	codes in the range 16#80#..16#7FF#.
      	* sem_ch10.adb: Minor reformatting.
      
      2010-08-10  Arnaud Charlet  <charlet@adacore.com>
      
      	* gnat1drv.adb (Scan_Front_End_Switches): Always perform semantics and
      	generate ali files in CodePeer mode, so that a gnatmake -c -k will
      	proceed further when possible
      	* freeze.adb (Freeze_Static_Object): Fix thinko. Do not generate error
      	messages when ignoring representation clauses (-gnatI).
      
      2010-08-10  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch4.adb (Expand_N_Selected_Component): Do not attempt to
      	constant-fold discriminant reference if the constraint is an object
      	with non-static expression. Expression may contain volatile references
      	in the presence of renamings.
      
      2010-08-10  Vincent Celier  <celier@adacore.com>
      
      	* prj-proc.adb (Get_Attribute_Index): If Index is All_Other_Names,
      	returns Index.
      	* prj-strt.adb (Attribute_Reference): Recognize 'others' as a valid
      	index for an associative array where it is allowed.
      
      From-SVN: r163060
      Arnaud Charlet committed
    • [multiple changes] · 1f92d7f2
      2010-08-10  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_attr.adb: Add comments.
      
      2010-08-10  Jerome Lambourg  <lambourg@adacore.com>
      
      	* adaint.c (__gnat_get_file_names_case_sensitive): return 0 on darwin.
      
      From-SVN: r163059
      Arnaud Charlet committed
    • iterators.md: New file. · ceddf62c
      2010-08-09  Sofiane Naci  <sofiane.naci@arm.com>
      
          * config/arm/iterators.md: New file.
          * config/arm/arm.md: Include iterators.md.
          (QHSI): Move to new file.
          (LTUGEU, cnb, optab, ior_xor): Likewise.
          * config/arm/iwmmxt.md (VMMX): Move to new file.
          (VSHFT, MMX_char): Likewise.
          * config/arm/neon.md (VD): Move to new file.
          (VDX, VDI, VQ, VQX, VQI, VQXMOV, VSTRUCT, VTAB, V_TAB_n, VW): Likewise.
          (VN, VDQ, VDQW, VDQIW, VCVTF, VCVTI, VMD, VMQ, VMDQ, VMDI): Likewise.
          (VMDQI, VX, VE, V64, V32, V_CVTTO, V_elem, V_ext, V_two_elem): Likewise.
          (V_three_elem, V_four_elem, V_req, V_widen, V_narrow, V_HALF): Likewise.
          (V_half,V_DOUBLE, V_double, V_double_width, V_cmp_result): Likewise.
          (V_if_elem, V_s_elem, V_u_elem, V_uf_sclr, V_sz_elem, VD_dup): Likewise.
          (V_PAIR, vqh_ops, vqhs_ops, VQH_mnem, VQH_sign, V_suf64): Likewise.
          (scalar_mul_constraint,Is_float_mode, Scalar_mul_8_16): Likewise.
          (Is_d_reg, V_mode_nunits): Likewise.
          * config/arm/vec-common.md (VALL): Move to new file.
          (VALLW, VINT, VINTW): Likewise.
      
      From-SVN: r163058
      Sofiane Naci committed
    • re PR middle-end/45182 (Failed to build SPEC CPU 2000/2006) · 5466d63d
      	PR middle-end/45182
      	* combine.c (make_compound_operation): Don't try to convert
      	shifts into multiplications for modes that aren't SCALAR_INT_MODE_P.
      
      	PR middle-end/45182
      	* gcc.c-torture/compile/pr45182.c: New test.
      
      From-SVN: r163057
      Bernd Schmidt committed
    • 1.cc: Avoid -Wall warnings. · fabe484d
      2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/ext/stdio_sync_filebuf/char/1.cc: Avoid -Wall
      	warnings.
      	* testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
      
      From-SVN: r163056
      Paolo Carlini committed
    • range_access.cc: Avoid -Wall warnings. · 813c6cdf
      2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/23_containers/array/range_access.cc: Avoid -Wall
      	warnings.
      
      From-SVN: r163054
      Paolo Carlini committed
    • cons_overflow_neg.cc: Avoid -Wall warnings. · 5aadb69b
      2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Avoid -Wall
      	warnings.
      
      	* include/bits/shared_ptr.h (shared_ptr<>::shared_ptr
      	(const shared_ptr<>&), shared_ptr(shared_ptr<>&&), weak_ptr<>::
      	weak_ptr(const weak_ptr<>&), weak_ptr(const shared_ptr<>&)):
      	Constrain appropriately via std::is_convertible, etc.
      	* include/bits/shared_ptr_base.h: Likewise.
      	* include/bits/unique_ptr.h (default_delete<>::
      	default_delete(const default_delete<>&),
      	unique_ptr<>::unique_ptr(unique_ptr<>&&), operator=(unique_ptr<>&&)):
      	Likewise.
      
      	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
      	line numbers.
      	* testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
      
      	* include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(auto_ptr<>&&)):
      	Add.
      	* include/std/memory: Adjust includes order.
      	* testsuite/20_util/unique_ptr/cons/auto_ptr.cc: New.
      	* testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Minor tweaks.
      
      From-SVN: r163053
      Paolo Carlini committed
    • tree.h (get_object_alignment): Adjust prototype. · e80c2726
      2010-08-10  Richard Guenther  <rguenther@suse.de>
      
      	* tree.h (get_object_alignment): Adjust prototype.
      	* builtins.c (get_object_alignment): Return unsigned int,
      	drop the align parameter.  Handle MEM_REF, MISALIGNED_INDIRECT_REF
      	and TARGET_MEM_REF properly.
      	(get_pointer_alignment): Adjust.
      	* emit-rtl.c (get_mem_align_offset): Adjust comment.
      	(set_mem_attributes_minus_bitpos): Adjust.
      	* tree-ssa-ccp.c (get_value_from_alignment): Adjust.
      
      From-SVN: r163051
      Richard Guenther committed
    • tree-ssa-copy.c (set_copy_of_val): Use operand_equal_p. · a024390f
      2010-08-10  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-copy.c (set_copy_of_val): Use operand_equal_p.
      	(copy_prop_visit_assignment): Simplify.
      	(copy_prop_visit_stmt): Also visit assignments from
      	constants.
      	(copy_prop_visit_phi_node): Use operand_equal_p.
      
      From-SVN: r163050
      Richard Guenther committed
    • re PR libstdc++/45228 ([C++0x] Can't copy-construct "tuple<int,int,int>" from… · 0a5c2065
      re PR libstdc++/45228 ([C++0x] Can't copy-construct "tuple<int,int,int>" from "const tuple<int,int,int>" rvalue)
      
      2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/45228
      	* include/std/tuple (tuple<typename... _Elements>): Constrain
      	converting constructors and assignment operators with
      	sizeof...(_UElements) == sizeof...(_Elements).
      	(tuple(tuple<_UElements...>&): Remove.
      	(tuple<typename _T1>): Add.
      	* testsuite/20_util/tuple/cons/45228.cc: New.
      	* testsuite/20_util/tuple/cons/converting.cc: Likewise.
      	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
      	dg-error line number.
      
      	* include/std/tuple (_Tuple_impl<>::_Tuple_impl(const _Tuple_impl&)):
      	Defaulted.
      
      	* include/std/tuple (tuple<typename _T1, typename _T2>
      	::operator=(pair<_U1, _U2>&&)): Use forward.
      
      From-SVN: r163049
      Paolo Carlini committed
    • * ipa-split.c (find_split_points): Free stack. · ff61e417
      From-SVN: r163048
      Nathan Froyd committed
    • tree.h (tree_node_kind): Delete. · 5a351c3c
      	* tree.h (tree_node_kind) [perm_list_kind,temp_list_kind]: Delete.
      	* tree.c (tree_node_kind): Delete corresponding entries.
      
      From-SVN: r163047
      Nathan Froyd committed
    • Daily bump. · c138e56a
      From-SVN: r163046
      GCC Administrator committed
  2. 09 Aug, 2010 18 commits
  3. 08 Aug, 2010 9 commits
    • 20030107-1.c: Do not call cleanup-coverage-files. · 7323f4bb
      	* gcc.dg/20030107-1.c: Do not call cleanup-coverage-files.
      	* gcc.dg/20030702-1.c: Ditto.
      	* gcc.dg/20050309-1.c: Ditto.
      	* gcc.dg/20050325-1.c: Ditto.
      	* gcc.dg/20050330-2.c: Ditto.
      	* gcc.dg/20051201-1.c: Ditto.
      	* gcc.dg/gomp/pr27573.c: Ditto.
      	* gcc.dg/gomp/pr34610.c: Ditto.
      	* gcc.dg/pr24225.c: Ditto.
      	* gcc.dg/pr26570.c: Ditto.
      	* gcc.dg/pr32773.c: Ditto.
      	* g++.dg/gcov/gcov-6.C: Ditto.
      	* g++.dg/gomp/pr34608.C: Ditto.
      	* gfortran.dg/gomp/pr27573.f90: Ditto.
      
      	* gcc.dg/profile-dir-1.c: Do not call cleanup-coverage-files.  Remove
      	dg-require-host-local dg directive.
      	* gcc.dg/profile-dir-2.c: Ditto.
      	* gcc.dg/profile-dir-3.c: Ditto.
      
      From-SVN: r163020
      Uros Bizjak committed
    • c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push. · ac8dc9f7
      	* c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
      	(maybe_apply_renaming_pragma): Delete unneeded declarations.
      
      From-SVN: r163015
      Nathan Froyd committed
    • c-tree.h (build_arg_info): Declare. · b3399d18
      	* c-tree.h (build_arg_info): Declare.
      	* c-decl.c (build_arg_info): Define.
      	(get_parm_info): Call it.  Delete initialization code.
      	* c-parser.c (c_parser_parms_declarator): Likewise.
      	(c_parser_parms_list_declaractor): Likewise.
      
      From-SVN: r163014
      Nathan Froyd committed
    • c-tree.h (c_arg_tag): Define. · e60bf9d4
      	* c-tree.h (c_arg_tag): Define.  Define a VEC containing it.
      	(struct c_arg_info): Change type of tags field.
      	* c-decl.c (grokdeclarator): Update for changed type of tags field.
      	(get_parm_info): Likewise.
      	(store_parm_decls_newstyle): Likewise.
      
      From-SVN: r163013
      Nathan Froyd committed
    • c-pragma.c (pending_redefinition): Declare. · 4f8c876d
      	* c-pragma.c (pending_redefinition): Declare.  Declare a VEC of it.
      	(pending_redefine_extname): Change type to a VEC.
      	(add_to_renaming_pragma_list): Update for new type of
      	pending_redefine_extname.
      	(maybe_apply_pending_pragma): Likewise.
      
      From-SVN: r163012
      Nathan Froyd committed
    • rs6000.c (branch_island): Define. · e7c64c7d
      	* config/rs6000/rs6000.c (branch_island): Define.  Define a VEC of it.
      	(branch_island_list): Delete.
      	(branch_islands): Declare.
      	(add_compiler_branch_island): Adjust for branch_islands instead of
      	branch_island_list.
      	(macho_branch_islands): Likewise.
      	(no_previous_def): Likewise.
      	(get_prev_label): Likewise.
      
      From-SVN: r163011
      Nathan Froyd committed
    • re PR tree-optimization/45109 (ICE: in get_constraint_for_component_ref, at… · b4a4e6ae
      re PR tree-optimization/45109 (ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932)
      
      2010-08-08  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/45109
      	* gcc.c-torture/compile/pr45109.c: New testcase.
      
      From-SVN: r163007
      Richard Guenther committed
    • re PR boehm-gc/34544 (pthread_default_stacksize_np failed.) · cf00499e
      	PR boehm-gc/34544
      	* gthr-posix.h (__gthread_start): Delete.
      	(__gthread_active_init): Use pthread_default_stacksize_np instead of
      	pthread_create to determine if hpux pthreads are active.
      	* gthr-posix95.h (__gthread_start): Delete.
      	(__gthread_active_init): Likewise use pthread_default_stacksize_np.
      
      From-SVN: r163003
      John David Anglin committed
    • re PR libstdc++/44963 ([DR 1334] Ambiguous function overload using… · 71234632
      re PR libstdc++/44963 ([DR 1334] Ambiguous function overload using __gnu_cxx::crope with std::back_inserter in c++0x mode)
      
      2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/44963
      	* include/bits/stl_iterator.h (insert_iterator<>::
      	operator=(const typename _Container::value_type&,
      	back_insert_iterator<>::
      	operator=(const typename _Container::value_type&),
      	front_insert_iterator<>::
      	operator=(const typename _Container::value_type&))): Add
      	in C++0x mode.
      	* testsuite/ext/rope/44963.cc: New.
      	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
      	dg-error line number.
      
      From-SVN: r163001
      Paolo Carlini committed