OSDN Git Service

pf3gnuchains/gcc-fork.git
15 years ago * MAINTAINERS: Add myself as non-algorithmic global write
ian [Thu, 14 Jun 2007 13:56:46 +0000 (13:56 +0000)]
* MAINTAINERS: Add myself as non-algorithmic global write
maintainer.

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

15 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
hjl [Thu, 14 Jun 2007 13:27:32 +0000 (13:27 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Fix earlier checkin.
* configure: Regenerated.

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

15 years ago * MAINTAINERS: Add self as middle-end maintainer and
dnovillo [Thu, 14 Jun 2007 13:15:24 +0000 (13:15 +0000)]
* MAINTAINERS: Add self as middle-end maintainer and
non-algorithmic global write maintainer.

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

15 years ago2007-06-14 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 14 Jun 2007 13:04:05 +0000 (13:04 +0000)]
2007-06-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32302
* trans-common.c (build_common_decl): If resizing of common
decl is needed, update the TREE_TYPE.

2007-06-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32302
* gfortran.dg/common_resize_1.f90: New test.

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

15 years ago2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 14 Jun 2007 12:44:43 +0000 (12:44 +0000)]
2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

* configure.ac: Fix a typo in --enable-checking=.
* configure: Regenerated.

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

15 years ago * MAINTAINERS: Change spelling from "fortran 95" to "Fortran".
fxcoudert [Thu, 14 Jun 2007 12:30:28 +0000 (12:30 +0000)]
* MAINTAINERS: Change spelling from "fortran 95" to "Fortran".
Move all Fortran maintainers except Paul Brook into the
Non-Autopoiesis section.

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

15 years ago PR target/32274
dorit [Thu, 14 Jun 2007 09:39:31 +0000 (09:39 +0000)]
    PR target/32274
        * gcc.dg/vect/pr32224.c: Fix.

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

15 years agoAdd new tests.
charlet [Thu, 14 Jun 2007 09:24:07 +0000 (09:24 +0000)]
Add new tests.

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

15 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 14 Jun 2007 08:50:28 +0000 (08:50 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile.
(distclean-stage[+id+]): Possibly delete stage_last.
* Makefile.in: Regenerate.

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

15 years agogcc:
bonzini [Thu, 14 Jun 2007 08:10:41 +0000 (08:10 +0000)]
gcc:
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

        * acinclude.m4 (gcc_AC_CHECK_PROG_VER): Remove.
        * aclocal.m4: Regenerate.
        * configure.ac: Use ACX_PROG_CC_WARNING_OPTS,
        ACX_PROG_CC_WARNINGS_ARE_ERRORS,
        ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_CHECK_PROG_VER.
* configure: Regenerate.
        * Makefile.in (LOOSE_WARN): Subst loose_warn.

        * Makefile.in (quickstrap): Build libgcc too.

libiberty:
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

        * aclocal.m4: Include config/warnings.m4.
        * configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
* configure: Regenerate.

config:
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

        * acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines.

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

15 years agosvn missed the changelog for previous rev...
bonzini [Thu, 14 Jun 2007 07:54:21 +0000 (07:54 +0000)]
svn missed the changelog for previous rev...

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

15 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 14 Jun 2007 07:51:58 +0000 (07:51 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Add --enable-checking=df.  Explicitly mention that
the variables are initialized as for "release".
* df-core.c: Use it.
* configure: Regenerate.
* config.in: Regenerate.

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

15 years ago * config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Use
bwilson [Thu, 14 Jun 2007 04:49:42 +0000 (04:49 +0000)]
    * config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Use
        validate_replace_rtx instead of replace_rtx.
        (xtensa_expand_prologue): Call df_insn_rescan after replace_rtx.

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

15 years agoChangeLog/libgcc
dannysmith [Thu, 14 Jun 2007 02:38:37 +0000 (02:38 +0000)]
ChangeLog/libgcc

2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>

* config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
extra_parts. Add config/i386/t-cygming to tmake_file.
* config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.

ChangeLog/gcc

2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>

* config/i386/cygming.h (DWARF_FRAME_REGNUM): Define.
(DWARF2_UNWIND_INFO): Override default if configured with
SJLJ EH disabled.
* config/i386/cygwin.h (STARTFILE_SPEC): Add crtbegin.o.
(ENDFILE_SPEC): Add crtend.o.
* config/i386/mingw32.h (STARTFILE_SEC): Add crtbegin.o.
(ENDFILE_SPEC): Add crtend.o.
(TARGET_USE_JCR_SECTION): Define.
(MD_UNWIND_SUPPORT): Define for 32-bit target.

* config/i386/cygming-crtbegin.c: New file.
* config/i386/cygming-crtend.c: New file.

2007-06-14  Pascal Obry Pascal Obry  <obry@adacore.com>

* config/i386/w32-unwind.h: New file.

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

15 years ago2007-06-13 Eric Christopher <echristo@apple.com>
echristo [Thu, 14 Jun 2007 01:53:17 +0000 (01:53 +0000)]
2007-06-13  Eric Christopher  <echristo@apple.com>

    * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Don't let
    the user set a value below STACK_BOUNDARY.

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

15 years ago2007-06-13 Eric Christopher <echristo@apple.com>
echristo [Thu, 14 Jun 2007 01:24:28 +0000 (01:24 +0000)]
2007-06-13  Eric Christopher  <echristo@apple.com>

    * gcc.target/i386/ssefn-1.c: Add -march=i386.

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

15 years agoDaily bump.
gccadmin [Thu, 14 Jun 2007 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago * config/mips/linux.h, config/mips/linux64.h (LIB_SPEC): Always
ths [Wed, 13 Jun 2007 23:22:29 +0000 (23:22 +0000)]
* config/mips/linux.h, config/mips/linux64.h (LIB_SPEC): Always
imply -lpthread for -pthread.

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

15 years ago * tree-ssa-pre.c (mergephitemp): Remove.
kazu [Wed, 13 Jun 2007 23:12:46 +0000 (23:12 +0000)]
* tree-ssa-pre.c (mergephitemp): Remove.
(init_pre): Don't use mergephitemp.

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

15 years ago * basic-block.h: Remove the prototype for
kazu [Wed, 13 Jun 2007 22:57:14 +0000 (22:57 +0000)]
* basic-block.h: Remove the prototype for
free_basic_block_vars.
* cfglayout.h: Remove the prototype for
insn_locators_initialize.
* tree.h: Remove the prototype for emit_line_note.

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

15 years ago2007-06-13 Eric Christopher <echristo@apple.com>
echristo [Wed, 13 Jun 2007 22:06:15 +0000 (22:06 +0000)]
2007-06-13  Eric Christopher  <echristo@apple.com>

        * config/i386/i386.c (override_options): If we've specified
        an arch then don't use TARGET_SUBTARGET_ISA_DEFAULTs.

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

15 years ago2007-06-13 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 13 Jun 2007 20:12:40 +0000 (20:12 +0000)]
2007-06-13  Tobias Burnus  <burnus@net-b.de>

PR fortran/32323
* interface.c (has_vector_section): New.
(compare_actual_formal): Check for array sections with vector subscript.

2007-06-13  Tobias Burnus  <burnus@net-b.de>

PR fortran/32323
* gfortran.dg/actual_array_vect_1.f90: New.

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

15 years ago * libsupc++/eh_arm.cc (__cxa_type_match): Handle foreign
rearnsha [Wed, 13 Jun 2007 19:31:58 +0000 (19:31 +0000)]
* libsupc++/eh_arm.cc (__cxa_type_match): Handle foreign
exceptions.
* libsubpc++/eh_personality.cc: Don't try to set up foreign or
forced unwind types here when using the ARM EABI unwinder.

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

15 years ago * df-scan.c (df_get_entry_block_def_set): Check if STATIC_CHAIN_REGNUM
bwilson [Wed, 13 Jun 2007 18:27:50 +0000 (18:27 +0000)]
    * df-scan.c (df_get_entry_block_def_set): Check if STATIC_CHAIN_REGNUM
        is defined.

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

15 years ago * config/bfin/bfin.h (EH_RETURN_HANDLER_RTX): Use gen_frame_mem.
bernds [Wed, 13 Jun 2007 17:41:07 +0000 (17:41 +0000)]
* config/bfin/bfin.h (EH_RETURN_HANDLER_RTX): Use gen_frame_mem.
* config/bfin/bfin.md (UNSPEC_VOLATILE_STORE_EH_HANDLER): New constant.
(eh_store_handler): New pattern.
(eh_return): Emit it instead of a plain move.

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

15 years ago * config/i386/i386.c (ix86_init_mmx_sse_builtins)
uros [Wed, 13 Jun 2007 15:48:51 +0000 (15:48 +0000)]
    * config/i386/i386.c (ix86_init_mmx_sse_builtins)
        [__builtin_infq, __builtin_fabsq]: Define usign def_builtin.
        [__builtin_ia32_rsqrtps, __builtin_ia32_rsqrtss]: Define using
        def_builtin_const.

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

15 years ago * config/bfin/bfin.c (gen_one_bundle): Delete unused local variables.
bernds [Wed, 13 Jun 2007 14:21:31 +0000 (14:21 +0000)]
* config/bfin/bfin.c (gen_one_bundle): Delete unused local variables.
(find_next_insn_start, find_load): New functions.
(bfin_reorg): Use them to deal with the fact that parallel insns are
no longer represented as a SEQUENCE.

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

15 years ago * config/sparc/sparc.c (sparc_override_options): Initialize
ebotcazou [Wed, 13 Jun 2007 13:58:31 +0000 (13:58 +0000)]
* config/sparc/sparc.c (sparc_override_options): Initialize
fpu mask correctly.

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

15 years ago2007-06-13 Dave Korn <dave.korn@artimi.com>
dannysmith [Wed, 13 Jun 2007 10:21:50 +0000 (10:21 +0000)]
2007-06-13  Dave Korn  <dave.korn@artimi.com>

* config/i386/i386.c (ix86_eax_live_at_start_p): Use
df_get_live_out.

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

15 years ago2007-06-13 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 13 Jun 2007 07:31:39 +0000 (07:31 +0000)]
2007-06-13  Paolo Carlini  <pcarlini@suse.de>

* include/c_global/cmath: Tweak includes.
* include/std/memory: Likewise.
* include/std/complex: Likewise.
* include/tr1/memory: Likewise.
* include/tr1/complex: Likewise.
* include/tr1/cmath: Likewise; do not wrap special functions
in #ifndef __GXX_EXPERIMENTAL_CXX0X__.

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

15 years ago * auto-inc-dec.c, c-incpath.c, config/c4x/libgcc.S,
kazu [Wed, 13 Jun 2007 02:27:04 +0000 (02:27 +0000)]
* auto-inc-dec.c, c-incpath.c, config/c4x/libgcc.S,
config/sh/divcost-analysis, dbgcnt.def, df-core.c,
df-problems.c, df-scan.c, df.h, dominance.c, dse.c, regstat.c,
tree-data-ref.c, tree-ssa-loop-im.c, tree-ssa-loop-prefetch.c,
tree-vect-transform.c: Fix comment typos.  Follow spelling
conventions.

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

15 years agoDaily bump.
gccadmin [Wed, 13 Jun 2007 00:17:01 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago * g++.dg/warn/weak1.C: Suppress on Darwin.
geoffk [Tue, 12 Jun 2007 22:49:16 +0000 (22:49 +0000)]
* g++.dg/warn/weak1.C: Suppress on Darwin.
* g++.dg/other/unused1.C: Accept tabs or spaces in assembly.

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

15 years ago2007-06-12 Seongbae Park <seongbae.park@gmail.com>
zadeck [Tue, 12 Jun 2007 21:28:16 +0000 (21:28 +0000)]
2007-06-12 Seongbae Park <seongbae.park@gmail.com>

       * df-scan.c (df_get_exit-block_use_set): Always add the stack pointer
       to the exit block use set.
       * gcse.c (cpro_jump): Don't emit barrier in cfglayout mode.
       * config/sparc/sparc.c (sparc_check_64): Check df != NULL.

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

15 years ago2007-06-12 Seongbae Park <seongbae.park@gmail.com>
spark [Tue, 12 Jun 2007 20:47:16 +0000 (20:47 +0000)]
2007-06-12  Seongbae Park  <seongbae.park@gmail.com>

* opts.c (common_handle_option): Handle new option -fdbg-cnt-list.
* dbgcnt.c (dbg_cnt_set_limit_by_name): Return value
to indicate an error.
(dbg_cnt_process_single_pair, dbg_cnt_list_all_counters): New functions
(dbg_cnt_process_opt): Print an error on a bad argument.
* dbgcnt.h (dbg_cnt_list_all_counters): New function declaration.
* common.opt (-fdbg-cnt-list): New.
* doc/invoke.texi (-fdbg-cnt-list,-fdbg-cnt=): New.

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

15 years ago * tree-ssa-alias.c (finalize_ref_all_pointers): Clear pt_anything
ebotcazou [Tue, 12 Jun 2007 20:25:23 +0000 (20:25 +0000)]
* tree-ssa-alias.c (finalize_ref_all_pointers): Clear pt_anything
flag on ref-all pointers.

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

15 years ago2007-06-12 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Tue, 12 Jun 2007 19:15:50 +0000 (19:15 +0000)]
2007-06-12  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/31579
        * expr.c (expand_expr_addr_expr_1): Call expand_expr
        for the offset with the modifier as EXPAND_INITIALIZER
        if the modifier is EXPAND_INITIALIZER.
        (expand_expr_real_1 <case INTEGER_CST>): Don't force to
        a register if we had an overflow.

2007-06-12  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/31579
         * g++.dg/torture/pr31579.C: New testcase.

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

15 years ago * real.c (real_isfinite): New.
ghazi [Tue, 12 Jun 2007 18:36:05 +0000 (18:36 +0000)]
* real.c (real_isfinite): New.
(real_sqrt): Use it.
* real.h (real_isfinite): New.
* builtins.c: Use it.

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

15 years ago./:
ian [Tue, 12 Jun 2007 17:47:37 +0000 (17:47 +0000)]
./:
PR libstdc++/29286
* tree.def: Add CHANGE_DYNAMIC_TYPE_EXPR.
* tree.h (CHANGE_DYNAMIC_TYPE_NEW_TYPE): Define.
(CHANGE_DYNAMIC_TYPE_LOCATION): Define.
(DECL_NO_TBAA_P): Define.
(struct tree_decl_common): Add no_tbaa_flag field.
* tree-ssa-structalias.c (struct variable_info): Add
no_tbaa_pruning field.
(new_var_info): Initialize no_tbaa_pruning field.
(unify_nodes): Copy no_tbaa_pruning field.
(find_func_aliases): Handle CHANGE_DYNAMIC_TYPE_EXPR.
(dump_solution_for_var): Print no_tbaa_pruning flag.
(set_uids_in_ptset): Add no_tbaa_pruning parameter.  Change all
callers.
(compute_tbaa_pruning): New static function.
(compute_points_to_sets): Remove CHANGE_DYNAMIC_TYPE_EXPR nodes.
Call compute_tbaa_pruning.
* tree-ssa-alias.c (may_alias_p): Test no_tbaa_flag for pointers.
* gimplify.c (gimplify_expr): Handle CHANGE_DYNAMIC_TYPE_EXPR.
* gimple-low.c (lower_stmt): Likewise.
* tree-gimple.c (is_gimple_stmt): Likewise.
* tree-ssa-operands.c (get_expr_operands): Likewise.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
* tree-inline.c (estimate_num_insns_1): Likewise.
(copy_result_decl_to_var): Likewise.
* expr.c (expand_expr_real_1): Likewise.
* tree-pretty-print.c (dump_generic_node): Likewise.
* tree-inline.c (copy_decl_to_var): Copy DECL_NO_TBAA_P flag.
* omp-low.c (omp_copy_decl_2): Likewise.
* print-tree.c (print_node): Print DECL_NO_TBAA_P flag.
* doc/c-tree.texi (Expression trees): Document
CHANGE_DYNAMIC_TYPE_EXPR.
cp/:
PR libstdc++/29286
* init.c (avoid_placement_new_aliasing): New static function.
(build_new_1): Call it.
testsuite/:
PR libstdc++/29286
* g++.dg/init/new16.C: New test.
* g++.dg/init/new17.C: New test.
* g++.dg/init/new18.C: New test.
* g++.dg/init/new19.C: New test.

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

15 years ago * fold-const.c (fold_binary): Guard (X-X) -> 0 transformation
ghazi [Tue, 12 Jun 2007 16:28:01 +0000 (16:28 +0000)]
* fold-const.c (fold_binary): Guard (X-X) -> 0 transformation
with !HONOR_NANS and !HONOR_INFINITIES.
* simplify-rtx.c (simplify_binary_operation_1): Likewise.

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

15 years ago2007-06-12 Seongbae Park <seongbae.park@gmail.com>
spark [Tue, 12 Jun 2007 15:56:10 +0000 (15:56 +0000)]
2007-06-12  Seongbae Park  <seongbae.park@gmail.com>

* MAINTAINERS (Various Maintainer): Fix typo.

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

15 years agoreorder changelog entries
mueller [Tue, 12 Jun 2007 15:44:55 +0000 (15:44 +0000)]
reorder changelog entries

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

15 years ago * gcov.c: Comments updated.
hainque [Tue, 12 Jun 2007 15:39:15 +0000 (15:39 +0000)]
* gcov.c: Comments updated.
(source_info): Add file_time field.
(source_index): New variable.
(mutiple_files): New variable.
(generate_results): New function extracted from process_file.
(process_file): Save and restore chain of functions, generate
results and free structures only if not merging results.
(release_structures): File names are now freed in create_file_names
(create_file_names): Free previous file names.
(find_source): File date is now read here and modifications in
source files is checked here.
(read_graph_file): Only reverse order of functions for the current
object file.
(make_gcov_file_name): Do not generate long names if input_name is
NULL.
(output_lines): If merging results do not display graph, data and
runs informations.
Checking source file modification is done in find_source.

* doc/gcov.texi: Append an s to sourcefile.

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

15 years ago * config/bfin/bfin.md (UNSPEC_NOP): New constant.
bernds [Tue, 12 Jun 2007 14:35:13 +0000 (14:35 +0000)]
* config/bfin/bfin.md (UNSPEC_NOP): New constant.
(forced_nop): New pattern.
* config/bfin/bfin.c: Include "df.h".
(add_to_reg): Use df_regs_ever_live_p instead of regs_ever_live.
(bfin_discover_loop): Use df_get_live_in instead of
global_live_at_start.
(bfin_reorder_loops): Pass 0 to cfg_layout_initialize.  Call
df_analyze when done.
(gen_one_bundle): Don't generate SEQUENCE insns, just put modes on
the insns.  Use QImode for the final insn in a bundle.  Call
df_insn_rescan on generated NOPs; use gen_forced_nop instead of
gen_nop.
(reorder_var_tracking_notes): New function.
(bfin_reorg): Pass no argument to split_all_insns.  Don't call
update_life_info.  Call df_analyze after scheduling and bundle
generation.  Call reorder_var_tracking_notes if generating these notes.
Call df_finish_pass at the end.

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

15 years ago2007-06-07 Dirk Mueller <dmueller@suse.de>
mueller [Tue, 12 Jun 2007 14:28:34 +0000 (14:28 +0000)]
2007-06-07  Dirk Mueller  <dmueller@suse.de>

        * trans-stmt.c (gfc_trans_call): fix gcc_assert to
        a comparison, not an assignment.

        * optabls.c (debug_optab_libfuncs): fix gcc_assert to
        a comparison, not an assignment.

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

15 years ago * tree-nested.c (convert_local_reference): Handle VIEW_CONVERT_EXPR.
hainque [Tue, 12 Jun 2007 13:32:27 +0000 (13:32 +0000)]
* tree-nested.c (convert_local_reference): Handle VIEW_CONVERT_EXPR.
Request walking the subtrees only, leaving the current is_lhs/val_only
untouched.
(convert_non_local_reference): Likewise.

testsuite/
* gnat.dg/lhs_view_convert.adb: New test.

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

15 years ago * config/m68k/m68k-devices.def (52221, 52223, 5253): New.
kazu [Tue, 12 Jun 2007 12:28:45 +0000 (12:28 +0000)]
* config/m68k/m68k-devices.def (52221, 52223, 5253): New.

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

15 years ago2007-06-12 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 12 Jun 2007 12:06:19 +0000 (12:06 +0000)]
2007-06-12  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/15353
PR tree-optimization/31657
* passes.c (init_optimization_passes): Add pass_tree_ifcombine.
* timevar.def: Add TV_TREE_IFCOMBINE.
* tree-pass.h (pass_tree_ifcombine): Declare.
* tree-ssa-ifcombine.c: New file.
* tree-ssa-phiopt.c (blocks_in_phiopt_order): Export.
* tree-flow.h (blocks_in_phiopt_order): Declare.
* Makefile.in (OBJS-common): Add tree-ssa-ifcombine.o.
(tree-ssa-ifcombine.o): New dependencies.

* gcc.c-torture/execute/20070424-1.c: New testcase.
* gcc.dg/tree-ssa/ssa-ifcombine-1.c: Likewise.
* gcc.dg/tree-ssa/ssa-ifcombine-2.c: Likewise.
* gcc.dg/tree-ssa/ssa-ifcombine-3.c: Likewise.
* gcc.dg/tree-ssa/ssa-ifcombine-4.c: Likewise.
* gcc.dg/tree-ssa/ssa-ifcombine-5.c: Likewise.

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

15 years ago PR rtl-optimization/32293
uros [Tue, 12 Jun 2007 10:31:04 +0000 (10:31 +0000)]
PR rtl-optimization/32293
* combine.c (simplify_if_then_else): Truncate return from
nonzero_bits() to correct mode.

testsuite/ChangeLog:

PR rtl-optimization/32293
* gcc.dg/pr32293.c: New test.

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

15 years ago * fold-const (fold_binary) [RDIV_EXPR]: Also optimize a/cbrt(b/c)
uros [Tue, 12 Jun 2007 07:19:36 +0000 (07:19 +0000)]
* fold-const (fold_binary) [RDIV_EXPR]: Also optimize a/cbrt(b/c)
into a*cbrt(c/b) if flag_unsafe_math_optimizations is set.

testuite/ChangeLog:

* gcc.dg/builtins-11.c: Also check folding of a/cbrt(b/c).

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

15 years ago2007-06-12 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 12 Jun 2007 06:54:42 +0000 (06:54 +0000)]
2007-06-12  Paul Thomas  <pault@gcc.gnu.org>

* trans-common.c (create_common): Initialize 'field_init'.

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

15 years agoFix a few nits.
ebotcazou [Tue, 12 Jun 2007 05:57:40 +0000 (05:57 +0000)]
Fix a few nits.

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

15 years ago * Makefile.in (reload1.o-warn): Remove.
dnovillo [Tue, 12 Jun 2007 02:30:36 +0000 (02:30 +0000)]
* Makefile.in (reload1.o-warn): Remove.

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

15 years ago2007-06-11 Seongbae Park <seongbae.park@gmail.com>
spark [Tue, 12 Jun 2007 01:39:25 +0000 (01:39 +0000)]
2007-06-11  Seongbae Park <seongbae.park@gmail.com>

* combine.c (subst): Fix typo.

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

15 years ago2007-06-11 Seongbae Park <seongbae.park@gmail.com>
spark [Tue, 12 Jun 2007 01:11:03 +0000 (01:11 +0000)]
2007-06-11  Seongbae Park <seongbae.park@gmail.com>

* combine.c (subst): Use reg_overlap_mentioned_p
instead of comparing register numbers directly.

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

15 years agoDaily bump.
gccadmin [Tue, 12 Jun 2007 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago2007-06-12 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 11 Jun 2007 22:39:21 +0000 (22:39 +0000)]
2007-06-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29786
PR fortran/30875
* trans-common.c (get_init_field): New function.
(create_common): Call get_init_field for overlapping
initializers in equivalence blocks.
* resolve.c (resolve_equivalence_derived, resolve_equivalence):
Remove constraints on initializers in equivalence blocks.
* target-memory.c (expr_to_char, gfc_merge_initializers):
New functions.
(encode_derived): Add the bit offset to the byte offset to get
the total offset to the field.
* target-memory.h : Add prototype for gfc_merge_initializers.

2007-06-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29786
* gfortran.dg/equiv_7.f90: New test.
* gfortran.dg/equiv_constraint_7.f90: Change error message.

PR fortran/30875
* gfortran.dg/equiv_constraint_5.f90: Correct code and error.

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

15 years ago2007-06-11 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Mon, 11 Jun 2007 22:03:01 +0000 (22:03 +0000)]
2007-06-11  Kenneth Zadeck <zadeck@naturalbridge.com>

* reload1.c (mark_home_live_1): Use the mode parameter.

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

15 years ago2007-06-11 Andreas Tobler <a.tobler@schweiz.org>
andreast [Mon, 11 Jun 2007 19:07:34 +0000 (19:07 +0000)]
2007-06-11  Andreas Tobler  <a.tobler@schweiz.org>

* gcc.dg/setjmp-3.c: Rename raise to raise0.
* gcc.dg/setjmp-4.c: Likewise.
* gcc.target/i386/980211-1.c: Rename __signbitl to __signbitl0.

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

15 years ago2007-06-11 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Mon, 11 Jun 2007 18:22:49 +0000 (18:22 +0000)]
2007-06-11  Kenneth Zadeck <zadeck@naturalbridge.com>

* df-scan.c (df_insn_delete, df_insn_rescan, df_insn_rescan_all,
df_process_deferred_rescans, df_notes_rescan): Fixed spelling of
word "deferred".
* df-core.c: Ditto.

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

15 years agoMerge dataflow branch into mainline
dberlin [Mon, 11 Jun 2007 18:02:15 +0000 (18:02 +0000)]
Merge dataflow branch into mainline

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

15 years ago * config/i386/i386.md ("*movtf_internal): Penalize moves to and
uros [Mon, 11 Jun 2007 16:06:19 +0000 (16:06 +0000)]
    * config/i386/i386.md ("*movtf_internal): Penalize moves to and
        from integer registers.
        (FP mode splitters): Handle TFmode.

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

15 years agoAdd new tests
charlet [Mon, 11 Jun 2007 16:04:46 +0000 (16:04 +0000)]
Add new tests

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

15 years agoreally remove signed(_or_unsigned)?_type langhooks
espindola [Mon, 11 Jun 2007 15:40:55 +0000 (15:40 +0000)]
really remove signed(_or_unsigned)?_type langhooks

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

15 years ago * tree-ssa-structalias.c (find_what_p_points_to): Return false
ebotcazou [Mon, 11 Jun 2007 15:40:52 +0000 (15:40 +0000)]
* tree-ssa-structalias.c (find_what_p_points_to): Return false
for ref-all pointers that point-to anything.

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

15 years ago * config/arm/arm.c (arm_output_dwarf_dtprel,
jsm28 [Mon, 11 Jun 2007 14:55:06 +0000 (14:55 +0000)]
* config/arm/arm.c (arm_output_dwarf_dtprel,
TARGET_ASM_OUTPUT_DWARF_DTPREL): New.

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

15 years ago2007-06-11 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 11 Jun 2007 13:33:29 +0000 (13:33 +0000)]
2007-06-11  Paolo Bonzini  <bonzini@gnu.org>

* MAINTAINERS (Various Maintainer): Add myself as
dataflow maintainer.

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

15 years ago * config/bfin/bfin.md (movdi_insn, movsi_insn, movv2hi_insn,
bernds [Mon, 11 Jun 2007 11:29:00 +0000 (11:29 +0000)]
* config/bfin/bfin.md (movdi_insn, movsi_insn, movv2hi_insn,
movhi_insn, movqi_insn, movsf_insn, movdf_insn): Don't allow constant
to memory moves.

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

15 years agoremove signed(_or_unsigned)?_type langhooks
espindola [Mon, 11 Jun 2007 10:23:11 +0000 (10:23 +0000)]
remove signed(_or_unsigned)?_type langhooks

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

15 years ago PR target/32280
uros [Mon, 11 Jun 2007 10:13:00 +0000 (10:13 +0000)]
PR target/32280
* config/i386/sse.md ("sse2_ashlti", "sse2_lshrti3"): Move ...
* config/i386/i386.md ("sse2_ashlti", "sse2_lshrti3"): ... to here.

testsuite/ChangeLog:

PR target/32280
* gcc.target/i386/pr32280.c: New test.

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

15 years ago PR middle-end/32279
uros [Mon, 11 Jun 2007 09:09:24 +0000 (09:09 +0000)]
PR middle-end/32279
* fold-const (fold_binary) [RDIV_EXPR]: Optimize a/sqrt(b/c)
into a*sqrt(c/b) if flag_unsafe_math_optimizations is set.

testsuite/ChangeLog:

PR middle-end/32279
* gcc.dg/builtins-11.c: Also check folding of a/sqrt(b/c).

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

15 years agoResync
charlet [Mon, 11 Jun 2007 06:44:41 +0000 (06:44 +0000)]
Resync

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

15 years ago2007-06-11 Bob Duff <duff@adacore.com>
charlet [Mon, 11 Jun 2007 06:41:43 +0000 (06:41 +0000)]
2007-06-11  Bob Duff  <duff@adacore.com>
    Thomas Quinot  <quinot@adacore.com>

* g-stsifd-sockets.adb (Create): Work around strange behavior of
'bind' on windows that causes 'connect' to fail intermittently, by
retrying the 'bind'.
(GNAT.Sockets.Thin.Signalling_Fds): New procedure Close.

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

15 years ago2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 11 Jun 2007 03:06:01 +0000 (03:06 +0000)]
2007-06-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/32235
* gfortran.dg/backspace_9.f: New test.

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

15 years agoDaily bump.
gccadmin [Mon, 11 Jun 2007 00:16:58 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 10 Jun 2007 22:50:47 +0000 (22:50 +0000)]
2007-06-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/32235
* io/transfer.c (st_read): Remove test for end of file condition.
(next_record_r): Add test for end of file condition.

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

15 years ago * lambda-code.c (remove_iv): New.
spop [Sun, 10 Jun 2007 21:00:59 +0000 (21:00 +0000)]
* lambda-code.c (remove_iv): New.
(lambda_loopnest_to_gcc_loopnest): Use remove_iv.

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

15 years ago * tree-data-ref.c (dr_analyze_alias): Handle case smt is NULL.
rakdver [Sun, 10 Jun 2007 20:39:22 +0000 (20:39 +0000)]
* tree-data-ref.c (dr_analyze_alias): Handle case smt is NULL.
* tree-predcom.c (mark_virtual_ops_for_renaming): Exported.
* tree-ssa-loop-prefetch.c: Include optabs.h.
(FENCE_FOLLOWING_MOVNT): New macro.
(struct mem_ref): Add independent_p and storent_p fields.
(record_ref): Initalize the new fields.
(gather_memory_references_ref): Return true if the reference
could be analysed.
(gather_memory_references): Check whether all memory accesses
in loop were recorded.
(should_issue_prefetch_p): Return false for nontemporal stores.
(nontemporal_store_p, mark_nontemporal_store, emit_mfence_after_loop,
may_use_storent_in_loop_p, mark_nontemporal_stores): New functions.
(determine_loop_nest_reuse): Detect independent memory references.
(loop_prefetch_arrays): Call mark_nontemporal_stores.
* tree-flow.h (mark_virtual_ops_for_renaming): Declare.
* Makefile.in (tree-ssa-loop-prefetch.o): Add OPTABS_H dependency.
* config/i386/i386.h (x86_mfence): Declare.
(FENCE_FOLLOWING_MOVNT): Return x86_mfence.
* config/i386/i386.c (x86_mfence): New variable.
(ix86_init_mmx_sse_builtins): Initialize x86_mfence.

* tree-pretty-print.c (dump_generic_node): Mark nontemporal stores.
* optabs.c (init_optabs): Initialize storent_optab.
* optabs.h (enum optab_index): Add OTI_storent.
(storent_optab): Declare.
* genopinit.c (optabs): Add initialization for storent_optab.
* tree.h (MOVE_NONTEMPORAL): New macro.
* expr.c (expand_assignment, store_expr, store_constructor_field,
store_constructor, store_field, expand_expr_real_1): Propagate
nontemporality of the expanded store.
(emit_storent_insn): New function.
* expr.h (expand_assignment, store_expr): Declaration changed.
* function.c (assign_parm_setup_reg): Pass false as nontemporality
to expand_assignment.
* stmt.c (expand_asm_expr): Ditto.
* calls.c (initialize_argument_information): Pass false as
nontemporality to store_expr.
* config/i386/sse.md (storentv4sf, storentv2df, storentv2di,
storentsi): New.

* gcc.dg/tree-ssa/prefetch-7.c: New test.

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

15 years ago2007-06-09 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sun, 10 Jun 2007 20:21:48 +0000 (20:21 +0000)]
2007-06-09  Daniel Berlin  <dberlin@dberlin.org>

* tree-ssa-structalias.c (set_uids_in_ptset): Add is_deref'd
parameter, use it.
(find_what_p_points_to): Pass new parameter to set_uids_in_ptset.

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

15 years ago * decl.c (gnat_to_gnu_entity): Use pointers to dummy nodes, rather
ebotcazou [Sun, 10 Jun 2007 18:36:40 +0000 (18:36 +0000)]
* decl.c (gnat_to_gnu_entity): Use pointers to dummy nodes, rather
than to void, for the fields when making a new fat pointer type.
(gnat_substitute_in_type): Now substitute_in_type.
* gigi.h (gnat_substitute_in_type): Likewise.
* trans.c (gnat_gimplify_expr): Remove COMPONENT_REF kludge.
* utils.c (update_pointer_to): Update fat pointers by updating the
dummy node pointers used for the fields.

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

15 years ago2007-06-09 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sun, 10 Jun 2007 14:13:18 +0000 (14:13 +0000)]
2007-06-09  Daniel Berlin  <dberlin@dberlin.org>

* tree-data-ref.c (dr_may_alias_p): Check that decl_a != decl_b,
and allow DECL_P here.

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

15 years ago2007-06-10 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sun, 10 Jun 2007 09:14:43 +0000 (09:14 +0000)]
2007-06-10  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util/testsuite_performance.h: Add cstring include for
memset.

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

15 years agoDaily bump.
gccadmin [Sun, 10 Jun 2007 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago * tree-scalar-evolution.c (follow_ssa_edge_in_rhs,
rakdver [Sat, 9 Jun 2007 21:34:08 +0000 (21:34 +0000)]
* tree-scalar-evolution.c (follow_ssa_edge_in_rhs,
follow_ssa_edge_in_condition_phi, follow_ssa_edge): Keep more precise
track of the size of the expression.
* cfghooks.c (merge_blocks): Remove block from loops structure only
after call of the merge_blocks hook.

* gcc.dg/tree-ssa/loop-28.c: New testcase.

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

15 years ago * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
kseitz [Sat, 9 Jun 2007 17:32:42 +0000 (17:32 +0000)]
    * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
        Add missing return value.

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

15 years ago * c-decl.c (grokdeclarator): Added 'deprecated_state' argument.
tromey [Sat, 9 Jun 2007 16:48:47 +0000 (16:48 +0000)]
* c-decl.c (grokdeclarator): Added 'deprecated_state' argument.
(deprecated_state): Removed.
(start_decl): Update.
(enum deprecated_states): Moved earlier.
(groktypename): Update.
(push_parm_decl): Likewise.
(grokfield): Likewise.
(start_function): Likewise.

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

15 years ago./:
ian [Sat, 9 Jun 2007 16:28:31 +0000 (16:28 +0000)]
./:
PR tree-optimization/32169
* tree-vrp.c (extract_range_from_unary_expr): For NOP_EXPR and
CONVERT_EXPR, check whether min and max both converted to an
overflow infinity representation.
testsuite/:
PR tree-optimization/32169
* gcc.c-torture/compile/pr32169.c: New test.

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

15 years ago * cppfiles.c (open_file): Account for the
vprus [Sat, 9 Jun 2007 10:16:52 +0000 (10:16 +0000)]
    * cppfiles.c (open_file): Account for the
        fact that on windows, opening a directory gives
        EACCES.

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

15 years ago2007-06-08 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 9 Jun 2007 00:55:43 +0000 (00:55 +0000)]
2007-06-08  Paolo Carlini  <pcarlini@suse.de>

* docs/html/install.html: Adjust consistently with libstdc++/31717.

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

15 years agoDaily bump.
gccadmin [Sat, 9 Jun 2007 00:17:00 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago * reload1.c (fixup_abnormal_edges): Clear bb field for insns
ebotcazou [Fri, 8 Jun 2007 23:22:46 +0000 (23:22 +0000)]
* reload1.c (fixup_abnormal_edges): Clear bb field for insns
not inserted on the edge.

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

15 years ago * ChangeLog fix * ChangeLog fix.
uros [Fri, 8 Jun 2007 20:55:46 +0000 (20:55 +0000)]
* ChangeLog fix * ChangeLog fix.

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

15 years ago * config/xtensa/lib1funcs.asm (__udivsi3): Use hardware divide
bwilson [Fri, 8 Jun 2007 16:49:23 +0000 (16:49 +0000)]
* config/xtensa/lib1funcs.asm (__udivsi3): Use hardware divide
instructions if they are supported.
(__divsi3, __umodsi3, __modsi3): Likewise.
(__ashldi3, __ashrdi3, __lshrdi3): New.
* config/xtensa/t-xtensa (LIB1ASMFUNCS): Add DImode shift functions.

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

15 years agogcc/ChangeLog:
hjagasia [Fri, 8 Jun 2007 16:30:49 +0000 (16:30 +0000)]
gcc/ChangeLog:
2007-06-08  Harsha Jagasia <harsha.jagasia@amd.com>
            Tony Linthicum <tony.linthicum@amd.com>

* doc/extend.texi: Add fvect-cost-model flag.
* common.opt (fvect-cost-model): New flag.
* tree-vectorizer.c (new_stmt_vec_info): Initialize inside and outside
cost fields in stmt_vec_info struct for STMT.
* tree-vectorizer.h (stmt_vec_info): Define inside and outside cost
fields in stmt_vec_info struct and access functions for the same.
(TARG_COND_BRANCH_COST): Define cost of conditional branch.
(TARG_VEC_STMT_COST): Define cost of any vector operation, excluding
load, store and vector to scalar operation.
(TARG_VEC_TO_SCALAR_COST): Define cost of vector to scalar operation.
(TARG_VEC_LOAD_COST): Define cost of aligned vector load.
(TARG_VEC_UNALIGNED_LOAD_COST): Define cost of misasligned vector load.
(TARG_VEC_STORE_COST): Define cost of vector store.
(vect_estimate_min_profitable_iters): Define new function.
* tree-vect-analyze.c (vect_analyze_operations): Add a compile-time
check to evaluate if loop iterations are less than minimum profitable
iterations determined by cost model or minimum vect loop bound defined
by user, whichever is more conservative.
* tree-vect-transform.c (vect_do_peeling_for_loop_bound): Add a
run-time check to evaluate if loop iterations are less than minimum
profitable iterations determined by cost model or minimum vect loop
bound defined by user, whichever is more conservative.
(vect_estimate_min_profitable_iterations): New function to estimate
mimimimum iterartions required for vector version of loop to be
profitable over scalar version.
        (vect_model_reduction_cost): New function.
(vect_model_induction_cost): New function.
(vect_model_simple_cost): New function.
(vect_cost_strided_group_size): New function.
(vect_model_store_cost): New function.
(vect_model_load_cost): New function.
(vectorizable_reduction): Call vect_model_reduction_cost during
analysis phase.
(vectorizable_induction): Call vect_model_induction_cost during
analysis phase.
(vectorizable_load): Call vect_model_load_cost during analysis phase.
(vectorizable_store): Call vect_model_store_cost during analysis phase.
(vectorizable_call, vectorizable_assignment, vectorizable_operation,
vectorizable_promotion, vectorizable_demotion): Call
vect_model_simple_cost during analysis phase.

gcc/testsuite/ChangeLog:
2007-06-08  Harsha Jagasia <harsha.jagasia@amd.com>

* gcc.dg/vect/costmodel: New directory.
* gcc.dg/vect/costmodel/i386: New directory.
* gcc.dg/vect/costmodel/i386/i386-costmodel-vect.exp: New testsuite.
* gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c:
New test.
* gcc.dg/vect/costmodel/i386/costmodel-vect-31.c: New test.
* gcc.dg/vect/costmodel/i386/costmodel-vect-33.c: New test.
* gcc.dg/vect/costmodel/i386/costmodel-vect-68.c: New test.
* gcc.dg/vect/costmodel/i386/costmodel-vect-reduc-1char.c: New test.
* gcc.dg/vect/costmodel/x86_64: New directory.
* gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp:
New testsuite.
* gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c:
New test.
* gcc.dg/vect/costmodel/x86_64/costmodel-vect-31.c: New test.
* gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c: New test.
* gcc.dg/vect/costmodel/x86_64/costmodel-vect-68.c: New test.
* gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c: New test.
* gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c: New test.

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

15 years ago* reg-stack.c (get_true_reg): Readability change. Moved default case
simonb [Fri, 8 Jun 2007 16:17:01 +0000 (16:17 +0000)]
* reg-stack.c (get_true_reg): Readability change.  Moved default case
label into direct switch statement scope.

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

15 years ago* tree-flow-inline.h (var_ann): Replaced erroneous '=' assignment
simonb [Fri, 8 Jun 2007 16:15:41 +0000 (16:15 +0000)]
* tree-flow-inline.h (var_ann): Replaced erroneous '=' assignment
in gcc_assert() with '==' comparison.

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

15 years ago2007-06-08 Francesco Palagi <palagi@arcetri.astro.it>
paolo [Fri, 8 Jun 2007 13:16:38 +0000 (13:16 +0000)]
2007-06-08  Francesco Palagi  <palagi@arcetri.astro.it>

* include/std/fstream: Add Table 92 in comment.

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

15 years ago * config/i386/i386.c (override_options): Merge TARGET_SSE4_2 and
uros [Fri, 8 Jun 2007 11:34:56 +0000 (11:34 +0000)]
* config/i386/i386.c (override_options): Merge TARGET_SSE4_2 and
TARGET_ABM handling of x86_popcnt variable.

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

15 years ago * doc/extend.texi (X86 Built-in Functions): Document __builtin_fabsq,
uros [Fri, 8 Jun 2007 11:22:44 +0000 (11:22 +0000)]
* doc/extend.texi (X86 Built-in Functions): Document __builtin_fabsq,
__builtin_copysignq and __builtin_infq built-in functions.

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

15 years ago * doc/extend.texi (X86 Built-in Functions): Add missing `@item's in
uros [Fri, 8 Jun 2007 11:08:12 +0000 (11:08 +0000)]
* doc/extend.texi (X86 Built-in Functions): Add missing `@item's in
SSE4.2 section.  Correct built-in function names in SSE4A section.

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