]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
12 years agoconfigure.ac: Enable gdb and readline for ia64*-*-*vms*.
Tristan Gingold [Mon, 5 Mar 2012 11:56:29 +0000 (11:56 +0000)] 
configure.ac: Enable gdb and readline for ia64*-*-*vms*.

2012-03-05  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Enable gdb and readline for ia64*-*-*vms*.
* configure: Regenerate.

From-SVN: r184926

12 years ago* cfgrtl.c (cfg_layout_merge_blocks): Cleanup.
Jakub Jelinek [Mon, 5 Mar 2012 11:53:01 +0000 (12:53 +0100)] 
* cfgrtl.c (cfg_layout_merge_blocks): Cleanup.

From-SVN: r184925

12 years agotree.c (integer_zerop): Handle VECTOR_CSTs.
Richard Guenther [Mon, 5 Mar 2012 11:30:40 +0000 (11:30 +0000)] 
tree.c (integer_zerop): Handle VECTOR_CSTs.

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

* tree.c (integer_zerop): Handle VECTOR_CSTs.
(integer_onep): Likewise.
(integer_all_onesp): Likewise.

From-SVN: r184923

12 years agoavr.md (*umaddqihi4.2): New insn-and-split.
Georg-Johann Lay [Mon, 5 Mar 2012 10:28:45 +0000 (10:28 +0000)] 
avr.md (*umaddqihi4.2): New insn-and-split.

* config/avr/avr.md (*umaddqihi4.2): New insn-and-split.

From-SVN: r184919

12 years agocrontab: Remove 4.3 branch from the list of snapshots to make.
Richard Guenther [Mon, 5 Mar 2012 09:40:20 +0000 (09:40 +0000)] 
crontab: Remove 4.3 branch from the list of snapshots to make.

2013-03-05  Richard Guenther  <rguenther@suse.de>

        * crontab: Remove 4.3 branch from the list of snapshots to make.

From-SVN: r184918

12 years agore PR go/52342 (64-bit go.test/test/chan/doubleselect.go times out on Solaris/SPARC)
Ian Lance Taylor [Mon, 5 Mar 2012 06:39:08 +0000 (06:39 +0000)] 
re PR go/52342 (64-bit go.test/test/chan/doubleselect.go times out on Solaris/SPARC)

PR go/52342
runtime: Better big-endian identity hash function.

From-SVN: r184914

12 years agolibgo: Fix Solaris ustat.h test.
Ian Lance Taylor [Mon, 5 Mar 2012 06:04:14 +0000 (06:04 +0000)] 
libgo: Fix Solaris ustat.h test.

From-SVN: r184913

12 years agore PR libstdc++/43813 ([DR1234] vector<T*>(3, NULL) fails to compile)
Paolo Carlini [Mon, 5 Mar 2012 01:15:28 +0000 (01:15 +0000)] 
re PR libstdc++/43813 ([DR1234] vector<T*>(3, NULL) fails to compile)

2012-03-04  Paolo Carlini  <paolo.carlini@oracle.com>
    Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/43813
* include/bits/stl_iterator_base_types.h (_RequireInputIter): New.
* include/ext/vstring.h (__versa_string<>::__versa_string
(_InputIterator, _InputIterator, const _Alloc&),
__versa_string<>::append(_InputIterator, _InputIterator),
__versa_string<>::assign(_InputIterator, _InputIterator),
__versa_string<>::insert(iterator, _InputIterator,
_InputIterator), __versa_string<>::replace(iterator, iterator,
_InputIterator, _InputIterator)): Use it.
* include/bits/stl_list.h (list<>::list(_InputIterator,
_InputIterator, const allocator_type&), list<>::assign(_InputIterator,
_InputIterator), list<>::insert(iterator, _InputIterator,
_InputIterator)): Likewise.
* include/bits/stl_vector.h (vector<>::vector(_InputIterator,
_InputIterator, const allocator_type&), vector<>::assign(_InputIterator,
_InputIterator), vectort<>::insert(iterator, _InputIterator,
_InputIterator)): Likewise.
* include/bits/stl_deque.h (deque<>::deque(_InputIterator,
_InputIterator, const allocator_type&), deque<>::deque(_InputIterator,
_InputIterator), deque<>::insert(iterator, _InputIterator,
_InputIterator)): Likewise.
* include/bits/stl_bvector.h (vector<>::vector(_InputIterator,
_InputIterator, const allocator_type&), vector<>::deque(_InputIterator,
_InputIterator), vector<>::insert(iterator, _InputIterator,
_InputIterator)): Likewise.
* include/bits/forward_list.h (forward_list<>::forward_list
(_InputIterator, _InputIterator, const allocator_type&),
forward_list<>::assign(_InputIterator, _InputIterator),
forward_list<>::insert_after(const_iterator, _InputIterator,
_InputIterator)): Likewise.
(forward_list<>::_M_initialize_dispatch(,, __true_type): Remove.
(forward_list<>::_M_range_initialize): Add, adjust everywhere.
* include/bits/forward_list.tcc: Adjust.
* include/debug/forward_list: Adjust.
* include/debug/vector: Likewise.
* include/debug/deque: Likewise.
* include/debug/list: Likewise.
* testsuite/ext/vstring/requirements/do_the_right_thing.cc: New.
* testsuite/23_containers/forward_list/requirements/
do_the_right_thing.cc: Likewise.
* testsuite/23_containers/vector/requirements/
do_the_right_thing.cc: Likewise.
* testsuite/23_containers/deque/requirements/
do_the_right_thing.cc: Likewise.
* testsuite/23_containers/list/requirements/
do_the_right_thing.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
assign_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
assign_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
assign_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Likewise.

Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
From-SVN: r184911

12 years agoDaily bump.
GCC Administrator [Mon, 5 Mar 2012 00:18:48 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r184910

12 years agore PR fortran/50981 ([OOP] Wrong-code for scalarizing ELEMENTAL call with absent...
Mikael Morin [Sun, 4 Mar 2012 21:50:08 +0000 (21:50 +0000)] 
re PR fortran/50981 ([OOP] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument)

fortran/
PR fortran/50981
* gfortran.h (gfc_is_class_container_ref): New prototype.
* class.c (gfc_is_class_container_ref): New function.
* trans-expr.c (gfc_conv_procedure_call): Add a "_data" component
reference to polymorphic actual arguments.

testsuite/
PR fortran/50981
* gfortran.dg/elemental_optional_args_5.f03: Add subcomponent actual
argument checks.

From-SVN: r184904

12 years agoi386.c (ix86_print_operand): Declare taken and cputaken as bool.
Uros Bizjak [Sun, 4 Mar 2012 21:32:36 +0000 (22:32 +0100)] 
i386.c (ix86_print_operand): Declare taken and cputaken as bool.

* config/i386/i386.c (ix86_print_operand) <case '+'>: Declare
taken and cputaken as bool.

From-SVN: r184903

12 years agoCheck Pmode instead of TARGET_64BIT
H.J. Lu [Sun, 4 Mar 2012 21:23:13 +0000 (21:23 +0000)] 
Check Pmode instead of TARGET_64BIT

2012-03-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (pro_epilogue_adjust_stack): Check Pmode
instead of TARGET_64BIT.

From-SVN: r184901

12 years agoCheck Pmode to set adjust_stack_insn
H.J. Lu [Sun, 4 Mar 2012 21:21:55 +0000 (21:21 +0000)] 
Check Pmode to set adjust_stack_insn

2012-03-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (ix86_expand_prologue): Check Pmode to set
adjust_stack_insn.

From-SVN: r184900

12 years agoOnly handle zero-extended DImode addresses
H.J. Lu [Sun, 4 Mar 2012 21:19:43 +0000 (21:19 +0000)] 
Only handle zero-extended DImode addresses

2012-03-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (ix86_print_operand_address): Only handle
zero-extended DImode addresses.

From-SVN: r184899

12 years agoUpdate gcc.target/i386/pr52146.c to allow $-18874240
H.J. Lu [Sun, 4 Mar 2012 21:17:34 +0000 (21:17 +0000)] 
Update gcc.target/i386/pr52146.c to allow $-18874240

2012-03-04  H.J. Lu  <hongjiu.lu@intel.com>

PR target/52146
* gcc.target/i386/pr52146.c: Update final-scan to allow $-18874240.

From-SVN: r184898

12 years agoMerge upstream libffi
Anthony Green [Sun, 4 Mar 2012 21:11:09 +0000 (21:11 +0000)] 
Merge upstream libffi

From-SVN: r184897

12 years agore PR fortran/50981 ([OOP] Wrong-code for scalarizing ELEMENTAL call with absent...
Mikael Morin [Sun, 4 Mar 2012 21:05:32 +0000 (21:05 +0000)] 
re PR fortran/50981 ([OOP] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument)

fortran/
PR fortran/50981
* trans-expr.c (gfc_conv_procedure_call): Save se->ss's value.
Handle the case of unallocated arrays passed to elemental procedures.

testsuite/
PR fortran/50981
* gfortran.dg/elemental_optional_args_5.f03: Add array checks.

From-SVN: r184896

12 years agopr52402.c: Add dg-require-effective-target
Georg-Johann Lay [Sun, 4 Mar 2012 20:56:34 +0000 (20:56 +0000)] 
pr52402.c: Add dg-require-effective-target

* gcc.dg/torture/pr52402.c: Add dg-require-effective-target

From-SVN: r184894

12 years agotrans.h (struct gfc_ss_info): Move can_be_null_ref component from the data::scalar...
Mikael Morin [Sun, 4 Mar 2012 20:46:55 +0000 (20:46 +0000)] 
trans.h (struct gfc_ss_info): Move can_be_null_ref component from the data::scalar subcomponent to the toplevel.

fortran/
* trans.h (struct gfc_ss_info): Move can_be_null_ref component from
the data::scalar subcomponent to the toplevel.
* trans-expr.c (gfc_conv_expr): Update component reference.
* trans-array.c (gfc_add_loop_ss_code): Ditto.
(gfc_walk_elemental_function_args): Ditto.  Move the conditional setting
the field out of the scalar-only block.

From-SVN: r184893

12 years agoconstraints.md (Ya): New internal constraint.
Uros Bizjak [Sun, 4 Mar 2012 18:54:26 +0000 (19:54 +0100)] 
constraints.md (Ya): New internal constraint.

* config/i386/constraints.md (Ya): New internal constraint.
* config/i386/i386.md (zero_extendsidi2): Remove expansion.
(*zero_extendsidi2_rex64): Add x,x alternative.
(*zero_extendsidi2): Ditto.  Add o,0 alternative.
Remove flags reg clobber.  Adjust corresponding splits.
(zero_extend<mode>si2): Macroize expander from zero_extendhisi2 and
zero_extendqisi2 expanders using SWI12 mode iterator.
(zero_extend<mode>si2_and): Macroize insn from
zero_extendhisi2_and and zero_extendqisi2_and.  Merge corresponding
splitters.
(*zero_extend<mode>si2):  Macroize insn from
*zero_extendhisi2_movzbl and *zero_extendqisi2_movzbl.
(*zero_extend*2_movzbl_and): Remove insn patterns.
(zero_extendqihi2_and): Merge corresponding splitter.
(*zero_extendqihi2): Rename from *zero_extendqihi2_movzbl.
(*zero_extend*2_movzbl_and): Remove insn patterns.
(*anddi_1): Split TYPE_IMOVX instructions.
(*andsi_1): Use Ya for alternative 2.  Split TYPE_IMOVX instructions.
(*andhi_1): Ditto.
(and->zext splitter): Add splitter pattern.
(zero extend with andsi3 splitter): Adjust zero_extend pattern.

From-SVN: r184891

12 years agopr49871.c: Add dg-require-effective-target int32plus.
Georg-Johann Lay [Sun, 4 Mar 2012 15:40:56 +0000 (15:40 +0000)] 
pr49871.c: Add dg-require-effective-target int32plus.

* gcc.dg/debug/dwarf2/pr49871.c: Add dg-require-effective-target
int32plus.

From-SVN: r184887

12 years agore PR fortran/36160 (show_locus doesn't deal well with wide characters)
Francois-Xavier Coudert [Sun, 4 Mar 2012 14:35:56 +0000 (14:35 +0000)] 
re PR fortran/36160 (show_locus doesn't deal well with wide characters)

PR fortran/36160
* error.c (gfc_widechar_display_length, gfc_wide_display_length):
New functions.
(print_wide_char_into_buffer): Return length written.
(show_locus): Fix locus displayed when wide characters are present.

From-SVN: r184884

12 years ago* module.c (gfc_use_module): Improve error message some more.
Francois-Xavier Coudert [Sun, 4 Mar 2012 14:29:30 +0000 (14:29 +0000)] 
* module.c (gfc_use_module): Improve error message some more.

From-SVN: r184883

12 years ago* gnatvsn.ads (Library_Version): Bump to 4.8.
Eric Botcazou [Sun, 4 Mar 2012 13:11:06 +0000 (13:11 +0000)] 
* gnatvsn.ads (Library_Version): Bump to 4.8.

From-SVN: r184882

12 years agore PR libstdc++/52433 ([C++11] debug mode iterators need to move)
Jonathan Wakely [Sun, 4 Mar 2012 12:49:22 +0000 (12:49 +0000)] 
re PR libstdc++/52433 ([C++11] debug mode iterators need to move)

        PR libstdc++/52433
        * include/debug/safe_iterator.h (_Safe_iterator): Add move
        constructor and move assignment operator.
        * testsuite/23_containers/vector/debug/52433.cc: New.

From-SVN: r184880

12 years agoinvoke.texi (C++ Dialect Options): Minor copy-edits to x86-specific text.
Sandra Loosemore [Sun, 4 Mar 2012 07:46:31 +0000 (02:46 -0500)] 
invoke.texi (C++ Dialect Options): Minor copy-edits to x86-specific text.

2012-03-04  Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* doc/invoke.texi (C++ Dialect Options): Minor copy-edits to
x86-specific text.
(Debugging Options): Likewise.
(Optimize Options): Likewise.
(i386 and x86-64 Options): Discuss -march before -mtune, consistently
with other architectures.  Use official processor names with correct
spelling/capitalization.  Fix formatting and grammar issues.
(i386 and x86-64 Windows Options): Similar cleanup here.

From-SVN: r184879

12 years ago* init.c (perform_member_init): Cope with uninstantiated NSDMI.
Jason Merrill [Sun, 4 Mar 2012 00:55:51 +0000 (19:55 -0500)] 
* init.c (perform_member_init): Cope with uninstantiated NSDMI.

From-SVN: r184877

12 years agoCore 1270
Jason Merrill [Sun, 4 Mar 2012 00:55:44 +0000 (19:55 -0500)] 
Core 1270

Core 1270
* call.c (build_aggr_conv): Call reshape_init.
(convert_like_real): Likewise.
* typeck2.c (process_init_constructor): Clear TREE_CONSTANT if
not all constant.

From-SVN: r184876

12 years agomangle.c (write_nested_name): Use decl_mangling_context.
Jason Merrill [Sun, 4 Mar 2012 00:55:38 +0000 (19:55 -0500)] 
mangle.c (write_nested_name): Use decl_mangling_context.

* mangle.c (write_nested_name): Use decl_mangling_context.
(write_prefix, write_template_prefix): Likewise.

From-SVN: r184875

12 years agore PR c++/36797 (ICE mangling __is_empty)
Jason Merrill [Sun, 4 Mar 2012 00:55:31 +0000 (19:55 -0500)] 
re PR c++/36797 (ICE mangling __is_empty)

PR c++/36797
* mangle.c (write_expression): Improve diagnostic for TRAIT_EXPR.

From-SVN: r184874

12 years agoclass.c (add_method): Always build an OVERLOAD for using-decls.
Jason Merrill [Sun, 4 Mar 2012 00:53:30 +0000 (19:53 -0500)] 
class.c (add_method): Always build an OVERLOAD for using-decls.

* class.c (add_method): Always build an OVERLOAD for using-decls.
* search.c (lookup_member): Handle getting an OVERLOAD for a
single function.

From-SVN: r184873

12 years agoDaily bump.
GCC Administrator [Sun, 4 Mar 2012 00:19:32 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r184872

12 years agosh.md (abssi2): Add TARGET_SH1 condition.
Kaz Kojima [Sat, 3 Mar 2012 23:20:34 +0000 (23:20 +0000)] 
sh.md (abssi2): Add TARGET_SH1 condition.

* config/sh/sh.md (abssi2): Add TARGET_SH1 condition.

From-SVN: r184867

12 years agosh.c (sh_dwarf_register_span): Don't apply DBX_REGISTER_NUMBER.
Kaz Kojima [Sat, 3 Mar 2012 23:19:07 +0000 (23:19 +0000)] 
sh.c (sh_dwarf_register_span): Don't apply DBX_REGISTER_NUMBER.

* config/sh/sh.c (sh_dwarf_register_span): Don't apply
DBX_REGISTER_NUMBER.

From-SVN: r184866

12 years agosh.c (shiftcosts): Return MAX_COST when the first operand is CONST_INT.
Kaz Kojima [Sat, 3 Mar 2012 23:16:08 +0000 (23:16 +0000)] 
sh.c (shiftcosts): Return MAX_COST when the first operand is CONST_INT.

* config/sh/sh.c (shiftcosts): Return MAX_COST when the first
operand is CONST_INT.  Take COSTS_N_INSNS into account.
(sh_rtx_costs): Don't apply COSTS_N_INSNS to the return value
of shiftcosts.

From-SVN: r184865

12 years agore PR fortran/52313 (useless error message for old version of .mod file)
Francois-Xavier Coudert [Sat, 3 Mar 2012 20:59:58 +0000 (20:59 +0000)] 
re PR fortran/52313 (useless error message for old version of .mod file)

PR fortran/52313
* module.c (gfc_use_module): Improve error messages.

From-SVN: r184864

12 years agore PR fortran/48820 (TR 29113: Implement parts needed for MPI 3)
Tobias Burnus [Sat, 3 Mar 2012 18:55:57 +0000 (19:55 +0100)] 
re PR fortran/48820 (TR 29113: Implement parts needed for MPI 3)

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

        PR fortran/48820
        * resolve.c (resolve_actual_arglist): Properly reset
        assumed_type_expr_allowed.

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

        PR fortran/48820
        * gfortran.dg/assumed_type_3.f90: Undo previous commit.

From-SVN: r184863

12 years agooptabs.c (expand_atomic_test_and_set): Honor atomic_test_and_set_trueval even when...
Richard Henderson [Sat, 3 Mar 2012 18:21:06 +0000 (10:21 -0800)] 
optabs.c (expand_atomic_test_and_set): Honor atomic_test_and_set_trueval even when atomic_test_and_set optab is not in use.

* optabs.c (expand_atomic_test_and_set): Honor
atomic_test_and_set_trueval even when atomic_test_and_set
optab is not in use.

From-SVN: r184862

12 years ago* de.po: Update.
Joseph Myers [Sat, 3 Mar 2012 17:35:34 +0000 (17:35 +0000)] 
* de.po: Update.

From-SVN: r184860

12 years agoAdd Linux/x32 support to Ada
H.J. Lu [Sat, 3 Mar 2012 17:04:49 +0000 (17:04 +0000)] 
Add Linux/x32 support to Ada

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

* init.c (__gnat_adjust_context_for_raise): Also check
"orq $0x0,(%esp)" for x32.

* link.c (__gnat_default_libgcc_subdir): set to libx32 for x32.

* gcc-interface/Makefile.in (arch): Set to x32 if MULTISUBDIR
is /x32.
Support x32.

From-SVN: r184859

12 years agolang.opt (Wc-binding-type): New flag.
Tobias Burnus [Sat, 3 Mar 2012 16:09:18 +0000 (17:09 +0100)] 
lang.opt (Wc-binding-type): New flag.

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

        * lang.opt (Wc-binding-type): New flag.
        * options.c (gfc_init_options, gfc_handle_option): Handle it.
        * invoke.texi (Wc-binding-type): Document it.
        * gfortran.h (gfc_option_t): Add warn_c_binding_type.
        * decl.c (verify_bind_c_sym): Handle -Wc-binding-type.
        * symbol.c (gfc_set_default_type, verify_bind_c_derived_type):
        Ditto.

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

        * gfortran.dg/bind_c_dts_4.f03: Add dg-options -Wc-binding-type.
        * gfortran.dg/bind_c_implicit_vars.f03: Ditto.
        * gfortran.dg/bind_c_usage_8.f03: Ditto.
        * gfortran.dg/c_kind_tests_2.f03: Ditto.
        * gfortran.dg/class_30.f90: Remove dg-warning line.
        * gfortran.dg/bind_c_usage_25.f90: New.

From-SVN: r184858

12 years agore PR fortran/48820 (TR 29113: Implement parts needed for MPI 3)
Tobias Burnus [Sat, 3 Mar 2012 14:11:24 +0000 (15:11 +0100)] 
re PR fortran/48820 (TR 29113: Implement parts needed for MPI 3)

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

        PR fortran/48820
        * gfortran.dg/assumed_type_1.f90: Correct dg-error.
        * gfortran.dg/assumed_type_3.f90: Correct dg-error.
        * gfortran.dg/assumed_type_4.f90: Correct dg-error.

From-SVN: r184856

12 years ago* gcc.pot: Regenerate.
Joseph Myers [Sat, 3 Mar 2012 12:06:54 +0000 (12:06 +0000)] 
* gcc.pot: Regenerate.

From-SVN: r184854

12 years agore PR fortran/48820 (TR 29113: Implement parts needed for MPI 3)
Tobias Burnus [Sat, 3 Mar 2012 08:40:24 +0000 (09:40 +0100)] 
re PR fortran/48820 (TR 29113: Implement parts needed for MPI 3)

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

        PR fortran/48820
        * decl.c (gfc_match_decl_type_spec): Support type(*).
        (gfc_verify_c_interop): Allow type(*).
        * dump-parse-tree.c (show_typespec): Handle type(*).
        * expr.c (gfc_copy_expr): Ditto.
        * interface.c (compare_type_rank, compare_parameter,
        compare_actual_formal, gfc_procedure_use): Ditto.
        * libgfortran.h (bt): Add BT_ASSUMED.
        * misc.c (gfc_basic_typename, gfc_typename): Handle type(*).
        * module.c (bt_types): Ditto.
        * resolve.c (assumed_type_expr_allowed): New static variable.
        (resolve_actual_arglist, resolve_variable, resolve_symbol):
        Handle type(*).
        * trans-expr.c (gfc_conv_procedure_call): Ditto.
        * trans-types.c (gfc_typenode_for_spec, gfc_get_dtype): Ditto.

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

        PR fortran/48820
        * gfortran.dg/assumed_type_1.f90: New.
        * gfortran.dg/assumed_type_2.f90: New.
        * gfortran.dg/assumed_type_3.f90: New.
        * gfortran.dg/assumed_type_4.f90: New.

From-SVN: r184852

12 years agoDaily bump.
GCC Administrator [Sat, 3 Mar 2012 00:18:42 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r184849

12 years agore PR rtl-optimization/48596 ([SH] unable to find a register to spill in class 'FPUL_...
Kaz Kojima [Fri, 2 Mar 2012 23:59:08 +0000 (23:59 +0000)] 
re PR rtl-optimization/48596 ([SH] unable to find a register to spill in class 'FPUL_REGS')

PR target/48596
PR target/48806
* config/sh/sh.c (sh_register_move_cost): Increase cost between
GENERAL_REGS and FP_REGS for SImode.

From-SVN: r184844

12 years agolimits (numeric_limits): Fix returns per C++11.
Paolo Carlini [Fri, 2 Mar 2012 22:24:45 +0000 (22:24 +0000)] 
limits (numeric_limits): Fix returns per C++11.

2012-03-02  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/limits (numeric_limits): Fix returns per C++11.
* testsuite/18_support/numeric_limits/primary.cc: New.

From-SVN: r184837

12 years agoAdd ChangeLog entry for recent change.
Diego Novillo [Fri, 2 Mar 2012 21:30:11 +0000 (16:30 -0500)] 
Add ChangeLog entry for recent change.

From-SVN: r184830

12 years agore PR bootstrap/49486 (Bootstrap failure)
Oleg Endo [Fri, 2 Mar 2012 21:21:13 +0000 (21:21 +0000)] 
re PR bootstrap/49486 (Bootstrap failure)

PR target/49486
* config/sh/sh.md (negdi2): Add TARGET_SH1 condition.
(absdi2): New expander.
(*absdi2, *negabsdi2, negdi_cond): New insns and splits.
* gcc.target/sh/pr49468-si.c: Skip unsupported test for SH64.
* gcc.target/sh/pr49468-di.c: New.

From-SVN: r184829

12 years agolibgo: Try to fix use of <ustat.h> for Solaris and older GNU/Linux.
Ian Lance Taylor [Fri, 2 Mar 2012 21:07:52 +0000 (21:07 +0000)] 
libgo: Try to fix use of <ustat.h> for Solaris and older GNU/Linux.

From-SVN: r184828

12 years agosync.md (atomic_exchange<mode>): New expander.
Oleg Endo [Fri, 2 Mar 2012 21:07:21 +0000 (21:07 +0000)] 
sync.md (atomic_exchange<mode>): New expander.

* config/sh/sync.md (atomic_exchange<mode>): New expander.
(atomic_exchange<mode>_soft): New insn.

From-SVN: r184827

12 years agosync.md: Update copyright notice dates.
Oleg Endo [Fri, 2 Mar 2012 21:04:51 +0000 (21:04 +0000)] 
sync.md: Update copyright notice dates.

        * config/sh/sync.md: Update copyright notice dates.
(atomic_compare_and_swap<mode>): Use SImode for return value instead
of QImode.
        (atomic_compare_and_swap<mode>_soft): Likewise.

From-SVN: r184826

12 years agore PR target/31640 (cache block alignment is too aggressive on sh-elf)
Oleg Endo [Fri, 2 Mar 2012 20:56:46 +0000 (20:56 +0000)] 
re PR target/31640 (cache block alignment is too aggressive on sh-elf)

PR target/31640
* config/sh/sh.h (LOOP_ALIGN): Move logic to sh_loop_align.
* config/sh/sh.c: Update copyright notice dates.
(sh_loop_align): Add logic from LOOP_ALIGN.  Don't disable loop
alignment for TARGET_HARD_SH4.
(sh_option_override): Reduce default function alignment.  Set
loop alignment to 4 bytes when not optimizing for size.

From-SVN: r184825

12 years agoruntime: Add type casts to fix Solaris build.
Ian Lance Taylor [Fri, 2 Mar 2012 20:48:21 +0000 (20:48 +0000)] 
runtime: Add type casts to fix Solaris build.

From Rainer Orth.

From-SVN: r184823

12 years agoThis fixes an edge case in parsing summary lines.
Diego Novillo [Fri, 2 Mar 2012 20:43:29 +0000 (15:43 -0500)] 
This fixes an edge case in parsing summary lines.

This fixes an edge case in parsing summary lines.  Some times, the
description field is missing (e.g., 'FAIL: libstdc++/abi_check'), so
the space that the pattern was looking for does not exist.

I've changed it to match any whitespace, which includes '\n'.  I also
made it print the line that it fails to parse, in case there are other
problems like this in the future.

2012-03-02   Diego Novillo  <dnovillo@google.com>

* testsuite-management/validate_failures.py (class TestResult): Fix
match pattern for the summary line.  If there is a parsing failure,
show the line we failed to parse.

From-SVN: r184822

12 years agoAdd PR reference to a ChangeLog entry.
Maxim Kuvyrkov [Fri, 2 Mar 2012 20:34:25 +0000 (20:34 +0000)] 
Add PR reference to a ChangeLog entry.

From-SVN: r184821

12 years agoinvoke.texi (floop-flatten): Declare obsolete.
Maxim Kuvyrkov [Fri, 2 Mar 2012 20:32:20 +0000 (20:32 +0000)] 
invoke.texi (floop-flatten): Declare obsolete.

gcc/
* doc/invoke.texi (floop-flatten): Declare obsolete.
* toplev.c (process_options): Remove references to flag_loop_flatten.
* tree-ssa-loop.c (gate_graphite_transform): Same.
* common.opt (floop-flatten): Obsolete.
* graphite-poly.c (apply_poly_transforms): Remove reference to
flag_loop_flatten.
* Makefile.in (graphite-flattening.o): Remove.
* graphite-flattening.c: Remove.

gcc/testsuite/
* gcc.dg/graphite/pr50561.c: Update.

From-SVN: r184820

12 years agolibgo: Update to weekly.2012-02-22 release.
Ian Lance Taylor [Fri, 2 Mar 2012 20:01:37 +0000 (20:01 +0000)] 
libgo: Update to weekly.2012-02-22 release.

From-SVN: r184819

12 years agocompare-elim.c (find_comparisons_in_bb): Eliminate only compares having mode compatib...
Uros Bizjak [Fri, 2 Mar 2012 18:54:27 +0000 (19:54 +0100)] 
compare-elim.c (find_comparisons_in_bb): Eliminate only compares having mode compatible with the mode of previous compare.

* compare-elim.c (find_comparisons_in_bb): Eliminate only compares
having mode compatible with the mode of previous compare.  Substitute
compare mode of previous compare with the mode, compatible
with eliminated and previous compare.

From-SVN: r184816

12 years ago* config/rs6000/dfp.md (floatdidd2): New define_insn.
Peter Bergner [Fri, 2 Mar 2012 18:47:00 +0000 (12:47 -0600)] 
* config/rs6000/dfp.md (floatdidd2): New define_insn.

From-SVN: r184815

12 years agoi386.c (ix86_cc_modes_compatible): Declare CCZmode compatible with CCGOCmode and...
Uros Bizjak [Fri, 2 Mar 2012 18:41:21 +0000 (19:41 +0100)] 
i386.c (ix86_cc_modes_compatible): Declare CCZmode compatible with CCGOCmode and CCGCmode.

* config/i386/i386.c (ix86_cc_modes_compatible): Declare CCZmode
compatible with CCGOCmode and CCGCmode.

From-SVN: r184813

12 years agovsx.md (vsx_set_<mode>): Reorder operands.
Peter Bergner [Fri, 2 Mar 2012 18:28:08 +0000 (12:28 -0600)] 
vsx.md (vsx_set_<mode>): Reorder operands.

gcc/
* config/rs6000/vsx.md (vsx_set_<mode>): Reorder operands.

gcc/testsuite/
* gcc.target/powerpc/pr52457.c: New test.

From-SVN: r184811

12 years ago2012-03-02 Matthias Klose <doko@ubuntu.com>
Matthias Klose [Fri, 2 Mar 2012 17:15:20 +0000 (17:15 +0000)] 
2012-03-02  Matthias Klose  <doko@ubuntu.com>

        * Imported zlib 1.2.5; merged local changes.

From-SVN: r184805

12 years agoarm.c (arm_sat_operator_match): New function.
Ulrich Weigand [Fri, 2 Mar 2012 17:08:55 +0000 (17:08 +0000)] 
arm.c (arm_sat_operator_match): New function.

gcc/
* config/arm/arm.c (arm_sat_operator_match): New function.
* config/arm/arm-protos.h (arm_sat_operator_match): Add prototype.
* config/arm/arm.md ("insn" attribute): Add "sat" value.
("SAT", "SATrev"): New code iterators.
("SATlo", "SAThi"): New code iterator attributes.
("*satsi_<SAT:code>"): New pattern.
("*satsi_<SAT:code>_shift"): Likewise.
* config/arm/arm-fixed.md ("arm_ssatsihi_shift"): Add "insn"
and "shift" attributes.
("arm_usatsihi"): Add "insn" attribute.
* config/arm/predicates.md (sat_shift_operator): Allow multiplication
by powers of two.  Do not allow shift by 32.

gcc/testsuite/
* gcc.target/arm/sat-1.c: New test.

From-SVN: r184803

12 years agore PR target/46716 (wrong code generated with -mno-sse2 -m64)
Uros Bizjak [Fri, 2 Mar 2012 17:03:36 +0000 (18:03 +0100)] 
re PR target/46716 (wrong code generated with -mno-sse2 -m64)

PR target/46716
* config/i386/i386.c (construct_container): Use gen_reg_or_parallel
to pass the argument in the register of "natural" mode.

testsuite/ChangeLog:

PR target/46716
* gcc.target/i386/pr46176.c: New test.

From-SVN: r184802

12 years agocstdio: Remove extraneous extern.
Benjamin Kosnik [Fri, 2 Mar 2012 16:44:50 +0000 (16:44 +0000)] 
cstdio: Remove extraneous extern.

2012-03-02  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_global/cstdio: Remove extraneous extern.
* include/c_std/cstdio: Same.

From-SVN: r184799

12 years agolibgo: Update to weekly.2012-02-14 release.
Ian Lance Taylor [Fri, 2 Mar 2012 16:38:43 +0000 (16:38 +0000)] 
libgo: Update to weekly.2012-02-14 release.

From-SVN: r184798

12 years agore PR c++/51989 (std::deque::iterator recognised as container)
Paolo Carlini [Fri, 2 Mar 2012 16:18:25 +0000 (16:18 +0000)] 
re PR c++/51989 (std::deque::iterator recognised as container)

/cp
2012-03-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51989
* typeck2.c (build_x_arrow): Take a tsubst_flags_t argument and
propagate it.
* cp-tree.h (build_x_arrow): Adjust prototype.
* pt.c (tsubst_copy_and_build): Adjust call.
* parser.c (cp_parser_postfix_dot_deref_expression): Likewise.

/testsuite
2012-03-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51989
* g++.dg/cpp0x/sfinae32.C: New.

From-SVN: r184796

12 years agoname-lookup.c (binding_to_template_parms_of_scope_p): Clean up.
Paolo Carlini [Fri, 2 Mar 2012 15:39:55 +0000 (15:39 +0000)] 
name-lookup.c (binding_to_template_parms_of_scope_p): Clean up.

2012-03-02  Paolo Carlini  <paolo.carlini@oracle.com>

* name-lookup.c (binding_to_template_parms_of_scope_p): Clean up.

From-SVN: r184792

12 years agore PR fortran/52325 (unclear error: Unclassifiable statement)
Tobias Burnus [Fri, 2 Mar 2012 14:58:58 +0000 (15:58 +0100)] 
re PR fortran/52325 (unclear error: Unclassifiable statement)

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

        PR fortran/52325
        * primary.c (gfc_match_varspec): Add missing ;.

From-SVN: r184790

12 years agore PR tree-optimization/52406 (likely wrong code bug)
Richard Guenther [Fri, 2 Mar 2012 14:58:55 +0000 (14:58 +0000)] 
re PR tree-optimization/52406 (likely wrong code bug)

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

PR tree-optimization/52406
* tree-data-ref.h: Update documentation about DR_BASE_OBJECT.
(struct indices): Add unconstrained_base member.
(struct dr_alias): Remove unused vops member.
(DR_UNCONSTRAINED_BASE): New define.
* tree-data-ref.c (dr_analyze_indices): For COMPONENT_REFs
add indices to allow their disambiguation.  Make DR_BASE_OBJECT
be an artificial access that covers the whole indexed object,
or mark it with DR_UNCONSTRAINED_BASE if we cannot do so.  Canonicalize
plain decl base-objects to their MEM_REF variant.
(dr_may_alias_p): When the base-object of either data reference
has unknown size use only points-to information.
(compute_affine_dependence): Make dumps easier to read and
more verbose.
* tree-vect-data-ref.c (vector_alignment_reachable_p): Use
DR_REF when looking for packed references.
(vect_supportable_dr_alignment): Likewise.

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

From-SVN: r184789

12 years agore PR fortran/52325 (unclear error: Unclassifiable statement)
Tobias Burnus [Fri, 2 Mar 2012 13:20:52 +0000 (14:20 +0100)] 
re PR fortran/52325 (unclear error: Unclassifiable statement)

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

        PR fortran/52325
        * primary.c (gfc_match_varspec): Add diagnostic for % with
        nonderived types.

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

        PR fortran/52325
        * gfortran.dg/derived_comp_array_ref_8.f90: New.
        * gfortran.dg/nullify_2.f90: Update dg-error.
        * gfortran.dg/nullify_4.f90: Ditto.
        * gfortran.dg/pointer_init_6.f90: Ditto.

From-SVN: r184785

12 years agore PR fortran/52270 ([OOP] Polymorphic vars: wrong intent(in) check, passing nonptr...
Tobias Burnus [Fri, 2 Mar 2012 13:07:46 +0000 (14:07 +0100)] 
re PR fortran/52270 ([OOP] Polymorphic vars: wrong intent(in) check, passing nonptr variable to intent(in) ptr dummy)

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

        PR fortran/52270
        * expr.c (gfc_check_vardef_context): Fix check for
        intent-in polymorphic pointer .
        * interface.c (compare_parameter): Allow passing TYPE to
        intent-in polymorphic pointer.

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

        PR fortran/52270
        * gfortran.dg/class_51.f90: New.

From-SVN: r184784

12 years agoFor Greta Yorsh.
Greta Yorsh [Fri, 2 Mar 2012 12:09:04 +0000 (12:09 +0000)] 
For Greta Yorsh.

2012-03-02  Greta Yorsh  <Greta.Yorsh@arm.com>

       * config/arm/arm-ldmstm.ml (write_ldm_commutative_peephole):
Improve conditions for peepholes of loads followed by commutative
operators.
       * config/arm/ldmstm.md: Regenerated.

From-SVN: r184783

12 years agocrontab: Fix day-of-week.
Richard Guenther [Fri, 2 Mar 2012 11:30:44 +0000 (11:30 +0000)] 
crontab: Fix day-of-week.

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

        * crontab: Fix day-of-week.

From-SVN: r184782

12 years agocrontab: Update for 4.7 branching.
Richard Guenther [Fri, 2 Mar 2012 11:24:28 +0000 (11:24 +0000)] 
crontab: Update for 4.7 branching.

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

        * crontab: Update for 4.7 branching.

From-SVN: r184781

12 years agoBASE-VER: Set to 4.8.0.
Richard Guenther [Fri, 2 Mar 2012 11:09:25 +0000 (11:09 +0000)] 
BASE-VER: Set to 4.8.0.

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

        * BASE-VER: Set to 4.8.0.

From-SVN: r184780

12 years agore PR fortran/52452 (INTRINSIC cannot be applied to gfortran's ETIME)
Tobias Burnus [Fri, 2 Mar 2012 11:00:04 +0000 (12:00 +0100)] 
re PR fortran/52452 (INTRINSIC cannot be applied to gfortran's ETIME)

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

        PR fortran/52452
        * resolve.c (resolve_intrinsic): Don't search for a
        function if we know that it is a subroutine.

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

        PR fortran/52452
        * gfortran.dg/intrinsic_8.f90: New.

From-SVN: r184778

12 years agoUpdate Solaris baselines for GCC 4.7
Rainer Orth [Fri, 2 Mar 2012 09:47:11 +0000 (09:47 +0000)] 
Update Solaris baselines for GCC 4.7

* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.

From-SVN: r184776

12 years agoconfig.gcc (obsolete): Add all ARM targets using the FPA.
Richard Earnshaw [Fri, 2 Mar 2012 09:37:30 +0000 (09:37 +0000)] 
config.gcc (obsolete): Add all ARM targets using the FPA.

* config.gcc (obsolete): Add all ARM targets using the FPA.
(with_fpu): Obsolete selection of the FPA or Maverick on ARM.
* doc/install.texi: Avoid references to obsolete ARM ports.

From-SVN: r184775

12 years agore PR libstdc++/51785 (gets not anymore declared)
Benjamin Kosnik [Fri, 2 Mar 2012 07:13:55 +0000 (07:13 +0000)] 
re PR libstdc++/51785 (gets not anymore declared)

2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
            Ramana Radhakrishnan <ramana@gcc.gnu.org>

PR libstdc++/51785
* acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New.
* configure.ac: Call it.
* configure: Regenerate.
* config.h.in: Same.
* config/os/gnu-linux/os_defines.h: Conditionally undefine
_GLIBCXX_HAVE_GETS.
* include/c_global/cstdio: Conditionally declare deprecated gets.
* include/c_std/cstdio: Same.

Co-Authored-By: Ramana Radhakrishnan <ramana@gcc.gnu.org>
From-SVN: r184774

12 years agotype_traits (typelist): To __reflection_typelist.
Michael Spertus [Fri, 2 Mar 2012 05:54:24 +0000 (05:54 +0000)] 
type_traits (typelist): To __reflection_typelist.

2012-03-01  Michael Spertus  <mike_spertus@symantec.com>

* include/tr2/type_traits (typelist): To __reflection_typelist.
(first, rest, empty): Remove.

From-SVN: r184773

12 years agoMakefile.am (CLEANFILES): Add *.gdb.
Benjamin Kosnik [Fri, 2 Mar 2012 01:04:16 +0000 (01:04 +0000)] 
Makefile.am (CLEANFILES): Add *.gdb.

2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/Makefile.am (CLEANFILES): Add *.gdb.
* testsuite/Makefile.in: Regenerate.

From-SVN: r184772

12 years agoDaily bump.
GCC Administrator [Fri, 2 Mar 2012 00:19:12 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r184770

12 years ago* config/epiphany/epiphany.md (movmisalign<mode>): New patterns.
Joern Rennecke [Thu, 1 Mar 2012 23:40:57 +0000 (23:40 +0000)] 
* config/epiphany/epiphany.md (movmisalign<mode>): New patterns.

From-SVN: r184766

12 years agoextend.texi: Expand and update information on interrupt attribute for Epiphany.
Jeremy Bennett [Thu, 1 Mar 2012 23:34:36 +0000 (23:34 +0000)] 
extend.texi: Expand and update information on interrupt attribute for Epiphany.

2012-03-01  Jeremy Bennett  <jeremy.bennett@embecosm.com>
            Joern Rennecke  <joern.rennecke@embecosm.com>

        * doc/extend.texi: Expand and update information on interrupt
        attribute for Epiphany.

Co-Authored-By: Joern Rennecke <joern.rennecke@embecosm.com>
From-SVN: r184765

12 years agosh-protos.h: Update copyright notice dates.
Oleg Endo [Thu, 1 Mar 2012 22:57:09 +0000 (22:57 +0000)] 
sh-protos.h: Update copyright notice dates.

* config/sh/sh-protos.h: Update copyright notice dates.
* config/sh/sh.h: Likewise.
* config/sh/sh.md: Likewise.
* config/sh/constraints.md: Likewise.
* config/sh/predicates.md: Likewise.

From-SVN: r184764

12 years agosh-protos.h (tertiary_reload_operand): Remove dead function.
Oleg Endo [Thu, 1 Mar 2012 22:46:33 +0000 (22:46 +0000)] 
sh-protos.h (tertiary_reload_operand): Remove dead function.

* config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function.
* config/sh/sh.c (tertiary_reload_operand): Likewise.

From-SVN: r184763

12 years agoconstraints.md: Fix comment typo.
Oleg Endo [Thu, 1 Mar 2012 21:20:56 +0000 (21:20 +0000)] 
constraints.md: Fix comment typo.

* config/sh/constraints.md: Fix comment typo.

From-SVN: r184761

12 years agosoft-fp: Imported from glibc upstream.
Kai Tietz [Thu, 1 Mar 2012 20:50:26 +0000 (21:50 +0100)] 
soft-fp: Imported from glibc upstream.

        * soft-fp: Imported from glibc upstream.

From-SVN: r184760

12 years agore PR target/52408 (Incorrect assembler generated for zvdep_imm64)
John David Anglin [Thu, 1 Mar 2012 19:31:03 +0000 (19:31 +0000)] 
re PR target/52408 (Incorrect assembler generated for zvdep_imm64)

PR target/52408
* config/pa/pa.md (zvdep_imm32): Change type of variable x from int to
unsigned HOST_WIDE_INT.
(zvdep_imm64): Likewise.
(vdepi_ior): Change type of variable x from int to HOST_WIDE_INT.
(vdepi_and): Likewise.
Likewise for unamed 64-bit patterns.
* config/pa/predicates.md (lhs_lshift_cint_operand): Update comment.

From-SVN: r184757

12 years agoFix ChangLog about uintptr_t
Kai Tietz [Thu, 1 Mar 2012 18:45:30 +0000 (19:45 +0100)] 
Fix ChangLog about uintptr_t

From-SVN: r184756

12 years agocompiler: Reliably give errors on misuse of multiple value call.
Ian Lance Taylor [Thu, 1 Mar 2012 18:19:13 +0000 (18:19 +0000)] 
compiler: Reliably give errors on misuse of multiple value call.

From-SVN: r184755

12 years agopr47917.c: Make test using POSIX-printf routines on mingw targets.
Kai Tietz [Thu, 1 Mar 2012 18:17:07 +0000 (19:17 +0100)] 
pr47917.c: Make test using POSIX-printf routines on mingw targets.

        * gcc.dg/torture/pr47917.c: Make test using POSIX-printf
        routines on mingw targets.
        * gcc.dg/vect/pr46126.c (size_t): Add support for
        LLP64 target.

From-SVN: r184754

12 years agore PR c++/51930 (Explicitly instantiated template gets hidden visibility)
Jason Merrill [Thu, 1 Mar 2012 17:52:12 +0000 (12:52 -0500)] 
re PR c++/51930 (Explicitly instantiated template gets hidden visibility)

PR c++/51930
* decl.c (check_tag_decl): Move warning for misplaced attributes here.
(shadow_tag): From here.
* parser.c (cp_parser_explicit_instantiation): Don't warn here.

From-SVN: r184753

12 years agomksysinfo: Define MADV_ constants for madvise.
Ian Lance Taylor [Thu, 1 Mar 2012 17:22:29 +0000 (17:22 +0000)] 
mksysinfo: Define MADV_ constants for madvise.

From-SVN: r184752

12 years agocompiler: Fix varargs functions that call recover.
Ian Lance Taylor [Thu, 1 Mar 2012 17:11:55 +0000 (17:11 +0000)] 
compiler: Fix varargs functions that call recover.

Also fix a couple of crashes on invalid code.

From-SVN: r184751

12 years agore PR debug/52001 (Huge compile-time regression with var-tracking)
Alexandre Oliva [Thu, 1 Mar 2012 16:58:11 +0000 (16:58 +0000)] 
re PR debug/52001 (Huge compile-time regression with var-tracking)

PR debug/52001
PR rtl-optimization/52417
* cselib.c (cselib_any_perm_equivs): New variable.
(cselib_reset_table): Check that it's not set when not
preserving constants.
(cselib_add_permanent_equiv): Set it.
(cselib_have_permanent_equivalences): New.
(cselib_init, cselib_finish): Reset it.
* cselib.h (cselib_have_permanent_equivalences): Declare.
* alias.c (get_addr): Restore earlier behavior when there
aren't permanent equivalences.

From-SVN: r184750

12 years agomn10300-modes.def: Fix copyright notice.
Steven Bosscher [Thu, 1 Mar 2012 16:30:07 +0000 (16:30 +0000)] 
mn10300-modes.def: Fix copyright notice.

* config/mn10300/mn10300-modes.def: Fix copyright notice.
* config/v850/v850-modes.def: Fix copyright notice.

From-SVN: r184748

12 years agoextend.texi (AVR Built-in Functions): Document __builtin_avr_flash_segment.
Georg-Johann Lay [Thu, 1 Mar 2012 15:28:44 +0000 (15:28 +0000)] 
extend.texi (AVR Built-in Functions): Document __builtin_avr_flash_segment.

* doc/extend.texi (AVR Built-in Functions): Document
__builtin_avr_flash_segment.
* config/avr/builtins.def (__builtin_avr_flash_segment): New entry.
* config/avr/avr.md (flash_segment, flash_segment1): New expanders.
(*split.flash_segment): New insn-and-split.
* config/avr/avr.c (avr_init_builtins): Add local variables:
const_memx_void_node, const_memx_ptr_type_node,
char_ftype_const_memx_ptr.

From-SVN: r184746