OSDN Git Service

pf3gnuchains/gcc-fork.git
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

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

PR middle-end/42248
* function.c (split_complex_args): Take a VEC to modify.
(assign_parms_augmented_arg_list): Build a VEC instead of
a chain of PARM_DECLs.
(assign_parms_unsplit_complex): Take a VEC of arguments.
Do not fixup unmodified parms.
(assign_parms): Deal with the VEC.
(gimplify_parameters): Likewise.

* gcc.c-torture/execute/pr42248.c: New testcase.

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

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

* tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI
node existence check.
* tree-vect-loop.c (vect_analyze_loop_form): Likewise.
* tree-cfgcleanup.c (merge_phi_nodes): Likewise.
* tree-ssa-dce.c (forward_edge_to_pdom): Likewise.
* tree-cfg.c (gimple_execute_on_growing_pred): Likewise.
(gimple_execute_on_growing_pred): Likewise.

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

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

PR tree-optimization/42773
* tree-ssa-pre.c (phi_translate_set): Fix check for PHI node existence.
(compute_antic_aux): Likewise.
(compute_partial_antic_aux): Likewise.

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

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

14 years ago * doc/tm.texi (TARGET_OPTION_PRINT): Fix argument list.
amylaar [Sun, 17 Jan 2010 15:26:16 +0000 (15:26 +0000)]
* doc/tm.texi (TARGET_OPTION_PRINT): Fix argument list.

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

14 years agogcc/fortran/
janus [Sun, 17 Jan 2010 13:33:11 +0000 (13:33 +0000)]
gcc/fortran/
2010-01-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42677
* gfortran.h (symbol_attribute): Remove 'ambiguous_interfaces'.
* interface.c (check_interface1): Move a warning message here from
resolve_fl_procedure.
(check_sym_interfaces): Removed 'attr.ambiguous_interfaces'.
* module.c (read_module): Remove call to gfc_check_interfaces, since
this comes too early here.
* resolve.c (resolve_fl_procedure): Move warning message to
check_interface1.

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

PR fortran/42677
* gfortran.dg/interface_assignment_5.f90: New test.

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

14 years ago2010-01-16 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 17 Jan 2010 13:29:41 +0000 (13:29 +0000)]
2010-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
Rename const version to __call_c and remove _Sfinae template
parameter.
(_Bind<_Functor(_Bound_args...)>::operator()): Adjust.

* include/std/functional: Pass everywhere temporary tuple<_Args...>
arguments by rvalue reference.

* testsuite/20_util/bind/cv_quals.cc: New.

* testsuite/20_util/bind/ref2.cc: Add missing test variables.

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

14 years ago * sv.po: Update.
jsm28 [Sun, 17 Jan 2010 12:56:37 +0000 (12:56 +0000)]
* sv.po: Update.

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

14 years agoRevert PR c++/42697
dodji [Sun, 17 Jan 2010 10:38:10 +0000 (10:38 +0000)]
Revert PR c++/42697

     The commit is reverted as this was not a regression.
     It's rather going to be stagged for 4.6.

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

14 years agoFix PR c++/42697
dodji [Sun, 17 Jan 2010 10:24:16 +0000 (10:24 +0000)]
Fix PR c++/42697

gcc/cp/ChangeLog:
PR c++/42697
*pt.c (tsubst_decl): Get the arguments of a specialization from
the specialization template, not from the most general template.

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

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

14 years ago PR debug/42767
jiez [Sun, 17 Jan 2010 10:19:22 +0000 (10:19 +0000)]
PR debug/42767
* dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE
and US_TRUNCATE.

testsuite/
PR debug/42767
* gcc.dg/debug/pr42767.c: New.

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

14 years ago (TARGET_BUILTIN_RECIPROCAL): Fix argument types.
amylaar [Sun, 17 Jan 2010 08:12:27 +0000 (08:12 +0000)]
(TARGET_BUILTIN_RECIPROCAL): Fix argument types.
Rename argument tm_fn to md_fn.

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

14 years ago * doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
amylaar [Sun, 17 Jan 2010 08:04:52 +0000 (08:04 +0000)]
* doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
appearance.

(TARGET_LEGITIMATE_ADDRESS_P): Add return type.
Fix markup for strict argument.

(TARGET_SCHED_REORDER2): Fix argument types.

(TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type.
(TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise.

(TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name.
(TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise.

(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD):
Add argument name.

(TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation.
(TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise.
(TARGET_SCHED_SET_SCHED_CONTEXT): Likewise.
(TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise.
(TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise.

(TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo.

(TARGET_SCHED_GEN_SPEC_CHECK): Fix name.

(TARGET_ASM_RELOC_RW_MASK): Add return type.
(TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type.

(TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter.

(TARGET_ASM_FILE_START): Put @findex before paragraph start.
Use prototype.

(TARGET_ASM_NAMED_SECTION): Fix argument list.

(TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr.
(TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise.

(TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr.

(TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types.

(TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup
referring to it.  Fix language.

(TARGET_HAVE_CTORS_DTORS): Use @deftypevr.

(TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument.

(TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types.

(TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument.

(TARGET_UNWIND_EMIT): Remove space between 'FILE *' and
'@var{stream}.  Remove stray 'and'.

(TARGET_ARM_EABI_UNWINDER): Use @deftypevr.

(TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument.

(TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article.

(TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was
misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P.

(TARGET_GET_PCH_VALIDITY): Put 'void *' in braces.
Fix description of return value.
Rename argument "sz" to "len."

(TARGET_CXX_GUARD_MASK_BIT): Add missing article.
Clarify meaning of 'true' return value.

(TARGET_SHIFT_TRUNCATION_MASK): Fix return type.

(TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of
rep_mode versus mode_rep.

(TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document.

(TARGET_BUILTIN_DECL): Fix name.

(TARGET_COMMUTATIVE_P): Fix type of first argument.

(TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL.

(TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type.

(TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook.

(TARGET_RELAXED_ORDERING): Use @deftypevr.

(TARGET_GET_DRAP_RTX): Note that this is a hook.
Clarify language.

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

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

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

14 years ago PR c++/42761
jason [Sat, 16 Jan 2010 15:23:19 +0000 (15:23 +0000)]
PR c++/42761
* semantics.c (finish_decltype_type): Within a template, treat
unresolved CALL_EXPR as dependent.

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

14 years agoFix PR 35942: remove -lstdc++ from libtool postdeps for CXX.
rwild [Sat, 16 Jan 2010 14:46:57 +0000 (14:46 +0000)]
Fix PR 35942: remove -lstdc++ from libtool postdeps for CXX.

libstdc++-v3/:
PR libstdc++/35942
* configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
* configure: Regenerate.

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

14 years agoFix PR42664.
spop [Sat, 16 Jan 2010 14:46:19 +0000 (14:46 +0000)]
Fix PR42664.

2010-01-16  Harsha Jagasia  <harsha.jagasia@amd.com>

PR target/42664
* config/i386/i386.c (ix86_fixup_binary_operands):
Revert FMA4 fixup of operands.

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

14 years agoAvoid tr '\n', for Solaris /usr/bin/tr.
rwild [Sat, 16 Jan 2010 14:42:32 +0000 (14:42 +0000)]
Avoid tr '\n', for Solaris /usr/bin/tr.

contrib/
* check_warning_flags.sh: Use \012 instead of \n with tr.

gcc/:
PR gcc/42525
* Makefile.in (write_entries_to_file, install-plugin):
Use \012 instead of \n with tr.

libjava/:
* Makefile.am (write_entries_to_file): Use \012 instead of \n
with tr.
* scripts/makemake.tcl: Likewise.
* sources.am: Regenerate.
* Makefile.in: Regenerate.

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

14 years agogcc/
rsandifo [Sat, 16 Jan 2010 12:14:09 +0000 (12:14 +0000)]
gcc/
* configure.ac (HAVE_AS_REF): New C macro.
* configure: Regenerate.
* config.in: Likewise.
* collect2.c (main): Only postpone SCAN_DWEH to the second pass
if HAVE_AS_REF.
* config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define
if HAVE_AS_REF.

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

14 years ago PR middle-end/42760
jakub [Sat, 16 Jan 2010 09:45:53 +0000 (09:45 +0000)]
PR middle-end/42760
* g++.dg/torture/pr42760.C: New test.

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

14 years ago * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.
amylaar [Sat, 16 Jan 2010 02:39:40 +0000 (02:39 +0000)]
* doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.

(TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types.

(TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types.

(TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces.

(TARGET_IN_SMALL_DATA_P): Fix argument type.

(TARGET_BINDS_LOCAL_P): Fix argument type.

(TARGET_ASM_FILE_END): Use prototype.

(TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces.

(TARGET_DWARF_CALLING_CONVENTION): Fix argument type.

(TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types.

(TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type.

(TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces.
(TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise.

(TARGET_PCH_VALID_P): Put 'const char *' in braces.
(TARGET_CHECK_PCH_TARGET_FLAGS): Likewise.

(TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces.
(TARGET_ADDR_SPACE_SUBSET_P): Likewise.
(TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces.
(TARGET_ADDR_SPACE_CONVERT): Likewise.

(TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces.

(TARGET_MACHINE_DEPENDENT_REORG: Use prototype.

(TARGET_INIT_BUILTINS): Use prototype.

(TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
Put 'const char *' in braces.  Fix parameter types.
(TARGET_INVALID_CONVERSION): Fix parameter types.
(TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise.
(TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise.

(TARGET_PROMOTED_TYPE): Remove braces around 'tree'.
Fix argument type.

(TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'.

(TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'.

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

14 years ago * doc/tm.texi (TARGET_HELP): Fix return type.
amylaar [Sat, 16 Jan 2010 00:36:34 +0000 (00:36 +0000)]
* doc/tm.texi (TARGET_HELP): Fix return type.

(TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode'
in braces.  Fix argument types.

(TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype.

(TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype.

(TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type.

(TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces.
(TARGET_FIXED_POINT_SUPPORTED_P): Likewise.

(TARGET_MANGLE_TYPE): Fix argument types.

(TARGET_IRA_COVER_CLASSES): Use prototype.

(TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type.  Use prototype.

(TARGET_CAN_ELIMINATE): Use identifiers for argument names.

(TARGET_PROMOTE_PROTOTYPES): Fix argument type.

(TARGET_MUST_PASS_IN_STACK): Fix argument type.

(TARGET_CALLEE_COPIES): Fix argument types.

(TARGET_SPLIT_COMPLEX_ARG): Fix argument type.

(TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types.

(TARGET_FUNCTION_VALUE): Fix argument types.

(TARGET_RETURN_IN_MSB): Fix argument type.

(TARGET_RETURN_IN_MEMORY): Fix argument types.

(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types.

(TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type.

(TARGET_STRICT_ARGUMENT_NAMING): Make literal in text
agree with return type.

(TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype.

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

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

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

14 years ago2010-01-15 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Fri, 15 Jan 2010 23:36:58 +0000 (23:36 +0000)]
2010-01-15  Phil Muldoon  <pmuldoon@redhat.com>

* python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
Remove encoding argument.
(StdStringPrinter.to_string): Do not compute or pass encoding.
Use lazy_string over string function.

--this line, and those below, will be ignored--

M    libstdc++-v3/python/libstdcxx/v6/printers.py
M    libstdc++-v3/ChangeLog

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

14 years ago2010-01-15 Jing Yu <jingyu@google.com>
jingyu [Fri, 15 Jan 2010 21:54:01 +0000 (21:54 +0000)]
2010-01-15  Jing Yu  <jingyu@google.com>

PR rtl-optimization/42691
        * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
a pseudo to a constant and are merged, and adjust comments.

2010-01-15  Jing Yu  <jingyu@google.com>

PR rtl-optimization/42691
* gcc.c-torture/execute/pr42691.c: New.

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

14 years agoRevert revision 155944 due to the broken testcase.
jingyu [Fri, 15 Jan 2010 21:38:20 +0000 (21:38 +0000)]
Revert revision 155944 due to the broken testcase.

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

14 years ago2010-01-15 Jing Yu <jingyu@google.com>
jingyu [Fri, 15 Jan 2010 18:47:45 +0000 (18:47 +0000)]
2010-01-15  Jing Yu  <jingyu@google.com>

PR rtl-optimization/42691
* combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
a pseudo to a constant and are merged, and adjust comments.

2010-01-15  Jing Yu  <jingyu@google.com>

PR rtl-optimization/42691
* gcc.c-torture/execute/pr42691.c: New.

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

14 years ago * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo.
ebotcazou [Fri, 15 Jan 2010 17:54:23 +0000 (17:54 +0000)]
* config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo.

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

14 years ago * MAINTAINERS (Write After Approval): Add myself
tlafage [Fri, 15 Jan 2010 16:43:58 +0000 (16:43 +0000)]
    * MAINTAINERS (Write After Approval): Add myself

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

14 years ago Add PR number to ChangeLog.
jvdelisle [Fri, 15 Jan 2010 15:55:24 +0000 (15:55 +0000)]
Add PR number to ChangeLog.

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

14 years ago2010-01-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Jan 2010 15:52:28 +0000 (15:52 +0000)]
2010-01-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

* io/format.c (parse_format): Set limit on size of format strings that
will be cached.

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

14 years ago * MAINTAINERS (Write After Approval): Add myself.
trifunovic [Fri, 15 Jan 2010 12:12:22 +0000 (12:12 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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

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

PR middle-end/42739
* tree-cfgcleanup.c (remove_forwarder_block): Move destination
labels of computed or non-local gotos to the destination.
* tree-cfg.c (gimple_verify_flow_info): Verify that a EH
landing pad label is the first label.

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

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

14 years agoRevert commit of PR c++/42634, which was commit r155868
dodji [Fri, 15 Jan 2010 11:23:29 +0000 (11:23 +0000)]
Revert commit of PR c++/42634, which was commit r155868

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

14 years ago2010-01-15 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 15 Jan 2010 10:34:24 +0000 (10:34 +0000)]
2010-01-15  Richard Guenther  <rguenther@suse.de>

* tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.

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

14 years ago2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Jan 2010 02:06:23 +0000 (02:06 +0000)]
2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/42684
* gfortran.dg/interface_31.f90: New test.

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

14 years ago2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Jan 2010 01:47:43 +0000 (01:47 +0000)]
2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/42684
* interface.c (check_interface1): Pass symbol name rather than NULL to
gfc_compare_interfaces. (gfc_compare_interfaces): Add assert to
trap MULL.
* resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
than NULL to gfc_compare_interfaces.

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

14 years agoDaily bump.
gccadmin [Fri, 15 Jan 2010 00:19:26 +0000 (00:19 +0000)]
Daily bump.

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

14 years agoFix 42747, make -mvsx enable sqrt
meissner [Thu, 14 Jan 2010 22:52:02 +0000 (22:52 +0000)]
Fix 42747, make -mvsx enable sqrt

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

14 years ago PR middle-end/42674
jakub [Thu, 14 Jan 2010 22:43:56 +0000 (22:43 +0000)]
PR middle-end/42674
* c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
functions with noreturn attribute.

* decl.c (finish_function): Don't emit -Wreturn-type warnings in
functions with noreturn attribute.

* c-c++-common/pr42674.c: New test.

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

14 years ago PR c++/42608
jakub [Thu, 14 Jan 2010 22:41:02 +0000 (22:41 +0000)]
PR c++/42608
* varasm.c (declare_weak): Add weak attribute to decl if it
doesn't have one already.
(assemble_external): Only add decls to weak_decls if they also
have weak attribute.

* g++.dg/template/instantiate11.C: New test.

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

14 years ago * var-tracking.c (var_reg_delete): Don't delete the association
jakub [Thu, 14 Jan 2010 22:39:25 +0000 (22:39 +0000)]
* var-tracking.c (var_reg_delete): Don't delete the association
between REGs and values or one-part variables if the register
isn't clobbered.

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

14 years ago PR debug/42657
jakub [Thu, 14 Jan 2010 22:38:29 +0000 (22:38 +0000)]
PR debug/42657
* tree-inline.c (copy_debug_stmt): Don't reset debug stmt just
because its first operand is a non-localized variable.

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

14 years ago PR c++/42701
jason [Thu, 14 Jan 2010 22:32:24 +0000 (22:32 +0000)]
PR c++/42701
* call.c (build_new_method_call): Don't free the vec here.

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

14 years ago PR c++/42655
jason [Thu, 14 Jan 2010 20:21:58 +0000 (20:21 +0000)]
PR c++/42655
* call.c (convert_like_real): Do full decay_conversion for ck_rvalue.

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

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

* include/c_std/cstring (memchr): Forward to the builtin.
* include/c_std/cstring: Remove redundant casts; use names consistent
with the letter of the Standard.
* include/c_global/cstring: Likewise.

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

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

PR tree-optimization/42706
* tree-sra.c (encountered_recursive_call): New variable.
(encountered_unchangable_recursive_call): Likewise.
(sra_initialize): Initialize both new variables.
(callsite_has_enough_arguments_p): New function.
(scan_function): Call decl and flags check only for IPA-SRA, check
whether there is a recursive call and whether it has enough arguments.
(all_callers_have_enough_arguments_p): New function.
(convert_callers): Look for recursive calls only when
encountered_recursive_call is set.
(ipa_early_sra): Bail out either if
!all_callers_have_enough_arguments_p or
encountered_unchangable_recursive_call.

* testsuite/gcc.dg/ipa/pr42706.c: New testcase.

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

14 years agoUse __SIZE_TYPE__ to define size_t.
hjl [Thu, 14 Jan 2010 14:45:47 +0000 (14:45 +0000)]
Use __SIZE_TYPE__ to define size_t.

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

* g++.dg/graphite/pr42681.C (size_t): Use __SIZE_TYPE__.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 13:50:09 +0000 (13:50 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched.c: Add 2010 to copyright years.
* sel-sched-ir.c: Likewise.
* sel-sched-ir.h: Likewise.

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

14 years ago2010-01-14 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 14 Jan 2010 13:29:44 +0000 (13:29 +0000)]
2010-01-14  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42714
* tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type
constructors specially.

* gcc/testsuite/g++.dg/torture/pr42714.C: New test.

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

14 years ago2010-01-14 Andi Kleen <ak@linux.intel.com>
uros [Thu, 14 Jan 2010 12:48:09 +0000 (12:48 +0000)]
2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (detect_caches_intel):
Add l2sizekb parameter and fill in.
(host_detect_local_cpu): Add l2sizekb, fill in.
Add Atom small cache heuristic.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (detect_caches_cpuid4):
Add level3 parameter and fill in.
(detect_caches_intel): Handle level3 cache.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (host_detect_local_cpu):
Fix core duo detection.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (host_detect_local_cpu):
Fix Atom detection.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:27:11 +0000 (11:27 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* config/rs6000/rs6000.c (rs6000_variable_issue): Rename to...
(rs6000_variable_issue_1): this.  Use...
(rs6000_variable_issue): here.  Reimplement.  Print debug info.

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