1. 25 Jan, 2010 5 commits
    • (Current_Year): Update. · d268eb9a
      From-SVN: r156210
      Arnaud Charlet committed
    • [multiple changes] · 3bb3f6d6
      2010-01-25  Florian Villoing  <villoing@adacore.com>
      
      	* gnat_ugn.texi: Fix typo.
      
      2010-01-25  Thomas Quinot  <quinot@adacore.com>
      
      	* scos.ads: Update specification.
      
      2010-01-25  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Process_PPCs): If a postcondition is present and the
      	enclosing subprogram has no previous spec, attach postcondition
      	procedure to the defining entity for the body.
      
      2010-01-25  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_aggr.adb (Build_Record_Aggr_Code); Do not generate call to
      	initialization procedure of the ancestor part of an extension aggregate
      	if it is an interface type.
      
      2010-01-25  Vincent Celier  <celier@adacore.com>
      
      	* gnatlink.adb (Process_Binder_File): The directory for the shared
      	version of libgcc in the run path options is found in the subdirectory
      	indicated by __gnat_default_libgcc_subdir.
      	* link.c: Declare new const char * __gnat_default_libgcc_subdir for
      	each platform.
      
      2010-01-25  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_prag.adb: More flexible pragma Annotate.
      
      From-SVN: r156209
      Arnaud Charlet committed
    • sysv4.h (TARGET_ASM_NAMED_SECTION): Only define if not using GAS. · 00f88f07
      2010-01-24  David S. Miller  <davem@davemloft.net>
      
      	* gcc/config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
      	define if not using GAS.
      	* gcc/config/sparc/sparc.c (sparc_elf_asm_named_section):
      	Likewise.  Delete SECTION_MERGE code, which is only applicable
      	when using GAS.
      
      From-SVN: r156203
      David S. Miller committed
    • re PR c++/42748 (warnings about 'mangling of 'va_list' has changed in GCC 4.4'… · d147cbd9
      re PR c++/42748 (warnings about 'mangling of 'va_list' has changed in GCC 4.4' not suppressed in sytem headers)
      
      	PR c++/42748
      	* config/arm/arm.c (arm_mangle_type): Do not warn about changes to
      	mangling of va_list in system headers.
      
      	PR c++/42748
      	* g++.dg/abi/arm_va_list2.C: New test.
      	* g++.dg/abi/arm_va_list2.h: Companion header file.
      
      From-SVN: r156202
      Mark Mitchell committed
    • Daily bump. · dd291a2e
      From-SVN: r156201
      GCC Administrator committed
  2. 24 Jan, 2010 4 commits
  3. 23 Jan, 2010 4 commits
  4. 22 Jan, 2010 11 commits
  5. 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
  6. 20 Jan, 2010 2 commits
    • re PR c++/42038 (ICE: tree check: expected class 'type', have 'exceptional'… · 4227d4a1
      re PR c++/42038 (ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p)
      
      /cp
      2010-01-20  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/42038
      	* except.c (expand_start_catch_block): Deal correctly with
      	do_begin_catch returning error_mark_node.
      
      /testsuite
      2010-01-20  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/42038
      	* g++.dg/parse/crash55.C: New.
      
      From-SVN: r156094
      Paolo Carlini committed
    • re PR debug/42782 (VTA missed location: parameter via stack) · 4a4d4c08
      	PR debug/42782
      	* var-tracking.c: Include tree-flow.h.
      	(mem_dies_at_call): New.
      	(dataflow_set_preserve_mem_locs): Use it.
      	(dataflow_set_remove_mem_locs): Likewise.
      	(dump_var): Renamed from dump_variable.  Adjust all callers.
      	(dump_var_slot): Renamed from dump_variable_slot.  Likewise.
      	* Makefile.in (var-tracking.o): Adjust deps.
      
      	* gcc.dg/guality/pr42782.c: New.
      
      From-SVN: r156092
      Alexandre Oliva committed