1. 24 Jan, 2010 4 commits
  2. 23 Jan, 2010 4 commits
  3. 22 Jan, 2010 11 commits
  4. 21 Jan, 2010 14 commits
    • re PR fortran/42736 (Wrong-code with allocatable or pointer components in elemental functions) · 3c3b62d1
      2010-01-21  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/42736
      	* trans-stmt.c (gfc_conv_elemental_dependencies): If temporary
      	is required, turn any trailing array elements after a range
      	into ranges so that offsets can be calculated.
      
      2010-01-21  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/42736
      	* gfortran.dg/dependency_25.f90 : New test.
      
      From-SVN: r156161
      Paul Thomas committed
    • re PR tree-optimization/42585 (SRA is not good for structure copies with one replacement any more) · 7744b697
      2010-01-21  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/42585
      	* tree-sra.c (struct access): New field grp_total_scalarization.
      	(dump_access): Dump the new field.
      	(should_scalarize_away_bitmap): New variable.
      	(cannot_scalarize_away_bitmap): Likewise.
      	(sra_initialize): Allocate new bitmaps.
      	(sra_deinitialize): Free new bitmaps.
      	(create_access_1): New function.
      	(create_access): Parts moved to create_access_1.
      	(type_consists_of_records_p): New function.
      	(completely_scalarize_record): Likewise.
      	(build_access_from_expr): Set bit in cannot_scalarize_away_bitmap.
      	(build_accesses_from_assign): Set bits in should_scalarize_away_bitmap.
      	(sort_and_splice_var_accesses): Hint groups with a total_scalarization
      	access.
      	(analyze_all_variable_accesses): Completely scalarize small eligible
      	records.
      
      	* testsuite/gcc.dg/tree-ssa/pr42585.c: New test.
      
      From-SVN: r156156
      Martin Jambor committed
    • tree-sra.c (build_ref_for_offset_1): Allow for zero size fields. · fff08961
      2010-01-21  Martin Jambor  <mjambor@suse.cz>
      
      	* tree-sra.c (build_ref_for_offset_1): Allow for zero size fields.
      
      From-SVN: r156155
      Martin Jambor committed
    • gcc.c (process_command): Move lang_specific_driver before setting cc_libexec_prefix. · a288b143
      2010-01-21  Andrew Haley  <aph@redhat.com>
      
              * gcc.c (process_command): Move lang_specific_driver before
              setting cc_libexec_prefix.
      
      From-SVN: r156154
      Andrew Haley committed
    • re PR middle-end/19988 (pessimizes fp multiply-add/subtract combo) · 4e62a017
      2010-01-21  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/19988
      	* fold-const.c (negate_expr_p): Pretend only negative
      	real constants are easily negatable.
      
      	* gcc.dg/pr19988.c: New testcase.
      
      From-SVN: r156152
      Richard Guenther committed
    • MAINTAINERS (CPU Port Maintainers): Add myself for avr port. · ebfe4897
      2010-01-20  Eric B. Weddington  <eric.weddington@atmel.com>
      
      	* MAINTAINERS (CPU Port Maintainers): Add myself for avr port.
      
      From-SVN: r156107
      Eric B. Weddington committed
    • tree.h (TYPE_TRANSPARENT_UNION): Replace with ... · ebf0bf7f
      	* tree.h (TYPE_TRANSPARENT_UNION): Replace with ...
      	(TYPE_TRANSPARENT_AGGR): this, for union and record.
      	* calls.c (initialize argument_information): Handle it.
      	* c-common.c (handle_transparent_union_attribute): Use new name.
      	* c-decl.c (finish_struct): Ditto.
      	* c-typeck.c (type_lists_compatible_p): Ditto.
      	(convert_for_assignment): Use new name and also handle record.
      	* function.c (aggregate_value_p): Handle it.
      	(pass_by_reference): Ditto.
      	(assign_parm_data_types): Ditto.
      	* print-tree.c (print_node): Ditto.
      	* lto-streamer-in.c (unpack_ts_type_value_fields): Ditto.
      	* lto-streamer-out.c (pack_ts_type_value_fields): Ditto.
      	* tree.c (first_field): New fn.
      
      gcc/cp/
      	* mangle.c (write_type): Mangle transparent record as member type.
      	* semantics.c (begin_class_definition): Recognize decimal classes
      	and set TYPE_TRANSPARENT_AGGR.
      
      Co-Authored-By: Jason Merrill <jason@redhat.com>
      
      From-SVN: r156106
      Janis Johnson committed
    • re PR target/42818 (Static C++ linking breakage "undefined reference to… · 907c6efd
      re PR target/42818 (Static C++ linking breakage "undefined reference to ___real__Znwj" and others in libcygwin.a(_cygwin_crt0_common.o))
      
      	PR target/42818
      	* config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers,
      	even when linking statically, for now.
      
      From-SVN: r156105
      Dave Korn committed
    • MAINTAINERS: Adjust my details. · d8fe8895
      	* MAINTAINERS: Adjust my details.
      
      From-SVN: r156104
      Dave Korn committed
    • re PR c++/42338 ([c++0x] ICE on decltype usage with templates) · 4d43dcde
      	PR c++/42338
      	* mangle.c (write_expression): Handle tree codes that have extra
      	arguments in the middle-end.
      	* cp-demangle.c (d_print_comp): Fix array index printing.
      
      From-SVN: r156103
      Jason Merrill committed
    • re PR other/42715 (output_operand: invalid expression as operand) · f827f659
      	PR debug/42715
      	* var-tracking.c (use_type): Choose MO_VAL_SET for REGs set
      	without a cselib val.
      	(count_uses): Accept MO_VAL_SET with no val on stores.
      	(add_stores): Likewise.
      
      	* gcc.dg/pr42715.c: New.
      
      From-SVN: r156102
      Alexandre Oliva committed
    • var-tracking.c (check_value_val): Add a compile time assertion. · a85caf9e
      	* var-tracking.c (check_value_val): Add a compile time assertion.
      	(dv_is_decl_p): Simplify.
      	(dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use
      	gcc_assert if ENABLE_CHECKING.
      
      From-SVN: r156101
      Jakub Jelinek committed
    • Daily bump. · a22d08aa
      From-SVN: r156100
      GCC Administrator committed
    • re PR libstdc++/42201 ([C++0x] std::vector<std::unique_future<T>>::push_back fails) · b3eed6fe
      2010-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
              PR libstdc++/42201
      	* include/std/future: Update to latest WP.
      	* src/functexcept.cc (__throw_future_error): Use make_error_code.
      	* testsuite/30_threads/async/any.cc: New.
      	* testsuite/30_threads/async/async.cc: New.
      	* testsuite/30_threads/async/sync.cc: New.
      	* testsuite/30_threads/packaged_task/cons/alloc.cc: New.
      	* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
      	* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/get_future.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
      	* testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
      	* testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove.
      	* testsuite/30_threads/shared_future/cons/default_neg.cc: Remove.
      	* testsuite/30_threads/shared_future/cons/default.cc: New.
      	* testsuite/30_threads/shared_future/cons/assign.cc: New.
      	* testsuite/30_threads/shared_future/cons/copy.cc: Adjust.
      	* testsuite/30_threads/shared_future/cons/move.cc: Adjust.
      	* testsuite/30_threads/shared_future/cons/move_assign.cc: New.
      	* testsuite/30_threads/shared_future/members/is_ready.cc: Remove.
      	* testsuite/30_threads/shared_future/members/has_value.cc: Remove.
      	* testsuite/30_threads/shared_future/members/has_exception.cc: Remove.
      	* testsuite/30_threads/shared_future/members/valid.cc: New.
      	* testsuite/30_threads/unique_future/cons/default_neg.cc: Remove.
      	* testsuite/30_threads/unique_future/cons/default.cc: New.
      	* testsuite/30_threads/unique_future/cons/move_assign.cc: New.
      	* testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust.
      	* testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust.
      	* testsuite/30_threads/unique_future/cons/move.cc: Adjust.
      	* testsuite/30_threads/unique_future/requirements/
              explicit_instantiation.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/is_ready.cc: Remove.
      	* testsuite/30_threads/unique_future/members/has_value.cc: Remove.
      	* testsuite/30_threads/unique_future/members/has_exception.cc: Remove.
      	* testsuite/30_threads/unique_future/members/valid.cc: New.
      	* testsuite/30_threads/unique_future/members/get.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/get2.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/wait.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/wait_for.cc: Adjust.
      	* testsuite/30_threads/unique_future/members/wait_until.cc: Adjust.
      	* testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust.
      	* testsuite/30_threads/promise/cons/alloc.cc: New.
      	* testsuite/30_threads/promise/cons/assign_neg.cc: Adjust.
      	* testsuite/30_threads/promise/cons/copy_neg.cc: Adjust.
      	* testsuite/30_threads/promise/cons/move.cc: Adjust.
      	* testsuite/30_threads/promise/cons/move_assign.cc: Adjust.
      	* testsuite/30_threads/promise/members/get_future.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_value.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_exception.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_exception2.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_value2.cc: Adjust.
      	* testsuite/30_threads/promise/members/set_value3.cc: Adjust.
      	* testsuite/30_threads/promise/members/swap.cc: Adjust.
      
      From-SVN: r156097
      Jonathan Wakely committed
  5. 20 Jan, 2010 7 commits