people/dverkamp/gcc.git
12 years agoi86: turn off backend debug prints master
Daniel Verkamp [Thu, 16 Aug 2007 22:57:23 +0000 (18:57 -0400)]
i86: turn off backend debug prints

12 years agoMerge git://git.etherboot.org/scm/people/hpa/i86-gcc
Daniel Verkamp [Thu, 16 Aug 2007 21:55:22 +0000 (17:55 -0400)]
Merge git://git.etherboot.org/scm/people/hpa/i86-gcc

12 years agoi86: switch to AT&T-style assembly; correct call patterns
H. Peter Anvin [Thu, 16 Aug 2007 21:43:08 +0000 (14:43 -0700)]
i86: switch to AT&T-style assembly; correct call patterns

Switch to AT&T-style assembly, add a predicates file, and make the
call patterns more correct for what the machine can actually do.

12 years agoi86: add -mint16/-mint32 options to select size of int
Daniel Verkamp [Thu, 16 Aug 2007 20:49:23 +0000 (16:49 -0400)]
i86: add -mint16/-mint32 options to select size of int

12 years agoi86: remove bswapsi2 pattern for now (uses 486+ instruction)
Daniel Verkamp [Thu, 16 Aug 2007 18:51:40 +0000 (14:51 -0400)]
i86: remove bswapsi2 pattern for now (uses 486+ instruction)

12 years agoi86: merge changes from hpa's tree
Daniel Verkamp [Thu, 16 Aug 2007 17:55:10 +0000 (13:55 -0400)]
i86: merge changes from hpa's tree

12 years agoMerge git://git.etherboot.org/scm/people/hpa/i86-gcc
Daniel Verkamp [Thu, 16 Aug 2007 17:30:47 +0000 (13:30 -0400)]
Merge git://git.etherboot.org/scm/people/hpa/i86-gcc

12 years agoi86: add more patterns for QImode and SImode; add more shift/rotate patterns
Daniel Verkamp [Thu, 16 Aug 2007 17:28:09 +0000 (13:28 -0400)]
i86: add more patterns for QImode and SImode; add more shift/rotate patterns

12 years agoi86: add cost functions (incomplete)
Daniel Verkamp [Thu, 16 Aug 2007 15:07:55 +0000 (11:07 -0400)]
i86: add cost functions (incomplete)

12 years agoi86: simplify shift patterns
H. Peter Anvin [Wed, 15 Aug 2007 03:20:43 +0000 (20:20 -0700)]
i86: simplify shift patterns

Simplify the shift patterns somewhat.  No functional change.

12 years agoi86: HImode shift patterns
H. Peter Anvin [Wed, 15 Aug 2007 03:08:57 +0000 (20:08 -0700)]
i86: HImode shift patterns

Add HImode patterns for shr, sar, ror, rol, and bswap.

12 years agoi86: tighten predicates
H. Peter Anvin [Tue, 14 Aug 2007 06:56:23 +0000 (23:56 -0700)]
i86: tighten predicates

Tighten predicates to avoid unnecessary reloads

12 years agoi86: Remove stray reference to never-implemented %Q format flag
H. Peter Anvin [Tue, 14 Aug 2007 00:05:02 +0000 (17:05 -0700)]
i86: Remove stray reference to never-implemented %Q format flag

12 years agoi86: Add %D formatting flag for the high half of a DImode operand
H. Peter Anvin [Tue, 14 Aug 2007 00:03:49 +0000 (17:03 -0700)]
i86: Add %D formatting flag for the high half of a DImode operand

12 years agoi86: remove commented target macros
Daniel Verkamp [Tue, 14 Aug 2007 16:19:51 +0000 (12:19 -0400)]
i86: remove commented target macros

13 years agoi86: fix the handling of mode-dependent register names
H. Peter Anvin [Mon, 13 Aug 2007 22:12:40 +0000 (15:12 -0700)]
i86: fix the handling of mode-dependent register names

Clean up and fix the handling of mode-dependent register names.

13 years agoi86: pushing registers is considered frame related
H. Peter Anvin [Mon, 13 Aug 2007 21:11:10 +0000 (14:11 -0700)]
i86: pushing registers is considered frame related

Per the documentation for the frame_related flag,
it *is* supposed to be set for register saving.

13 years agoi86: remove stray whitespace
H. Peter Anvin [Mon, 13 Aug 2007 21:05:02 +0000 (14:05 -0700)]
i86: remove stray whitespace

13 years agoi86: correct and clean up the sign- and zero-extend patterns.
H. Peter Anvin [Mon, 13 Aug 2007 20:54:19 +0000 (13:54 -0700)]
i86: correct and clean up the sign- and zero-extend patterns.

Use cwde instead of cwd since we now use 32-bit registers;
use alternatives instead of an expand, and provide SI->QI
patterns.

13 years agoi86: change 'l' to 'd' to avoid confusion; add modes to some insns
H. Peter Anvin [Mon, 13 Aug 2007 20:34:37 +0000 (13:34 -0700)]
i86: change 'l' to 'd' to avoid confusion; add modes to some insns

'l' is too easy to confuse with 'L'; change it to 'd' (dword).
Patterns which can use an immediate *and* where the mode is dependent
on the mode of that immediate need to flag its mode explicitly, since
the output backend only sees a constant, not the mode of the
surrounding instruction.

13 years agoi86: emit types explicitly
H. Peter Anvin [Mon, 13 Aug 2007 20:21:02 +0000 (13:21 -0700)]
i86: emit types explicitly

13 years agoi86: correct stack frame generation for 32-bit registers
H. Peter Anvin [Mon, 13 Aug 2007 19:37:42 +0000 (12:37 -0700)]
i86: correct stack frame generation for 32-bit registers

Generate 32-bit pushes and pops if the upper half of a register
is used.  Otherwise, generate 16-bit.

13 years agoi86: add more insn patterns and allow use of lea for addition
Daniel Verkamp [Mon, 13 Aug 2007 20:21:50 +0000 (16:21 -0400)]
i86: add more insn patterns and allow use of lea for addition

13 years agoi86: replace function prologue/epilogue creation with expands that create insns
Daniel Verkamp [Mon, 13 Aug 2007 18:47:48 +0000 (14:47 -0400)]
i86: replace function prologue/epilogue creation with expands that create insns

13 years agoi86: use fake hard regs in register pairs to represent SImode
Daniel Verkamp [Mon, 13 Aug 2007 16:44:38 +0000 (12:44 -0400)]
i86: use fake hard regs in register pairs to represent SImode

13 years agoi86: replace register numbers with REG_* macros
Daniel Verkamp [Thu, 9 Aug 2007 22:38:30 +0000 (18:38 -0400)]
i86: replace register numbers with REG_* macros

13 years agoi86: fix suboptimal BASE/INDEX register sets
Daniel Verkamp [Thu, 9 Aug 2007 20:45:45 +0000 (16:45 -0400)]
i86: fix suboptimal BASE/INDEX register sets

13 years agoi86: make %bx call-clobbered
Daniel Verkamp [Thu, 9 Aug 2007 19:49:45 +0000 (15:49 -0400)]
i86: make %bx call-clobbered

13 years agoi86: remove unused QImode move pattern
Daniel Verkamp [Thu, 9 Aug 2007 19:00:36 +0000 (15:00 -0400)]
i86: remove unused QImode move pattern

13 years agoi86: sign-extend dx from ax in divmodhi4
Daniel Verkamp [Thu, 9 Aug 2007 18:53:11 +0000 (14:53 -0400)]
i86: sign-extend dx from ax in divmodhi4

13 years agoi86: combine HImode push patterns
Daniel Verkamp [Thu, 9 Aug 2007 18:48:38 +0000 (14:48 -0400)]
i86: combine HImode push patterns

13 years agoi86: replace unsigned HI div/mod with combined divmod insn
Daniel Verkamp [Fri, 3 Aug 2007 19:30:12 +0000 (15:30 -0400)]
i86: replace unsigned HI div/mod with combined divmod insn

13 years agoi86: fixed multiplication patterns
Daniel Verkamp [Fri, 3 Aug 2007 17:10:20 +0000 (13:10 -0400)]
i86: fixed multiplication patterns

13 years agoi86: replace signed div/mod insns with combined divmod
Daniel Verkamp [Fri, 3 Aug 2007 04:12:44 +0000 (00:12 -0400)]
i86: replace signed div/mod insns with combined divmod

13 years agoi86: add 32-bit integer support; add zero-extend patterns
Daniel Verkamp [Thu, 2 Aug 2007 22:50:04 +0000 (18:50 -0400)]
i86: add 32-bit integer support; add zero-extend patterns

13 years agoi86: add/modify some patterns to improve code size for add insns
Daniel Verkamp [Thu, 2 Aug 2007 19:31:17 +0000 (15:31 -0400)]
i86: add/modify some patterns to improve code size for add insns

13 years agoi86: target assembler changed from nasm to gas (.intel_syntax mode)
Daniel Verkamp [Tue, 31 Jul 2007 23:20:35 +0000 (19:20 -0400)]
i86: target assembler changed from nasm to gas (.intel_syntax mode)

13 years agoi86: fix REG_CLASS_CONTENTS and other small fixes (now compiles and produces code)
Daniel Verkamp [Mon, 30 Jul 2007 21:49:39 +0000 (17:49 -0400)]
i86: fix REG_CLASS_CONTENTS and other small fixes (now compiles and produces code)

13 years agoremove incorrect extendqihi2 insns
Daniel Verkamp [Mon, 30 Jul 2007 15:43:39 +0000 (11:43 -0400)]
remove incorrect extendqihi2 insns

13 years agoadd GLOBAL_ASM_OP and clean up targetm macros and function declarations
Daniel Verkamp [Mon, 30 Jul 2007 15:41:53 +0000 (11:41 -0400)]
add GLOBAL_ASM_OP and clean up targetm macros and function declarations

13 years agofix some warnings in i86.md
Daniel Verkamp [Tue, 24 Jul 2007 18:41:33 +0000 (14:41 -0400)]
fix some warnings in i86.md

13 years agoi86: add targetm based on i386.c
Daniel Verkamp [Tue, 24 Jul 2007 17:55:34 +0000 (13:55 -0400)]
i86: add targetm based on i386.c

13 years agoi86: fix some warnings and update regs_ever_live to df_regs_ever_live_p
Daniel Verkamp [Wed, 18 Jul 2007 15:11:33 +0000 (11:11 -0400)]
i86: fix some warnings and update regs_ever_live to df_regs_ever_live_p

13 years agoi86: add missing header
Daniel Verkamp [Tue, 17 Jul 2007 21:46:39 +0000 (17:46 -0400)]
i86: add missing header

13 years agoi86: fix some declarations
Daniel Verkamp [Tue, 17 Jul 2007 21:45:39 +0000 (17:45 -0400)]
i86: fix some declarations

13 years agoupdate some of i86 backend to modern GCC style
Daniel Verkamp [Mon, 16 Jul 2007 21:28:02 +0000 (17:28 -0400)]
update some of i86 backend to modern GCC style
(does not yet build completely)

13 years agoadd configure support for i86 target
Daniel Verkamp [Mon, 16 Jul 2007 16:41:57 +0000 (12:41 -0400)]
add configure support for i86 target

13 years agoimport 8086 backend by D.J. Delorie from http://www.delorie.com/djgpp/16bit/gcc/
Daniel Verkamp [Sun, 15 Jul 2007 19:13:23 +0000 (15:13 -0400)]
import 8086 backend by D.J. Delorie from delorie.com/djgpp/16bit/gcc/
(does not yet build)

13 years ago * config/bfin/elf.h (ASM_GENERATE_INTERNAL_LABEL,
bernds [Fri, 15 Jun 2007 11:54:51 +0000 (11:54 +0000)]
* config/bfin/elf.h (ASM_GENERATE_INTERNAL_LABEL,
LOCAL_LABEL_PREFIX): Delete.
* config/bfin/bfin.c (TARGET_ASM_INTERNAL_LABEL): Delete.
(bfin_internal_label): Delete.

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

13 years ago PR libfortran/32345
ro [Fri, 15 Jun 2007 10:26:16 +0000 (10:26 +0000)]
PR libfortran/32345
* runtime/backtrace.c (show_backtrace): Only use snprintf if
available.

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

13 years agoAdd new tests
charlet [Fri, 15 Jun 2007 08:27:59 +0000 (08:27 +0000)]
Add new tests

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

13 years ago * libgcc2.c (CEXT): When compiling L_multc3 and L_divtc3,
uros [Fri, 15 Jun 2007 07:01:31 +0000 (07:01 +0000)]
* libgcc2.c (CEXT): When compiling L_multc3 and L_divtc3,
define to "l" if LIBGCC_LONG_DOUBLE_SIZE == 128,
otherwise define to LIBGCC2_TF_CEXT.
* config/i386/linux64.h (LIBGCC2_HAS_TF_MODE): New define.
(LIBGCC_TF_CEXT): Ditto.
(TF_SIZE): Ditto.

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

13 years ago2007-06-14 Seongbae Park <seongbae.park@gmail.com>
spark [Fri, 15 Jun 2007 06:33:24 +0000 (06:33 +0000)]
2007-06-14  Seongbae Park  <seongbae.park@gmail.com>

PR rtl-optimization/32339
* df-scan.c (df_uses_record): Don't modify flags but just add to it for
df_ref_record.

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

13 years ago * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
kseitz [Fri, 15 Jun 2007 03:53:52 +0000 (03:53 +0000)]
    * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
        for bytecode_pc and direct-threaded pc.
        Add field descriptions inline.
        * defineclass.cc (read_one_code_attribute): Change from
        bytecode_start_pc to bytecode_pc.
        Remove unused variable "len".
        * interpret.cc (compile): Remap the variable table, too.
        (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
        start location to map from pc_t to code index.

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

13 years ago2007-06-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Fri, 15 Jun 2007 03:39:31 +0000 (03:39 +0000)]
2007-06-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * tree-mudflap.c: Fix whitespace issues.

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

13 years ago * config/m68k/m68k.c (ASM_DOT, ASM_DOTW, ASM_DOTL): Remove.
kazu [Fri, 15 Jun 2007 02:43:32 +0000 (02:43 +0000)]
* config/m68k/m68k.c (ASM_DOT, ASM_DOTW, ASM_DOTL): Remove.

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

13 years agoDaily bump.
gccadmin [Fri, 15 Jun 2007 00:16:52 +0000 (00:16 +0000)]
Daily bump.

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

13 years ago2007-06-14 Dirk Mueller <dmueller@suse.de>
mueller [Thu, 14 Jun 2007 23:12:25 +0000 (23:12 +0000)]
2007-06-14  Dirk Mueller  <dmueller@suse.de>

       PR c++/31806
       * g++.dg/opt/static6.C: New testcase.

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

13 years ago2007-06-14 Eric Christopher <echristo@apple.com>
echristo [Thu, 14 Jun 2007 21:43:45 +0000 (21:43 +0000)]
2007-06-14  Eric Christopher  <echristo@apple.com>

        * config/i386/sse.md (movdi_to_sse): Rewrite body.
        (movv4sf): Use gcc_unreachable instead of abort.

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

13 years ago * decl2.c (determine_visibility): Ensure that functions with
geoffk [Thu, 14 Jun 2007 21:04:10 +0000 (21:04 +0000)]
* decl2.c (determine_visibility): Ensure that functions with
hidden types as parameters are hidden.

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

13 years ago PR 31093
geoffk [Thu, 14 Jun 2007 20:56:25 +0000 (20:56 +0000)]
PR 31093
* decl2.c (determine_visibility): Remove duplicate code for
handling type info.

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

13 years ago PR target/32268
uros [Thu, 14 Jun 2007 20:15:13 +0000 (20:15 +0000)]
    PR target/32268
        * config/i386/sfp-machine.c (CMPtype): New define.
        (mach stubs): Use CMPtype instead of int as a return type.

testsuite/ChangeLog:

        PR target/32268
        * gcc.target/i386/pr32268.c: New test.

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

13 years ago * config/soft-fp/eqdf2.c, config/soft-fp/eqsf2.c,
uros [Thu, 14 Jun 2007 19:45:11 +0000 (19:45 +0000)]
    * config/soft-fp/eqdf2.c, config/soft-fp/eqsf2.c,
        config/soft-fp/eqtf2.c, config/soft-fp/gedf2.c,
        config/soft-fp/gesf2.c, config/soft-fp/getf2.c,
        config/soft-fp/ledf2.c, config/soft-fp/lesf2.c,
        config/soft-fp/letf2.c, config/soft-fp/unorddf2.c,
        config/soft-fp/unordsf2.c, config/soft-fp/unordtf2.c,
        config/soft-fp/soft-fp.h: Update from glibc CVS.

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

13 years ago2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 14 Jun 2007 17:24:22 +0000 (17:24 +0000)]
2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.dg/dfp/fe-convert-1.c: Expect FE_OVERFLOW when converting
from 10.000000e96DD to _Decimal32, from 10.000000e96DL to
_Decimal32 and from 10.00000000000000E384DL to _Decimal64.

*  gcc.dg/dfp/fe-convert-2.c: Expect FE_INEXACT when converting
from 1.0e96 and -1.0e96 to _Decimal32. Enable testing for
converting from 1.0e-96 and 0.00048828125 to _Decimal32 when
BID is used.

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

13 years ago * configure.ac: Don't add target-libmudflap to noconfigdirs for
bernds [Thu, 14 Jun 2007 17:10:54 +0000 (17:10 +0000)]
* configure.ac: Don't add target-libmudflap to noconfigdirs for
bfin*-*-uclinux* targets.
* configure: Regenerate.

* gcc/config/bfin/uclinux.h (MFWRAP_SPEC): New.

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

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

* configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
* configure: Regenerate.

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

13 years ago2007-06-14 Rask Ingemann Lambertsen <rask@sygehus.dk>
spark [Thu, 14 Jun 2007 14:33:21 +0000 (14:33 +0000)]
2007-06-14  Rask Ingemann Lambertsen  <rask@sygehus.dk>

PR target/32341
* config/v850/v850.c: Include dataflow header file.
(substitute_ep_register): Fix typo.

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

13 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://gcc.gnu.org/svn/gcc/trunk@125713 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125711 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125710 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125708 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125705 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125704 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125703 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

13 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://gcc.gnu.org/svn/gcc/trunk@125701 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125700 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125699 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125698 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125697 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125696 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125695 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125694 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

13 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://gcc.gnu.org/svn/gcc/trunk@125688 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125687 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125686 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125685 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125684 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125683 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125682 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125681 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125680 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125677 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125674 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125673 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125671 138bc75d-0d04-0410-961f-82ee72b054a4

13 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://gcc.gnu.org/svn/gcc/trunk@125666 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

13 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://gcc.gnu.org/svn/gcc/trunk@125659 138bc75d-0d04-0410-961f-82ee72b054a4