1. 17 Dec, 2009 2 commits
    • pzhao's avatar
      2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> · f08923b3
      pzhao authored
      	PR c/40885
      	* c-common.h (ref_operator): New type.
      	(build_indirect_ref): Adjust prototype with new argument.
      	* c-typeck.c (build_indirect_ref): Accept ref_operator as argument and
      	emit the diagnostics for easy translation.
      	(build_array_ref): Update calls to build_indirect_ref.
      	* c-omp.c (c_finish_omp_atomic): Likewise.
      	* c-parser.c (c_parser_unary_expression,
      	c_parser_postfix_expression_after_primary): Likewise.
      
      cp/
      2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>
      
      	* typeck.c (build_indirect_ref): Update the argument.
      	(build_x_indirect_ref): Likewise.
      	(cp_build_indirect_ref): Update the argument and emit the diagnostics
      	for easy translation.
      	(build_class_member_access_expr, build_array_ref,
      	get_member_function_from_ptrfunc): Update calls.
      	* cp-tree.h (build_x_indirect_ref, cp_build_indirect_ref): Update
      	prototypes.
      	* call.c (build_new_op, convert_like_real, build_x_va_arg,
      	build_over_call): Update calls.
      	* class.c (build_base_path, build_simple_base_path, build_vfn_ref):
      	Likewise.
      	* decl.c (start_preparsed_function): Likewise.
      	* except.c (expand_start_catch_block, build_throw): Likewise.
      	* init.c (emit_mem_initializers, expand_virtual_init,
      	expand_virtual_init, build_new_1, build_vec_init, build_delete,
      	build_vec_delete): Likewise.
      	* parser.c (cp_parser_unary_expression): Likewise.
      	* pt.c (tsubst_copy_and_build): Likewise.
      	* rtti.c (build_headof, get_tinfo_decl_dynamic, get_typeid): Likewise.
      	* semantics.c (finish_non_static_data_member, thisify_lambda_field):
      	Likewise.
      	* tree.c (build_dummy_object, stabilize_expr): Likewise.
      	* typeck2.c (build_x_arrow): Likewise.
      
      testsuite/
      2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>
      
      	* g++.old-deja/g++.mike/net31.C: Make expected dg-error strings
      	explicit.
      	* g++.old-deja/g++.bugs/900213_02.C: Likewise.
      	* g++.old-deja/g++.bugs/900215_02.C: Likewise.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155302 138bc75d-0d04-0410-961f-82ee72b054a4
      f08923b3
    • gccadmin's avatar
      Daily bump. · 5735bd37
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155301 138bc75d-0d04-0410-961f-82ee72b054a4
      5735bd37
  2. 16 Dec, 2009 10 commits
  3. 15 Dec, 2009 22 commits
    • danglin's avatar
      * testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX. · 2fb9cd2f
      danglin authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155277 138bc75d-0d04-0410-961f-82ee72b054a4
      2fb9cd2f
    • paolo's avatar
      2009-12-15 Paolo Carlini <paolo.carlini@oracle.com> · 799fbd1b
      paolo authored
      	* Fix typo in last ChangeLog entry.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155272 138bc75d-0d04-0410-961f-82ee72b054a4
      799fbd1b
    • paolo's avatar
      2009-12-15 Paolo Carlini <paolo.carlini@oracle.com> · 64ec0b93
      paolo authored
      	PR libsdtc++/42381
      	* include/bits/stl_deque.h (_GLIBCXX_DEQUE_BUF_SIZE): Add.
      	(__deque_buf_size(size_t)): Use it.
      	* testsuite/23_containers/deque/requirements/dr438/
      	assign_neg.cc: Adjust dg-error line numbers.
      	* testsuite/23_containers/deque/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155271 138bc75d-0d04-0410-961f-82ee72b054a4
      64ec0b93
    • redi's avatar
      2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> · ebfaca2e
      redi authored
      	* include/std/future (unique_future::get, promise::set_value): Remove
      	workaround for c++/34022.
      	(packaged_task::get_future, packaged_task::operator()): Use
      	__throw_bad_function_call.
      	* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
      	* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
      	* testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
      	* testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
      	* testsuite/30_threads/shared_future/cons/assign_neg.cc: Likewise.
      	* testsuite/30_threads/unique_future/cons/assign_neg.cc: Likewise.
      	* testsuite/30_threads/unique_future/cons/copy_neg.cc: Likewise.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155269 138bc75d-0d04-0410-961f-82ee72b054a4
      ebfaca2e
    • jason's avatar
      PR c++/42358 · a4b021a6
      jason authored
      	* pt.c (iterative_hash_template_arg): Completely ignore
      	ARGUMENT_PACK_SELECT.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155267 138bc75d-0d04-0410-961f-82ee72b054a4
      a4b021a6
    • jason's avatar
      PR c++/42373 · 87315578
      jason authored
      	* g++.dg/cpp0x/lambda/lambda-mangle.C: Adjust regexps for darwin.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155266 138bc75d-0d04-0410-961f-82ee72b054a4
      87315578
    • rwild's avatar
      Replace tabs with spaces in .texi files. · 910faa40
      rwild authored
      gcc/:
      	* doc/extend.texi (Function Attributes, Extended Asm):
      	Replace TABs with spaces.
      	* doc/md.texi (Standard Names): Likewise.
      	* doc/plugins.texi (Plugins): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155264 138bc75d-0d04-0410-961f-82ee72b054a4
      910faa40
    • rwild's avatar
      Fix @itemx vs. @itemx · 171b9b78
      rwild authored
      gcc/:
      	* doc/c-tree.texi (Expression trees): Use @itemx for all but
      	the first item for merged items.
      	* doc/extend.texi (Variable Attributes): Likewise.
      	* doc/install.texi (Configuration): Likewise.
      	* doc/invoke.texi (RS/6000 and PowerPC Options, RX Options):
      	Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155263 138bc75d-0d04-0410-961f-82ee72b054a4
      171b9b78
    • redi's avatar
      2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> · 180334b0
      redi authored
      	* include/std/functional (function::function): Move construct target.
      	(function::operator=): Use perfect forwarding for argument.
      	(function::operator()): Use new __throw_bad_function_call.
      	* include/bits/functexcept.h (__throw_bad_function_call): Declare.
      	* src/functexcept.cc (__throw_bad_function_call): Define.
      	* config/abi/pre/gnu.ver: Add new symbol.
      	* testsuite/20_util/function/cons/move_target.cc: New.
      	* testsuite/20_util/function/assign/move_target.cc: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155261 138bc75d-0d04-0410-961f-82ee72b054a4
      180334b0
    • rguenth's avatar
      2009-12-15 Richard Guenther <rguenther@suse.de> · 08a7e80f
      rguenth authored
      	* tree.c (free_lang_data_in_binfo): Do not free BINFO_OFFSET
      	and BINFO_VPTR_FIELD.
      	(free_lang_data_in_type): Do not free TYPE_STUB_DECL if we
      	generate debug information.
      	(free_lang_data_in_decl): Do not free DECL_SIZE_UNIT,
      	DECL_SIZE, DECL_FIELD_OFFSET and DECL_FCONTEXT.
      	(free_lang_data): Do not disable debuginfo.
      	* lto-streamer-out.c (write_symbol_vec): Deal with
      	non-constant DECL_SIZE.
      	(pack_ts_base_value_fields): Write types with false
      	TREE_ASM_WRITTEN.
      	(lto_output_ts_type_tree_pointers): Stream TYPE_STUB_DECL.
      	* lto-streamer-in.c (lto_input_ts_type_tree_pointers): Stream
      	TYPE_STUB_DECL.
      	* dwarf2out.c (add_pure_or_virtual_attribute): Check for
      	DECL_CONTEXT.
      	(gen_type_die_for_member): Test for TYPE_STUB_DECL.
      	* opts.c (decode_options): Do not disable var-tracking for lto.
      	* doc/invoke.texi (-flto): Document -flto vs. -g experimental
      	status.
      	(-fwhopr): Document experimental status.
      
      	lto/
      	* lto.c (lto_fixup_field_decl): Fixup DECL_FIELD_OFFSET.
      	(lto_post_options): Do not disable debuginfo.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155259 138bc75d-0d04-0410-961f-82ee72b054a4
      08a7e80f
    • paolo's avatar
      2009-12-15 Paolo Carlini <paolo.carlini@oracle.com> · 531c68e2
      paolo authored
      	PR c++/42379
      	* testsuite/23_containers/set/operators/1_neg.cc: Fix dg-error strings.
      	* testsuite/23_containers/map/operators/1_neg.cc: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155258 138bc75d-0d04-0410-961f-82ee72b054a4
      531c68e2
    • ro's avatar
      * ada/acats/norun.lst: Sort. · d58f13dc
      ro authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155257 138bc75d-0d04-0410-961f-82ee72b054a4
      d58f13dc
    • aldyh's avatar
      PR graphite/42185 · 5daf19b1
      aldyh authored
              * graphite-sese-to-poly.c (is_reduction_operation_p): Assert that
              we are a GIMPLE_ASSIGN.  Do not calculate rhs code twice.
              (follow_ssa_with_commutative_ops): Return NULL on non assignment.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155256 138bc75d-0d04-0410-961f-82ee72b054a4
      5daf19b1
    • jakub's avatar
      PR c++/41183 · 9469850c
      jakub authored
      	* cp-tree.h (current_class_ptr): Give NULL even when cfun
      	has NULL cfun->language.
      
      	* g++.dg/torture/pr41183.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155254 138bc75d-0d04-0410-961f-82ee72b054a4
      9469850c
    • ebotcazou's avatar
      * config/rs6000/rs6000.md (probe_stack): Use an enclosing SET. · 4a5b87c6
      ebotcazou authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155251 138bc75d-0d04-0410-961f-82ee72b054a4
      4a5b87c6
    • rguenth's avatar
      2009-12-15 Richard Guenther <rguenther@suse.de> · 67b18080
      rguenth authored
      	* gimple.h (compare_field_offset): Declare.
      	* gimple.c (compare_field_offset): Export.
      	* lto-streamer-in.c (input_gimple_stmt): Use compare_field_offset.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155250 138bc75d-0d04-0410-961f-82ee72b054a4
      67b18080
    • rguenth's avatar
      2009-12-15 Richard Guenther <rguenther@suse.de> · 51f43806
      rguenth authored
      	* lto-cgraph.c (lto_output_node): Also stream the alias
      	for regular aliases.
      	(input_node): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155249 138bc75d-0d04-0410-961f-82ee72b054a4
      51f43806
    • burnus's avatar
      2009-12-15 Tobias Burnus <burnus@net-b.de> · f5daae0b
      burnus authored
                  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/41235
              * resolve.c (resolve_global_procedure): Add check for
              presence of an explicit interface for nonconstant,
              nonassumed character-length functions.
              (resolve_fl_procedure): Remove check for nonconstant
              character-length functions.
      
      2009-12-15  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41235
              * auto_char_len_1.f90: New test.
              * auto_char_len_2.f90: New test.
              * auto_char_len_4.f90: Correct test.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155247 138bc75d-0d04-0410-961f-82ee72b054a4
      f5daae0b
    • jason's avatar
      PR c++/42364 · c8a0f80e
      jason authored
      	* pt.c (function_parameter_expanded_from_pack_p): Don't require
      	a pack to have a name.
      	(tsubst_decl): Do typedef magic after applying attributes.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155246 138bc75d-0d04-0410-961f-82ee72b054a4
      c8a0f80e
    • bonzini's avatar
      2009-12-15 Paolo Bonzini <bonzini@gnu.org> · 7dde752d
      bonzini authored
      	    Shujing Zhao  <pearly.zhao@oracle.com>
      
      	* intl.c (get_spaces): New.
      	* intl.h (get_spaces): New.
      
      cp:
      2009-12-15  Paolo Bonzini  <bonzini@gnu.org>
      	    Shujing Zhao  <pearly.zhao@oracle.com>
      
      	* Makefile.in (cp/pt.o): Depend on intl.h
      	* call.c (print_z_candidates): Make loop more compact,
      	choose head string depending on number of candidates,
      	extract creation of spaces string to intl.c.
      	* pt.c (print_overloaded_functions): Replace with...
      	(print_candidates_1): ... this rewrite.
      	(print_candidates): Rewrite to call print_candidates_1.
      	(most_specialized_class): Make loop more compact,
      	choose head string depending on number of candidates,
      	and size indents depending on translations.
       
      testsuite:
      2009-12-15  Shujing Zhao  <pearly.zhao@oracle.com>
      
      	* g++.dg/other/error20.C: Adjust dg-message strings.
      	* g++.dg/other/error31.C: Likewise.
      	* g++.dg/rtti/typeid6.C: Likewise.
      	* g++.dg/ext/ms-1.C: Likewise.
      	* g++.dg/parse/error19.C: Likewise.
      	* g++.dg/parse/crash5.C: Likewise.
      	* g++.dg/cpp0x/explicit4.C: Likewise.
      	* g++.dg/template/ptrmem4.C: Likewise.
      	* g++.dg/template/crash37.C: Likewise.
      	* g++.dg/template/qualttp5.C: Likewise.
      	* g++.dg/template/local6.C: Likewise.
      	* g++.dg/template/instantiate5.C: Likewise.
      	* g++.old-deja/g++.brendan/overload1.C: Likewise.
      	* g++.old-deja/g++.brendan/cvt3.C: Likewise.
      	* g++.old-deja/g++.brendan/overload4.C: Likewise.
      	* g++.old-deja/g++.jason/conversion11.C: Likewise.
      	* g++.old-deja/g++.jason/scoping10.C: Likewise.
      	* g++.old-deja/g++.other/expr1.C: Likewise.
      	* g++.old-deja/g++.other/pmf3.C: Likewise.
      	* g++.old-deja/g++.other/crash24.C: Likewise.
      	* g++.old-deja/g++.niklas/t120.C: Likewise.
      	* g++.old-deja/g++.niklas/t121.C: Likewise.
      	* g++.old-deja/g++.law/operators9.C: Likewise.
      	* g++.old-deja/g++.law/arm9.C: Likewise.
      	* g++.old-deja/g++.law/enum4.C: Likewise.
      	* g++.old-deja/g++.law/arg11.C: Likewise.
      	* g++.old-deja/g++.benjamin/15800-1.C: Likewise.
      	* g++.old-deja/g++.mike/p2431.C: Likewise.
      	* g++.old-deja/g++.mike/p438.C: Likewise.
      	* g++.old-deja/g++.mike/p9068.C: Likewise.
      	* g++.old-deja/g++.mike/p11110.C: Likewise.
      	* g++.old-deja/g++.bugs/900330_02.C: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155245 138bc75d-0d04-0410-961f-82ee72b054a4
      7dde752d
    • gccadmin's avatar
      Daily bump. · 3dd43e3e
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155244 138bc75d-0d04-0410-961f-82ee72b054a4
      3dd43e3e
    • paolo's avatar
      2009-12-14 Paolo Carlini <paolo.carlini@oracle.com> · 42e2a426
      paolo authored
      	PR libstdc++/25304, DR 865 [Ready]
      	* include/bits/stl_algobase.h (fill_n): Add comment about DR 865.
      	* include/bits/stl_algo.h (generate_n): Likewise.
      	* include/bits/algorithmfwd.h: Remove obsolete comment.
      	* doc/xml/manual/intro.xml: Add an entry for DR 865.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155241 138bc75d-0d04-0410-961f-82ee72b054a4
      42e2a426
  4. 14 Dec, 2009 6 commits