1. 09 Jan, 2010 18 commits
    • re PR ada/42659 (gnatmake thinks libraries aren't supported) · f5fcb67a
      	PR ada/42659
      	* configure.ac (powerpc|*86-*-darwin*): Extend to *-*-darwin*.
      	* configure: Regenerate.
      
      From-SVN: r155771
      Simon Wright committed
    • rs6000.c (rs6000_emit_set_long_const): Shorten sequence for DImode constants >=… · 7234a615
      rs6000.c (rs6000_emit_set_long_const): Shorten sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by 1 insn.
      
      	* config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten
      	sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by
      	1 insn.
      	(num_insns_constant_wide): Adjust for that change.
      
      From-SVN: r155770
      Jakub Jelinek committed
    • re PR fortran/20923 (gfortran slow for large array constructors) · f2ff577a
      2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      	PR fortran/20923
      	PR fortran/32489
      	* trans-array.c (gfc_conv_array_initializer): Change call to
      	gfc_error_now to call to gfc_fatal_error.
      	* array.c (count_elements): Whitespace. (extract_element): Whitespace.
      	(is_constant_element): Changed name from constant_element.
      	(gfc_constant_ac): Only use expand_construuctor for expression
      	types of EXPR_ARRAY.  If expression type is EXPR_CONSTANT, no need to
      	call gfc_is_constant_expr.
      	* expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
      	message.
      	* resolve.c (gfc_is_expandable_expr): New function that determiners if
      	array expressions should have their constructors expanded.
      	(gfc_resolve_expr): Use new function to determine whether or not to call
      	gfc_expand_constructor.
      
      From-SVN: r155769
      Jerry DeLisle committed
    • Update copyright notices of my recent commits. · 7c028163
      From-SVN: r155766
      Alexandre Oliva committed
    • re PR rtl-optimization/42631 ("-fcompare-debug failure" with "-O1 -funroll-loops") · 994ae26c
      gcc/ChangeLog:
      PR debug/42631
      * web.c (union_defs): Add used argument, to combine uses of
      uninitialized regs.
      (entry_register): Adjust type and tests of used argument.
      (web_main): Widen used for new use.  Pass it to union_defs.
      * df.h (union_defs): Adjust prototype.
      gcc/testsuite/ChangeLog:
      PR debug/42631
      * gcc.dg/pr42631.c: New.
      
      From-SVN: r155765
      Alexandre Oliva committed
    • re PR debug/42630 ("-fcompare-debug failure (length)" with "-O1… · 60c48e4c
      re PR debug/42630 ("-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops")
      
      gcc/ChangeLog:
      PR debug/42630
      * loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
      uses in new incoming argument.  Free body.
      (reset_debug_uses_in_loop): New.
      (analyze_insn_to_expand_var): Call the latter if the former found
      anything.  Fix whitespace.  Reject invalid dest overlaps before
      going through all insns in the loop.
      gcc/testsuite/ChangeLog:
      PR debug/42630
      * gcc.dg/pr42630.c: New.
      
      From-SVN: r155764
      Alexandre Oliva committed
    • re PR debug/42629 ("-fcompare-debug failure (length)" with "-O1 -fsched-pressure -fschedule-insns") · bb956f3e
      gcc/ChangeLog:
      PR debug/42629
      * haifa-sched.c (dying_use_p): Debug insns don't count.
      gcc/testsuite/ChangeLog:
      PR debug/42629
      * gcc.dg/pr42629.c: New.
      
      From-SVN: r155763
      Alexandre Oliva committed
    • re PR middle-end/42363 (ICE: verify_flow_info failed for gcc.c-torture/compile/pr37913.c -O1 -g) · 5de8da9b
      gcc/ChangeLog:
      PR middle-end/42363
      * gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls.
      * tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice.
      (verify_gimple_call): Reject LHS in noreturn calls.
      gcc/testsuite/ChangeLog:
      PR middle-end/42363
      * gcc.dg/torture/pr42363.c: New.
      
      From-SVN: r155762
      Alexandre Oliva committed
    • re PR debug/42604 (VTA ICE in the vectorizer) · 684f25f4
      gcc/ChangeLog:
      PR debug/42604
      PR debug/42395
      * tree-vect-loop-manip.c (adjust_info): New type.
      (adjust_vec): New pointer to vector.
      (adjust_debug_stmts_now, adjust_vec_debug_stmts): New.
      (adjust_debug_stmts, adjust_phi_and_debug_stmts): New.
      (slpeel_update_phis_for_duplicate_loop): Use them.
      (slpeel_update_phi_nodes_for_guard1): Likewise.
      (slpeel_update_phi_nodes_for_guard2): Likewise.
      (slpeel_tree_peel_loop_to_edge): Likewise.
      (vect_update_ivs_after_vectorizer): Likewise.
      gcc/testsuite/ChangeLog:
      PR debug/42604
      PR debug/42395
      * gcc.dg/vect/pr42604.c: New.
      * gcc.dg/vect/pr42395.c: New.
      
      From-SVN: r155761
      Alexandre Oliva committed
    • vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren. · 0e00563c
      * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
      (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise.
      
      From-SVN: r155760
      Alexandre Oliva committed
    • i386.c (ix86_vectorize_builtin_vec_perm): Silence bogus uninitialized warning. · 0ce659eb
      * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
      bogus uninitialized warning.
      
      From-SVN: r155759
      Alexandre Oliva committed
    • * nl.po: Update. · cd792a94
      From-SVN: r155758
      Joseph Myers committed
    • re PR middle-end/42512 (integer wrong code bug with loop) · 73c865fa
      2010-01-09  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/42512
      	* tree-scalar-evolution.c (interpret_loop_phi): Make sure
      	the evolution is compatible with the initial condition.
      
      	* gcc.c-torture/execute/pr42512.c: New testcase.
      
      From-SVN: r155757
      Richard Guenther committed
    • set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. · 0462fd5e
      2010-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/debug/set.h: Revert last change, per DR 1204 [Ready];
      	mention the latter in comment.
      	* include/debug/unordered_map: Likewise.
       	* include/debug/multiset.h: Likewise.
       	* include/debug/vector: Likewise.
      	* include/debug/unordered_set: Likewise.
      	* include/debug/deque: Likewise.
      	* include/debug/map.h: Likewise.
      	* include/debug/list: Likewise.
      	* include/debug/multimap.h: Likewise.
      	* include/tr1_impl/unordered_map: Likewise.
      	* include/tr1_impl/unordered_set: Likewise.
      	* include/profile/set.h: Likewise.
      	* include/profile/unordered_map: Likewise.
      	* include/profile/multiset.h: Likewise.
      	* include/profile/unordered_set: Likewise.
      	* include/profile/vector: Likewise.
      	* include/profile/deque: Likewise.
      	* include/profile/map.h: Likewise.
      	* include/profile/list: Likewise.
      	* include/profile/multimap.h: Likewise.
      	* include/ext/vstring.h: Likewise.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/stl_map.h: Likewise.
      	* include/bits/stl_set.h: Likewise.
      	* include/bits/stl_multimap.h: Likewise.
      	* include/bits/stl_vector.h: Likewise.
      	* include/bits/stl_deque.h: Likewise.
      	* include/bits/stl_multiset.h: Likewise.
      
      	* include/bits/forward_list.h: Remove pre-existing check.
      	* include/ext/vstring.h: Likewise.
      
      	* testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
      	* testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/unordered_multimap/cons/
      	self_move_assign.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/self_move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
      	Likewise.
       	* testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/unordered_multiset/cons/
      	self_move_assign.cc: Likewise.
      	* testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
      
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line numbers.
       	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
      	Likewise.
       	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
      	Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	assign_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      
      From-SVN: r155756
      Paolo Carlini committed
    • [multiple changes] · 3d876aba
      2010-01-09  Tobias Burnus  <burnus@net-b.de>                                      
      
              PR fortran/41298
              * trans-expr.c (gfc_trans_structure_assign): Handle
              c_null_(fun)ptr.
              * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR
              to the constructor for c_null_(fun)ptr.
              * resolve.c (resolve_structure_cons): Add special case
              for c_null_(fun)ptr.
      
      2010-01-09  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41298
              * gfortran.dg/c_ptr_tests_14.f90: New test.
      
      From-SVN: r155755
      Tobias Burnus committed
    • set.h: Protect move assignment operator vs self assignment. · 6b592ab3
      2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/debug/set.h: Protect move assignment operator vs self
      	assignment.
      	* include/debug/unordered_map: Likewise.
       	* include/debug/multiset.h: Likewise.
       	* include/debug/vector: Likewise.
      	* include/debug/unordered_set: Likewise.
      	* include/debug/deque: Likewise.
      	* include/debug/map.h: Likewise.
      	* include/debug/list: Likewise.
      	* include/debug/multimap.h: Likewise.
      	* include/tr1_impl/unordered_map: Likewise.
      	* include/tr1_impl/unordered_set: Likewise.
      	* include/profile/set.h: Likewise.
      	* include/profile/unordered_map: Likewise.
      	* include/profile/multiset.h: Likewise.
      	* include/profile/unordered_set: Likewise.
      	* include/profile/vector: Likewise.
      	* include/profile/deque: Likewise.
      	* include/profile/map.h: Likewise.
      	* include/profile/list: Likewise.
      	* include/profile/multimap.h: Likewise.
      	* include/ext/vstring.h: Likewise.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/stl_map.h: Likewise.
      	* include/bits/stl_set.h: Likewise.
      	* include/bits/stl_multimap.h: Likewise.
      	* include/bits/stl_vector.h: Likewise.
      	* include/bits/stl_deque.h: Likewise.
      	* include/bits/stl_multiset.h: Likewise.
      	* include/ext/vstring.h: Use clear(). 
      	* testsuite/ext/vstring/cons/self_move_assign.cc: New.
      	* testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/unordered_multimap/cons/
      	self_move_assign.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/self_move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
      	Likewise.
       	* testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/unordered_multiset/cons/
      	self_move_assign.cc: Likewise.
      	* testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
      
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line numbers.
       	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
      	Likewise.
       	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
      	Likewise.
      	* 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.
      	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      
      	* testsuite/ext/vstring/moveable.cc: Move to...
      	* testsuite/ext/vstring/cons/moveable.cc: ... here.
      	* testsuite/23_containers/unordered_map/moveable.cc: Move to...
      	* testsuite/23_containers/unordered_map/cons/moveable.cc ... here.
      	* testsuite/23_containers/multimap/moveable.cc: Move to...
      	* testsuite/23_containers/multimap/cons/moveable.cc: ... here.
      	* testsuite/23_containers/set/moveable.cc: Move to...
      	* testsuite/23_containers/set/cons/moveable.cc: ... here.
      	* testsuite/23_containers/unordered_multimap/moveable.cc: Move to...
      	* testsuite/23_containers/unordered_multimap/cons/moveable.cc:
      	... here.
      	* testsuite/23_containers/forward_list/moveable.cc: Move to...
      	* testsuite/23_containers/forward_list/cons/moveable.cc: ... here.
      	* testsuite/23_containers/unordered_set/moveable.cc Move to...
      	* testsuite/23_containers/unordered_set/moveable.cc: ... here.
      	* testsuite/23_containers/vector/cons/moveable.cc Move to...
      	* testsuite/23_containers/vector/cons/moveable2.cc: ... this.
      	* testsuite/23_containers/deque/cons/moveable.cc Move to...
      	* testsuite/23_containers/deque/cons/moveable2.cc: ... this.
      	* testsuite/23_containers/multiset/moveable.cc Move to...
      	* testsuite/23_containers/multiset/cons/moveable.cc: ... here.
      	* testsuite/23_containers/list/moveable.h Move to...
      	* testsuite/23_containers/list/cons/moveable.h: ... here.
      	* testsuite/23_containers/list/moveable.cc Move to...
      	* testsuite/23_containers/list/cons/moveable.cc: ... here.
      	* testsuite/23_containers/unordered_multiset/moveable.cc Move to...
      	* testsuite/23_containers/unordered_multiset/cons/moveable.cc:
      	... here.
      	* testsuite/23_containers/map/moveable.cc Move to...
      	* testsuite/23_containers/map/cons/moveable.cc: ... here.
      	* testsuite/23_containers/vector/moveable.cc: Move to...
      	* testsuite/23_containers/vector/cons/moveable.cc: ... here.
      	* testsuite/23_containers/deque/moveable.cc: Move to...
      	* testsuite/23_containers/deque/cons/moveable.cc: ... here.
      
      From-SVN: r155754
      Paolo Carlini committed
    • Daily bump. · 06cced6c
      From-SVN: r155753
      GCC Administrator committed
    • gcc.c (process_command): Update copyright notice dates. · bd5c3aa5
      	* gcc.c (process_command): Update copyright notice dates.
      	* gcov.c (print_version): Likewise.
      	* gcov-dump.c (print_version): Likewise.
      	* mips-tfile.c (main): Likewise.
      	* mips-tdump.c (main): Likewise.
      
      	* gfortranspec.c (lang_specific_driver): Update copyright notice
      	dates.
      
      	* jcf-dump.c (version): Update copyright notice dates.
      
      	* mf-runtime.c (__mf_usage): Update copyright notice dates.
      
      	* gnu/gcj/convert/Convert.java (version): Update copyright notice
      	dates.
      	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.
      
      	* gnu/java/rmi/registry/RegistryImpl.java (version): Update
      	copyright notice dates.
      	* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.
      
      From-SVN: r155749
      Jakub Jelinek committed
  2. 08 Jan, 2010 14 commits
    • re PR target/41885 (AVR Rotate patterns do not correctly consider overlap.) · 58f0ea2f
      2010-01-08  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
      
        PR target/41885
        * avr.md (rotlqi3): Add CONST_INT_P check.
        (rotlhi3): Delete.
        (rotlhi3_8): Delete.
        (rotlsi3): Delete.
        (rotlsi3_8): Delete.
        (rotlsi3_16): Delete.
        (rotlsi3_24): Delete.
        (rotl<mode>3): New.
        (*rotw<mode>3): New.
        (*rotb<mode>3): New.
        *avr.c (avr_rotate_bytes): New function.
        *avr-proto.h (avr_rotate_bytes): New function.
      
      From-SVN: r155746
      Andy Hutchinson committed
    • re PR target/37454 (gcc: unrecognized option '-rdynamic') · 601fc26e
      2010-01-08  Steve Ellcey  <sje@cup.hp.com>
      
      	PR target/37454
      	* configure.ac: Modify -rdynamic check.
      	* configure: Regenerate.
      
      From-SVN: r155745
      Steve Ellcey committed
    • re PR ada/41929 (64-bit null_pointer_deref1 gnat.dg test consumes all available memory) · e51ded7c
      	PR ada/41929
      	* gnat.dg/null_pointer_deref1.adb: Don't run on
      	sparc*-sun-solaris2.11.
      
      From-SVN: r155743
      Rainer Orth committed
    • sh.c (sh_expand_epilogue): Fix interrupt handler register popping order. · 6a62ca52
      * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
      register popping order.
      
      From-SVN: r155742
      DJ Delorie committed
    • re PR lto/42528 (ICE with -flto and -fsigned-char) · c59449fa
      2010-01-08  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/42528
      	* c.opt (fsigned-char): Also let LTO handle this option.
      	(funsigned-char): Likewise.
      
      	lto/
      	* lto-lang.c (lto_handle_option): Handle -f[un]signed-char.
      	(lto_init): Do not init char_type_node in a standard way
      	but according to flag_signed_char.
      
      	* gcc.dg/lto/20100103-1_0.c: New testcase.
      	* gcc.dg/lto/20100103-2_0.c: Likewise.
      
      From-SVN: r155740
      Richard Guenther committed
    • Remove COMPONENT_REF limitation in SCoP detection. · c8ae0613
      2010-01-08  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-scop-detection.c (exclude_component_ref): Removed.
      	(is_simple_operand): Removed.
      	(stmt_simple_for_scop_p): Remove use of is_simple_operand.
      
      From-SVN: r155739
      Sebastian Pop committed
    • re PR libstdc++/42573 ([C++0x] shrink_to_fit() missing) · 79667f82
      2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/42573
      	* include/bits/allocator.h (struct __shrink_to_fit): Add.
      	* include/bits/stl_deque.h (deque<>::shrink_to_fit): Add.
      	* include/bits/stl_vector.h (vector<>::shrink_to_fit): Likewise.
      	* include/bits/stl_bvector.h (vector<bool>::shrink_to_fit): Likewise.
      	* include/bits/basic_string.h (basic_string<>::shrink_to_fit):
      	Likewise.
      	* include/ext/vstring.h (__versa_string<>::shrink_to_fit): Likewise.
      	* include/debug/deque: Add corresponding using declaration.
      	* include/debug/vector: Likewise.
      	* include/debug/string: Likewise.
      	* include/profile/deque: Likewise.
      	* include/profile/vector: Likewise.
      	* config/abi/pre/gnu.ver: Export new symbols.
      	* testsuite/23_containers/deque/capacity/shrink_to_fit.cc: New.
      	* testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise.
      	* testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc:
      	Likewise.
      	* testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line number.
      	* 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.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line number.
      	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      
      From-SVN: r155733
      Paolo Carlini committed
    • re PR fortran/25829 ([F03] Asynchronous IO support) · 1eee5628
      2010-01-08  Tobias Burnus  <burnus@net-b.de
      
              PR/fortran 25829
              * symbol.c (check_conflict, gfc_copy_attr): Add
              ASYNCHRONOUS support.
              (gfc_add_asynchronous): New function.
              * decl.c (match_attr_spec): Add ASYNCHRONOUS support.
              (gfc_match_asynchronous): New function.
              * dump-parse-tree.c (show_attr): Add ASYNCHRONOUS support.
              * gfortran.h (symbol_attribute): New ASYNCHRONOUS bit.
              (gfc_add_asynchronous): New Prototype.
              * module.c (ab_attribute, mio_symbol_attribute): Add
              ASYNCHRONOUS support.
              * resolve.c (was_declared): Ditto.
              * match.h (gfc_match_asynchronous): New prototype.
              * parse.c (decode_specification_statement,decode_statement):
              Add ASYNCHRONOUS support.
      
      2010-01-08  Tobias Burnus  <burnus@net-b.de
      
              PR/fortran 25829
              * gfortran.dg/asynchronous_1.f90: New test.
              * gfortran.dg/asynchronous_2.f90: New test.
              * gfortran.dg/conflicts.f90: Update error message.
      
      From-SVN: r155732
      Tobias Burnus committed
    • re PR tree-optimization/42221 (ICE from '-Os -fgraphite-identity') · 4e98c66c
      Fix PR42221.
      
      2009-12-23  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42221
      	* sese.c (expand_scalar_variables_expr): Follow the SSA links into
      	the array indexing of ADDR_EXPRs.
      
      	* testsuite/gcc.dg/graphite/pr42221.c: New.
      
      From-SVN: r155731
      Sebastian Pop committed
    • re PR tree-optimization/42521 (ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c:2844) · fd4a56ff
      Fix PR42521.
      
      2010-01-07  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42521
      	* graphite.c (graphite_finalize): Call scev_reset.
      	(graphite_transform_loops): Do not call scev_reset between the code
      	generation of scops.
      
      	* testsuite/gcc.dg/graphite/pr42521.c: New.
      
      From-SVN: r155728
      Sebastian Pop committed
    • Memoize memory strides per loop. · eaffa762
      2010-01-07  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-interchange.c (memory_stride_in_loop): Renamed
      	pdr_stride_in_loop.
      	(memory_strides_in_loop): Renamed memory_strides_in_loop_1.
      	(memory_strides_in_loop): Memoize the memory strides per loop.
      	(lst_interchange_profitable_p): Do not initialize to zero the memory
      	strides.
      	* graphite-poly.h (struct lst): Add a field memory_strides.
      	(LST_LOOP_MEMORY_STRIDES): New.
      	(new_lst_loop): Initialize LST_LOOP_MEMORY_STRIDES to -1.
      	(free_lst): Clear LST_LOOP_MEMORY_STRIDES.
      
      From-SVN: r155725
      Sebastian Pop committed
    • Compute memory strides on a whole loop. · bf69e754
      2010-01-07  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-interchange.c (memory_strides_in_loop_depth): Renamed
      	memory_strides_in_loop.  Gather memory strides on a whole loop.
      	(pbb_interchange_profitable_p): Renamed lst_interchange_profitable_p.
      	(lst_interchange_profitable_p): Removed.
      	(lst_try_interchange_loops): Call lst_interchange_profitable_p.
      
      From-SVN: r155724
      Sebastian Pop committed
    • Revert: Remove context_loop and level from translate_clast_* methods. · 9fa29a09
      2010-01-07  Sebastian Pop  <sebastian.pop@amd.com>
      
      	Revert patch 2009-11-23  Tobias Grosser  <grosser@fim.uni-passau.de>
      	* graphite-clast-to-gimple.c (try_mark_loop_parallel): New.
      	(translate_clast_for, translate_clast_guard, translate_clast, gloog):
      	Remove context_loop and level.
      
      From-SVN: r155719
      Sebastian Pop committed
    • Daily bump. · b3d63fa1
      From-SVN: r155717
      GCC Administrator committed
  3. 07 Jan, 2010 8 commits
    • re PR bootstrap/42424 (in-tree GMP/MPFR/MPC bootstrap fails) · 592c90ff
      	PR bootstrap/42424
      	* configure.ac: Include libtool m4 files.
              (_LT_CHECK_OBJDIR): Call it.
      	(extra_mpc_mpfr_configure_flags, extra_mpc_gmp_configure_flags,
      	gmplibs, ppllibs, clooglibs): Use $lt_cv_objdir.
      	
      	* configure: Regenerate.
      
      
      
      Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
      
      From-SVN: r155712
      Kaveh R. Ghazi committed
    • Fix pathname. · d91ae0ab
      From-SVN: r155711
      H.J. Lu committed
    • re PR libffi/40701 (Many libffi tests fail to compile on Tru64 UNIX) · ec168029
      	PR libffi/40701
      	* testsuite/libffi.call/ffitest.h [__alpha__ && __osf__] (PRIdLL,
      	PRIuLL, PRId64, PRIu64, PRIuPTR): Define.
      	* testsuite/libffi.call/cls_align_sint64.c: Add -Wno-format on
      	alpha*-dec-osf*.
      	* testsuite/libffi.call/cls_align_uint64.c: Likewise.
      	* testsuite/libffi.call/cls_ulonglong.c: Likewise.
      	* testsuite/libffi.call/return_ll1.c: Likewise.
      	* testsuite/libffi.call/stret_medium2.c: Likewise.
      	* testsuite/libffi.special/ffitestcxx.h (allocate_mmap): Cast
      	MAP_FAILED to char *.
      
      From-SVN: r155710
      Rainer Orth committed
    • re PR bootstrap/41818 (Error building cross compiler caused by changing… · 60a2e213
      re PR bootstrap/41818 (Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile)
      
      Fix PR bootstrap/41818.
      
      /:
      	PR bootstrap/41818
      	* Makefile.tpl (BASE_TARGET_EXPORTS): Only add TARGET_LIB_PATH
      	to $(RPATH_ENVVAR) if bootstrapping.  Fix typo in comment.
      	* Makefile.in: Regenerate.
      
      From-SVN: r155706
      Ralf Wildenhues committed
    • re PR c++/40155 ([c++0x] variadic template pack problem) · c8f4e43a
      Fix PR c++/40155
      
      gcc/cp/ChangeLog:
      	c++/40155
      	* pt.c (unify_pack_expansion): In non-deduced contexts, re-use template
      	arguments that were previously deduced.
      
      gcc/testsuite/ChangeLog:
      	c++/40155
      	* g++.dg/cpp0x/variadic-unify-2.C: New test.
      
      From-SVN: r155705
      Dodji Seketeli committed
    • evolution.xml: Fix typos, update. · f52ac76f
      2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/xml/manual/evolution.xml: Fix typos, update.
      
      From-SVN: r155704
      Benjamin Kosnik committed
    • Update loop-block testcases. · 11d6ea5e
      2010-01-06  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-blocking.c (scop_do_block): Print "SCoP will be loop
      	blocked" only when both the strip mine and the interchange have
      	been applied.
      
      	* testsuite/gcc.dg/graphite/block-2.c: Removed.
      	* testsuite/gcc.dg/graphite/block-3.c: Add scan pattern.
      	* testsuite/gcc.dg/graphite/block-4.c: Same.
      	* testsuite/gcc.dg/graphite/block-5.c: Same.
      	* testsuite/gcc.dg/graphite/block-6.c: Same.
      
      From-SVN: r155703
      Sebastian Pop committed
    • Fix memory leaks. · 556afcdc
      2010-01-06  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-clast-to-gimple.c (save_clast_name_index): Free slot
      	before allocating a new one.
      	(copy_renames): Check that slot is not NULL.
      	(mark_bb_with_pbb): Same.
      	(compute_cloog_iv_types_1): Same.
      	* graphite-interchange.c (lst_perfect_nestify): Free the before,
      	nest, and after LSTs.
      	(lst_try_interchange_loops): Same.
      
      From-SVN: r155702
      Sebastian Pop committed