OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago2010-02-03 Alexandre Oliva <aoliva@redhat.com>
rguenth [Wed, 3 Feb 2010 15:00:33 +0000 (15:00 +0000)]
2010-02-03  Alexandre Oliva  <aoliva@redhat.com>

PR debug/42896
* cselib.h (struct cselib_val_struct): Add uid.  Rename value to
hash.
(cselib_reset_table): Renamed from...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_uid): Renamed from...
(cselib_get_next_unknown_value): ... this.
* cselib.c (next_uid): Renamed from...
(next_unknown_value): ... this.
(cselib_clear_table): Adjust.
(cselib_reset_table): Adjust.  Renamed from...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_uid): Adjust.  Renamed from...
(cselib_get_next_unknown_value): ... this.
(get_value_hash): Use hash.
(cselib_hash_rtx): Likewise.
(new_cselib_val): Adjust.  Set and dump uid.
(cselib_lookup_mem): Pass next_uid as hash.
(cselib_subst_to_values): Likewise.
(cselib_log_lookup): Dump uid.
(cselib_lookup): Pass next_uid as hash.  Adjust.
(cselib_process_insn): Adjust.
(cselib_init): Initialize next_uid.
(cselib_finish): Adjust.
(dump_cselib_table): Likewise.
* dse.c (canon_address): Dump value uid.
* print-rtl.c (print_rtx): Print value uid.
* var-tracking.c (VARIABLE_HASH_VAL): Dropped.
(dvuid): New type.
(dv_uid): New function, sort of renamed from...
(dv_htab_hash): ... this, reimplemented in terms of it and...
(dv_uid2hash): ... this.  New.
(variable_htab_eq): Drop excess assertions.
(tie_break_pointers): Removed.
(canon_value_cmp): Compare uids.
(variable_post_merge_New_vals): Print uids.
(vt_add_function_parameters): Adjust.
(vt_initialize): Reset table.  Adjust.

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

14 years ago2010-02-03 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 3 Feb 2010 13:03:39 +0000 (13:03 +0000)]
2010-02-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42944
* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
calloc.
(call_may_clobber_ref_p_1): Likewise.  Properly handle
malloc and calloc clobbering errno.

* gcc.dg/errno-1.c: New testcase.

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

14 years ago * doc/invoke.texi: Fix name of sched1 dump.
steven [Wed, 3 Feb 2010 12:36:27 +0000 (12:36 +0000)]
* doc/invoke.texi: Fix name of sched1 dump.

* opts.c (decode_options): Set flag_tree_switch_conversion
only conditionally on optimize >= 2.

* gcse.c: Assorted comment fixes in pass description.

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

14 years agoFix moxie tramponline alignment problem
green [Wed, 3 Feb 2010 11:36:30 +0000 (11:36 +0000)]
Fix moxie tramponline alignment problem

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

14 years ago2010-02-03 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 3 Feb 2010 11:13:17 +0000 (11:13 +0000)]
2010-02-03  Richard Guenther  <rguenther@suse.de>

PR middle-end/42927
* tree-cfg.c (verify_gimple_assign_binary): Fix shift verification.

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

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

14 years ago * config.gcc: Reenable check for obsolete targets.
ro [Wed, 3 Feb 2010 09:03:59 +0000 (09:03 +0000)]
* config.gcc: Reenable check for obsolete targets.
Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
mips-sgi-irix6.[0-4]*.

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

14 years ago2010-02-03 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 3 Feb 2010 08:26:08 +0000 (08:26 +0000)]
2010-02-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42936
        * interface.c (compare_parameter): Disable rank-checking
        for NULL().

2010-02-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42936
        * gfortran.dg/null_4.f90: New test.

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

14 years ago2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 3 Feb 2010 00:38:52 +0000 (00:38 +0000)]
2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>

* include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
for -fno-exceptions.

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

14 years ago2010-02-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 3 Feb 2010 00:20:05 +0000 (00:20 +0000)]
2010-02-02  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/allocator.h: Fix for -fno-exceptions.
* include/bits/basic_string.h (basic_string::shrink_to_fit): Same.

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

14 years agoDaily bump.
gccadmin [Wed, 3 Feb 2010 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago PR c++/41090
jason [Wed, 3 Feb 2010 00:07:49 +0000 (00:07 +0000)]
PR c++/41090
* decl.c (cp_finish_decl): Add local statics to cfun->local_decls.
* optimize.c (clone_body): Remap their initializers when making base
variants.
(maybe_clone_body): Complain if multiple clones aren't safe.

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

14 years ago2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 2 Feb 2010 15:04:01 +0000 (15:04 +0000)]
2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>

Adjust date of the last ChangeLog entry.

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

14 years ago2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 2 Feb 2010 14:59:53 +0000 (14:59 +0000)]
2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/30_threads/unique_future: Rename to /future.

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

14 years ago2010-02-02 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 2 Feb 2010 13:05:50 +0000 (13:05 +0000)]
2010-02-02  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42650
        * parse.c (decode_specification_statement): Use sym->result not
        * sym.

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

        PR fortran/42650
        * gfortran.dg/func_result_5.f90: New test.

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

14 years ago * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum
nickc [Tue, 2 Feb 2010 09:18:04 +0000 (09:18 +0000)]
   * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum
       constant size of 4 as being the same as 0.
       * doc/invoke.texi (RX Options): Document that -mmax-constant-size
       can take values in the range 0..4.

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

14 years ago2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
andreast [Tue, 2 Feb 2010 08:19:26 +0000 (08:19 +0000)]
2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>

PR java/41991
* include/posix.h: Redefine _Unwind_FindEnclosingFunction.

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

14 years ago2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
andreast [Tue, 2 Feb 2010 08:18:48 +0000 (08:18 +0000)]
2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>

PR java/41991
* config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
SHLIB_MAPFILES.

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

14 years ago2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
andreast [Tue, 2 Feb 2010 08:18:08 +0000 (08:18 +0000)]
2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>

PR java/41991
* unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction()
as _darwin10_Unwind_FindEnclosingFunction().
* libgcc-libsystem.ver: New.

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

14 years agoDaily bump.
gccadmin [Tue, 2 Feb 2010 00:17:09 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2010-02-01 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 1 Feb 2010 21:37:49 +0000 (21:37 +0000)]
2010-02-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42922
        * decl.c (variable_decl): Allow default initializer in
        TYPE declarations in PURE functions.

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

        PR fortran/42922
        * gfortran.dg/pure_initializer_3.f90: News test.

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

14 years ago2010-02-01 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 1 Feb 2010 19:52:42 +0000 (19:52 +0000)]
2010-02-01  Vladimir Makarov  <vmakarov@redhat.com>

PR target/41399
* sched-deps.c (sched_analyze_insn): Ignore fixed registers for
implicitly set registers.

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

14 years ago2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 1 Feb 2010 19:45:23 +0000 (19:45 +0000)]
2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42408
* include/bits/random.h (linear_congruential_engine<>::
linear_congruential_engine(seed_seq&),
linear_congruential_engine<>::seed(seed_seq&),
mersenne_twister<>::mersenne_twister(seed_seq&),
mersenne_twister<>::seed(seed_seq&),
subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
subtract_with_carry_engine<>::seed(seed_seq&),
discard_block_engine<>::discard_block_engine(seed_seq&),
discard_block_engine<>::seed(seed_seq&),
independent_bits_engine<>::independent_bits_engine(seed_seq&),
independent_bits_engine<>::seed(seed_seq&),
shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
shuffle_order_engine<>::seed(seed_seq&)): Templatize.
* include/bits/random.tcc: Adjust.
* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
seed_seq.cc: New.
* testsuite/26_numerics/random/mersenne_twister_engine/cons/
seed_seq.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/seed_seq.cc: Likewise.

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

14 years ago * arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
rearnsha [Mon, 1 Feb 2010 15:09:20 +0000 (15:09 +0000)]
* arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
(arm_override_options): Allow automatic selection of the thread
pointer register if thumb2.
(legitimize_pic_address): Improve code sequences for Thumb2.
(arm_call_tls_get_addr): Likewise.
(legitimize_tls_address): Likewise.
* arm.md (pic_load_addr_arm): Delete.  Replace with ...
(pic_load_addr_32bit): ... this.  New named pattern.
* thumb2.md (pic_load_addr_thumb2): Delete.
(pic_load_dot_plus_four): Delete.
(tls_load_dot_plus_four): New named pattern.

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

14 years ago PR libgomp/29986
ro [Mon, 1 Feb 2010 13:35:10 +0000 (13:35 +0000)]
PR libgomp/29986
* doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry.
Document fix for TLS bug.

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

14 years ago2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 1 Feb 2010 13:10:12 +0000 (13:10 +0000)]
2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.h (forward_list<>::resize(size_type),
forward_list(size_type)): Only declare.
* include/bits/forward_list.tcc (forward_list<>::resize(size_type),
forward_list(size_type)): Define, don't assume CopyConstructible.
* testsuite/23_containers/forward_list/cons/10.cc: New.
* testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* 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.

* include/bits/forward_list.h: Use _M_get_Node_allocator throughout.

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

14 years ago * sv.po: Update.
jsm28 [Mon, 1 Feb 2010 00:28:40 +0000 (00:28 +0000)]
* sv.po: Update.

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

14 years agoDaily bump.
gccadmin [Mon, 1 Feb 2010 00:16:39 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 31 Jan 2010 22:52:25 +0000 (22:52 +0000)]
2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/23_containers/array/requirements/exception/
generation_prohibited.c: Remove, swap can indeed throw (DR 774).

* testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
* testsuite/util/testsuite_container_traits.h
(traits<__versa_string>): Enable insert tests.

2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.h (forward_list<>::insert_after
(const_iterator, size_type, const _Tp&), insert_after(const_iterator,
_InputIterator, _InputIterator), insert_after(const_iterator,
std::initializer_list<>)): Fix return type per N3000.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
Adjust.
* testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* 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.

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

14 years agogcc/fortran/
janus [Sun, 31 Jan 2010 21:56:02 +0000 (21:56 +0000)]
gcc/fortran/
2010-01-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42888
* resolve.c (resolve_allocate_expr): Move default initialization code
here from gfc_trans_allocate.
* trans.c (gfc_trans_code): Call gfc_trans_class_assign also for
EXEC_INIT_ASSIGN.
* trans-expr.c (gfc_trans_class_assign): Handle default initialization
of CLASS variables via memcpy.
* trans-stmt.c (gfc_trans_allocate): Move default initialization code
to resolve_allocate_expr.

gcc/testsuite/
2010-01-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42888
* gfortran.dg/allocate_derived_2.f90: New test.

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

14 years ago PR middle-end/42898
ebotcazou [Sun, 31 Jan 2010 20:00:54 +0000 (20:00 +0000)]
PR middle-end/42898
* gcc.dg/torture/pr42898-2.c: New test.

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

14 years ago2010-01-31 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 31 Jan 2010 19:54:32 +0000 (19:54 +0000)]
2010-01-31  Richard Guenther  <rguenther@suse.de>

* tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be
conservatively correct.

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

14 years ago PR target/42850
danglin [Sun, 31 Jan 2010 19:37:52 +0000 (19:37 +0000)]
PR target/42850
Revert:
2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.

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

14 years ago * configure.ac: Add "recommended" version checks for GMP/MPC.
ghazi [Sun, 31 Jan 2010 18:12:21 +0000 (18:12 +0000)]
* configure.ac: Add "recommended" version checks for GMP/MPC.
Update recommended GMP/MPFR/MPC versions.
* configure: Regenerate.

gcc:
* doc/install.texi: Update recommended GMP/MPFR/MPC versions.

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

14 years ago2010-01-31 Kai Tietz <kai.tietz@onevision.com>
ktietz [Sun, 31 Jan 2010 17:05:08 +0000 (17:05 +0000)]
2010-01-31  Kai Tietz  <kai.tietz@onevision.com>

        * config.gcc: Adjust order of makefile fragments for mingw targets.

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

14 years ago2010-01-31 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 31 Jan 2010 17:01:38 +0000 (17:01 +0000)]
2010-01-31  Richard Guenther  <rguenther@suse.de>

PR middle-end/42898
* gimplify.c (gimplify_init_constructor): For volatile LHS
initialize a temporary.

* gcc.dg/torture/pr42898.c: New testcase.

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

14 years ago2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 31 Jan 2010 16:54:49 +0000 (16:54 +0000)]
2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>

Revert last changes. Also revert, among the previous changes:
* include/std/condition_variable (condition_variable_any::
wait<>(_Lock&)): Provide definition.

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

14 years ago2010-01-31 Matthias Klose <doko@ubuntu.com>
doko [Sun, 31 Jan 2010 15:01:53 +0000 (15:01 +0000)]
2010-01-31  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Fix __stack_chk_fail check for cross builds configured
        --with-headers
        * configure: Regenerate.

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

14 years ago * MAINTAINERS: Move my Embecosm email address into the
amylaar [Sun, 31 Jan 2010 12:05:42 +0000 (12:05 +0000)]
* MAINTAINERS: Move my Embecosm email address into the
write-after-approval section.
(paperwork is in place since November)

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

14 years ago2010-01-31 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 31 Jan 2010 12:05:22 +0000 (12:05 +0000)]
2010-01-31  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/38324
* expr.c (gfc_get_full_arrayspec_from_expr): New function.
* gfortran.h : Add prototype for above.
        * trans-expr.c (gfc_trans_alloc_subarray_assign): New function.
(gfc_trans_subcomponent_assign): Call new function to replace
the code to deal with allocatable components.
* trans-intrinsic.c (gfc_conv_intrinsic_bound): Call
gfc_get_full_arrayspec_from_expr to replace existing code.

2010-01-31  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/38324
        * gfortran.dg/alloc_comp_basics_1.f90: Remove option -O2.
        * gfortran.dg/alloc_comp_bounds_1.f90: New test.

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

14 years agoDaily bump.
gccadmin [Sun, 31 Jan 2010 00:16:48 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago2010-01-30 Paolo Bonzini <bonzini@gnu.org>
bonzini [Sat, 30 Jan 2010 14:36:26 +0000 (14:36 +0000)]
2010-01-30  Paolo Bonzini  <bonzini@gnu.org>

* g++.dg/tree-ssa/inline-1.C: New.
* g++.dg/tree-ssa/inline-2.C: New.
* g++.dg/tree-ssa/inline-3.C: New.

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

14 years agoDaily bump.
gccadmin [Sat, 30 Jan 2010 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago2010-01-29 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 29 Jan 2010 22:46:31 +0000 (22:46 +0000)]
2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/condition_variable (condition_variable_any::
__wait_until_impl): Add.
(condition_variable_any::wait_until): Provide definitions.
* testsuite/30_threads/condition_variable_any/members/2.cc: New.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
Adjust dg-error line number.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
Likewise.

* testsuite/30_threads/condition_variable/members/1.cc: Minor
stylistic changes.
* testsuite/30_threads/condition_variable/members/1.cc: Likewise.

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

14 years ago * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have
ebotcazou [Fri, 29 Jan 2010 18:21:39 +0000 (18:21 +0000)]
* tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have
the same alias set and their sizes different constantness.
(aliasing_component_refs_p): Revert 2009-10-24 change.

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

14 years agoPR 41701, prevent pow in compiler pathname from a false error
meissner [Fri, 29 Jan 2010 17:54:14 +0000 (17:54 +0000)]
PR 41701, prevent pow in compiler pathname from a false error

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

14 years agoPR 41701, prevent pow in compiler pathname from a false error
meissner [Fri, 29 Jan 2010 17:53:46 +0000 (17:53 +0000)]
PR 41701, prevent pow in compiler pathname from a false error

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

14 years ago2010-01-29 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 29 Jan 2010 16:59:55 +0000 (16:59 +0000)]
2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/condition_variable (enum class cv_status): Add and
use it throughout, per N3000.
(condition_variable_any::wait<>(_Lock&), wait<>(_Lock&, _Predicate),
wait_until<>(_Lock&, const chrono::time_point<>&, _Predicate)):
Provide definitions.
* src/condition_variable.cc (condition_variable_any::notify_one,
condition_variable_any::notify_all): Likewise.
* config/abi/pre/gnu.ver: Export.
* testsuite/30_threads/condition_variable_any/requirements/
typedefs.cc: New.
* testsuite/30_threads/condition_variable_any/requirements/
standard_layout.cc: Likewise.
* testsuite/30_threads/condition_variable/members/1.cc: Adjust.
* testsuite/30_threads/condition_variable/members/2.cc: Likewise.
* testsuite/30_threads/condition_variable/cons/assign_neg.cc: Adjust
dg-error line numbers.
* testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
Likewise.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
Likewise.

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

14 years ago * config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl
ro [Fri, 29 Jan 2010 16:37:00 +0000 (16:37 +0000)]
* config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl
unused.

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

14 years ago * inclhack.def (solaris_int_limits_3): New fix.
ro [Fri, 29 Jan 2010 15:55:13 +0000 (15:55 +0000)]
* inclhack.def (solaris_int_limits_3): New fix.
* fixincl.x: Regenerate.
* tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
test.

* inclhack.def (solaris_int_const, solaris_int_limits_1,
solaris_int_limits_2 ): Applies to Solaris 2 in general.
Remove select.
Add mach for *-*-solaris2*.
Change second c_fix_arg to select.
Remove #pragma ident from test_text.
* fixincl.x: Regenerate.
* tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
#pragma trigger text.
* tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
SOLARIS_INT_LIMITS_2_CHECK]: Likewise.

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

14 years ago * testsuite/libgomp.c++/task-1.C: Renamed err to e.
ro [Fri, 29 Jan 2010 15:34:07 +0000 (15:34 +0000)]
* testsuite/libgomp.c++/task-1.C: Renamed err to e.
* testsuite/libgomp.c++/task-6.C: Likewise.

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

14 years ago * g++.old-deja/g++.mike/eh16.C: Rename err to e.
ro [Fri, 29 Jan 2010 15:27:42 +0000 (15:27 +0000)]
* g++.old-deja/g++.mike/eh16.C: Rename err to e.
* g++.old-deja/g++.mike/eh17.C: Likewise.
* g++.old-deja/g++.mike/p5571.C: Likewise.

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

14 years agoFix PRs c++/42758, c++/42634, c++/42797
dodji [Fri, 29 Jan 2010 14:30:41 +0000 (14:30 +0000)]
Fix PRs c++/42758, c++/42634, c++/42797

... and mitigate PR c++/42336

gcc/cp/ChangeLog:
PR c++/42758
PR c++/42634
PR c++/42336
PR c++/42797
PR c++/42880
* cp-tree.h (NON_DEFAULT_TEMPLATE_ARGS_COUNT,
SET_NON_DEFAULT_TEMPLATE_ARGS_COUNT,
GET_NON_DEFAULT_TEMPLATE_ARGS_COUNT): New accessor macros.
* pt.c (coerce_template_parms, type_unification_real,
expand_template_argument_pack, coerce_template_parameter_pack):
Set the non default template args count.
(current_template_args): Always set non defaulted
template args count when compiled with --enable-checking
(tsubst_template_args, type_unification_real): Propagate the non
defaulted template args count.
* error.c (get_non_default_template_args_count): Renamed
count_non_default_template_args into this. Don't calculate the
non default template argument count anymore. Use the new
accessor macros above to get it.
(dump_template_argument_list, dump_type, dump_decl,
dump_template_parms): Adjust.
* parser.c (cp_parser_template_argument_list): Always set defaulted
template args count when compiled with --enable-checking.

gcc/testsuite/ChangeLog:
PR c++/42758
PR c++/42634
PR c++/42336
PR c++/42797
PR c++/42880
* g++.dg/other/crash-5.C: New test.
* g++.dg/other/crash-6.C: New test.
* g++.dg/other/crash-7.C: New test.
* g++.dg/other/crash-8.C: New test.

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

14 years ago2010-01-29 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 29 Jan 2010 12:19:36 +0000 (12:19 +0000)]
2010-01-29  Richard Guenther  <rguenther@suse.de>

* tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute.
Assert we successfully updated the call.

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

14 years ago PR rtl-optimization/42889
jakub [Fri, 29 Jan 2010 12:14:47 +0000 (12:14 +0000)]
PR rtl-optimization/42889
* df.h (df_set_bb_dirty_nonlr): New prototype.
* df-core.c (df_set_bb_dirty_nonlr): New function.
* df-scan.c (df_insn_rescan): Call it instead of
df_set_bb_dirty for DEBUG_INSNs.

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

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

14 years ago2010-01-29 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 29 Jan 2010 11:26:27 +0000 (11:26 +0000)]
2010-01-29  Richard Guenther  <rguenther@suse.de>

PR middle-end/37448
* ipa-inline.c (cgraph_decide_inlining_incrementally): Avoid
quadratic behavior in most cases.

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

14 years ago2010-01-29 Shujing Zhao <pearly.zhao@oracle.com>
pzhao [Fri, 29 Jan 2010 03:28:50 +0000 (03:28 +0000)]
2010-01-29  Shujing Zhao  <pearly.zhao@oracle.com>

        * decl.c (redeclaration_error_message): Wrap the return messages to
        G_() for easy translation.

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

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

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

14 years ago PR c++/42880
jason [Thu, 28 Jan 2010 22:52:36 +0000 (22:52 +0000)]
PR c++/42880
* semantics.c (begin_class_definition): Don't use type_as_string.

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

14 years ago2010-01-28 François Dumont <francois.cppdevs@free.fr>
paolo [Thu, 28 Jan 2010 22:29:52 +0000 (22:29 +0000)]
2010-01-28  François Dumont  <francois.cppdevs@free.fr>

* include/bits/stl_algobase.h (struct __iter_base): Add.
(__niter_base, __miter_base): Adjust, use the latter.

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

14 years ago2010-01-28 Steve Ellcey <sje@cup.hp.com>
sje [Thu, 28 Jan 2010 21:47:59 +0000 (21:47 +0000)]
2010-01-28  Steve Ellcey  <sje@cup.hp.com>

* configure.tgt (*-*-hpux*): Add -frandom-seed flag.

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

14 years agoUse SSE2 on gcc.target/i386/pr42881.c.
hjl [Thu, 28 Jan 2010 21:35:16 +0000 (21:35 +0000)]
Use SSE2 on gcc.target/i386/pr42881.c.

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

* gcc.target/i386/pr42881.c: Use SSE2.

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

14 years ago PR target/42891
uros [Thu, 28 Jan 2010 17:58:03 +0000 (17:58 +0000)]
PR target/42891
* config/i386/i386.c (ix86_expand_int_movcc): Convert tmp to SImode
in the call to gen_x86_movsicc_0_m1.

testsuite/ChangeLog:

PR target/42891
* gcc.target/i386/pr42891.c: New test.

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

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

* testsuite/21_strings/basic_string/element_access/char/21674.cc:
Extend xfail to all systems.
* testsuite/21_strings/basic_string/element_access/wchar_T/21674.cc:
Likewise.
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
Extend xfail to darwin10 systems.

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

14 years ago2010-01-28 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 28 Jan 2010 14:45:09 +0000 (14:45 +0000)]
2010-01-28  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42871
* tree-ssa-pre.c (phi_translate_set): Make sure to retain
leaders.

* g++.dg/torture/pr42871.C: New testcase.

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

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

* tree-ssa-ccp.c (ccp_fold_stmt): Fold calls and propagate
into call arguments.

* gcc.dg/Wobjsize-1.h: New testcase.
* gcc.dg/Wobjsize-1.c: Likewise.

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

14 years ago2010-01-28 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 28 Jan 2010 14:40:59 +0000 (14:40 +0000)]
2010-01-28  Richard Guenther  <rguenther@suse.de>

PR middle-end/42883
* tree-cfgcleanup.c (remove_forwarder_block): Do not remove
the forwarder if the destination is an EH landing pad.

* g++.dg/torture/pr42883.C: New testcase.

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

14 years ago28-01-2010 Razya Ladelsky <razya@il.ibm.com>
razya [Thu, 28 Jan 2010 14:24:25 +0000 (14:24 +0000)]
28-01-2010  Razya Ladelsky  <razya@il.ibm.com>

        * tree-parloops.c (transform_to_exit_first_loop): Update the basic
        block list passed to gimple_duplicate_sese_tail.
        (parallelize_loops): Avoid parallelization when the function
        has_nonlocal_label.
        Avoid parallelization when the preheader is IRREDUCIBLE.
        Try to optimize when estimated_loop_iterations_int is unresolved.
        Add the loop's location to the dump file.
        * tree-cfg.c(add_phi_args_after_redirect): Remove.
        (gimple_duplicate_sese_tail): Remove the check for the latch.
        Redirect nexits to the exit block.
        Remove handling of the incoming edges to the latch.
        Redirect the backedge from the copied latch to the exit bb.

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

14 years ago PR target/42881
matz [Thu, 28 Jan 2010 14:11:34 +0000 (14:11 +0000)]
PR target/42881
* config/i386/i386.c (ix86_expand_vector_init_duplicate):
Wrap force_reg into a sequence, emit it before user.

testsuite/
* gcc.target/i386/pr42881.c: New test.

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

14 years ago2010-01-28 Pascal Obry <obry@adacore.com>
charlet [Thu, 28 Jan 2010 13:44:54 +0000 (13:44 +0000)]
2010-01-28  Pascal Obry  <obry@adacore.com>

* s-win32.ads: Add some missing constants.

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

14 years ago2010-01-28 Vincent Celier <celier@adacore.com>
charlet [Thu, 28 Jan 2010 13:40:10 +0000 (13:40 +0000)]
2010-01-28  Vincent Celier  <celier@adacore.com>

* prj-attr-pm.adb (Add_Attribute): Do nothing if To_Package is
Unknown_Package.

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

14 years ago * gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support.
ro [Thu, 28 Jan 2010 13:22:03 +0000 (13:22 +0000)]
* gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6*o32 support.
Add i?86-*-solaris2* support.

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

14 years agoFix PR c++/42713
dodji [Thu, 28 Jan 2010 12:29:52 +0000 (12:29 +0000)]
Fix PR c++/42713

gcc/cp/ChangeLog:
PR c++/42713
PR c++/42820
* typeck.c (get_template_parms_of_dependent_type): Factorized
this out of incompatible_template_type_parms_p
(incompatible_dependent_types_p): Renamed
incompatible_template_type_parms_p into this. Make it detect
two incompatible dependent typedefs too.
(structural_comptypes): Use incompatible_dependent_types_p.
* pt.c (get_template_info):
Handle BOUND_TEMPLATE_TEMPLATE_PARAM.

gcc/testsuite/ChangeLog:
PR c++/42713
PR c++/42820
* g++.dg/template/typedef27.C: New test case.
* g++.dg/template/typedef28.C: New test case.

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

14 years agoFix unnamed extension for ISO-C.
ktietz [Thu, 28 Jan 2010 11:26:01 +0000 (11:26 +0000)]
Fix unnamed extension for ISO-C.

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

14 years ago2010-01-28 Robert Dewar <dewar@adacore.com>
charlet [Thu, 28 Jan 2010 10:10:58 +0000 (10:10 +0000)]
2010-01-28  Robert Dewar  <dewar@adacore.com>

* gnat_rm.texi: Minor correction

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

14 years agoFix bswap patterns for trunk.
ramana [Thu, 28 Jan 2010 08:35:59 +0000 (08:35 +0000)]
Fix bswap patterns for trunk.

Committed by Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

2010-01-28 Stephen Thomas <stephen.thomas@arm.com>

        * config/arm/arm.md (bswapsi2): Add support for bswapsi2.
        (arm_rev): New.
        (arm_legacy_rev): Likewise.
        (thumb_legacy_rev): Likewise.

2010-01-28 Stephen Thomas <stephen.thomas@arm.com>

        * testsuite/gcc.dg/optimize-bswap*.c: Add ARM target

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

14 years agoDaily bump.
gccadmin [Thu, 28 Jan 2010 00:16:42 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago2010-01-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 27 Jan 2010 20:12:41 +0000 (20:12 +0000)]
2010-01-27  Benjamin Kosnik  <bkoz@redhat.com>

PR c++/42346
* testsuite/23_containers/unordered_map/requirements/exception/: Remove
-O1 workaround.
* testsuite/23_containers/multimap/requirements/exception/: Same.
* testsuite/23_containers/map/requirements/exception: Same.

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

14 years ago* gcc/cp/tree.c: Tweak comment in no_linkage_check.
jason [Wed, 27 Jan 2010 19:48:34 +0000 (19:48 +0000)]
* gcc/cp/tree.c: Tweak comment in no_linkage_check.

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

14 years ago * dwarf2out.c (mem_loc_descriptor): Remove special casing of
jakub [Wed, 27 Jan 2010 16:38:58 +0000 (16:38 +0000)]
* dwarf2out.c (mem_loc_descriptor): Remove special casing of
CONSTANT_POOL_ADDRESS_P SYMBOL_REFs.  If for MEM recursive call
on MEM's address failed, try avoid_constant_pool_reference and
recurse if it returned something different.
(loc_descriptor): If for MEM mem_loc_descriptor failed on the
address, try avoid_constant_pool_reference and recurse if it
returned something different.
(dw_loc_list_1): If for MEM mem_loc_descriptor failed on the
address and avoid_constant_pool_reference returned something
different, don't set have_address.

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

14 years ago PR debug/42861
jakub [Wed, 27 Jan 2010 16:36:57 +0000 (16:36 +0000)]
PR debug/42861
* var-tracking.c (val_store): Add modified argument, obey it.
Adjust callers.
(count_uses): Move down logging of main.
(compute_bb_dataflow): Use val_store for MO_VAL_USEs that
don't need resolution.
(emit_notes_in_bb): Likewise.

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

14 years ago2010-01-27 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 27 Jan 2010 16:00:31 +0000 (16:00 +0000)]
2010-01-27  Richard Guenther  <rguenther@suse.de>

PR middle-end/42878
* tree-inline.c (remap_decl): Delay remapping of SSA name
default definitions until we need them.

* gcc.dg/torture/pr42878-1.c: New testcase.
* gcc.dg/torture/pr42878-2.c: Likewise.

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

14 years ago2010-01-27 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 27 Jan 2010 15:49:00 +0000 (15:49 +0000)]
2010-01-27  Richard Guenther  <rguenther@suse.de>

PR libstdc++/42832
* include/std/functional (function<>::swap): Perform bytewise
swap of _M_functor.
* include/tr1/functional (function<>::swap): Likewise.

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

14 years ago * config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
jakub [Wed, 27 Jan 2010 15:14:09 +0000 (15:14 +0000)]
* config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
(rs6000_delegitimize_address): New function.

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

14 years ago * config/s390/s390.c (s390_delegitimize_address): Call
jakub [Wed, 27 Jan 2010 15:12:55 +0000 (15:12 +0000)]
* config/s390/s390.c (s390_delegitimize_address): Call
delegitimize_mem_from_attrs.

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

14 years ago PR middle-end/42874
jakub [Wed, 27 Jan 2010 15:09:23 +0000 (15:09 +0000)]
PR middle-end/42874
* tree-inline.c (cannot_copy_type_1): Removed.
(copy_forbidden): Don't forbid copying of functions containing
records/unions with variable length fields.

* gcc.dg/vla-22.c: New test.

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

14 years agoRevert r156276
nickc [Wed, 27 Jan 2010 14:17:48 +0000 (14:17 +0000)]
Revert r156276

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

14 years ago2010-01-27 Pascal Obry <obry@adacore.com>
charlet [Wed, 27 Jan 2010 14:15:42 +0000 (14:15 +0000)]
2010-01-27  Pascal Obry  <obry@adacore.com>

* g-awk.adb: ensure that an AWK session is reusable.

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

14 years ago2010-01-27 Vasiliy Fofanov <fofanov@adacore.com>
charlet [Wed, 27 Jan 2010 13:39:30 +0000 (13:39 +0000)]
2010-01-27  Vasiliy Fofanov  <fofanov@adacore.com>

* g-regist.adb (For_Every_Key): Fix previous change.

2010-01-27  Thomas Quinot  <quinot@adacore.com>

* lib-writ.ads: Current version of spec for new N (note) ALI lines

2010-01-27  Yannick Moy  <moy@adacore.com>

* a-cdlili.adb (Insert): Correct exception message when cursor
designates wrong list.

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

14 years ago2010-01-27 Vincent Celier <celier@adacore.com>
charlet [Wed, 27 Jan 2010 13:29:52 +0000 (13:29 +0000)]
2010-01-27  Vincent Celier  <celier@adacore.com>

* gnatcmd.adb: When there is only one main specified, the package
support Switches (<main>) and attribute Switches is specified for the
main, use these switches, instead of Default_Switches ("Ada").

2010-01-27  Robert Dewar  <dewar@adacore.com>

* sem_prag.adb, par-prag.adb, snames.ads-tmpl: pragma Dimension initial
implementation.
* exp_disp.adb: Minor reformatting

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

14 years agotemporarily revert fix for PR target/42841
chrbr [Wed, 27 Jan 2010 13:24:40 +0000 (13:24 +0000)]
temporarily revert fix for PR target/42841

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

14 years ago2010-01-27 Matthias Klose <doko@ubuntu.com>
doko [Wed, 27 Jan 2010 13:02:50 +0000 (13:02 +0000)]
2010-01-27  Matthias Klose  <doko@ubuntu.com>

        * configure.ac (gnu-unique-object): Fix ldd version check.
        * configure: Regenerate.

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

14 years ago2010-01-27 Tristan Gingold <gingold@adacore.com>
charlet [Wed, 27 Jan 2010 12:06:07 +0000 (12:06 +0000)]
2010-01-27  Tristan Gingold  <gingold@adacore.com>

* seh_init.c: Use __ImageBase instead of _ImageBase.

2010-01-27  Javier Miranda  <miranda@adacore.com>

* exp_disp.ads, exp_disp.adb (Expand_Interface_Thunk): Modify the
profile of interface thunks. The type of the controlling formal is now
the covered interface type (instead of the target tagged type).

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

14 years ago2010-01-27 Sergey Rybin <rybin@adacore.com>
charlet [Wed, 27 Jan 2010 11:58:53 +0000 (11:58 +0000)]
2010-01-27  Sergey Rybin  <rybin@adacore.com>

* gnat_rm.texi, gnat_ugn.texi: Update gnatcheck doc.

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

14 years ago2010-01-27 Robert Dewar <dewar@adacore.com>
charlet [Wed, 27 Jan 2010 11:37:20 +0000 (11:37 +0000)]
2010-01-27  Robert Dewar  <dewar@adacore.com>

* sinput.ads, sinput.adb (Sloc_Range): Applies to all nodes, formal
changed from Expr to N.

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

14 years ago2010-01-27 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 27 Jan 2010 11:28:57 +0000 (11:28 +0000)]
2010-01-27  Paolo Carlini  <paolo.carlini@oracle.com>

* Fix ChangeLog typos.

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

14 years ago PR target/42671
nickc [Wed, 27 Jan 2010 09:19:36 +0000 (09:19 +0000)]
    PR target/42671
        * config/arm/arm.c (arm_load_pic_register): Use the same code
        sequence with Thumb2 as for Thumb1.
        * config/arm/arm.md (pic_add_dot_plus_four): Enable this pattern
        for all Thumb varieties.

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

14 years ago2010-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Wed, 27 Jan 2010 09:15:19 +0000 (09:15 +0000)]
2010-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/abi/pre/gnu.ver: Avoid time_get pattern conflicts.

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

14 years ago * config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
jakub [Wed, 27 Jan 2010 08:06:04 +0000 (08:06 +0000)]
* config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
HAVE_GNU_AS value.
* config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION):
Test for HAVE_GNU_AS value.

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

14 years agoDaily bump.
gccadmin [Wed, 27 Jan 2010 00:16:34 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago2010-01-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 26 Jan 2010 21:32:28 +0000 (21:32 +0000)]
2010-01-26  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Test for executability of _the first word_ of GFORTRAN.
* configure: Regenerate.

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