OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years agoDaily bump.
gccadmin [Mon, 9 Jul 2012 00:16:59 +0000 (00:16 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sun, 8 Jul 2012 00:16:57 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago PR libstdc++/53578
redi [Sat, 7 Jul 2012 18:13:19 +0000 (18:13 +0000)]
PR libstdc++/53578
* include/ext/concurrence.h (__recursive_mutex::_S_destroy): Fix
narrowing conversion.
* include/std/mutex (__recursive_mutex_base::_S_destroy): Likewise.

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

11 years ago * combine.c (force_to_mode) [LSHIFTRT]: Avoid undefined behaviour
uweigand [Sat, 7 Jul 2012 12:27:33 +0000 (12:27 +0000)]
* combine.c (force_to_mode) [LSHIFTRT]: Avoid undefined behaviour
due to negative shift amount.

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

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

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

11 years agofortran/
mikael [Fri, 6 Jul 2012 19:51:15 +0000 (19:51 +0000)]
fortran/
PR fortran/53732
* trans-array.c (gfc_add_loop_ss_code): Disable self recursive calls
handling nested loop(s) if the subscript flag is true.

testsuite/
PR fortran/53732
* gfortran.dg/inline_sum_4.f90: New test.

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

11 years ago Backport from mainline.
ktietz [Fri, 6 Jul 2012 18:56:09 +0000 (18:56 +0000)]
    Backport from mainline.
        PR bootstrap/52947
        * config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always
        as "/mingw/include".

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

11 years ago2012-07-06 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 6 Jul 2012 13:56:24 +0000 (13:56 +0000)]
2012-07-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/53872
* include/std/thread (thread::_M_make_routine): Qualify make_shared
to prevent ADL.
* testsuite/30_threads/thread/adl.cc: New.

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

11 years ago * config/mn10300/mn10300.c (mn10300_encode_section_info): Call
nickc [Fri, 6 Jul 2012 10:08:10 +0000 (10:08 +0000)]
* config/mn10300/mn10300.c (mn10300_encode_section_info): Call
default_encode_section_info.

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

11 years ago2012-07-06 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 6 Jul 2012 09:25:46 +0000 (09:25 +0000)]
2012-07-06  Richard Guenther  <rguenther@suse.de>

Backport from mainline
        2012-03-30  Richard Guenther  <rguenther@suse.de>

        PR middle-end/52786
        * double-int.c (rshift_double): Remove not
        needed cast.

2012-03-28  Richard Guenther  <rguenther@suse.de>

PR middle-end/50708
* double-int.h (rshift_double): Remove.
* double-int.c (lshift_double): Use absu_hwi to make count
positive.
(rshift_double): Make static, take unsigned count argument,
remove handling of negative count argument.
(double_int_rshift): Dispatch to lshift_double.

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

11 years ago2012-07-06 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 6 Jul 2012 09:21:36 +0000 (09:21 +0000)]
2012-07-06  Richard Guenther  <rguenther@suse.de>

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

PR tree-optimization/53693
* tree-vect-patterns.c (vect_operation_fits_smaller_type):
Reject operands with more than one use.

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

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

11 years ago2012-07-06 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 6 Jul 2012 09:20:19 +0000 (09:20 +0000)]
2012-07-06  Richard Guenther  <rguenther@suse.de>

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

PR middle-end/52621
* tree-chrec.c (evolution_function_is_invariant_rec_p): Properly
consider loop nesting.
(evolution_function_is_univariate_p): Properly check the remainder
for chrecs.

* gfortran.dg/pr52621.f90: New testcase.

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

11 years agoDaily bump.
gccadmin [Fri, 6 Jul 2012 00:17:16 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago Backport from mainline
pthaugen [Thu, 5 Jul 2012 20:30:34 +0000 (20:30 +0000)]
Backport from mainline
2012-05-24  Pat Haugen <pthaugen@us.ibm.com>

* config/rs6000/rs6000.c (rs6000_option_override_internal): Change
rs6000_sched_costly_dep default to true_store_to_load_dep_costly.
(adjacent_mem_locations): Move some code to and call...
(get_memref_parts): ...new function.
(mem_locations_overlap): New function.
(rs6000_adjust_priority): Adjust calls to is_load_insn/is_store_insn.
(is_mem_ref): Rename to...
(find_mem_ref): ...this. Return MEM rtx.
(get_store_dest): Remove function.
(is_load_insn1, is_load_insn, is_store_insn1, is_store_insn): Add
new parameter and adjust calls.
(rs6000_is_costly_dependence): Update calls for extra arg. Make sure
mem refs overlap for true_store_to_load_dep_costly.
(rs6000_sched_reorder2): Update calls for extra arg. Adjust args
passed to adjacent_mem_locations.
(is_costly_group): Walk resolved dependency list.
(force_new_group): Emit group ending nop for Power6/Power7.
* config/rs6000/rs6000.md (UNSPEC_GRP_END_NOP): New enum value.
(group_ending_nop): New define_insn.

gcc/testsuite:
* gcc.target/powerpc/lhs-1.c: New.
* gcc.target/powerpc/lhs-2.c: New.
* gcc.target/powerpc/lhs-3.c: New.

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

11 years ago * hr.po: New.
jsm28 [Thu, 5 Jul 2012 14:30:36 +0000 (14:30 +0000)]
* hr.po: New.

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

11 years ago * include/std/condition_variable: Update copyright years.
redi [Thu, 5 Jul 2012 01:12:47 +0000 (01:12 +0000)]
* include/std/condition_variable: Update copyright years.

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

11 years ago PR libstdc++/53830
redi [Thu, 5 Jul 2012 00:19:36 +0000 (00:19 +0000)]
PR libstdc++/53830
* include/std/condition_variable (condition_variable_any::wait):
Move _Unlock type to class scope.
(condition_variable_any::wait_until): Reuse it.
* testsuite/30_threads/condition_variable_any/53830.cc: New.

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

11 years agoDaily bump.
gccadmin [Thu, 5 Jul 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@189271 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-07-04 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 4 Jul 2012 13:53:11 +0000 (13:53 +0000)]
2012-07-04  Richard Guenther  <rguenther@suse.de>

PR middle-end/53433
* gimple-fold.c (get_base_constructor): Do not return an
error_mark_node DECL_INITIAL.

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

11 years ago Backport from mainline
uros [Wed, 4 Jul 2012 12:53:45 +0000 (12:53 +0000)]
Backport from mainline
2012-07-03  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.c (ix86_option_override_internal): Fix wrong
code model string in the error message.

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

11 years ago2012-07-04 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 4 Jul 2012 12:32:02 +0000 (12:32 +0000)]
2012-07-04  Tristan Gingold  <gingold@adacore.com>

        Backport from mainline.
        2012-06-25  Tristan Gingold  <gingold@adacore.com>

        * config/i386/winnt.c (i386_pe_seh_end_prologue): Move code to ...
        (seh_cfa_adjust_cfa): ... that function.
        (seh_emit_stackalloc): Do not emit out of range values.
        * config/i386/i386.md: Delete unused UNSPEC_REG_SAVE,
        UNSPEC_DEF_CFA constants.
        * config/i386/i386.h (SEH_MAX_FRAME_SIZE): Define.
        * config/i386/i386.c (ix86_frame_pointer_required): Required
        for very large frames on SEH target.
        (ix86_compute_frame_layout): Save area is before frame pointer
        on SEH target.  Handle very large frames.
        (ix86_expand_prologue): Likewise.

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

11 years ago2012-07-04 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 4 Jul 2012 10:36:30 +0000 (10:36 +0000)]
2012-07-04  Richard Guenther  <rguenther@suse.de>

* tree.c (find_decls_types_r): Handle TYPE_CONTEXT the same
as in free_lang_data_in_type.

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

11 years agoDaily bump.
gccadmin [Wed, 4 Jul 2012 00:17:50 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago * gcc-interface/trans.c (Call_to_gnu): Robustify test for function case
ebotcazou [Tue, 3 Jul 2012 09:08:26 +0000 (09:08 +0000)]
* gcc-interface/trans.c (Call_to_gnu): Robustify test for function case
if the CICO mechanism is used.

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

11 years ago * gcc-interface/utils2.c (build_simple_component_ref): Do not look
ebotcazou [Tue, 3 Jul 2012 08:52:34 +0000 (08:52 +0000)]
* gcc-interface/utils2.c (build_simple_component_ref): Do not look
through an extension if the type contains a placeholder.

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

11 years ago * exp_disp.adb (Expand_Dispatching_Call): Propagate the convention on
ebotcazou [Tue, 3 Jul 2012 08:29:04 +0000 (08:29 +0000)]
* exp_disp.adb (Expand_Dispatching_Call): Propagate the convention on
the designated subprogram type and also set Is_Dispatch_Table_Entity.
(Expand_Interface_Thunk): Propagate the convention on the thunk.
(Set_CPP_Constructors_Old): Set Is_Constructor and Convention_CPP on
the internal view of the constructors.
(Set_CPP_Constructors): Likewise.
* sem_prag.adb (Analyze_Pragma) <Pragma_CPP_Constructor>: Set the
convention on the function.
* gcc-interface/gigi.h (is_cplusplus_method): Declare.
* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the `thiscall'
calling convention
(get_minimal_subprog_decl): Likewise.
(is_cplusplus_method): New predicate.
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Access>: Issue an
error on access to C++ constructor or member function.

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

11 years ago * gcc-interface/utils.c (gnat_pushdecl): Set TYPE_CONTEXT for types
ebotcazou [Tue, 3 Jul 2012 07:58:55 +0000 (07:58 +0000)]
* gcc-interface/utils.c (gnat_pushdecl): Set TYPE_CONTEXT for types
attached to a TYPE_DECL.

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

11 years ago PR c++/53816
jason [Tue, 3 Jul 2012 03:30:27 +0000 (03:30 +0000)]
PR c++/53816
* class.c (resolves_to_fixed_type_p): Check uses_template_parms
(current_function_decl) instead of processing_template_decl.

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

11 years ago2012-07-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 3 Jul 2012 01:37:48 +0000 (01:37 +0000)]
2012-07-02  Paolo Carlini  <paolo.carlini@oracle.com>

Revert:
2011-10-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/49561
* include/bits/stl_list.h (_List_base<>::_List_impl::_M_size):
Add in C++0x mode.
(_List_base<>::_List_impl, _List_base<>::_M_get_node,
_List_base<>::_M_put_node, _List_base<>::_List_base(_List_base&&),
list<>::size, list<>::swap, list<>::splice): Use it.
(operator==(const list<>&, const list<>&)): Rewrite in C++0x mode.
* include/bits/list.tcc (list<>::erase): Likewise.
(list<>::merge): Adjust in C++0x mode.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Likewise.

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

11 years agoDaily bump.
gccadmin [Tue, 3 Jul 2012 00:17:21 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago PR c++/53821
jason [Mon, 2 Jul 2012 19:14:58 +0000 (19:14 +0000)]
PR c++/53821
* semantics.c (maybe_add_lambda_conv_op): Don't set
DECL_INTERFACE_KNOWN.

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

11 years ago2012-07-02 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 2 Jul 2012 15:43:56 +0000 (15:43 +0000)]
2012-07-02  Martin Jambor  <mjambor@suse.cz>

PR middle-end/38474
* ipa-prop.c (compute_known_type_jump_func): Put BINFO check before a
dynamic type change check.

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

11 years ago * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
jsm28 [Mon, 2 Jul 2012 14:29:22 +0000 (14:29 +0000)]
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
Update.

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

11 years agoDaily bump.
gccadmin [Mon, 2 Jul 2012 00:18:16 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sun, 1 Jul 2012 00:17:35 +0000 (00:17 +0000)]
Daily bump.

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

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

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

11 years ago * tree-eh.c (lower_try_finally_switch): Really put the location of the
ebotcazou [Fri, 29 Jun 2012 22:39:45 +0000 (22:39 +0000)]
* tree-eh.c (lower_try_finally_switch): Really put the location of the
last statement of the finally block onto the switch.

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

11 years ago2012-06-29 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
ramana [Fri, 29 Jun 2012 09:59:34 +0000 (09:59 +0000)]
2012-06-29  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

* configure: Regenerate.
Backport from mainline.
        2012-03-15  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
* config.gcc (target_type_format_char): New. Document it. Set it for
arm*-*-* .
* configure.ac (gnu_unique_option): Use target_type_format_char
in test.  Comment rationale.

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

11 years agoFix off-by-one error in vrev for Neon.
ramana [Fri, 29 Jun 2012 09:48:59 +0000 (09:48 +0000)]
Fix off-by-one error in vrev for Neon.

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

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

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

11 years ago Backport from 2012-06-28 mainline r189049
gjl [Thu, 28 Jun 2012 13:58:32 +0000 (13:58 +0000)]
Backport from 2012-06-28 mainline r189049
PR 53595
* config/avr/avr.c (avr_hard_regno_call_part_clobbered): New.
* config/avr/avr-protos.h (avr_hard_regno_call_part_clobbered): New.
* config/avr/avr.h (HARD_REGNO_CALL_PART_CLOBBERED): Forward to
avr_hard_regno_call_part_clobbered.

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

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