OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years ago2012-06-28 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 28 Jun 2012 11:52:49 +0000 (11:52 +0000)]
2012-06-28  Richard Guenther  <rguenther@suse.de>

PR middle-end/53790
* expr.c (expand_expr_real_1): Verify if the type is complete
before inspecting its size.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189047 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 28 Jun 2012 00:18:48 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189032 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agogcc/testsuite/ChangeLog
fabien [Wed, 27 Jun 2012 17:36:50 +0000 (17:36 +0000)]
gcc/testsuite/ChangeLog

2012-06-27  Fabien Chêne  <fabien@gcc.gnu.org>

PR c++/51214
* g++.dg/cpp0x/forw_enum11.C: New.

gcc/cp/ChangeLog

2012-06-27  Fabien Chêne  <fabien@gcc.gnu.org>

PR c++/51214
* cp-tree.h (insert_late_enum_def_into_classtype_sorted_fields):
Declare.
* class.c (insert_into_classtype_sorted_fields): New.
(add_enum_fields_to_record_type): New.
(count_fields): Adjust the comment.
(add_fields_to_record_type): Likewise.
(finish_struct_1): Move the code that inserts the fields for the
sorted case, into insert_into_classtype_sorted_fields, and call
it.
(insert_late_enum_def_into_classtype_sorted_fields): Define.
* decl.c (finish_enum_value_list): Call
insert_late_enum_def_into_classtype_sorted_fields if a late enum
definition is encountered.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189021 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Merged from trunk
ktietz [Wed, 27 Jun 2012 15:06:16 +0000 (15:06 +0000)]
    Merged from trunk
        PR preprocessor/37215
        * c-ppoutput.c (preprocess_file): Check for nonempty buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189019 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/rx/rx.md (comparesi3_extend): Remove = modifier from
nickc [Wed, 27 Jun 2012 13:05:19 +0000 (13:05 +0000)]
* config/rx/rx.md (comparesi3_extend): Remove = modifier from
input operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189015 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 27 Jun 2012 00:17:40 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189002 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoPR debug/53682
aoliva [Tue, 26 Jun 2012 20:21:58 +0000 (20:21 +0000)]
PR debug/53682
* cselib.c (promote_debug_loc): Don't crash on NULL argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188997 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-26 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 26 Jun 2012 14:03:02 +0000 (14:03 +0000)]
2012-06-26  Richard Guenther  <rguenther@suse.de>

PR c++/53752
* mangle.c (write_array_type): Truncate the number-of-elements
result.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188987 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/rx/rx.md (simple_return): Use the simple_return rtx.
nickc [Tue, 26 Jun 2012 08:41:55 +0000 (08:41 +0000)]
* config/rx/rx.md (simple_return): Use the simple_return rtx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188977 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/53498
jason [Tue, 26 Jun 2012 03:42:48 +0000 (03:42 +0000)]
PR c++/53498
PR c++/53305
* pt.c (tsubst_pack_expansion): Copy before dummy tsubst.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188974 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 26 Jun 2012 00:17:36 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188970 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/52988
jason [Mon, 25 Jun 2012 20:37:25 +0000 (20:37 +0000)]
PR c++/52988
* typeck.c (decay_conversion): Don't discard side-effects from
expressions of nullptr_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188954 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agogotest: Only look in data segment for ppc64, not ppc*.
ian [Mon, 25 Jun 2012 16:26:48 +0000 (16:26 +0000)]
gotest: Only look in data segment for ppc64, not ppc*.

From Andreas Schwab.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188945 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agolibgo: Update to Go 1.0.2 release.
ian [Mon, 25 Jun 2012 16:19:39 +0000 (16:19 +0000)]
libgo: Update to Go 1.0.2 release.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188942 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/53202
jason [Mon, 25 Jun 2012 15:41:13 +0000 (15:41 +0000)]
PR c++/53202
* semantics.c (build_data_member_initialization): Always keep
initializer for empty base.
(cxx_eval_bare_aggregate): Discard it here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188941 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/53759
jakub [Mon, 25 Jun 2012 14:56:17 +0000 (14:56 +0000)]
PR target/53759
* config/i386/sse.md (sse_loadlps): Use x m x constraints instead
of x x x in the vmovlps load alternative.

* gcc.target/i386/pr53759.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188938 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/53594
jakub [Mon, 25 Jun 2012 06:54:08 +0000 (06:54 +0000)]
PR c++/53594
* class.c (check_bases_and_members): Avoid -Wuninitialized
diagnostics for non-static const members or references if they
use NSDMI.

* g++.dg/cpp0x/nsdmi7.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188926 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 25 Jun 2012 00:17:45 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188921 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 24 Jun 2012 00:17:43 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188912 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 23 Jun 2012 00:17:56 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188905 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-22 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 22 Jun 2012 10:36:25 +0000 (10:36 +0000)]
2012-06-22  Richard Guenther  <rguenther@suse.de>

* gcov-iov.c: Include bconfig.h and system.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188883 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-22 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 22 Jun 2012 10:27:56 +0000 (10:27 +0000)]
2012-06-22  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-06-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53691
        PR fortran/53685
        * check.c (gfc_calculate_transfer_sizes): Return if
        SIZE= is not constant or source-size cannot be determined.

2012-06-22  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-06-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53691
        PR fortran/53685
        * gfortran.dg/transfer_check_3.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188882 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-22 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 22 Jun 2012 08:10:48 +0000 (08:10 +0000)]
2012-06-22  Richard Guenther  <rguenther@suse.de>

PR gcov-profile/53744
* gcov-iov.c (main): Treat "" and "prerelease" the same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188877 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * tree-ssa-live.c (remove_unused_scope_block_p): Remove again
ebotcazou [Fri, 22 Jun 2012 06:46:25 +0000 (06:46 +0000)]
* tree-ssa-live.c (remove_unused_scope_block_p): Remove again
DECL_IGNORED_P non-reg vars even if they are used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188873 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 22 Jun 2012 00:18:38 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188864 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 21 Jun 2012 00:18:29 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188846 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * gcc.dg/stack-usage-1.c: Remove dg-options line for sh targets
kkojima [Wed, 20 Jun 2012 07:52:49 +0000 (07:52 +0000)]
* gcc.dg/stack-usage-1.c: Remove dg-options line for sh targets
and add __sh__ case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188816 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/53651
jason [Wed, 20 Jun 2012 07:22:34 +0000 (07:22 +0000)]
PR c++/53651
* name-lookup.c (constructor_name_p): Don't try to look at the
name of a DECLTYPE_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188813 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/52637
jason [Wed, 20 Jun 2012 07:22:21 +0000 (07:22 +0000)]
PR c++/52637
* dwarf2out.c (modified_type_die): Use scope_die_for.
(gen_type_die_with_usage, dwarf2out_finish): Likewise.
(uses_local_type_r, uses_local_type): New.
(scope_die_for): Keep a type that uses a local type in local scope.
Use get_context_die for namespace and type scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188812 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-11 Richard Guenther <rguenther@suse.de>
jason [Wed, 20 Jun 2012 07:22:07 +0000 (07:22 +0000)]
2012-06-11  Richard Guenther  <rguenther@suse.de>

PR middle-end/53470
* tree.c (free_lang_data_in_type): Do not clear TYPE_CONTEXT but
replace it with the first non-BLOCK context.

* g++.dg/lto/pr53470_0.C: New testcase.
* gcc.dg/lto/pr53470_0.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188811 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Reapply:
jason [Wed, 20 Jun 2012 07:21:55 +0000 (07:21 +0000)]
Reapply:
PR c++/53137
* pt.c (instantiate_class_template_1): Set LAMBDA_EXPR_THIS_CAPTURE.
(instantiate_decl): Don't push_to_top_level for local class methods.
(instantiate_class_template_1): Or for local classes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188810 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/53599
jason [Wed, 20 Jun 2012 07:21:40 +0000 (07:21 +0000)]
PR c++/53599
* pt.c (lookup_template_class_1): Use ts_global.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188809 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 20 Jun 2012 00:18:30 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188801 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR libstdc++/53270
redi [Tue, 19 Jun 2012 07:42:21 +0000 (07:42 +0000)]
PR libstdc++/53270
* config/os/gnu-linux/os_defines.h: Disable static initializer macros
for gthreads types in C++11 mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188768 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 19 Jun 2012 00:19:33 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188763 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-19 Jörg Sonnenberger <joerg@britannica.bec.de>
redi [Mon, 18 Jun 2012 23:59:59 +0000 (23:59 +0000)]
2012-06-19  Jörg Sonnenberger <joerg@britannica.bec.de>
    Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/53678
* config/os/bsd/netbsd/ctype_base.h: Check for _CTYPE_U.
* testsuite/22_locale/ctype_base/53678.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188760 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-18 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 18 Jun 2012 18:34:01 +0000 (18:34 +0000)]
2012-06-18  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/53700

Backport from mainline
2012-03-29  Vladimir Makarov  <vmakarov@redhat.com>

* ira-color.c (setup_left_conflict_sizes_p): Process all
conflicting objects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188750 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoBack port Fix PR 52908 - xop-mul-1:f9 miscompiled on bulldozer (-mxop) to 4.7 branch
vekumar [Mon, 18 Jun 2012 15:10:45 +0000 (15:10 +0000)]
Back port Fix PR 52908 - xop-mul-1:f9 miscompiled on bulldozer (-mxop) to 4.7 branch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188736 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 18 Jun 2012 00:18:08 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188720 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline:
uros [Sun, 17 Jun 2012 14:05:04 +0000 (14:05 +0000)]
Backport from mainline:
2012-06-17  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/sse.md (vcvtph2ps): Fix vec_select selector.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188706 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 17 Jun 2012 00:17:10 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188700 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline:
danglin [Sat, 16 Jun 2012 22:12:48 +0000 (22:12 +0000)]
Backport from mainline:
2012-06-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* config/pa/pa.h (MAX_PCREL17F_OFFSET): Define.
* config/pa/pa.c (pa_attr_length_millicode_call): Use
MAX_PCREL17F_OFFSET instead of fixed offset.
(pa_attr_length_call): Likewise.
(pa_attr_length_indirect_call): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188697 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 16 Jun 2012 00:17:15 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188688 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline:
walt [Fri, 15 Jun 2012 17:28:16 +0000 (17:28 +0000)]
   Backport from mainline:
        2012-06-15  Walter Lee  <walt@tilera.com>
       * config/tilegx/sync.md (atomic_fetch_<fetchop_name><mode>):
          Fix typo.
        2012-06-14  Maxim Kuvyrkov  <maxim@codesourcery.com>
       * config/tilegx/sync.md (atomic_fetch_sub<mode>): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188674 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline:
aldyh [Fri, 15 Jun 2012 12:03:03 +0000 (12:03 +0000)]
    Backport from mainline:
        2012-05-31  Aldy Hernandez  <aldyh@redhat.com>
        * tree-ssa-loop-im.c (execute_sm): Do not check flag_tm.
        * gimple.h (block_in_transaction): Check for flag_tm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188658 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR ada/53592
ebotcazou [Fri, 15 Jun 2012 10:46:12 +0000 (10:46 +0000)]
PR ada/53592
* gcc-interface/gigi.h (maybe_vector_array): Make static inline.
* gcc-interface/utils.c (maybe_vector_array): Delete.
* gcc-interface/trans.c (gnat_to_gnu) <N_Indexed_Component>: Mark the
array object as addressable if it has vector type and is on the LHS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188654 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 15 Jun 2012 00:18:26 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188644 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoBring over accumulated bug fixes from mainline.
ian [Thu, 14 Jun 2012 19:34:15 +0000 (19:34 +0000)]
Bring over accumulated bug fixes from mainline.

runtime: Fix printing of names in stack dumps.
compiler: Fix taking address of field of local variable.
compiler, reflect: Handle package path like gc compiler.
os: Use Entersyscall when reading directories.
os/user: Use Entersyscall.
compiler: Avoid unnecessary interface conversions.
libgo: Make the subdirectory in the CHECK target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188633 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR tree-optimization/52558
aldyh [Thu, 14 Jun 2012 19:22:48 +0000 (19:22 +0000)]
    PR tree-optimization/52558
        Backport from mainline:
        2012-05-21  Aldy Hernandez  <aldyh@redhat.com>
        * gimple.h (gimple_set_in_transaction): Remove.
        (gimple_in_transaction): Look in BB instead.
        (gimple_statement_base): Remove in_transaction field.
        * basic-block.h (enum bb_flags): Add BB_IN_TRANSACTION.
        * trans-mem.c (compute_transaction_bits): Place transaction bit
        information into basic blocks.
        2012-05-31  Aldy Hernandez  <aldyh@redhat.com>
        PR tree-optimization/52558
        * cfg.c (alloc_aux_for_edge): Fix comment.
        (alloc_aux_for_edge): Remove static.
        * basic-block.h (alloc_aux_for_edge): Protoize.
        * tree-ssa-loop-im.c (execute_sm_if_changed): New.
        (execute_sm_if_changed_flag): New.
        (execute_sm_if_changed_flag_set): New.
        (execute_sm): Do not generate data races unless requested.
        (tree_ssa_lim_initialize): Call alloc_aux_for_edges.
        (tree_ssa_lim_finalize): Call free_aux_for_edges.
        * gimple.h (block_in_transaction): New.
        (gimple_in_transaction): Use block_in_transaction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188631 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Thu, 14 Jun 2012 17:49:49 +0000 (17:49 +0000)]
Backported from mainline
2012-06-12  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/53589
* cfgrtl.c (force_nonfallthru_and_redirect): Do asm_goto_edge
discovery even when e->dest != target.  If any LABEL_REF points
to e->dest label, redirect it to target's label.

* gcc.dg/torture/pr53589.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188626 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Thu, 14 Jun 2012 17:48:38 +0000 (17:48 +0000)]
Backported from mainline
2012-06-07  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/53580
* omp-low.c (scan_omp_1_stmt): If check_omp_nesting_restrictions
returns false, replace stmt with GIMPLE_NOP.
(check_omp_nesting_restrictions): Instead of issuing warnings,
issue errors and return false if any errors were reported.

* gcc.dg/gomp/nesting-1.c: Expect errors rather than warnings.
* gcc.dg/gomp/critical-4.c: Likewise.
* gfortran.dg/gomp/appendix-a/a.35.1.f90: Likewise.
* gfortran.dg/gomp/appendix-a/a.35.3.f90: Likewise.
* gfortran.dg/gomp/appendix-a/a.35.4.f90: Likewise.
* gfortran.dg/gomp/appendix-a/a.35.6.f90: Likewise.
* c-c++-common/gomp/pr53580.c: New test.

* testsuite/libgomp.c/pr26943-2.c: Remove #pragma omp barrier,
use GOMP_barrier () call instead.
* testsuite/libgomp.c/pr26943-3.c: Likewise.
* testsuite/libgomp.c/pr26943-4.c: Likewise.
* testsuite/libgomp.fortran/vla4.f90: Remove !$omp barrier,
call GOMP_barrier instead.
* testsuite/libgomp.fortran/vla5.f90: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188625 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Thu, 14 Jun 2012 17:46:53 +0000 (17:46 +0000)]
Backported from mainline
2012-06-06  Jakub Jelinek  <jakub@redhat.com>

PR libgomp/52993
* config/linux/lock.c (gomp_init_nest_lock_25): Fix up last
argument to memset call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188624 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * gcc-interface/Makefile.in (gnatlib-shared-default): Append
jakub [Thu, 14 Jun 2012 17:45:53 +0000 (17:45 +0000)]
* gcc-interface/Makefile.in (gnatlib-shared-default): Append
$(PICFLAG_FOR_TARGET) to GNATLIBCFLAGS_FOR_C passed to submake.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188623 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-14 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 14 Jun 2012 13:04:43 +0000 (13:04 +0000)]
2012-06-14  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-06-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50619
        * resolve.c (build_default_init_expr): Don't initialize
        ASSOCIATE names.

2012-06-14  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-06-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50619
        * gfortran.dg/init_flag_10.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188617 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-14 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 14 Jun 2012 13:02:06 +0000 (13:02 +0000)]
2012-06-14  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2012-06-11  Richard Guenther  <rguenther@suse.de>

PR c++/53616
* mangle.c (write_array_type): Use double-ints for array domain
arithmetic.

* g++.dg/ext/pr53605.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188615 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-14 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 14 Jun 2012 13:00:50 +0000 (13:00 +0000)]
2012-06-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53597
        * decl.c (match_attr_spec): Only mark module variables
        as SAVE_IMPLICIT for Fortran 2008 and later.

2012-06-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53597
        * gfortran.dg/save_4.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188614 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-14 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 14 Jun 2012 12:55:11 +0000 (12:55 +0000)]
2012-06-14  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2012-06-06  Fabien Chene  <fabien@gcc.gnu.org>

PR c++/52841
* parser.c (cp_parser_alias_declaration): Return earlier
if an error occured.

* g++.dg/cpp0x/pr52841.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188613 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-06-14 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 14 Jun 2012 10:06:05 +0000 (10:06 +0000)]
2012-06-14  Richard Guenther  <rguenther@suse.de>

        * BASE-VER: Set to 4.7.2.
        * DEV-PHASE: Set to prerelease.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188605 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoPR target/53621
chrbr [Thu, 14 Jun 2012 08:43:20 +0000 (08:43 +0000)]
PR target/53621
* config/sh/sh.c (sh_option_override): Don't force
flag_omit_frame_pointer and maccumulate_outgoing_args.
* config/sh/sh.opt (maccumulate-outgoing-args): Init as Var.

* gcc.dg/stack-usage-1.c: Force -fomit-frame-pointer on SH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188599 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark as release
rguenth [Thu, 14 Jun 2012 08:32:48 +0000 (08:32 +0000)]
Mark as release

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188596 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:42 +0000 (08:32 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188595 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:36 +0000 (08:32 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188594 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:30 +0000 (08:32 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188593 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:24 +0000 (08:32 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188592 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:18 +0000 (08:32 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188591 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:12 +0000 (08:32 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188590 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:06 +0000 (08:32 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188589 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:58 +0000 (08:31 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188588 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:52 +0000 (08:31 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188587 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:45 +0000 (08:31 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188586 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:37 +0000 (08:31 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188585 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:29 +0000 (08:31 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188584 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:21 +0000 (08:31 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188583 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:12 +0000 (08:31 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188582 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:05 +0000 (08:31 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188581 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:55 +0000 (08:30 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188580 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:48 +0000 (08:30 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188579 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:39 +0000 (08:30 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188578 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:27 +0000 (08:30 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188577 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:11 +0000 (08:30 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188576 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:02 +0000 (08:30 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188575 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:52 +0000 (08:29 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188574 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:42 +0000 (08:29 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188573 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:34 +0000 (08:29 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188572 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:24 +0000 (08:29 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188571 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:16 +0000 (08:29 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188570 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:06 +0000 (08:29 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188569 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:59 +0000 (08:28 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188568 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:51 +0000 (08:28 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188567 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:43 +0000 (08:28 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188566 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:35 +0000 (08:28 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188565 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:27 +0000 (08:28 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188564 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:20 +0000 (08:28 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188563 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:10 +0000 (08:28 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188562 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:02 +0000 (08:28 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188561 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:55 +0000 (08:27 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188560 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:49 +0000 (08:27 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188559 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:40 +0000 (08:27 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188558 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:32 +0000 (08:27 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188557 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:25 +0000 (08:27 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188556 138bc75d-0d04-0410-961f-82ee72b054a4