OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago * gcc.c (process_command): Update copyright notice dates.
jakub [Sat, 9 Jan 2010 00:00:42 +0000 (00:00 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155749 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-08 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
hutchinsonandy [Fri, 8 Jan 2010 23:01:45 +0000 (23:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155746 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-08 Steve Ellcey <sje@cup.hp.com>
sje [Fri, 8 Jan 2010 21:54:37 +0000 (21:54 +0000)]
2010-01-08  Steve Ellcey  <sje@cup.hp.com>

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

14 years ago PR ada/41929
ro [Fri, 8 Jan 2010 19:02:51 +0000 (19:02 +0000)]
PR ada/41929
* 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

14 years ago* config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
dj [Fri, 8 Jan 2010 19:02:28 +0000 (19:02 +0000)]
* config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
register popping order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155742 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-08 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 8 Jan 2010 16:57:59 +0000 (16:57 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155740 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoRemove COMPONENT_REF limitation in SCoP detection.
spop [Fri, 8 Jan 2010 16:07:18 +0000 (16:07 +0000)]
Remove COMPONENT_REF limitation in SCoP detection.

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

14 years ago2010-01-08 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 8 Jan 2010 13:01:24 +0000 (13:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155733 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-08 Tobias Burnus <burnus@net-b.de
burnus [Fri, 8 Jan 2010 09:23:26 +0000 (09:23 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155732 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix PR42221.
spop [Fri, 8 Jan 2010 08:04:35 +0000 (08:04 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155731 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix PR42521.
spop [Fri, 8 Jan 2010 07:39:01 +0000 (07:39 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155728 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoMemoize memory strides per loop.
spop [Fri, 8 Jan 2010 04:35:43 +0000 (04:35 +0000)]
Memoize memory strides per loop.

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

14 years agoCompute memory strides on a whole loop.
spop [Fri, 8 Jan 2010 04:35:35 +0000 (04:35 +0000)]
Compute memory strides on a whole loop.

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

14 years agoRevert: Remove context_loop and level from translate_clast_* methods.
spop [Fri, 8 Jan 2010 01:12:30 +0000 (01:12 +0000)]
Revert: Remove context_loop and level from translate_clast_* methods.

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

14 years agoDaily bump.
gccadmin [Fri, 8 Jan 2010 00:18:44 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155717 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR bootstrap/42424
ghazi [Thu, 7 Jan 2010 21:58:23 +0000 (21:58 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155712 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix pathname.
hjl [Thu, 7 Jan 2010 21:55:20 +0000 (21:55 +0000)]
Fix pathname.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155711 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR libffi/40701
ro [Thu, 7 Jan 2010 20:35:33 +0000 (20:35 +0000)]
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 *.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155710 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix PR bootstrap/41818.
rwild [Thu, 7 Jan 2010 19:53:50 +0000 (19:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155706 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix PR c++/40155
dodji [Thu, 7 Jan 2010 19:21:46 +0000 (19:21 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155705 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 7 Jan 2010 19:07:53 +0000 (19:07 +0000)]
2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>

* doc/xml/manual/evolution.xml: Fix typos, update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155704 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoUpdate loop-block testcases.
spop [Thu, 7 Jan 2010 18:33:01 +0000 (18:33 +0000)]
Update loop-block testcases.

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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155703 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix memory leaks.
spop [Thu, 7 Jan 2010 18:32:51 +0000 (18:32 +0000)]
Fix memory leaks.

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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155702 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix PR42178.
spop [Thu, 7 Jan 2010 18:32:39 +0000 (18:32 +0000)]
Fix PR42178.

2010-01-05  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/42178
* graphite-interchange.c (lst_try_interchange_loops): Do not return
the before, nest, and after LSTs.
(lst_try_interchange): Removed.
(lst_interchange_select_inner): Do not iterate over the LSTs if they
were modified.
(lst_interchange_select_outer): Apply interchange on the outer loop
until there are no more changes in the inner loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155701 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-07 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 7 Jan 2010 17:20:45 +0000 (17:20 +0000)]
2010-01-07  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/locale_facets_nonio.tcc (time_put<>::do_put): Avoid
pointless __builtin_alloca use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155697 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-07 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 7 Jan 2010 16:14:02 +0000 (16:14 +0000)]
2010-01-07  Richard Guenther  <rguenther@suse.de>

* gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING.
(gimple_op): Likewise.
(gimple_op_ptr): Likewise.
(gimple_assign_set_lhs): Remove gcc_assert.
(gimple_assign_set_rhs1): Likewise.
(gimple_assign_set_rhs2): Likewise.
(gimple_call_set_lhs): Likewise.
(gimple_call_set_fn): Likewise.
(gimple_call_set_fndecl): Likewise.
(gimple_call_fndecl): Likewise.
(gimple_call_return_type): Likewise.
(gimple_call_set_chain): Likewise.
(gimple_call_num_args): Likewise.
(gimple_call_set_arg): Likewise.
(gimple_cond_set_code): Likewise.
(gimple_cond_set_lhs): Likewise.
(gimple_cond_set_rhs): Likewise.
(gimple_cond_set_true_label): Likewise.
(gimple_cond_set_false_label): Likewise.
(gimple_label_set_label): Likewise.
(gimple_goto_set_dest): Likewise.
(gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING.
(gimple_debug_bind_get_value): Likewise.
(gimple_debug_bind_get_value_ptr): Likewise.
(gimple_debug_bind_set_var): Likewise.
(gimple_debug_bind_set_value): Likewise.
(gimple_debug_bind_reset_value): Likewise.
(gimple_debug_bind_has_value_p): Likewise.
(gimple_return_retval_ptr): Remove gcc_assert.
(gimple_return_retval): Likewise.
(gimple_return_set_retval): Likewise.
* tree-flow.h (struct gimple_df): Remove nonlocal_all member.
(safe_referenced_var_iterator): Remove.
(FOR_EACH_REFERENCED_VAR_SAFE): Likewise.
* tree-flow-inline.h (gimple_nonlocal_all): Remove.
(fill_referenced_var_vec): Remove.
(first_readonly_imm_use): Remove redundant gcc_assert.
(phi_arg_index_from_use): Combine gcc_asserts.
(move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING.
(first_imm_use_stmt): Remove redundant gcc_assert.
* tree-cfg.c (verify_gimple_call): Verify function and chain
operands.  Verify arguments.
(verify_types_in_gimple_stmt): Verify condition code and labels.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155696 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-07 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 7 Jan 2010 16:07:17 +0000 (16:07 +0000)]
2010-01-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42641
* sese.c (rename_map_elt_info): Use the SSA name version, do
not hash pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155695 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR tree-optimization/42625
jakub [Thu, 7 Jan 2010 15:10:26 +0000 (15:10 +0000)]
PR tree-optimization/42625
* cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*,
TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body
aliases.

* g++.dg/opt/dtor4.C: New test.
* g++.dg/opt/dtor4.h: New.
* g++.dg/opt/dtor4-aux.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155694 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoAdd version.h to the list of plugin headers installed.
baldrick [Thu, 7 Jan 2010 14:11:13 +0000 (14:11 +0000)]
Add version.h to the list of plugin headers installed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155692 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR target/42511
uros [Thu, 7 Jan 2010 13:02:34 +0000 (13:02 +0000)]
PR target/42511
* ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
note itself is not function_invariant_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155691 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
steven [Thu, 7 Jan 2010 11:49:25 +0000 (11:49 +0000)]
* gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
Do not add the DF_NOTE problem.
* store-motion.c (execute_rtl_store_motion): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155690 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-07 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 7 Jan 2010 10:38:25 +0000 (10:38 +0000)]
2010-01-07  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42157
* tree-sra.c (compare_access_positions): Stabilize sort if both
accesses have integer types, return zero immediately if they are the
same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155689 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-07 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 7 Jan 2010 08:12:10 +0000 (08:12 +0000)]
2010-01-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42597
        * trans-decl.c (get_proc_pointer_decl): Fix call to
        gfc_conv_initializer for array-valued proc-pointer funcs.

2010-01-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42597
        * gfortran.dg/proc_ptr_26.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155688 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-07 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 7 Jan 2010 08:09:51 +0000 (08:09 +0000)]
2010-01-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * trans-decl.c (gfc_trans_deferred_vars): Don't initialize
        allocatable scalars with SAVE attribute.

2010-01-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * gfortran.dg/allocatable_scalar_7.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155687 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-06 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 7 Jan 2010 00:22:51 +0000 (00:22 +0000)]
2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/26701
* include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
Encode short two digits over four parsings to negative numbers.
(time_get<>::_M_extract_via_format): Adjust, accept both two digits
and four digits for both 'y' and 'Y'.
(time_get<>::do_get_year): Call time_get<>::_M_extract_num.
* doc/xml/manual/prerequisites.xml: Add en_GB.
* testsuite/lib/libstdc++.exp: Adjust
* testsuite/22_locale/time_get/get_date/char/26701.cc: New.
* testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155685 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Thu, 7 Jan 2010 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155684 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 6 Jan 2010 22:55:52 +0000 (22:55 +0000)]
2010-01-06  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/42491
* scripts/check_performance (CXX): Add -std=gnu++0x.
* testsuite/performance/30_threads/future/polling.cc: Mark up as
using threads.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155681 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/41883
rth [Wed, 6 Jan 2010 18:34:31 +0000 (18:34 +0000)]
PR middle-end/41883
* haifa-sched.c (add_to_note_list): Merge into ...
(concat_note_lists): ... here, and ...
(unlink_other_notes, rm_other_notes): Merge into...
(remove_notes): ... here.  Create REG_SAVE_NOTEs for
NOTE_INSN_EPILOGUE_BEG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155680 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-06 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 6 Jan 2010 17:52:09 +0000 (17:52 +0000)]
2010-01-06  Richard Guenther  <rguenther@suse.de>

* ipa-inline.c (cgraph_decide_inlining_incrementally): Do
not inline regular functions into always-inline functions.

* gcc.c-torture/compile/pr42632.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155679 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-06 Matthias Klose <doko@ubuntu.com>
doko [Wed, 6 Jan 2010 17:46:48 +0000 (17:46 +0000)]
2010-01-06  Matthias Klose  <doko@ubuntu.com>

        * Regenerate .class files with updated ecj.jar (based on 3.5.1).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155678 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/rx/rx.h (enum rx_cpu_type): Add RX200.
nickc [Wed, 6 Jan 2010 17:37:31 +0000 (17:37 +0000)]
    * config/rx/rx.h (enum rx_cpu_type): Add RX200.
        (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are
        used together.
        (OVERRIDE_OPTIONS): Delete.
        (OPTIMIZATION_OPTIONS): Define.
        (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option.
        * config/rx/rx.c (rx_handle_option): Issue an error message if
        -mcpu=rx200 and -fpu are used together.
        (rx_set_optimization_options): New function.  Issue an error
        message if an optimization attribute attempts to reset the FPU/
        math optimization pairing.
        * config/rx/rx-protos.h (rx_set_optimization_options): Prototype.
        * config/rx/rx.opt: Set the default to 32-bit doubles.
        * config/rx/t-rx: Add multilibs for -nofpu option.
        * doc/invoke.texi: Update documentation of RX options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155677 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-06 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 6 Jan 2010 17:08:25 +0000 (17:08 +0000)]
2010-01-06  Richard Guenther  <rguenther@suse.de>

* tree-ssa-pre.c (name_to_id): New global.
(alloc_expression_id): Simplify SSA name handling.
(lookup_expression_id): Likewise.
(init_pre): Zero name_to_id.
(fini_pre): Free it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155676 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * src/mips/n32.S: Use .abicalls and .eh_frame with __GNUC__.
ro [Wed, 6 Jan 2010 14:22:26 +0000 (14:22 +0000)]
* src/mips/n32.S: Use .abicalls and .eh_frame with __GNUC__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155674 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.
uros [Wed, 6 Jan 2010 13:14:17 +0000 (13:14 +0000)]
* ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155673 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-06 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 6 Jan 2010 11:39:18 +0000 (11:39 +0000)]
2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/22_locale/time_get/get_weekday/char/38081-2.cc:
Add dg-require-namedlocale.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155672 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * ChangeLog: Fix reversion entry.
uros [Wed, 6 Jan 2010 08:29:39 +0000 (08:29 +0000)]
* ChangeLog: Fix reversion entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155671 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Wed, 6 Jan 2010 00:17:42 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155669 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoAdd smaxv2di3, umaxv2di3, sminv2di3 and uminv2di3
hjl [Tue, 5 Jan 2010 23:53:29 +0000 (23:53 +0000)]
Add smaxv2di3, umaxv2di3, sminv2di3 and uminv2di3

gcc/

2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>

PR target/42542
* config/i386/sse.md (smaxv2di3): New.
(umaxv2di3): Likewise.
(sminv2di3): Likewise.
(uminv2di3): Likewise.

gcc/testsuite/

2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>

PR target/42542
* gcc.target/i386/pr42542-4.c: New.
* gcc.target/i386/pr42542-4a.c: Likewise.
* gcc.target/i386/pr42542-5.c: Likewise.
* gcc.target/i386/pr42542-5a.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155666 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR target/42564
ebotcazou [Tue, 5 Jan 2010 22:29:18 +0000 (22:29 +0000)]
PR target/42564
* config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
* config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
(legitimize_tls_address): Likewise.
(sparc_tls_referenced_p): Likewise.
* config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
and adjust calls to legitimize_pic_address.
(legitimate_constant_p) Use sparc_tls_referenced_p.
(legitimate_pic_operand_p): Likewise.
(sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
(sparc_tls_symbol_ref_1): Delete.
(sparc_tls_referenced_p): Make static, recognize specific patterns.
(legitimize_tls_address): Make static, handle CONST patterns.
(legitimize_pic_address): Make static, remove unused parameter and
adjust recursive calls.
(sparc_legitimize_address): Make static, use sparc_tls_referenced_p
and adjust call to legitimize_pic_address.
(sparc_output_mi_thunk): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155662 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 5 Jan 2010 20:51:05 +0000 (20:51 +0000)]
2010-01-05  Benjamin Kosnik  <bkoz@redhat.com>

* doc/xml/manual/evolution.xml: Update for 4.4 and 4.5 releases.
* doc/html: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155661 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoProperly convert GTU to GT for V4SI and V2DI
hjl [Tue, 5 Jan 2010 20:44:14 +0000 (20:44 +0000)]
Properly convert GTU to GT for V4SI and V2DI

gcc/

2010-01-05  Paolo Bonzini  <bonzinI@gnu.rg>
    H.J. Lu  <hongjiu.lu@intel.com>

PR target/42542
* config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
operands to make them signed.

* config/i386/sse.md (umaxv4si3): Revert the last change.
(umin<mode>3): Likewise.
(uminv8hi3): Removed.
(uminv4si3): Likewise.

gcc/testsuite/

2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.target/i386/pr42542-1.c (res): Make it 8 elements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155660 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 5 Jan 2010 20:05:20 +0000 (20:05 +0000)]
2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/38081
* include/bits/locale_facets_nonio.h (time_get<>::
_M_extract_wday_or_month): New, declare.
* include/bits/locale_facets_nonio.tcc (time_get<>::
_M_extract_wday_or_month): Define.
(time_get<>::do_get_weekday, time_get<>::do_get_monthname): Use it.
* config/abi/pre/gnu.ver: Export new symbols.
* doc/xml/manual/prerequisites.xml: Add ru_RU.UTF-8 and
ru_RU.ISO-8859-5.
* testsuite/lib/libstdc++.exp: Adjust.
* testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: New.
* testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155659 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Martin Jambor <mjambor@suse.cz>
jamborm [Tue, 5 Jan 2010 19:42:32 +0000 (19:42 +0000)]
2010-01-05  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42462
* ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
current_function_decl to helper functions and macros.

* gcc/testsuite/g++.dg/torture/pr42462.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155658 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * dg-extract-results.sh: Don't use tail -n.
ro [Tue, 5 Jan 2010 18:29:48 +0000 (18:29 +0000)]
* dg-extract-results.sh: Don't use tail -n.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155655 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago gcc:
ro [Tue, 5 Jan 2010 17:14:30 +0000 (17:14 +0000)]
gcc:
PR bootstrap/41771
* flags.h: Don't include real.h.
(HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
HONOR_SIGN_DEPENDENT_ROUNDING): Move ...
* real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES,
HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here.
* dominance.c: Update copyright.
* gimple.c (walk_gimple_op): Remove inline.
* tree-ssa-reassoc.c: Include real.h.
* Makefile.in (FLAGS_H): Remove $(REAL_H).
(tree-ssa-reassoc.o): Depend on $(REAL_H).

include:
PR bootstrap/41771
* ansidecl.h: Fix inline test for C99 and Sun Studio cc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155654 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * pt.c (unify_pack_expansion): Handle deduction from init-list.
jason [Tue, 5 Jan 2010 16:36:45 +0000 (16:36 +0000)]
* pt.c (unify_pack_expansion): Handle deduction from init-list.
* call.c (build_over_call): Don't complain about it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155653 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
nickc [Tue, 5 Jan 2010 15:43:43 +0000 (15:43 +0000)]
    * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
        register to push into the stack frame when the accumulator has to
        be saved during interrupts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155652 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 5 Jan 2010 14:15:37 +0000 (14:15 +0000)]
2010-01-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42517
        * options.c (gfc_post_options): Set -frecursion
        when -fopenmp is used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155649 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago config:
ro [Tue, 5 Jan 2010 14:02:37 +0000 (14:02 +0000)]
config:
* stdint.m4 (GCC_HEADER_STDINT): Don't typedef uint8_t etc. if
corresponding macros already exist.

libdecnumber:
* configure: Regenerate.

libgfortran:
* configure: Regenerate.

libgomp:
* configure: Regenerate.

libstdc++-v3:
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155648 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 5 Jan 2010 13:42:40 +0000 (13:42 +0000)]
2010-01-05  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42614
* gcc.c-torture/execute/pr42614.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155647 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Eric Fisher <joefoxreal@gmail.com>
rguenth [Tue, 5 Jan 2010 12:30:30 +0000 (12:30 +0000)]
2010-01-05  Eric Fisher  <joefoxreal@gmail.com>

* doc/invoke.texi: Remove the documentation about option
-Wunreachable-code.
* common.opt (Wunreachable-code):  Preserved for backward
compatibility.
* tree-cfg.c: Remove the implementation of -Wunreachable-code.
* opts.c (common_handle_option): Add OPT_Wunreachable_code to
the backward compatibility flag section.

* gcc.dg/pr12603.c: Remove -Wunreachable-code from dg-options.
* gcc.dg/Wunreachable-1.c: Remove the testcase of
-Wunreachable-code.
* gcc.dg/Wunreachable-2.c: Likewise.
* gcc.dg/Wunreachable-3.c: Likewise.
* gcc.dg/Wunreachable-4.c: Likewise.
* gcc.dg/Wunreachable-5.c: Likewise.
* gcc.dg/Wunreachable-6.c: Likewise.
* gcc.dg/Wunreachable-7.c: Likewise.
* gcc.dg/Wunreachable-8.c: Likewise.
* gcc.dg/20041231-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155645 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 5 Jan 2010 11:44:43 +0000 (11:44 +0000)]
2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/22_locale/time_get/get_monthname/char/6.cc: New.
* testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155644 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 5 Jan 2010 10:53:11 +0000 (10:53 +0000)]
2010-01-05  Richard Guenther  <rguenther@suse.de>

* tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155643 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR other/42611
jakub [Tue, 5 Jan 2010 08:42:53 +0000 (08:42 +0000)]
PR other/42611
* cfgexpand.c (expand_one_var): Diagnose too large variables.

* gcc.dg/pr42611.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155641 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR tree-optimization/42508
jakub [Tue, 5 Jan 2010 08:40:50 +0000 (08:40 +0000)]
PR tree-optimization/42508
* tree-sra.c (convert_callers): Check for recursive call
by comparing cgraph nodes instead of decls.
(modify_function): Call ipa_modify_formal_parameters also
on all same_body aliases.

* g++.dg/opt/pr42508.C: New test.

* cgraphunit.c (cgraph_materialize_all_clones): Compare
cgraph nodes when checking for same_body aliases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155640 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 5 Jan 2010 07:19:30 +0000 (07:19 +0000)]
2010-01-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * trans-expr.c (gfc_conv_procedure_call): Nullify
        return value for allocatable-scalar character functions.

2010-01-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * gfortran.dg/allocatable_scalar_8.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155639 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Tue, 5 Jan 2010 00:16:41 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155638 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-05 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 5 Jan 2010 00:06:25 +0000 (00:06 +0000)]
2010-01-05  Richard Guenther  <rguenther@suse.de>

* tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
allocation and lookup.
(get_or_alloc_expr_for_constant): Likewise.
(phi_translate): Sink allocation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155635 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR target/42316
kkojima [Mon, 4 Jan 2010 23:46:56 +0000 (23:46 +0000)]
PR target/42316
* configure.ac (PICFLAG): Use -fPIC on SH hosts.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155634 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jan 2010 21:02:42 +0000 (21:02 +0000)]
2010-01-04  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
a new entry only if needed.
* tree-ssa-dom.c (lookup_avail_expr): Likewise.
* tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
hashtable lookup.
* tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
the result array.
(phi_translate): Handle CONSTANTs early.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155633 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-04 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 4 Jan 2010 21:01:10 +0000 (21:01 +0000)]
2010-01-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/36161
        * error.c (error_printf, gfc_warning, gfc_notify_std,
        gfc_warning_now, gfc_error, gfc_error_now,
        gfc_fatal_error): Change argument name from nocmsgid to
        gmsgid to enable (x)gettext's % checking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155632 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-04 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 4 Jan 2010 18:25:14 +0000 (18:25 +0000)]
2010-01-04  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42398
* tree-sra.c (struct access): Removed flag grp_different_types.
(dump_access): Do not dump the removed flag.
(sort_and_splice_var_accesses): Do not set the removed flag.
(sra_modify_expr): Check for type compatibility directly.

* testsuite/gcc.c-torture/compile/pr42398.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155631 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-04 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 4 Jan 2010 18:18:54 +0000 (18:18 +0000)]
2010-01-04  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42366
* ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
edges with variable number of parameters.
* ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
flag instead of asserting it.
(ipa_read_node_info): Read uses_analysis_done flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155630 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoRemove duplicated ChangeLog entries.
hjl [Mon, 4 Jan 2010 18:07:42 +0000 (18:07 +0000)]
Remove duplicated ChangeLog entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155629 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR c++/42555
jason [Mon, 4 Jan 2010 17:53:37 +0000 (17:53 +0000)]
PR c++/42555
* pt.c (tsubst_decl): Don't apply type attributes in place.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155628 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR c++/42567
jason [Mon, 4 Jan 2010 17:53:29 +0000 (17:53 +0000)]
PR c++/42567
* semantics.c (describable_type): Remove decltype comment and
semantics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155627 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agofix comment typo
jason [Mon, 4 Jan 2010 17:53:17 +0000 (17:53 +0000)]
fix comment typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155626 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jan 2010 17:01:34 +0000 (17:01 +0000)]
2010-01-04  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
iterative_hash_* as intended.
(vn_reference_compute_hash): Likewise.  Simplify hashing
SSA names.
(vn_reference_lookup_2): Likewise.
(vn_nary_op_compute_hash): Likewise.
(vn_phi_compute_hash): Likewise.
(expressions_equal_p): Remove strange code.
* tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
(pre_expr_hash): Likewise.  Simplify hashing SSA names.
(bitmap_insert_into_set_1): Take value-id as parameter.
(add_to_value): Pass it.
(bitmap_insert_into_set): Likewise.
(bitmap_value_insert_into_set): Likewise.  Remove redundant check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155624 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR driver/42442
jakub [Mon, 4 Jan 2010 16:02:41 +0000 (16:02 +0000)]
PR driver/42442
* gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
(do_self_spec): For switches with SWITCH_IGNORE set set also
SWITCH_IGNORE_PERMANENTLY.
(check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
of SWITCH_IGNORE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155622 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * sv.po: Update.
jsm28 [Mon, 4 Jan 2010 15:28:39 +0000 (15:28 +0000)]
* sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155620 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-04 Rafael Avila de Espindola <espindola@google.com>
espindola [Mon, 4 Jan 2010 15:25:11 +0000 (15:25 +0000)]
2010-01-04  Rafael Avila de Espindola  <espindola@google.com>

* gcc.dg/lto/20100104_0.c: New.

2010-01-04  Rafael Avila de Espindola  <espindola@google.com>

* lto-streamer-out.c (output_unreferenced_globals): Output the full
tree of an unreferenced global var.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155619 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDon't convert GTU to GT for V4SI and V2DI
hjl [Mon, 4 Jan 2010 15:14:31 +0000 (15:14 +0000)]
Don't convert GTU to GT for V4SI and V2DI

gcc/

2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>

PR target/42542
* config/i386/i386.c (ix86_expand_int_vcond): Don't convert
GTU to GT for V4SI and V2DI.

* config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
(umin<mode>3): Removed.
(uminv8hi3): New.
(uminv4si3): Likewise.

gcc/testsuite/

2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>

PR target/42542
* gcc.target/i386/pr42542-1.c: New.
* gcc.target/i386/pr42542-1a.c: Likewise.
* gcc.target/i386/pr42542-1b.c: Likewise.
* gcc.target/i386/pr42542-2.c: Likewise.
* gcc.target/i386/pr42542-2a.c: Likewise.
* gcc.target/i386/pr42542-2b.c: Likewise.
* gcc.target/i386/pr42542-3.c: Likewise.
* gcc.target/i386/pr42542-3a.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155618 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoTurn on trace in collect2 if needed
hjl [Mon, 4 Jan 2010 14:42:38 +0000 (14:42 +0000)]
Turn on trace in collect2 if needed

2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/42581
* collect2.c (main): Turn on trace in collect2 if -v is passed
to gcc with LTO.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155616 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoMake 's' atomic
hjl [Mon, 4 Jan 2010 14:28:30 +0000 (14:28 +0000)]
Make 's' atomic

2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>

PR libgomp/42602
* libgomp.fortran/recursion1.f90 (sub): Make 's' atomic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155615 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-01-04 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 4 Jan 2010 08:59:59 +0000 (08:59 +0000)]
2009-01-04  Tobias Burnus  <burnus@net-b.de>

        * ChangeLog-2002: Add copyright footer.
        * ChangeLog-2003: Ditto.
        * ChangeLog-2004: Ditto.
        * ChangeLog-2005: Ditto.
        * ChangeLog-2006: Ditto.
        * ChangeLog-2007: Ditto.
        * ChangeLog-2008: Ditto.
        * ChangeLog-2009: Ditto.
        * ChangeLog: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155611 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix libgcc build for moxie.
green [Mon, 4 Jan 2010 08:29:53 +0000 (08:29 +0000)]
Fix libgcc build for moxie.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155609 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-04 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 4 Jan 2010 07:38:12 +0000 (07:38 +0000)]
2010-01-04  Tobias Burnus  <burnus@net-b.de>

        * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155607 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-01-04 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 4 Jan 2010 07:30:49 +0000 (07:30 +0000)]
2009-01-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
        for functions returning allocatable scalars.
        * trans-stmt.c (gfc_trans_allocate): Emmit error when
        reallocating an allocatable scalar.
        * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
        in comment.
        * trans-decl.c (gfc_trans_deferred_vars): Nullify local
        allocatable scalars.
        (gfc_generate_function_code): Nullify result variable for
        allocatable scalars.

        PR fortran/40849
        * module.c (gfc_use_module): Fix warning string to allow
        for translation.

        PR fortran/42517
        * invoke.texi (-fcheck=recursion): Mention that the checking
        is also disabled for -frecursive.
        * trans-decl.c (gfc_generate_function_code): Disable
        -fcheck=recursion when -frecursive is used.

        * intrinsic.texi (iso_c_binding): Improve wording.

2009-01-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * gfortran.dg/allocatable_scalar_5.f90: New test.
        * gfortran.dg/allocatable_scalar_6.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155606 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-03 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Mon, 4 Jan 2010 05:48:07 +0000 (05:48 +0000)]
2010-01-03  Jerry Quinn  <jlquinn@optonline.net>

* doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.  Update
description of expression operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155604 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 4 Jan 2010 01:58:21 +0000 (01:58 +0000)]
2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

* include/profile/list: Implement DR 1133 here too.

* testsuite/25_algorithms/set_intersection/34730.cc: Do not force
debug-mode, leads to spurious failures in profile-mode.
* testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
* testsuite/25_algorithms/lower_bound/33613.cc: Likewise.
* testsuite/25_algorithms/set_difference/35541.cc: Likewise.
* testsuite/21_strings/basic_string/40160.cc: Likewise.
* testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
Likewise.
* testsuite/23_containers/multimap/14340.cc: Likewise.
* testsuite/23_containers/bitset/18604.cc: Likewise.
* testsuite/23_containers/set/14340.cc: Likewise.
* testsuite/23_containers/set/18604.cc: Likewise.
* testsuite/23_containers/unordered_set/requirements/
debug_mode.cc: Likewise.
* testsuite/23_containers/vector/
debug_mode_requires_reallocation-1.cc: Likewise.
* testsuite/23_containers/vector/
debug_mode_requires_reallocation-2.cc: Likewise.
* testsuite/23_containers/vector/14340.cc: Likewise.
* testsuite/23_containers/vector/15523.cc: Likewise.
* testsuite/23_containers/vector/18604.cc: Likewise.
* testsuite/23_containers/deque/14340.cc: Likewise.
* testsuite/23_containers/deque/18604.cc: Likewise.
* testsuite/23_containers/multiset/14340.cc: Likewise.
* testsuite/23_containers/list/operations/35969.cc: Likewise.
* testsuite/23_containers/list/14340.cc: Likewise.
* testsuite/23_containers/list/18604.cc: Likewise.
* testsuite/23_containers/map/14340.cc: Likewise.
* testsuite/23_containers/map/18604.cc: Likewise.

* testsuite/26_numerics/random/uniform_real_distribution/
cons/parms_neg.cc: Remove, isn't testing anything.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/parms_neg.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/uniform_int/
cons/range_neg.cc: Likewise.

* testsuite/23_containers/unordered_map/requirements/
explicit_instantiation/2.cc: Do not instantiate for
non-defaultconstructible mapped_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155603 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * configure.ac: Add install-html to target_list for Make-hooks.
andrewjenner [Mon, 4 Jan 2010 01:36:36 +0000 (01:36 +0000)]
* configure.ac: Add install-html to target_list for Make-hooks.
* configure: Regenerate.
* fortran/Make-lang.in (F95_HTMLFILES): New.
(fortran.html): Use it.
(fortran.install-html): New.
* Makefile.in (install-html): Add lang.install-html.
* java/Make-lang.in (JAVA_HTMLFILES): New.
(java.html): Use it.
(java.install-html): New.
* objc/Make-lang.in (objc.install-html): New.
* objcp/Make-lang.in (obj-c++.install-html): New.
* cp/Make-lang.in (c++.install-html): New.
* ada/gcc-interface/Make-lang.in (ada.install-html): New.
* lto/Make-lang.in (lto.install-html): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155602 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoPass -m* and -v to -plugin-opt
hjl [Mon, 4 Jan 2010 00:52:50 +0000 (00:52 +0000)]
Pass -m* and -v to -plugin-opt

gcc/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/42520
* gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.

lto-plugin/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/42520
* lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
if -v is passed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155601 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Mon, 4 Jan 2010 00:16:55 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155600 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-03 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 3 Jan 2010 22:44:56 +0000 (22:44 +0000)]
2010-01-03  Richard Guenther  <rguenther@suse.de>

PR testsuite/42583
* gfortran.dg/gomp/recursion1.f90: Remove.

libgomp/
* testsuite/libgomp.fortran/recursion1.f90: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155597 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR rtl-optimization/41862
steven [Sun, 3 Jan 2010 22:41:22 +0000 (22:41 +0000)]
PR rtl-optimization/41862
* store-motion.c (store_killed_in_insn, compute_store_table,
remove_reachable_equiv_notes, replace_store_insn,
build_store_vectors): Ignore all DEBUG_INSNs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155596 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-03 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 3 Jan 2010 22:39:47 +0000 (22:39 +0000)]
2010-01-03  Richard Guenther  <rguenther@suse.de>

* gcc.dg/Warray-bounds.c: Remove XFAILs.
* gcc.dg/uninit-6.c: Likewise.
* gcc.dg/struct/wo_prof_array_through_pointer.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155595 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 3 Jan 2010 20:30:28 +0000 (20:30 +0000)]
2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/set.h: Implement DR 130 here too.
* include/debug/multiset.h: Likewise.
* include/debug/map.h: Likewise.
* include/debug/multimap.h: Likewise.
* include/profile/set.h: Implement DR 130 fully.
* include/profile/multiset.h: Likewise.
* include/profile/map.h: Likewise.
* include/profile/multimap.h: Likewise.
* include/debug/list: Implement DR 1133 here too.
* include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
now uses of __gnu_cxx::throw_allocator.
* testsuite/21_strings/basic_string/40160.cc: Don't pass
explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
testing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155594 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoPR libfortran/42420 Large file capable stat for MingW
jb [Sun, 3 Jan 2010 18:09:37 +0000 (18:09 +0000)]
PR libfortran/42420 Large file capable stat for MingW

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155593 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoRotate ChangeLogs for 2008 and 2009
jb [Sun, 3 Jan 2010 18:08:27 +0000 (18:08 +0000)]
Rotate ChangeLogs for 2008 and 2009

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155592 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoPass -dumpbase and -dumpdir to gcc for LTO
hjl [Sun, 3 Jan 2010 17:03:38 +0000 (17:03 +0000)]
Pass -dumpbase and -dumpdir to gcc for LTO

gcc/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/41564
* common.opt: Add dumpdir.

* gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
isn't specified.
(option_map): Add --dumpdir.

* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.

* lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.

* opts.c (decode_options): Try dump_dir_name first if
dump_base_name isn't an absolute path.
(common_handle_option): Handle OPT_dumpdir.

* toplev.c (dump_dir_name): New.
(print_switch_values): Also ignore -dumpdir.

* toplev.h (dump_dir_name): New.

gcc/lto/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/41564
* lto.c (DUMPBASE_SUFFIX): New.
(lto_execute_ltrans): Append a sequence number to -dumpbase
for LTRANS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155591 138bc75d-0d04-0410-961f-82ee72b054a4