1. 10 Jan, 2010 4 commits
  2. 09 Jan, 2010 23 commits
    • ebotcazou's avatar
      PR ada/42626 · ec552eed
      ebotcazou authored
      	* gcc-interface/Makefile.in (gnatlib-shared-darwin): Add missing
      	end-quote.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155780 138bc75d-0d04-0410-961f-82ee72b054a4
      ec552eed
    • ebotcazou's avatar
      PR ada/42626 · 851967b5
      ebotcazou authored
      	* Makefile.in (gnatlib-shared-darwin): Add missing end-quote.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155779 138bc75d-0d04-0410-961f-82ee72b054a4
      851967b5
    • jvdelisle's avatar
      Fix ChangeLog entry. · e7b443ce
      jvdelisle authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155774 138bc75d-0d04-0410-961f-82ee72b054a4
      e7b443ce
    • jvdelisle's avatar
      2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> · d184e76b
      jvdelisle authored
      	PR fortran/32489
      	* gfortran.dg/array_constructor_33.f90: New test.
      
      	PR fortran/20923
      	Fix ChangeLog entry.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155773 138bc75d-0d04-0410-961f-82ee72b054a4
      d184e76b
    • jvdelisle's avatar
      2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> · 8defd221
      jvdelisle authored
      	PR fortran/32489
      	* gfortran.dg/array_constructor_33.f90: New test.
      	gfortran.dg/array_function_5.f90: Add credit.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155772 138bc75d-0d04-0410-961f-82ee72b054a4
      8defd221
    • ebotcazou's avatar
      PR ada/42659 · fa7b4975
      ebotcazou authored
      	* configure.ac (powerpc|*86-*-darwin*): Extend to *-*-darwin*.
      	* configure: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155771 138bc75d-0d04-0410-961f-82ee72b054a4
      fa7b4975
    • jakub's avatar
      * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten · d3e6bf4e
      jakub authored
      	sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by
      	1 insn.
      	(num_insns_constant_wide): Adjust for that change.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155770 138bc75d-0d04-0410-961f-82ee72b054a4
      d3e6bf4e
    • jvdelisle's avatar
      2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> · c315461d
      jvdelisle authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155769 138bc75d-0d04-0410-961f-82ee72b054a4
      c315461d
    • aoliva's avatar
      Update copyright notices of my recent commits. · 73685692
      aoliva authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155766 138bc75d-0d04-0410-961f-82ee72b054a4
      73685692
    • aoliva's avatar
      gcc/ChangeLog: · 388bf4a2
      aoliva authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155765 138bc75d-0d04-0410-961f-82ee72b054a4
      388bf4a2
    • aoliva's avatar
      gcc/ChangeLog: · 3b3940d7
      aoliva authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155764 138bc75d-0d04-0410-961f-82ee72b054a4
      3b3940d7
    • aoliva's avatar
      gcc/ChangeLog: · 08f2a34b
      aoliva authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155763 138bc75d-0d04-0410-961f-82ee72b054a4
      08f2a34b
    • aoliva's avatar
      gcc/ChangeLog: · 4569d18c
      aoliva authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155762 138bc75d-0d04-0410-961f-82ee72b054a4
      4569d18c
    • aoliva's avatar
      gcc/ChangeLog: · b123eaab
      aoliva authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155761 138bc75d-0d04-0410-961f-82ee72b054a4
      b123eaab
    • aoliva's avatar
      * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren. · d3ab9b67
      aoliva authored
      (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155760 138bc75d-0d04-0410-961f-82ee72b054a4
      d3ab9b67
    • aoliva's avatar
      * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence · 753631e2
      aoliva authored
      bogus uninitialized warning.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155759 138bc75d-0d04-0410-961f-82ee72b054a4
      753631e2
    • jsm28's avatar
      * nl.po: Update. · d9a5dde9
      jsm28 authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155758 138bc75d-0d04-0410-961f-82ee72b054a4
      d9a5dde9
    • rguenth's avatar
      2010-01-09 Richard Guenther <rguenther@suse.de> · ce00c150
      rguenth authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155757 138bc75d-0d04-0410-961f-82ee72b054a4
      ce00c150
    • paolo's avatar
      2010-01-09 Paolo Carlini <paolo.carlini@oracle.com> · ce404077
      paolo authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155756 138bc75d-0d04-0410-961f-82ee72b054a4
      ce404077
    • burnus's avatar
      2010-01-09 Tobias Burnus <burnus@net-b.de> · 650ee6fb
      burnus authored
              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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155755 138bc75d-0d04-0410-961f-82ee72b054a4
      650ee6fb
    • paolo's avatar
      2010-01-08 Paolo Carlini <paolo.carlini@oracle.com> · d79da0e9
      paolo authored
      	* 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.
      
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155754 138bc75d-0d04-0410-961f-82ee72b054a4
      d79da0e9
    • gccadmin's avatar
      Daily bump. · eda7c5f4
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155753 138bc75d-0d04-0410-961f-82ee72b054a4
      eda7c5f4
    • jakub's avatar
      * gcc.c (process_command): Update copyright notice dates. · 60d645bb
      jakub authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155749 138bc75d-0d04-0410-961f-82ee72b054a4
      60d645bb
  3. 08 Jan, 2010 13 commits
    • hutchinsonandy's avatar
      2010-01-08 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> · 9643da7d
      hutchinsonandy authored
        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. 
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155746 138bc75d-0d04-0410-961f-82ee72b054a4
      9643da7d
    • sje's avatar
      2010-01-08 Steve Ellcey <sje@cup.hp.com> · 2a156579
      sje authored
      	PR target/37454
      	* configure.ac: Modify -rdynamic check.
      	* configure: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155745 138bc75d-0d04-0410-961f-82ee72b054a4
      2a156579
    • ro's avatar
      PR ada/41929 · beed70c3
      ro authored
      	* gnat.dg/null_pointer_deref1.adb: Don't run on
      	sparc*-sun-solaris2.11.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155743 138bc75d-0d04-0410-961f-82ee72b054a4
      beed70c3
    • dj's avatar
      * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler · c90c8b4e
      dj authored
      register popping order.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155742 138bc75d-0d04-0410-961f-82ee72b054a4
      c90c8b4e
    • rguenth's avatar
      2010-01-08 Richard Guenther <rguenther@suse.de> · 3bfd70ae
      rguenth authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155740 138bc75d-0d04-0410-961f-82ee72b054a4
      3bfd70ae
    • spop's avatar
      Remove COMPONENT_REF limitation in SCoP detection. · 01e31b4b
      spop authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155739 138bc75d-0d04-0410-961f-82ee72b054a4
      01e31b4b
    • paolo's avatar
      2010-01-08 Paolo Carlini <paolo.carlini@oracle.com> · 5b4ff012
      paolo authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155733 138bc75d-0d04-0410-961f-82ee72b054a4
      5b4ff012
    • burnus's avatar
      2010-01-08 Tobias Burnus <burnus@net-b.de · 738928be
      burnus authored
              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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155732 138bc75d-0d04-0410-961f-82ee72b054a4
      738928be
    • spop's avatar
      Fix PR42221. · 2379556f
      spop authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155731 138bc75d-0d04-0410-961f-82ee72b054a4
      2379556f
    • spop's avatar
      Fix PR42521. · d9458edc
      spop authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155728 138bc75d-0d04-0410-961f-82ee72b054a4
      d9458edc
    • spop's avatar
      Memoize memory strides per loop. · b33d4eb4
      spop authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155725 138bc75d-0d04-0410-961f-82ee72b054a4
      b33d4eb4
    • spop's avatar
      Compute memory strides on a whole loop. · a16e8346
      spop authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155724 138bc75d-0d04-0410-961f-82ee72b054a4
      a16e8346
    • spop's avatar
      Revert: Remove context_loop and level from translate_clast_* methods. · 2edfa860
      spop authored
      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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155719 138bc75d-0d04-0410-961f-82ee72b054a4
      2edfa860