- 17 Dec, 2009 2 commits
-
-
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
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155301 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 16 Dec, 2009 10 commits
-
-
rguenth authored
PR lto/42392 * langhooks.c (lhd_begin_section): Make sure to switch back to the text section, not some random one. * gcc.dg/lto/20091216-1_0.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155298 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* decl.c (compute_array_index_type): Mark a VLA as dependent. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155292 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155290 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
(T2)t +- (T2)x if only integer types are involved. * gcc.c-torture/compile/20091215-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155288 138bc75d-0d04-0410-961f-82ee72b054a4
-
bje authored
* tree-data-ref.c (dog_rdg_1, dot_rdg): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155287 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155286 138bc75d-0d04-0410-961f-82ee72b054a4
-
bkoz authored
PR libstdc++/21772 part 1 * include/ext/throw_allocator.h: Rework. (__gnu_cxx::throw_allocator): To... (__gnu_cxx::throw_allocator_limit): ...this. (__gnu_cxx::throw_allocator_random): ...and this. (throw_value_base, throw_value_limit, throw_value_random): Add. (condition_base, random_condition, limit_condition): Add. (forced_exception_error): To... (forced_error): ...this. * testsuite/ext/throw_value: New. * testsuite/ext/throw_value/cons.cc: New. * testsuite/ext/throw_allocator/deallocate_global.cc: Adjust for throw_allocator, forced_exception_error changes. * testsuite/ext/throw_allocator/check_delete.cc: Same. * testsuite/ext/throw_allocator/check_allocate_max_size.cc: Same. * testsuite/ext/throw_allocator/check_deallocate_null.cc: Same. * testsuite/ext/throw_allocator/explicit_instantiation.cc: Same. * testsuite/ext/throw_allocator/check_new.cc: Same. * testsuite/ext/throw_allocator/variadic_construct.cc: Same. * testsuite/ext/throw_allocator/deallocate_local.cc: Same. * testsuite/23_containers/list/modifiers/insert/25288.cc: Same. * testsuite/23_containers/list/modifiers/insert/25288.h: Same. * testsuite/util/regression/common_type.hpp: Same. * testsuite/util/regression/rand/priority_queue/ container_rand_regression_test.tcc: Same. * testsuite/util/regression/rand/assoc/ container_rand_regression_test.h: Same. * testsuite/util/regression/rand/assoc/ container_rand_regression_test.tcc: Same. * testsuite/util/regression/basic_type.hpp: Same. * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc: To... * testsuite/ext/forced_error/cons_virtual_derivation.cc: ...this, same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155283 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
Follow spelling conventions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155282 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
doc/tm.texi: Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155281 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155280 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 15 Dec, 2009 22 commits
-
-
danglin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155277 138bc75d-0d04-0410-961f-82ee72b054a4
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
ro authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155257 138bc75d-0d04-0410-961f-82ee72b054a4
-
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
-
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
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155251 138bc75d-0d04-0410-961f-82ee72b054a4
-
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
-
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
-
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
-
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
-
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
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155244 138bc75d-0d04-0410-961f-82ee72b054a4
-
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
-
- 14 Dec, 2009 6 commits
-
-
rwild authored
libjava/: * configure.ac: Remove code to un-precious-ize CC, CXX, CXXFLAGS, CFLAGS, LDFLAGS. * configure: Regenerate. libstdc++-v3/: * configure.ac: Remove code to un-precious-ize CC, CXX, CXXFLAGS, CFLAGS, LDFLAGS. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155240 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
* g++.dg/other/i386-3.C: Ditto. * g++.dg/other/i386-5.C: Remove duplicated test. * g++.dg/other/i386-6.C: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155238 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* config/i386/i386.c (ix86_expand_special_args_builtin): Avoid using switch with CODE_FOR_lwp_lwp* cases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155237 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
DEF_FUNCTION_TYPE (PVOID) instead of DEF_FUNCTION_TYPE (PVOID, VOID). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155236 138bc75d-0d04-0410-961f-82ee72b054a4
-
dfranke authored
2009-12-14 Daniel Franke <franke.daniel@gmail.com> PR fortran/42354 * expr.c (check_init_expr): Do not check for specification functions. gcc/testsuite/: 2009-12-14 Daniel Franke <franke.daniel@gmail.com> PR fortran/42354 * gfortran.dg/iso_c_binding_init_expr.f03: New. * gfortran.dg/intrinsic_std_1.f90: Fixed expected error message. * gfortran.dg/function_kinds_5.f90: Likewise. * gfortran.dg/selected_char_kind_3.f90: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155234 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
assertion and useless code. <TARGET_MEM_REF>: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155229 138bc75d-0d04-0410-961f-82ee72b054a4
-