platform/upstream/linaro-gcc.git
14 years ago2010-01-25 Bob Duff <duff@adacore.com>
charlet [Mon, 25 Jan 2010 16:24:20 +0000 (16:24 +0000)]
2010-01-25  Bob Duff  <duff@adacore.com>

* sem_aggr.adb (Resolve_Array_Aggregate): Check for the case where this
is an internally-generated positional aggregate, and the bounds are
already correctly set. We don't want to overwrite those bounds with
bounds determined by context.

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

* g-sercom.ads, gnatcmd.adb, gnatlink.adb, a-ststio.adb, exp_ch6.adb,
exp_ch9.adb, g-sechas.ads: Minor reformatting.

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

* s-commun.adb (Last_Index): Count must be converted to SEO (a signed
integer type) before subtracting 1, otherwise the computation may wrap
(because size_t is modular) and cause the conversion to fail.

2010-01-25  Ed Falis  <falis@adacore.com>

* sysdep.c, init.c: Adapt to support full run-time on VxWorks MILS.

2010-01-25  Vincent Celier  <celier@adacore.com>

* prj-attr.adb: New attribute Run_Path_Origin_Required
* prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process new
attribute Run_Path_Origin_Required.
* prj.ads (Project_Configuration): New component
Run_Path_Origin_Supported.
* snames.ads-tmpl: New standard name Run_Path_Origin_Required

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

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

        PR fortran/42858
        * array.c (gfc_array_dimen_size): Fix intrinsic procedure
        check.

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

        PR fortran/42858
        * gfortran.dg/generic_21.f90: New test.

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

14 years ago PR testsuite/41522
ro [Mon, 25 Jan 2010 14:54:15 +0000 (14:54 +0000)]
PR testsuite/41522
* gcc.c-torture/compile/pr38789.c: Change to dg-do compile.

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

14 years ago2010-01-25 Ed Schonberg <schonberg@adacore.com>
charlet [Mon, 25 Jan 2010 14:53:51 +0000 (14:53 +0000)]
2010-01-25  Ed Schonberg  <schonberg@adacore.com>

* sem_aggr.adb (Resolve_Array_Aggregate): If the bounds in a choice
have errors, do not continue resolution of the aggregate.
* sem_eval.adb (Eval_Indexed_Component): Do not attempt to evaluate if
the array type indicates an error.

2010-01-25  Bob Duff  <duff@adacore.com>

* sinfo.ads: Minor comment fixes.

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

14 years ago2010-01-25 Bob Duff <duff@adacore.com>
charlet [Mon, 25 Jan 2010 14:37:39 +0000 (14:37 +0000)]
2010-01-25  Bob Duff  <duff@adacore.com>

* exp_ch4.adb, exp_aggr.adb: Minor comment fixes and code clean up.

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

14 years ago(Current_Year): Update.
charlet [Mon, 25 Jan 2010 14:24:18 +0000 (14:24 +0000)]
(Current_Year): Update.

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

14 years ago2010-01-25 Florian Villoing <villoing@adacore.com>
charlet [Mon, 25 Jan 2010 14:21:16 +0000 (14:21 +0000)]
2010-01-25  Florian Villoing  <villoing@adacore.com>

* gnat_ugn.texi: Fix typo.

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

* scos.ads: Update specification.

2010-01-25  Ed Schonberg  <schonberg@adacore.com>

* sem_ch6.adb (Process_PPCs): If a postcondition is present and the
enclosing subprogram has no previous spec, attach postcondition
procedure to the defining entity for the body.

2010-01-25  Ed Schonberg  <schonberg@adacore.com>

* exp_aggr.adb (Build_Record_Aggr_Code); Do not generate call to
initialization procedure of the ancestor part of an extension aggregate
if it is an interface type.

2010-01-25  Vincent Celier  <celier@adacore.com>

* gnatlink.adb (Process_Binder_File): The directory for the shared
version of libgcc in the run path options is found in the subdirectory
indicated by __gnat_default_libgcc_subdir.
* link.c: Declare new const char * __gnat_default_libgcc_subdir for
each platform.

2010-01-25  Ed Schonberg  <schonberg@adacore.com>

* sem_prag.adb: More flexible pragma Annotate.

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

14 years ago2010-01-24 David S. Miller <davem@davemloft.net>
davem [Mon, 25 Jan 2010 10:22:04 +0000 (10:22 +0000)]
2010-01-24  David S. Miller  <davem@davemloft.net>

* gcc/config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
define if not using GAS.
* gcc/config/sparc/sparc.c (sparc_elf_asm_named_section):
Likewise.  Delete SECTION_MERGE code, which is only applicable
when using GAS.

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

14 years ago PR c++/42748
mmitchel [Mon, 25 Jan 2010 03:14:25 +0000 (03:14 +0000)]
PR c++/42748
* config/arm/arm.c (arm_mangle_type): Do not warn about changes to
mangling of va_list in system headers.

PR c++/42748
* g++.dg/abi/arm_va_list2.C: New test.
* g++.dg/abi/arm_va_list2.h: Companion header file.

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

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

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

14 years ago * sv.po: Update.
jsm28 [Sun, 24 Jan 2010 18:38:52 +0000 (18:38 +0000)]
* sv.po: Update.

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

14 years ago2010-01-24 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 24 Jan 2010 16:59:51 +0000 (16:59 +0000)]
2010-01-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41044
PR fortran/41167
* expr.c (remove_subobject_ref): If the constructor is NULL use
the expression as the source.
(simplify_const_ref): Change the type of expression if
there are component references.  Allow for substring to be at
the end of an arbitrarily long chain of references.  If an
element is found that is not in an EXPR_ARRAY, assume that this
is scalar initialization of array. Call remove_subobject_ref in
this case with NULL second argument.

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

PR fortran/41044
* gfortran.dg/parameter_array_ref_2.f90 : New test.

PR fortran/41167
* gfortran.dg/char_array_arg_1.f90 : New test.

* gfortran.dg/pr25923.f90 : Remove XFAIL.

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

14 years ago2010-01-24 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 24 Jan 2010 08:10:47 +0000 (08:10 +0000)]
2010-01-24  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39304
        * array.c (gfc_array_dimen_size): Use correct specific
        function in the check.

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

        PR fortran/39304
        * gfortran.dg/generic_20.f90: New test.

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

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

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

14 years agoChangeLog
toon [Sat, 23 Jan 2010 14:33:26 +0000 (14:33 +0000)]
ChangeLog

* tree-predcom.c (combine_chains): Return NULL, not false.

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

14 years ago * tree-loop-distribution.c (distribute_loop): Fix declaration and
amylaar [Sat, 23 Jan 2010 12:21:15 +0000 (12:21 +0000)]
* tree-loop-distribution.c (distribute_loop): Fix declaration and
initialization of variable res to agree with return type.

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

14 years ago PR libstdc++/36101, PR libstdc++/42813
amylaar [Sat, 23 Jan 2010 11:17:30 +0000 (11:17 +0000)]
PR libstdc++/36101, PR libstdc++/42813
* configure.ac (bootstrap_target_libs): Include target-libgomp.
* configure: Regenerate.

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

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

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

14 years ago2010-01-22 Steve Ellcey <sje@cup.hp.com>
sje [Fri, 22 Jan 2010 22:22:51 +0000 (22:22 +0000)]
2010-01-22  Steve Ellcey  <sje@cup.hp.com>

* Makefile.in (tree-sra.o): Add $(EXPR_H) dependency.
* tree-sra.c: Add include of expr.h.

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

14 years ago * gcc-plugin.h (plugin_init): Use "C" likage for c++.
amylaar [Fri, 22 Jan 2010 21:01:49 +0000 (21:01 +0000)]
* gcc-plugin.h (plugin_init): Use "C" likage for c++.

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

14 years ago2010-01-22 Daniel Frey <d.frey@gmx.de>
paolo [Fri, 22 Jan 2010 20:50:15 +0000 (20:50 +0000)]
2010-01-22  Daniel Frey  <d.frey@gmx.de>

* include/std/functional (_Index_tuple, _Build_index_tuple):
Simplify and speed-up.

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

14 years ago * tree-into-ssa.c (maybe_register_def): If stmt ends the bb,
jakub [Fri, 22 Jan 2010 19:20:51 +0000 (19:20 +0000)]
* tree-into-ssa.c (maybe_register_def): If stmt ends the bb,
insert the debug stmt on the single non-EH edge from the stmt.

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

14 years ago PR tree-opt/42833
rth [Fri, 22 Jan 2010 18:52:01 +0000 (18:52 +0000)]
PR tree-opt/42833
* tree-sra.c (sra_modify_assign): Delay re-gimplification of
the RHS until after generate_subtree_copies has insertted its
code before the current statement.

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

14 years ago * doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.
amylaar [Fri, 22 Jan 2010 17:00:27 +0000 (17:00 +0000)]
* doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.

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

14 years ago PR libstdc++/36101, PR libstdc++/42813
amylaar [Fri, 22 Jan 2010 13:35:38 +0000 (13:35 +0000)]
PR libstdc++/36101, PR libstdc++/42813
[toplevel]:
* configure.ac (target_configdirs): Substitute.
* Makefile.def: Bootstrap target module libgomp.
Add dependency of all-target-libstdc++-v3 on configure-target-libgomp.
* Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable.
(BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS.
* configure, Makefile.in: Regenerate.
libstdc++-v3:
* acinclude.m4: (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of
loking for omp.h .
* configure: Regenerate.

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

14 years ago * gfortran.dg/vect/fast-math-mgrid-resid.f: Limit to x86, add
matz [Fri, 22 Jan 2010 13:13:18 +0000 (13:13 +0000)]
    * gfortran.dg/vect/fast-math-mgrid-resid.f: Limit to x86, add
        -msse2.

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

14 years ago * system-linux-armel.ads (Stack_Check_Probes): Set to True.
ebotcazou [Fri, 22 Jan 2010 11:55:45 +0000 (11:55 +0000)]
* system-linux-armel.ads (Stack_Check_Probes): Set to True.
* system-linux-armeb.ads (Stack_Check_Probes): Likewise.

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

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

        * exgettext: Handle the functions and the macro definitions that the
        arguments are broken into more than one line.

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

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

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

14 years ago2010-01-21 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 21 Jan 2010 20:38:51 +0000 (20:38 +0000)]
2010-01-21  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42736
* trans-stmt.c (gfc_conv_elemental_dependencies): If temporary
is required, turn any trailing array elements after a range
into ranges so that offsets can be calculated.

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

PR fortran/42736
* gfortran.dg/dependency_25.f90 : New test.

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

14 years ago2010-01-21 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 21 Jan 2010 16:18:06 +0000 (16:18 +0000)]
2010-01-21  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42585
* tree-sra.c (struct access): New field grp_total_scalarization.
(dump_access): Dump the new field.
(should_scalarize_away_bitmap): New variable.
(cannot_scalarize_away_bitmap): Likewise.
(sra_initialize): Allocate new bitmaps.
(sra_deinitialize): Free new bitmaps.
(create_access_1): New function.
(create_access): Parts moved to create_access_1.
(type_consists_of_records_p): New function.
(completely_scalarize_record): Likewise.
(build_access_from_expr): Set bit in cannot_scalarize_away_bitmap.
(build_accesses_from_assign): Set bits in should_scalarize_away_bitmap.
(sort_and_splice_var_accesses): Hint groups with a total_scalarization
access.
(analyze_all_variable_accesses): Completely scalarize small eligible
records.

* testsuite/gcc.dg/tree-ssa/pr42585.c: New test.

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

14 years ago2010-01-21 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 21 Jan 2010 16:04:12 +0000 (16:04 +0000)]
2010-01-21  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (build_ref_for_offset_1): Allow for zero size fields.

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

14 years ago2010-01-21 Andrew Haley <aph@redhat.com>
aph [Thu, 21 Jan 2010 15:29:30 +0000 (15:29 +0000)]
2010-01-21  Andrew Haley  <aph@redhat.com>

        * gcc.c (process_command): Move lang_specific_driver before
        setting cc_libexec_prefix.

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

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

PR middle-end/19988
* fold-const.c (negate_expr_p): Pretend only negative
real constants are easily negatable.

* gcc.dg/pr19988.c: New testcase.

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

14 years ago2010-01-20 Eric B. Weddington <eric.weddington@atmel.com>
eweddington [Thu, 21 Jan 2010 05:51:35 +0000 (05:51 +0000)]
2010-01-20  Eric B. Weddington  <eric.weddington@atmel.com>

* MAINTAINERS (CPU Port Maintainers): Add myself for avr port.

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

14 years ago * tree.h (TYPE_TRANSPARENT_UNION): Replace with ...
jason [Thu, 21 Jan 2010 05:49:35 +0000 (05:49 +0000)]
* tree.h (TYPE_TRANSPARENT_UNION): Replace with ...
(TYPE_TRANSPARENT_AGGR): this, for union and record.
* calls.c (initialize argument_information): Handle it.
* c-common.c (handle_transparent_union_attribute): Use new name.
* c-decl.c (finish_struct): Ditto.
* c-typeck.c (type_lists_compatible_p): Ditto.
(convert_for_assignment): Use new name and also handle record.
* function.c (aggregate_value_p): Handle it.
(pass_by_reference): Ditto.
(assign_parm_data_types): Ditto.
* print-tree.c (print_node): Ditto.
* lto-streamer-in.c (unpack_ts_type_value_fields): Ditto.
* lto-streamer-out.c (pack_ts_type_value_fields): Ditto.
* tree.c (first_field): New fn.

gcc/cp/
* mangle.c (write_type): Mangle transparent record as member type.
* semantics.c (begin_class_definition): Recognize decimal classes
and set TYPE_TRANSPARENT_AGGR.

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

14 years ago PR target/42818
davek [Thu, 21 Jan 2010 04:56:38 +0000 (04:56 +0000)]
PR target/42818
* config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers,
even when linking statically, for now.

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

14 years ago * MAINTAINERS: Adjust my details.
davek [Thu, 21 Jan 2010 04:34:02 +0000 (04:34 +0000)]
* MAINTAINERS: Adjust my details.

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

14 years ago PR c++/42338
jason [Thu, 21 Jan 2010 01:58:53 +0000 (01:58 +0000)]
PR c++/42338
* mangle.c (write_expression): Handle tree codes that have extra
arguments in the middle-end.
* cp-demangle.c (d_print_comp): Fix array index printing.

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

14 years ago PR debug/42715
jakub [Thu, 21 Jan 2010 00:42:02 +0000 (00:42 +0000)]
PR debug/42715
* var-tracking.c (use_type): Choose MO_VAL_SET for REGs set
without a cselib val.
(count_uses): Accept MO_VAL_SET with no val on stores.
(add_stores): Likewise.

* gcc.dg/pr42715.c: New.

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

14 years ago * var-tracking.c (check_value_val): Add a compile time assertion.
jakub [Thu, 21 Jan 2010 00:39:57 +0000 (00:39 +0000)]
* var-tracking.c (check_value_val): Add a compile time assertion.
(dv_is_decl_p): Simplify.
(dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use
gcc_assert if ENABLE_CHECKING.

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

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

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

14 years ago2010-01-21 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Thu, 21 Jan 2010 00:01:47 +0000 (00:01 +0000)]
2010-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>

        PR libstdc++/42201
* include/std/future: Update to latest WP.
* src/functexcept.cc (__throw_future_error): Use make_error_code.
* testsuite/30_threads/async/any.cc: New.
* testsuite/30_threads/async/async.cc: New.
* testsuite/30_threads/async/sync.cc: New.
* testsuite/30_threads/packaged_task/cons/alloc.cc: New.
* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust.
* testsuite/30_threads/packaged_task/members/get_future.cc: Adjust.
* testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
* testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
* testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust.
* testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust.
* testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust.
* testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
* testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
* testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove.
* testsuite/30_threads/shared_future/cons/default_neg.cc: Remove.
* testsuite/30_threads/shared_future/cons/default.cc: New.
* testsuite/30_threads/shared_future/cons/assign.cc: New.
* testsuite/30_threads/shared_future/cons/copy.cc: Adjust.
* testsuite/30_threads/shared_future/cons/move.cc: Adjust.
* testsuite/30_threads/shared_future/cons/move_assign.cc: New.
* testsuite/30_threads/shared_future/members/is_ready.cc: Remove.
* testsuite/30_threads/shared_future/members/has_value.cc: Remove.
* testsuite/30_threads/shared_future/members/has_exception.cc: Remove.
* testsuite/30_threads/shared_future/members/valid.cc: New.
* testsuite/30_threads/unique_future/cons/default_neg.cc: Remove.
* testsuite/30_threads/unique_future/cons/default.cc: New.
* testsuite/30_threads/unique_future/cons/move_assign.cc: New.
* testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust.
* testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust.
* testsuite/30_threads/unique_future/cons/move.cc: Adjust.
* testsuite/30_threads/unique_future/requirements/
        explicit_instantiation.cc: Adjust.
* testsuite/30_threads/unique_future/members/is_ready.cc: Remove.
* testsuite/30_threads/unique_future/members/has_value.cc: Remove.
* testsuite/30_threads/unique_future/members/has_exception.cc: Remove.
* testsuite/30_threads/unique_future/members/valid.cc: New.
* testsuite/30_threads/unique_future/members/get.cc: Adjust.
* testsuite/30_threads/unique_future/members/get2.cc: Adjust.
* testsuite/30_threads/unique_future/members/wait.cc: Adjust.
* testsuite/30_threads/unique_future/members/wait_for.cc: Adjust.
* testsuite/30_threads/unique_future/members/wait_until.cc: Adjust.
* testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust.
* testsuite/30_threads/promise/cons/alloc.cc: New.
* testsuite/30_threads/promise/cons/assign_neg.cc: Adjust.
* testsuite/30_threads/promise/cons/copy_neg.cc: Adjust.
* testsuite/30_threads/promise/cons/move.cc: Adjust.
* testsuite/30_threads/promise/cons/move_assign.cc: Adjust.
* testsuite/30_threads/promise/members/get_future.cc: Adjust.
* testsuite/30_threads/promise/members/set_value.cc: Adjust.
* testsuite/30_threads/promise/members/set_exception.cc: Adjust.
* testsuite/30_threads/promise/members/set_exception2.cc: Adjust.
* testsuite/30_threads/promise/members/set_value2.cc: Adjust.
* testsuite/30_threads/promise/members/set_value3.cc: Adjust.
* testsuite/30_threads/promise/members/swap.cc: Adjust.

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

14 years ago/cp
paolo [Wed, 20 Jan 2010 23:12:25 +0000 (23:12 +0000)]
/cp
2010-01-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/42038
* except.c (expand_start_catch_block): Deal correctly with
do_begin_catch returning error_mark_node.

/testsuite
2010-01-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/42038
* g++.dg/parse/crash55.C: New.

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

14 years ago PR debug/42782
jakub [Wed, 20 Jan 2010 22:57:20 +0000 (22:57 +0000)]
PR debug/42782
* var-tracking.c: Include tree-flow.h.
(mem_dies_at_call): New.
(dataflow_set_preserve_mem_locs): Use it.
(dataflow_set_remove_mem_locs): Likewise.
(dump_var): Renamed from dump_variable.  Adjust all callers.
(dump_var_slot): Renamed from dump_variable_slot.  Likewise.
* Makefile.in (var-tracking.o): Adjust deps.

* gcc.dg/guality/pr42782.c: New.

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

14 years ago * doc/tm.texi (TARGET_SCHED_SET_SCHED_FLAGS): Fix argument list.
amylaar [Wed, 20 Jan 2010 22:21:27 +0000 (22:21 +0000)]
* doc/tm.texi (TARGET_SCHED_SET_SCHED_FLAGS): Fix argument list.

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

14 years ago* g++.dg/parse/fn-typedef1.C: Add dg-do run.
jason [Wed, 20 Jan 2010 22:15:00 +0000 (22:15 +0000)]
* g++.dg/parse/fn-typedef1.C: Add dg-do run.

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

14 years ago PR c++/41788
jason [Wed, 20 Jan 2010 22:14:51 +0000 (22:14 +0000)]
PR c++/41788
* class.c (layout_class_type): Set packed_maybe_necessary for packed
non-PODs.

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

14 years ago PR c++/41920
jason [Wed, 20 Jan 2010 21:30:28 +0000 (21:30 +0000)]
PR c++/41920
* semantics.c (build_lambda_object): Call mark_used on captured
variables.

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

14 years ago PR c++/40750
jason [Wed, 20 Jan 2010 21:30:20 +0000 (21:30 +0000)]
PR c++/40750
* decl.c (grokdeclarator): Clear type_quals for a member function
declared using a typedef.  Don't complain about adding cv-quals
to a function typedef in C++0x mode.

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

14 years agoTestsuite cleanups for moxie.
green [Wed, 20 Jan 2010 14:17:00 +0000 (14:17 +0000)]
Testsuite cleanups for moxie.

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

14 years ago * zh_CN.po: Update.
jsm28 [Wed, 20 Jan 2010 13:15:55 +0000 (13:15 +0000)]
* zh_CN.po: Update.

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

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

PR tree-optimization/42717
* tree-ssa-dce.c (get_live_post_dom): Remove.
(forward_edge_to_pdom): Take an arbitrary edge to copy
degenerate PHI args from.
(remove_dead_stmt): Use the first post-dominator even if it
does not contain live statements as redirection destination.

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

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

14 years ago2010-01-20 Janis Johnson <janis187@us.ibm.com>
paolo [Wed, 20 Jan 2010 11:57:44 +0000 (11:57 +0000)]
2010-01-20  Janis Johnson  <janis187@us.ibm.com>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/21769
* testsuite/lib/dg-options.exp (add_options_for_no_pch): Add.
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
Use it.

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

14 years ago2010-01-20 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 20 Jan 2010 11:47:39 +0000 (11:47 +0000)]
2010-01-20  Richard Guenther  <rguenther@suse.de>

* tree-inline.c (estimate_num_insns): Handle EH builtins.

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

14 years ago * sel-sched.c (create_speculation_check): Remove set but not used
jakub [Wed, 20 Jan 2010 11:30:05 +0000 (11:30 +0000)]
* sel-sched.c (create_speculation_check): Remove set but not used
variable twin.
(try_transformation_cache): Remove set but not used variable ds.
(calculate_privileged_insns): Remove set but not used variables
cur_insn and min_spec_insn.
(find_best_expr): Remove set but not used variable avail_n.
* tree-predcom.c (base_names_in_chain_on): Remove set but not used
variable e.
* cgraphunit.c (assemble_thunk): Remove set but not used variable
false_label.
* haifa-sched.c (remove_notes): Remove set but not used variable prev.
* graphite-clast-to-gimple.c (gloog): Remove set but not used variable
new_scop_exit_edge.

* decl.c (create_array_type_for_decl): Remove set but not used
variable error_msg.  Remove break stmts after return stmts.

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

14 years ago PR bootstrap/42786
uros [Wed, 20 Jan 2010 11:27:49 +0000 (11:27 +0000)]
PR bootstrap/42786
* config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx
cpu types.  Add support for *-sse3 cpu types.
(x86_64-*-*): Ditto.

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

14 years ago PR middle-end/42803
jakub [Wed, 20 Jan 2010 11:08:24 +0000 (11:08 +0000)]
PR middle-end/42803
* varasm.c (narrowing_initializer_constant_valid_p): Add CACHE
argument, call initializer_constant_valid_p_1 instead of
initializer_constant_valid_p, pass CACHE to it, return NULL
immediately if first call returns NULL.
(initializer_constant_valid_p_1): New function.
(initializer_constant_valid_p): Use it.

* g++.dg/parse/limits-initializer1.C: New test.

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

14 years ago * jvspec.c (lang_specific_driver): Constify two variables named "p".
amylaar [Wed, 20 Jan 2010 10:35:38 +0000 (10:35 +0000)]
* jvspec.c (lang_specific_driver): Constify two variables named "p".

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

14 years ago * tree.def (PLACEHOLDER_EXPR): Fix comment.
ebotcazou [Wed, 20 Jan 2010 09:47:41 +0000 (09:47 +0000)]
* tree.def (PLACEHOLDER_EXPR): Fix comment.

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

14 years ago * jcf-parse.c (set_source_filename): Constify variable "dot".
amylaar [Wed, 20 Jan 2010 09:35:05 +0000 (09:35 +0000)]
* jcf-parse.c (set_source_filename): Constify variable "dot".
(load_class): Constify variable "separator".
Use get_identifier_with_length.

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

14 years ago * lang.c (java_post_options): Constify variable "dot".
amylaar [Wed, 20 Jan 2010 08:17:00 +0000 (08:17 +0000)]
* lang.c (java_post_options): Constify variable "dot".

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

14 years ago * dwarf2out.c (mem_loc_descriptor): Use DW_OP_mod for UMOD instead
jakub [Wed, 20 Jan 2010 08:13:50 +0000 (08:13 +0000)]
* dwarf2out.c (mem_loc_descriptor): Use DW_OP_mod for UMOD instead
of MOD, handle MOD using DW_OP_{over,over,div,mul,minus}.
(loc_list_from_tree): Don't handle unsigned division.  Handle
signed modulo using DW_OP_{over,over,div,mul,minus}.
* unwind-dw2.c (execute_stack_op): Handle DW_OP_mod using unsigned
modulo instead of signed.

* gcc.dg/cleanup-13.c: Expect DW_OP_mod to do unsigned modulo instead
of signed, add a few new tests.

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

14 years ago PR bootstrap/42812
amylaar [Wed, 20 Jan 2010 07:52:18 +0000 (07:52 +0000)]
PR bootstrap/42812
* gfortran.h  (struct gfc_namespace) <resolved>: Change to signed
bitfield of width 2.

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

14 years ago* config/h8300/h8300.c (F): Add "in_epilogue" flag.
dj [Wed, 20 Jan 2010 05:58:59 +0000 (05:58 +0000)]
* config/h8300/h8300.c (F): Add "in_epilogue" flag.
(Fpa): Pass it
(h8300_emit_stack_adjustment): Propogate it.
(push): Pass it.
(h8300_expand_prologue): Likewise.
(h8300_expand_epilogue): Likewise.

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

14 years ago * module.c (mio_f2k_derived): Use enumerator as initializer of
amylaar [Wed, 20 Jan 2010 05:39:12 +0000 (05:39 +0000)]
* module.c (mio_f2k_derived): Use enumerator as initializer of
enum variable.

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

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

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

14 years agogcc/fortran/
janus [Tue, 19 Jan 2010 22:21:35 +0000 (22:21 +0000)]
gcc/fortran/
2010-01-19  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42804
* resolve.c (extract_compcall_passed_object): Set locus for
passed-object argument.
(extract_ppc_passed_object): Set locus and correctly remove PPC
reference.

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

PR fortran/42804
* gfortran.dg/proc_ptr_comp_pass_6.f90: New test.
* gfortran.dg/typebound_call_12.f03: New test.

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

14 years ago2010-01-19 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 19 Jan 2010 19:46:59 +0000 (19:46 +0000)]
2010-01-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42783
* trans-decl.c (add_argument_checking): Do not use the backend
decl directly to test for the presence of an optional dummy
argument.  Use gfc_conv_expr_present, remembering to set the
symbol referenced.

PR fortran/42772
* trans-decl.c (gfc_generate_function_code): Small white space
changes. If 'recurcheckvar' is NULL do not try to reset it.

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

PR fortran/42783
* gfortran.dg/bounds_check_15.f90 : New test.

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

14 years ago2010-01-19 Matthias Klose <doko@ubuntu.com>
doko [Tue, 19 Jan 2010 16:42:47 +0000 (16:42 +0000)]
2010-01-19  Matthias Klose  <doko@ubuntu.com>

        * Regenerate .class files.
        * classpath/lib/java/security/VMSecureRandom*.class: Remove.

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

14 years ago PR tree-optimization/41783
matz [Tue, 19 Jan 2010 16:05:57 +0000 (16:05 +0000)]
PR tree-optimization/41783
* tree-data-ref.c (toplevel): Include flags.h.
(dump_data_dependence_relation):  Also dump the inputs if the
result will be unknown.
(split_constant_offset_1): Look through some conversions.
* tree-predcom.c (determine_roots_comp): Restart a new chain if
the offset from last element is too large.
(ref_at_iteration): Deal also with MISALIGNED_INDIRECT_REF.
(reassociate_to_the_same_stmt): Handle vector registers.
* tree-vect-data-refs.c (vect_equal_offsets): Handle unary operations
(e.g. conversions).
* tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add
wide_prolog_niters argument, emit widening instructions.
(vect_do_peeling_for_alignment): Adjust caller, use widened
variant of the iteration cound.
* Makefile.in (tree-data-ref.o): Add $(FLAGS_H).

testsuite/
* gfortran.dg/vect/fast-math-mgrid-resid.f: New.

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

14 years agoFix target/38697
ramana [Tue, 19 Jan 2010 14:21:14 +0000 (14:21 +0000)]
Fix target/38697

2010-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       PR target/38697
       * config/arm/neon-testgen.m (emit_automatics): New parameter
features. Adjust for Fixed_return_reg feature.
(test_intrinsic): Call emit_automatics with new feature.
       * config/arm/neon.ml: Update copyright years.
(features): New Fixed_return_reg feature.
(ops): Update feature for Vget_low.

2010-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

PR target/38697.
* gcc.target/arm/neon/vget_lowf32.c: Regenerate.
* gcc.target/arm/neon/vget_lowp16.c: Likewise.
* gcc.target/arm/neon/vget_lowp8.c:  Likewise.
* gcc.target/arm/neon/vget_lows16.c: Likewise.
* gcc.target/arm/neon/vget_lows32.c: Likewise.
* gcc.target/arm/neon/vget_lows64.c: Likewise.
* gcc.target/arm/neon/vget_lows8.c: Likewise.
* gcc.target/arm/neon/vget_lowu16.c: Likewise.
* gcc.target/arm/neon/vget_lowu32.c: Likewise.
* gcc.target/arm/neon/vget_lowu64.c: Likewise.
* gcc.target/arm/neon/vget_lowu8.c: Likewise.

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

14 years agogcc/fortran/
janus [Tue, 19 Jan 2010 13:45:07 +0000 (13:45 +0000)]
gcc/fortran/
2010-01-19  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42545
* resolve.c (resolve_fl_derived): Set the accessibility of the parent
component for extended types.
* symbol.c (gfc_find_component): Remove a wrongly-worded error message
and take care of parent component accessibility.

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

PR fortran/42545
* gfortran.dg/extends_6.f03: Modified an error message.
* gfortran.dg/extends_10.f03: New test.
* gfortran.dg/private_type_6.f03: Modified an error message.
* gfortran.dg/structure_constructor_8.f03: Ditto.

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

14 years ago PR tree-optimization/42719
jakub [Tue, 19 Jan 2010 12:39:42 +0000 (12:39 +0000)]
PR tree-optimization/42719
* tree-outof-ssa.c (trivially_conflicts_p): Don't consider debug
stmt uses.

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

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

14 years ago PR debug/42728
jakub [Tue, 19 Jan 2010 12:38:25 +0000 (12:38 +0000)]
PR debug/42728
* fwprop.c (all_uses_available_at): Return false if def_set dest
is a REG that is used in def_insn.

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

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

14 years ago2010-01-19 Johannes Singler <singler@kit.edu>
singler [Tue, 19 Jan 2010 11:18:03 +0000 (11:18 +0000)]
2010-01-19  Johannes Singler  <singler@kit.edu>

        PR libstdc++/42712
        * include/parallel/settings.h (_Settings): Add search_minimal_n.
        * include/parallel/algo.h (__search_switch):
        Add serial fallback for too small inputs.
        (__search_n_switch): Likewise.  Call serial fallback on higher level
        to gain special treatment for __count 0 or 1.
        * testsuite/25_algorithms/search_n/iterator.cc:
        Reenable full test depth for parallel mode.

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

14 years ago * target.h (struct gcc_target) <secondary_reload>: Change type
amylaar [Tue, 19 Jan 2010 08:22:22 +0000 (08:22 +0000)]
* target.h (struct gcc_target) <secondary_reload>: Change type
of last argument to secondary_reload_info *.

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

14 years ago * doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names.
amylaar [Tue, 19 Jan 2010 05:46:27 +0000 (05:46 +0000)]
* doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names.

(TARGET_CC_MODES_COMPATIBLE): Put return value in braces.
Add argument names.

(TARGET_SCHED_INIT_SCHED_CONTEXT): Clarify language.

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

14 years agoExpect 20040204-1 to pass on moxie.
green [Tue, 19 Jan 2010 05:34:19 +0000 (05:34 +0000)]
Expect 20040204-1 to pass on moxie.

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

14 years agoFix asm-3.c test for moxie.
green [Tue, 19 Jan 2010 05:19:26 +0000 (05:19 +0000)]
Fix asm-3.c test for moxie.

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

14 years agoDaily bump.
gccadmin [Tue, 19 Jan 2010 00:17:29 +0000 (00:17 +0000)]
Daily bump.

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

14 years agoRevert fix of PR c++/
dodji [Mon, 18 Jan 2010 23:14:01 +0000 (23:14 +0000)]
Revert fix of PR c++/

gcc/cp/ChangeLog:
* error.c (dump_template_parms, count_non_default_template_args):
Revert fix of PR c++/42634.

gcc/testsuite/ChangeLog:
* g++.dg/template/error45.C: reverted as part of reverting the
fix of PR c++/42634.

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

14 years ago2010-01-18 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 18 Jan 2010 21:32:40 +0000 (21:32 +0000)]
2010-01-18  Andreas Tobler  <andreast@fgznet.ch>

* tools/Makefile.am (GJDOC_EX): Use find -name pattern -prune -o.
* tools/Makefile.in: Regenerate.

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

14 years agoFix PR c++/42634
dodji [Mon, 18 Jan 2010 21:18:49 +0000 (21:18 +0000)]
Fix PR c++/42634

gcc/cp/ChangeLog:
    PR c++/42634
    * error.c (dump_template_parms): Use innermost template
    arguments before calling count_non_default_template_args.
    (count_non_default_template_args): We are being called with
    template innermost arguments now. There is no need to ensure
    that again.

gcc/testsuite/ChangeLog:
    PR c++/42634
    * g++.dg/template/error45.C: New test.

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

14 years agoFix PR c++/42766
dodji [Mon, 18 Jan 2010 19:11:24 +0000 (19:11 +0000)]
Fix PR c++/42766

gcc/cp/ChangeLog:
PR c++/42766
* cvt.c (build_expr_type_conversion): Look through OVERLOAD.

gcc/testsuite/ChangeLog:
PR c++/42766
* g++.dg/conversion/op6.C: New test.

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

14 years ago * gcc-interface/utils.c (create_var_decl_1): Fix formatting nits.
ebotcazou [Mon, 18 Jan 2010 17:55:03 +0000 (17:55 +0000)]
* gcc-interface/utils.c (create_var_decl_1): Fix formatting nits.

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

14 years ago PR target/42774
uros [Mon, 18 Jan 2010 17:46:17 +0000 (17:46 +0000)]
PR target/42774
* config/alpha/predicates.md (aligned_memory_operand): Return 0 for
memory references with unaligned offsets.  Remove CQImode handling.
(unaligned_memory_operand): Return 1 for memory references with
unaligned offsets.  Remove CQImode handling.

testsuite/ChangeLog:

PR target/42774
* gcc.target/alpha/pr42774.c: New test.

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

14 years ago PR middle-end/42068
hubicka [Mon, 18 Jan 2010 17:19:13 +0000 (17:19 +0000)]
PR middle-end/42068
* gcc-interface/utils.c (create_var_decl_1): Do not set COMMON flag for
unit local variables.

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

14 years ago PR middle-end/42068
hubicka [Mon, 18 Jan 2010 15:42:05 +0000 (15:42 +0000)]
PR middle-end/42068
(create_var_decl_1): Do not set COMMON flag for unit local variables.

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

14 years ago * zh_CN.po: Update.
jsm28 [Mon, 18 Jan 2010 13:28:09 +0000 (13:28 +0000)]
* zh_CN.po: Update.

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

14 years ago2010-01-18 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 18 Jan 2010 12:59:50 +0000 (12:59 +0000)]
2010-01-18  Richard Guenther  <rguenther@suse.de>

PR middle-end/39954
* cfgexpand.c (expand_call_stmt): TER pointer arguments in
builtin calls.

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

14 years ago2010-01-18 Daniel Frey <d.frey@gmx.de>
paolo [Mon, 18 Jan 2010 10:41:30 +0000 (10:41 +0000)]
2010-01-18  Daniel Frey  <d.frey@gmx.de>

* include/std/functional (_Bind<_Functor(_Bound_args...)>::
operator()): "Pass" _Result to __call*.
(_Bind<_Functor(_Bound_args...)>::__call*): Adjust, simplify.

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

14 years ago2010-01-18 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 18 Jan 2010 09:57:11 +0000 (09:57 +0000)]
2010-01-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42781
* tree-ssa-structalias.c (find_what_var_points_to): Skip
restrict processing only if the original variable was
artificial.

* gfortran.fortran-torture/compile/pr42781.f90: New testcase.

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

14 years ago * MAINTAINERS: reindented my entry with tabs instead of spaces.
tlafage [Mon, 18 Jan 2010 09:33:39 +0000 (09:33 +0000)]
   * MAINTAINERS: reindented my entry with tabs instead of spaces.

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

14 years ago2010-01-18 Johannes Singler <singler@kit.edu>
singler [Mon, 18 Jan 2010 08:44:45 +0000 (08:44 +0000)]
2010-01-18  Johannes Singler  <singler@kit.edu>

        * include/parallel/base.h (__unary_negate): Correct comment.

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

14 years ago * toplev.c (default_get_pch_validity): Rename argument to "sz".
amylaar [Mon, 18 Jan 2010 05:46:19 +0000 (05:46 +0000)]
* toplev.c (default_get_pch_validity): Rename argument to "sz".
* doc/tm.texi (TARGET_GET_PCH_VALIDITY): Likewise.

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

14 years ago * doc/tm.texi (TARGET_ASM_FUNCTION_EPILOGUE): Update text on where to
amylaar [Mon, 18 Jan 2010 02:47:16 +0000 (02:47 +0000)]
* doc/tm.texi (TARGET_ASM_FUNCTION_EPILOGUE): Update text on where to
find number of popped argument bytes.

(TARGET_INVALID_WITHIN_DOLOOP): Put return value in braces.
Fix the text that describes the return value for invalid insns.

(TARGET_SCHED_NEEDS_BLOCK_P): Fix return type.  Fix argument list.

(TARGET_SCHED_IS_COSTLY_DEPENDENCE): Fix argument types.
Clarify what 'cost of the -dependence' is.  Fix quoting.

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

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

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

14 years ago2010-01-17 Laurent GUERBY <laurent@guerby.net>
guerby [Sun, 17 Jan 2010 20:45:50 +0000 (20:45 +0000)]
2010-01-17  Laurent GUERBY  <laurent@guerby.net>

* gcc-interface/Makefile.in: Fix typo in arm*-*-linux-gnueabi.

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

14 years ago * dwarf2out.c (mem_loc_descriptor): Don't ICE on
jakub [Sun, 17 Jan 2010 20:43:15 +0000 (20:43 +0000)]
* dwarf2out.c (mem_loc_descriptor): Don't ICE on
{S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.

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