- 17 Dec, 2009 18 commits
-
-
PR c++/42386 * ipa.c (function_and_variable_visibility): Clear same_comdat_group links of DECL_EXTERNAL nodes. * g++.dg/opt/dtor3.C: New test. From-SVN: r155321
Jakub Jelinek committed -
2009-12-17 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/rtl.texi (Vector Operations): Clarify vec_select result mode. From-SVN: r155320
Sandra Loosemore committed -
gcc/ * config/arm/bpabi-v6m.S (test_div_by_zero): New macro. (aeabi_ldivmod, aeabi_uldivmod): Use above macro. * config/arm/bpabi.S (test_div_by_zero): New macro. (aeabi_ldivmod, aeabi_uldivmod): Use above macro. * config/arm/lib1funcs.asm (ARM_LDIV0): Tail-call int div-by-zero handler for EABI. Add signed/unsigned argument, pass correct value to that handler. (THUMB_LDIV0): Same, for Thumb. (DIV_FUNC_END): Add signed argument. (WEAK): New macro (for EABI). (__udivsi3, __umodsi3): Add unsigned argument to DIV_FUNC_END. For __udivsi3, add entry point which skips division-by-zero test. (__divsi3, __modsi3): Add signed argument to DIV_FUNC_END. (__aeabi_uidivmod, __aeabi_idivmod): Check for division by zero. Call __udivsi3 or __divsi3 via entry points which skip division-by-zero tests. (__div0): Rename to __aeabi_idiv0, __aeabi_ldiv0 for EABI, and declare those names weak. From-SVN: r155319
Julian Brown committed -
PR target/42377 * config/abi/pre/gnu.ver: Adjust mangled function signatures to permit LLP64 sizetypes throughout. From-SVN: r155318
Dave Korn committed -
re PR middle-end/42397 (FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o link, internal compiler error) 2009-12-17 Richard Guenther <rguenther@suse.de> PR middle-end/42397 * builtins.c (get_object_alignment): Properly deal with a CONST_DECL base. * expr.c (emit_block_move_hints): Assert the alignment makes sense. From-SVN: r155316
Richard Guenther committed -
From-SVN: r155314
Arnaud Charlet committed -
PR target/32280 * config/i386/i386-modes.def (V1TI): New vector mode. * config/i386/i386.h (VALID_SSE_REG_MODE): Add V1TImode. (SSE_REG_MODE_P): Ditto. * config/i386/sse.md (SSEMODE16): New mode iterator. (AVXMODE16): Ditto. (avxvecmode): Handle V1TI mode. (*avx_mov<mode>_internal): Use AVXMODE16 instead of AVXMODE. (mov<mode>): Use SSEMODE16 instead of SSEMODE. (*mov<mode>_internal): Ditto. (push<mode>1): Ditto. (movmisalign<mode>): Ditto. (sse2_ashlv1ti): Rename from sse2_ashlti. (sse2_lshrv1ti): Rename from sse2_lshrti. (*avx_ashlv1ti): Rename from *avx_ashlti and move from i386.md. (*avx_lshrv1ti): Rename from *avx_lshrti and move from i386.md. (vec_shl_<mode>): Convert operands to V1TImode and use V1TI shift. (vec_shr_<mode>): Ditto. (*sse2_mulv4si3): Update for renamed sse2_ashlv1ti3. (udot_prodv4si): Ditto. * config/i386/i386.c (classify_argument): Handle V1TImode. (function_arg_advance_32): Ditto. (function_arg_32): Ditto. (ix86_expand_sse4_unpack): Convert operands to V1TImode and update for renamed gen_sse2_lshrv1ti3. (ix86_expand_args_builtin) <V2DI_FTYPE_V2DI_INT_CONVERT>: Set rmode to V1TImode. (struct builtin_description) <__builtin_ia32_pslldqi128>: Update for renamed sse2_ashlv1ti3. <__builtin_ia32_psrldqi128>: Update for renamed sse2_lshrv1ti3. Revert: 2007-06-11 Uros Bizjak <ubizjak@gmail.com> PR target/32280 * config/i386/sse.md ("sse2_ashlti", "sse2_lshrti3"): Move ... * config/i386/i386.md ("sse2_ashlti", "sse2_lshrti3"): ... to here. testsuite/ChangeLog: PR target/32280 * gcc.target/i386/pr32280-1.c: New test. From-SVN: r155312
Uros Bizjak committed -
2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> * objc-act.c (objc_substitute_decl, build_ivar_reference, get_super_receiver): Update build_indirect_ref calls. From-SVN: r155311
Shujing Zhao committed -
PR target/42372 * arm.md (pic_add_dot_plus_eight): Change output constraint from update to write. From-SVN: r155310
Richard Earnshaw committed -
2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Update build_indirect_ref calls. From-SVN: r155309
Shujing Zhao committed -
2009-12-17 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/42198 * src/thread.cc (thread::_M_start_thread): Throw system_error immediately if the thread system is inactive. From-SVN: r155308
Paolo Carlini committed -
* objc/execute/forward-1.x: XFAIL for -fgnu-runtime on x86_64-*-darwin*, powerpc*-*-darwin* and alpha*-*-linux* targets. From-SVN: r155307
Uros Bizjak committed -
2009-12-16 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/21772 part 2 * doc/xml/manual/test.xml: Add documentation about testing details. * testsuite/util/exception/safety.h: New. Functor objects for testing C++0x container classes. * testsuite/util/testsuite_container_traits.h: Add traits. * testsuite/23_containers/list/requirements/exception/ basic.cc: New. generation_prohibited.cc: New. propagation_consistent.cc: New. From-SVN: r155306
Benjamin Kosnik committed -
gcc/fortran/ 2009-12-17 Janus Weil <janus@gcc.gnu.org> PR fortran/42144 * trans-expr.c (select_class_proc): Skip abstract base types. gcc/testsuite/ 2009-12-17 Janus Weil <janus@gcc.gnu.org> PR fortran/42144 * gfortran.dg/dynamic_dispatch_6.f03: New test. From-SVN: r155305
Janus Weil committed -
* config/i386/sync.md (IMODE): Remove mode iterator. (modesuffix): Remove mode attribute. (modeconstraint): Ditto. (immconstraint): Ditto. (*sync_compare_and_swap<mode>): Use SWI mode iterator instead of IMODE mode iterator, imodesuffix mode attribute instead of modesuffix, <r> mode attribute instead of modeconstraint and <i> mode attribute instead of immconstraint. (sync_double_compare_and_swap<mode>): Ditto. (sync_old_add<mode>): Ditto. (sync_lock_test_and_set<mode>): Ditto. (sync_add<mode>): Ditto. (sync_sub<mode>): Ditto. (sync_and<mode>): Ditto. (sync_ior<mode>): Ditto. (sync_xor<mode>): Ditto. (sync_<code><mode>): Macroize insn pattern from sync_{and,ior,xor}<mode> using any_logic code iterator. From-SVN: r155304
Uros Bizjak committed -
2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> * call.c (build_over_call, build_java_interface_fn_ref): Update cp_build_indirect_ref calls. * typeck2.c (build_m_component_ref): Likewise. From-SVN: r155303
Shujing Zhao committed -
2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> 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. From-SVN: r155302
Shujing Zhao committed -
From-SVN: r155301
GCC Administrator committed
-
- 16 Dec, 2009 10 commits
-
-
2009-12-16 Richard Guenther <rguenther@suse.de> 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. From-SVN: r155298
Richard Guenther committed -
PR c++/42387 * decl.c (compute_array_index_type): Mark a VLA as dependent. From-SVN: r155292
Jason Merrill committed -
From-SVN: r155290
Joseph Myers committed -
tree-chrec.c (chrec_convert_1): Only fold (T2)(t +- x) to (T2)t +- (T2)x if only integer types are involved. * tree-chrec.c (chrec_convert_1): Only fold (T2)(t +- x) to (T2)t +- (T2)x if only integer types are involved. * gcc.c-torture/compile/20091215-1.c: New test. From-SVN: r155288
Jakub Jelinek committed -
* tree-data-ref.h (dot_rdg): Remove prototype. * tree-data-ref.c (dog_rdg_1, dot_rdg): Remove. From-SVN: r155287
Ben Elliston committed -
From-SVN: r155286
Jakub Jelinek committed -
2009-12-15 Benjamin Kosnik <bkoz@redhat.com> 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. From-SVN: r155283
Benjamin Kosnik committed -
* gfc-internals.texi, gfortran.texi, invoke.texi: Fix typos. Follow spelling conventions. From-SVN: r155282
Kazu Hirata committed -
* doc/invoke.texi, doc/options.texi, doc/plugins.texi, doc/tm.texi: Fix typos. From-SVN: r155281
Kazu Hirata committed -
From-SVN: r155280
GCC Administrator committed
-
- 15 Dec, 2009 12 commits
-
-
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX. From-SVN: r155277
John David Anglin committed -
* Fix typo in last ChangeLog entry. From-SVN: r155272
Paolo Carlini committed -
2009-12-15 Paolo Carlini <paolo.carlini@oracle.com> 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. From-SVN: r155271
Paolo Carlini committed -
2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> * 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. From-SVN: r155269
Jonathan Wakely committed -
re PR c++/42358 ([C++0x] Assembler failure on libstdc++-v3/testsuite/23_containers/multimap/init-list.cc with -O0) PR c++/42358 * pt.c (iterative_hash_template_arg): Completely ignore ARGUMENT_PACK_SELECT. From-SVN: r155267
Jason Merrill committed -
re PR c++/42373 (g++.dg/cpp0x/lambda/lambda-mangle.C scan-assembler weak[ \t]*_?_ZN1RIiE1xMUlvE_clEv fails on x86_64-apple-darwin) PR c++/42373 * g++.dg/cpp0x/lambda/lambda-mangle.C: Adjust regexps for darwin. From-SVN: r155266
Jason Merrill committed -
gcc/: * doc/extend.texi (Function Attributes, Extended Asm): Replace TABs with spaces. * doc/md.texi (Standard Names): Likewise. * doc/plugins.texi (Plugins): Likewise. From-SVN: r155264
Ralf Wildenhues committed -
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. From-SVN: r155263
Ralf Wildenhues committed -
2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> * 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. From-SVN: r155261
Jonathan Wakely committed -
2009-12-15 Richard Guenther <rguenther@suse.de> * 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. From-SVN: r155259
Richard Guenther committed -
2009-12-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42379 * testsuite/23_containers/set/operators/1_neg.cc: Fix dg-error strings. * testsuite/23_containers/map/operators/1_neg.cc: Likewise. From-SVN: r155258
Paolo Carlini committed -
From-SVN: r155257
Rainer Orth committed
-