OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago2002-04-12 Eric Norum <eric.norum@usask.ca>
joel [Fri, 12 Apr 2002 13:35:03 +0000 (13:35 +0000)]
2002-04-12 Eric Norum <eric.norum@usask.ca>

* config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
config/v850/rtems.h (*-rtems*): Cleanup pass to move common
definitions to config/rtems.h and make the targets more similar.

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

19 years ago * expr.c (expand_assigment): Remove duplicate conversions #ifdef
kenner [Fri, 12 Apr 2002 12:33:24 +0000 (12:33 +0000)]
* expr.c (expand_assigment): Remove duplicate conversions #ifdef
POINTERS_EXTEND_UNSIGNED.
(store_constructor, expand_expr, case COMPONENT_REF): Likewise.
(store_expr): Use TYPE_MODE (sizetype), not ptr_mode.

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

19 years ago * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
kenner [Fri, 12 Apr 2002 12:17:59 +0000 (12:17 +0000)]
* emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
not specified.

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

19 years ago * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
amylaar [Fri, 12 Apr 2002 12:14:33 +0000 (12:14 +0000)]
* sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
depends on TARGET_SHMEDIA, not TARGET_SH5.

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

19 years ago * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
hp [Fri, 12 Apr 2002 11:31:25 +0000 (11:31 +0000)]
* function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
For paradoxical (subreg VAR), replace VAR, don't try the subreg.

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

19 years ago * g++.dg/ext/attrib5.C,
rsandifo [Fri, 12 Apr 2002 10:59:33 +0000 (10:59 +0000)]
* g++.dg/ext/attrib5.C,
* g++.dg/lookup/struct1.C: New tests.

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

19 years ago * sh.c (broken_move): Constant 0. / 1. load is OK if there is
amylaar [Fri, 12 Apr 2002 10:55:32 +0000 (10:55 +0000)]
* sh.c (broken_move): Constant 0. / 1. load is OK if there is
no r0 clobber.

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

19 years ago * decl.c (duplicate_decls): Don't try to unify an implicit typedef
rsandifo [Fri, 12 Apr 2002 10:55:27 +0000 (10:55 +0000)]
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
with an explicit one.
(follow_tag_typedef): New.
(lookup_tag): Use it to extract the tag of an explicit typedef.
(xref_tag): Likewise.

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

19 years agofix whitespace
jason [Fri, 12 Apr 2002 10:35:30 +0000 (10:35 +0000)]
fix whitespace

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

19 years ago2002-04-11 Andrew Haley <aph@redhat.com>
aph [Fri, 12 Apr 2002 09:08:17 +0000 (09:08 +0000)]
2002-04-11  Andrew Haley  <aph@redhat.com>

* typeck.c (type_after_usual_arithmetic_conversions):
If two types have the same variant, return immediately.
When two floating-point operands are the same precision:
  convert to float if one of the operands is float;
  if neither operand is one of the standard types, return the type
  of the first operand.

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

19 years ago * libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out:
ljrittle [Fri, 12 Apr 2002 08:33:13 +0000 (08:33 +0000)]
* libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out:
New test case.

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

19 years ago * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
schwab [Fri, 12 Apr 2002 08:27:54 +0000 (08:27 +0000)]
* config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.

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

19 years ago PR bootstrap/4191
rth [Fri, 12 Apr 2002 07:52:05 +0000 (07:52 +0000)]
    PR bootstrap/4191
        * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.

        * flow.c (mark_used_reg): Manage reg_cond_dead properly for
        modes spanning multiple hard regs.

        * recog.c (peephole2_optimize): Rebuild jump labels as needed.

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

19 years agoDaily bump.
gccadmin [Fri, 12 Apr 2002 07:17:27 +0000 (07:17 +0000)]
Daily bump.

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

19 years ago * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
rth [Fri, 12 Apr 2002 05:42:23 +0000 (05:42 +0000)]
* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
(basic_ostream<>::operator<<(long long)): Same.

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

19 years ago * pa.c (pa_output_function_prologue): Don't accumulate the total
danglin [Fri, 12 Apr 2002 02:30:52 +0000 (02:30 +0000)]
* pa.c (pa_output_function_prologue): Don't accumulate the total
number of code bytes when using TARGET_64BIT, or gas, SOM and not
the portable runtime.
(output_deferred_plabels): Handle 64bit plabels.
(output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
generating pic code using the GAS assembler for object formats that
are not SOM (ie., ELF32 and ELF64).
(output_millicode_call): Check attribute type if attribute length is 28.
Likewise use $PIC_pcrel$0.  Only call get_attr_length and
dbr_sequence_length once.
(output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
dbr_sequence_length once.
* pa.h (TARGET_SOM): Define if not defined.
* pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
with GAS and not SOM.
(jump, call_internal_reg, call_value_internal_reg): Likewise.
* som.h (OBJ_SOM): Rename to TARGET_SOM.  Undefine before defining.

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

19 years ago2002-04-11 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 12 Apr 2002 01:18:38 +0000 (01:18 +0000)]
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
* config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
(DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
(USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
elfos.h and dbxelf.h values are fine now.
* config/i386/freebsd.h, config/alpha/freebsd.h
(DEFAULT_PCC_STRUCT_RETURN): Define to 0.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411175216.B11442@redhat.com>

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

19 years ago * configure.host: Set can_unwind_signal on hosts which support it.
bryce [Fri, 12 Apr 2002 01:14:33 +0000 (01:14 +0000)]
* configure.host: Set can_unwind_signal on hosts which support it.
Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
* configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
exceptions and can_unwind_signal isn't set.
* configure: Rebuilt.

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

19 years ago2002-04-11 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 12 Apr 2002 01:08:20 +0000 (01:08 +0000)]
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
* config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
or set Acpu or Amachine.  Reformat.
(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
define.
(LINK_SPEC): Do not need to undef.
* config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
* config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
define.
* config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
(ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
(LINK_SPEC): Do not need to undef.
(DONT_USE_BUILTIN_SETJMP): Do not define.
* config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
(CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine.  Remove -Dia64.
(DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
Remove trailing spaces.
* config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
__ELF__, or set Acpu or Amachine.  Reformat.
(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
define.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411160138.A11250@redhat.com>

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

19 years ago2002-04-11 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 12 Apr 2002 00:54:42 +0000 (00:54 +0000)]
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
all other *-*-freebsd* targets.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411174756.A11442@redhat.com>

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

19 years ago * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
rth [Thu, 11 Apr 2002 23:43:02 +0000 (23:43 +0000)]
    * config.gcc (alpha*-*-linux*ecoff): Detect and reject.

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

19 years ago * config/linker-map.gnu: Add __gxx_personality_sj0.
rth [Thu, 11 Apr 2002 23:27:45 +0000 (23:27 +0000)]
    * config/linker-map.gnu: Add __gxx_personality_sj0.

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

19 years ago2002-04-11 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 11 Apr 2002 23:25:54 +0000 (23:25 +0000)]
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
Include {cpu}/{cpu}.h thru tm_file.
(alpha*-*-linux*ecoff): Remove target.
* config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
(LINK_SPEC): Remove, is not OS independent.
* config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
(LINK_SPEC): Do not need to #undef any longer.
* config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
any longer.
* config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
__ELF__.
(LINK_SPEC): Moved here from alpha/elf.h.
* config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
SUB_CPP_PREDEFINES.
* config/alpha/linux-ecoff.h: Remove.
* config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
(CPP_SPEC): Define _POSIX_SOURCE as needed.
(CPP_SUBTARGET_SPEC): Do not define.
(LINK_SPEC): Do not need to #undef any longer.
* config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
* config/alpha/vms.h: Likewise.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411152309.A11121@redhat.com>
      Message-ID: <20020411160159.B11250@redhat.com>
      Jason R Thorpe <thorpej@wasabisystems.com>
      Message-ID: <20020411161434.I4954@dr-evil.shagadelic.org>

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

19 years ago * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
tromey [Thu, 11 Apr 2002 22:23:43 +0000 (22:23 +0000)]
* win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.

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

19 years ago * doc/extend.texi: Remove old claim that typedefs cannot have
rsandifo [Thu, 11 Apr 2002 21:33:31 +0000 (21:33 +0000)]
* doc/extend.texi: Remove old claim that typedefs cannot have
an alignment attribute.

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

19 years agoi2002-04-11 DJ Delorie <dj@redhat.com>
dj [Thu, 11 Apr 2002 21:23:35 +0000 (21:23 +0000)]
i2002-04-11  DJ Delorie  <dj@redhat.com>

* Makefile.in, configure.in: Sync with binutils, entries
follow...

2002-02-01  Mo DeJong  <supermo@bayarea.net>

* Makefile.in: Add all-tix to deps for all-snavigator
so that tix is built when building snavigator.

2002-01-11  Steve Ellcey  <sje@cup.hp.com>

* configure.in (ia64*-*-hpux*): New target for IA64 HP-UX,
ld and gdb are not supported.

2002-01-07  Mark Salter  <msalter@redhat.com>

* configure.in: Remove target-bsp and target-cygmon from arm builds.
Allow target-libgloss to be built for arm, strongarm, and xscale.

2001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>

* configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem
options for i[3456]86-pc-linux* native builds.

2001-11-20  Nick Clifton  <nickc@cambridge.redhat.com>

* Makefile.in (do-proto-toplev): Use msgfmt to generate .gmo
files from .po files for a distribution.

2001-09-03  Jeff Holcomb  <jeffh@redhat.com>

* configure.in: Enable libstdc++-v3 for h8300 targets.

2001-06-19  Alan Modra  <amodra@bigpond.net.au>

* Makefile.in (VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get
version from bfd/.

Fri Jun  8 11:14:02 2001  Andrew Cagney  <cagney@b1.cygnus.com>

* Makefile.in (VER): When present, extract the version number from
the file version.in.

2001-05-24  Tom Rix <trix@redhat.com>

* configure.in : enable ld for aix

2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* mh-s390pic: New file.
* mt-s390pic: New file.

2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* config.guess: Add linux target for S/390.

2000-11-07  Philip Blundell  <pb@futuretv.com>

* Makefile.in (ETC_SUPPORT): Also add configbuild.* and configdev.*.

2000-11-03  Philip Blundell  <pb@futuretv.com>

* Makefile.in (ETC_SUPPORT): Add configure.texi and associated info
files.

2001-01-15  Ben Elliston  <bje@redhat.com>

* configure.in (host_tools): Add sid.
Always configure cgen.

2000-11-24  Nick Clifton  <nickc@redhat.com>

* configure.in (c4x, c5x, tic54x): Move after ARM targets.

2000-08-20  Doug Evans  <dje@casey.transmeta.com>

* Makefile.in (ALL_MODULES): Add all-cgen.
(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily.
(all-cgen): New target.
(all-opcodes,all-sim): Depend on all-cgen.
* configure.in (host_tools): Add cgen.
Only configure cgen if --enable-cgen-maint.

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

19 years ago PR optimization/6177
jakub [Thu, 11 Apr 2002 21:04:09 +0000 (21:04 +0000)]
PR optimization/6177
* expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
bitpos is 0 and bitsize CONCAT size.

* gcc.c-torture/execute/20020411-1.c: New test.

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

19 years ago PR c/6223
jakub [Thu, 11 Apr 2002 20:56:29 +0000 (20:56 +0000)]
PR c/6223
* combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.

* gcc.dg/20020411-1.c: New test.

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

19 years ago2002-04-11 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 11 Apr 2002 19:49:56 +0000 (19:49 +0000)]
2002-04-11  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/lio.h: Treat INTEGER*1 as signed char.

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

19 years ago2002-04-10 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 11 Apr 2002 18:11:53 +0000 (18:11 +0000)]
2002-04-10  David O'Brien  <obrien@FreeBSD.org>
* config/alpha/freebsd.h: Minor reformatting.
(CPP_SPEC): Define ELF and add cpp_subtarget.
(ASM_SPEC): No longer needed.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20020410.203814.109035383.davem@redhat.com>

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

19 years ago * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
rth [Thu, 11 Apr 2002 17:24:28 +0000 (17:24 +0000)]
    * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
        (movdi_insn_sp32_v9): Likewise.  Only allow stx with aligned memory.
        (dimode mem/zero splitter): New.

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

19 years agoRevert previous patch.
rsandifo [Thu, 11 Apr 2002 16:39:41 +0000 (16:39 +0000)]
Revert previous patch.

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

19 years ago2002-04-11 Adam King <aking@dreammechanics.com>
tromey [Thu, 11 Apr 2002 15:57:56 +0000 (15:57 +0000)]
2002-04-11  Adam King <aking@dreammechanics.com>
    Tom Tromey  <tromey@redhat.com>

* include/jvm.h (_Jv_ThrowBadArrayIndex,
_Jv_ThrowNullPointerException): Mark as noreturn.
* win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
and _Jv_free.  Correctly invoke GetTempPath().  Indentation
fixes.

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

19 years ago * config/cris/cris.c (cris_override_options): Tweak error message
hp [Thu, 11 Apr 2002 15:04:38 +0000 (15:04 +0000)]
* config/cris/cris.c (cris_override_options): Tweak error message
for PIC not implemented.

* config/cris/cris.h: Tweak comments related to parameter-passing.

* t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.

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

19 years ago * g++.dg/ext/attrib5.C: New test.
rsandifo [Thu, 11 Apr 2002 14:17:56 +0000 (14:17 +0000)]
* g++.dg/ext/attrib5.C: New test.

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

19 years ago * decl.c (duplicate_decls): Don't try to unify an implicit typedef
rsandifo [Thu, 11 Apr 2002 14:16:26 +0000 (14:16 +0000)]
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
with an explicit one.
(lookup_tag): Extract the tag of an explicit typedef.

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

19 years agoDaily bump.
gccadmin [Thu, 11 Apr 2002 07:16:59 +0000 (07:16 +0000)]
Daily bump.

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

19 years ago * except.c (add_ehl_entry): Allow duplicates after landing pad
rth [Thu, 11 Apr 2002 01:06:33 +0000 (01:06 +0000)]
    * except.c (add_ehl_entry): Allow duplicates after landing pad
        creation.

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

19 years ago * g77.f-torture/execute/6177.f: New test.
janis [Wed, 10 Apr 2002 22:12:19 +0000 (22:12 +0000)]
* g77.f-torture/execute/6177.f: New test.

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

19 years ago PR middle-end/6247
jakub [Wed, 10 Apr 2002 21:49:26 +0000 (21:49 +0000)]
PR middle-end/6247
* g++.dg/opt/cleanup1.C: New test.

* g++.dg/opt/const1.C: New test.

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

19 years ago * Makefile.in: Rebuilt.
tromey [Wed, 10 Apr 2002 20:36:04 +0000 (20:36 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (java/lang/Thread.h): Mark
_Jv_AttachCurrentThreadAsDaemon as friend.
* gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
* gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
* java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
function.
* java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
* jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
(_Jv_JNI_InvokeFunctions): Added
_Jv_JNI_AttachCurrentThreadAsDaemon.
(_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
(JNI_GetDefaultJavaVMInitArgs): Likewise.
(JNI_CreateJavaVM): Likewise.
(_Jv_JNI_AttachCurrentThread): Likewise.
(_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
(_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
(_Jv_JNIFunctions): Initialize new fields.
(_Jv_JNI_NewDirectByteBuffer): New function.
(_Jv_JNI_GetDirectBufferAddress): Likewise.
(_Jv_JNI_GetDirectBufferCapacity): Likewise.
* include/jni.h (JNI_VERSION_1_4): New macro.
(JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
(_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
(JNINativeInterface::NewDirectByteBuffer): New field.
(JNINativeInterface::GetDirectBufferAddress): New field.
(JNINativeInterface::GetDirectBufferCapacity): New field.
(_Jv_JNIEnv::NewDirectByteBuffer): New method.
(_Jv_JNIEnv::GetDirectBufferAddress): New method.
(_Jv_JNIEnv::GetDirectBufferCapacity): New method.

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

19 years ago * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
dje [Wed, 10 Apr 2002 20:28:21 +0000 (20:28 +0000)]
    * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.

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

19 years ago2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 10 Apr 2002 19:49:52 +0000 (19:49 +0000)]
2002-04-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* c-decl.c (c_init_decl_processing): Move generation of
decls for g77_integer_type_node and friends from here ...
* c-common.c (c_common_nodes_and_builtins): ... to here.

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

19 years ago * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
uweigand [Wed, 10 Apr 2002 17:56:02 +0000 (17:56 +0000)]
* reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
is only used as frame pointer when frame_pointer_needed is true.

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

19 years ago * gcc.c-torture/execute/20020406-1.c: Declare malloc.
rth [Wed, 10 Apr 2002 17:47:24 +0000 (17:47 +0000)]
    * gcc.c-torture/execute/20020406-1.c: Declare malloc.

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

19 years agoPR target/817
rearnsha [Wed, 10 Apr 2002 14:06:38 +0000 (14:06 +0000)]
PR target/817
* arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
for the fact that the pool entry uses two words.
(movdf_hard_insn): Similarly.  Also, ADR instruction can span
1k bytes.
(movdf_soft_insn): Similarly.
(movxf_hard_insn): Adjust neg_pool_range attribute to allow
for the fact that the pool entry uses three words.

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

19 years ago * init.c (build_member_call): For now, don't convert to
jason [Wed, 10 Apr 2002 12:18:44 +0000 (12:18 +0000)]
    * init.c (build_member_call): For now, don't convert to
        intermediate base if it would cause an error.

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

19 years ago * config/mips/mips.c (mips_va_arg): When using the struct version
rsandifo [Wed, 10 Apr 2002 10:36:50 +0000 (10:36 +0000)]
* config/mips/mips.c (mips_va_arg): When using the struct version
of the EABI va_list, allow arguments in the register save area to
take up less room than a stack argument.

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

19 years agocp:
nathan [Wed, 10 Apr 2002 09:40:18 +0000 (09:40 +0000)]
cp:
        PR c++/5507
        * decl.c (make_typename_type): Remove implicit typenameness.
testsuite:
        PR c++/5507
        * g++.dg/template/typename2.C: New test.

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

19 years agoDaily bump.
gccadmin [Wed, 10 Apr 2002 07:17:16 +0000 (07:17 +0000)]
Daily bump.

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

19 years ago * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
rth [Wed, 10 Apr 2002 07:11:32 +0000 (07:11 +0000)]
    * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
        if EXPAND_INITIALIZER.

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

19 years ago * config/alpha/alpha.md (movdi_er_maybe_g): New.
rth [Wed, 10 Apr 2002 05:22:33 +0000 (05:22 +0000)]
    * config/alpha/alpha.md (movdi_er_maybe_g): New.
        * config/alpha/alpha.c (alpha_expand_mov): Use it.

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

19 years ago * gcc.c-torture/execute/loop-12.c: New.
amodra [Wed, 10 Apr 2002 03:52:22 +0000 (03:52 +0000)]
* gcc.c-torture/execute/loop-12.c: New.

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

19 years ago PR optimization/6233
amodra [Wed, 10 Apr 2002 03:50:39 +0000 (03:50 +0000)]
PR optimization/6233
* rtlanal.c (pure_call_p): New function.
* rtl.h (pure_call_p): Declare.
* loop.c (prescan_loop): Use it to set has_nonconst_call.
* gcse.c (store_killed_in_insn): Use pure_call_p here too.

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

19 years ago2002-04-09 Eric Christopher <echristo@redhat.com>
echristo [Wed, 10 Apr 2002 03:40:00 +0000 (03:40 +0000)]
2002-04-09  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
information to .comm directive.

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

19 years ago * configure.in: Add *-*-freebsd* configurations.
ljrittle [Wed, 10 Apr 2002 02:51:54 +0000 (02:51 +0000)]
* configure.in: Add *-*-freebsd* configurations.

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

19 years ago * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
rth [Wed, 10 Apr 2002 02:22:20 +0000 (02:22 +0000)]
    * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.

* gcc.c-torture/compile/20020409-1.c: New.

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

19 years ago * basic-block.h (flow_delete_block_noexpunge): Declare.
rth [Wed, 10 Apr 2002 00:15:58 +0000 (00:15 +0000)]
* basic-block.h (flow_delete_block_noexpunge): Declare.
(expunge_block_nocompact): Declare.
* cfg.c (expunge_block_nocompact): Split out from ...
(expunge_block): ... here.
* cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
(flow_delete_block_noexpunge): Split out from ...
(flow_delete_block): ... here.
* cfgcleanup.c (delete_unreachable_blocks): Compact while
removing dead blocks.
* except.c (exception_handler_labels): Remove.
(exception_handler_label_map): New.
(struct eh_region): Add aka member.
(mark_ehl_map_entry, mark_ehl_map, free_region): New.
(ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
(for_each_eh_label, for_each_eh_label_1): New.
(init_eh): Register exception_handler_label_map.
(free_eh_status): Use free_region.
(find_exception_handler_labels): Use the map, not the list.
(remove_exception_handler_label): Likewise.
(maybe_remove_eh_handler): Likewise.
(remove_eh_handler): Use the region aka bitmap.
* except.h (exception_handler_labels): Remove.
(for_each_eh_label): Declare.
* jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
* loop.c (invalidate_loops_containing_label): New.
(find_and_verify_loops): Use it.  Use for_each_eh_label.
* sched-rgn.c (is_cfg_nonregular): Use
current_function_has_exception_handlers.

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

19 years ago * hashtab.c (higher_prime_number): Use 7 as minimum.
rth [Wed, 10 Apr 2002 00:14:53 +0000 (00:14 +0000)]
    * hashtab.c (higher_prime_number): Use 7 as minimum.
        (find_empty_slot_for_expand): Don't compute hash2 unless needed.
        (htab_find_slot_with_hash): Likewise.

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

19 years ago * include/private/gcconfig.h (DATAEND): Update comment example
ljrittle [Tue, 9 Apr 2002 23:11:36 +0000 (23:11 +0000)]
* include/private/gcconfig.h (DATAEND): Update comment example
to match reality.

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

19 years ago2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 9 Apr 2002 21:19:55 +0000 (21:19 +0000)]
2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>

        libstdc++/1072
        * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
        pointer to vector.
        Remove forward declaration of vector.
        Include vector.
        * include/bits/locale_facets.tcc: Remove vector include.
        (use_locale): Adjust.
        (has_locale): Adjust.
        * src/locale.cc: Adjust.
        * src/localename.cc: Same.

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

19 years ago * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
rth [Tue, 9 Apr 2002 21:15:38 +0000 (21:15 +0000)]
    * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
        sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
        Do not return changed status.
        (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
        sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
        New functions that do return changed status.
        * sbitmap.h: Update decls.
        * gcse.c, lcm.c: Use _cg functions as needed.

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

19 years ago * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
amylaar [Tue, 9 Apr 2002 20:07:15 +0000 (20:07 +0000)]
* config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
(sh64-*-elf*, sh-*-rtemself*): Likewise.
* config/sh/embed_bb.c: New file.
* config/sh/embed-elf.h: New file.
* sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
if -m[12345]* option is given.  Don't use subtarget_cpp_ptr_spec.
(CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
__PTRDIFF_TYPE__ .
(SUBTARGET_CPP_PTR_SPEC): Don't define.
(EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
Add subtarget_asm_endian_spec.
(ASM_SPEC): Use subtarget_asm_endian_spec.
(SUBTARGET_ASM_ENDIAN_SPEC): Define.
(RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
(WCHAR_UNSIGNED): Define.
(SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
(DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
(ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
Fix value.
* sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
(sh_adjust_cost): Likewise.
sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
__PTRDIFF_TYPE__ .
(SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
(WCHAR_TYPE_SIZE): Likewise.
(ASM_SPEC): Use subtarget_asm_endian_spec.
(SH_ELF_WCHAR_TYPE): #undef/ #define.
(MAX_WCHAR_TYPE_SIZE): Don't #undef.
* config/sh/elf.h (WCHAR_UNSIGNED): #undef .
(MAX_WCHAR_TYPE_SIZE): Don't #define .
(WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
(USER_LABEL_PREFIX): Don't #undef /#define .
(DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
* config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
(ASM_SPEC): Likewise.
(SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
(CC1_SPEC): don't supply -m3 for -m4*, -m5*.
* t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
(LIB2FUNCS_EXTRA): Define.
* t-sh64 (LIB2FUNCS_EXTRA): Define.
* config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
(LIB1ASMFUNCS_CACHE): Define.
(LIB2FUNCS_EXTRA): Redefine empty.

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

19 years ago * reorg.c (get_branch_condition): Use reversed_comparison_code.
rth [Tue, 9 Apr 2002 19:45:20 +0000 (19:45 +0000)]
    * reorg.c (get_branch_condition): Use reversed_comparison_code.

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

19 years ago * config/m68hc11/larith.asm (__map_data_section): Fix condition
ciceron [Tue, 9 Apr 2002 18:53:50 +0000 (18:53 +0000)]
* config/m68hc11/larith.asm (__map_data_section): Fix condition
and optimize for size.
(__do_global_ctors): Fix pointer comparison.
(__do_global_dtors): Likewise.

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

19 years ago * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
tromey [Tue, 9 Apr 2002 17:44:32 +0000 (17:44 +0000)]
* win32.cc (_Jv_platform_initProperties): Use GetTempPath.

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

19 years ago PR optimization/6189
jason [Tue, 9 Apr 2002 17:02:43 +0000 (17:02 +0000)]
    PR optimization/6189
        * semantics.c (genrtl_start_function): Don't free
        DECL_SAVED_FUNCTION_DATA for inline functions.

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

19 years ago PR optimization/6189
jason [Tue, 9 Apr 2002 17:01:59 +0000 (17:01 +0000)]
    PR optimization/6189
        * semantics.c (genrtl_start_function): Don't free
        DECL_SAVED_FUNCTION_DATA for inline functions.

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

19 years ago2002-04-09 David S. Miller <davem@redhat.com>
davem [Tue, 9 Apr 2002 14:52:03 +0000 (14:52 +0000)]
2002-04-09  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.c (sparc_extra_constraint_check): New
function, implementing EXTRA_CONSTRAINTS.  For memory constraints,
allow reloading pseudos.
* config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
* config/sparc/sparc-protos.h: Declare it.

* config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
unsigned comparison warning.
(output_restore_regs): Mark leaf_function as unused.

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

19 years ago * init.c (build_member_call): For now, don't convert to
jason [Tue, 9 Apr 2002 13:59:59 +0000 (13:59 +0000)]
    * init.c (build_member_call): For now, don't convert to
        intermediate base if it would cause an error.

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

19 years ago * expr.c (is_aligning_offset): New function.
kenner [Tue, 9 Apr 2002 13:41:58 +0000 (13:41 +0000)]
* expr.c (is_aligning_offset): New function.
(expand_expr, case COMPONENT_EXPR): Call it.

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

19 years ago2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 9 Apr 2002 08:48:33 +0000 (08:48 +0000)]
2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
    Richard Henderson  <rth@redhat.com>

* include/bits/sstream.tcc: Clean up bit ops.
* include/bits/fstream.tcc: Same.

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

19 years ago2002-04-09 Jakub Jelinek <jakub@redhat.com>
bkoz [Tue, 9 Apr 2002 08:00:08 +0000 (08:00 +0000)]
2002-04-09  Jakub Jelinek  <jakub@redhat.com>

* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
(__num_base::_S_scale_oct): Remove.
* src/locale.cc (__num_base::_S_scale_hex): Remove.
(__num_base::_S_scale_oct): Remove.

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

19 years ago2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 9 Apr 2002 07:35:31 +0000 (07:35 +0000)]
2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/6124
* testsuite/23_containers/bitset_members.cc: New test.
* include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
(_S_bit_count): Here.
(_First_one::_S_first_one): Move...
(_S_first_one): Here.
Format.
* src/bitset.cc: Adjust.
* config/linker-map.gnu: Export.

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

19 years agoDaily bump.
gccadmin [Tue, 9 Apr 2002 07:17:26 +0000 (07:17 +0000)]
Daily bump.

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

19 years agoFix ChangeLog date
hp [Tue, 9 Apr 2002 07:08:23 +0000 (07:08 +0000)]
Fix ChangeLog date

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

19 years ago PR objc/6107
hp [Tue, 9 Apr 2002 07:06:18 +0000 (07:06 +0000)]
PR objc/6107
* objc/objc-api.h (struct objc_protocol_list): Change type of
member count from int to size_t.

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

19 years ago2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 9 Apr 2002 06:14:32 +0000 (06:14 +0000)]
2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/5180
* include/bits/fstream.tcc (filebuf::seekpos): Fix.
* include/std/std_fstream.h: Clean.
* include/bits/ostream.tcc: Remove extraneous variables.
* include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
open modes and which modes.
(stringbuf::seekpos): Same.
* testsuite/27_io/stringbuf_virtuals.cc: New tests.

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

19 years ago * libjava.lang/PR6204.java, libjava.lang/PR6204.out: New test case.
bryce [Tue, 9 Apr 2002 05:25:11 +0000 (05:25 +0000)]
* libjava.lang/PR6204.java, libjava.lang/PR6204.out: New test case.
* libjava.lang/PR6085.java, libjava.lang/PR6085.out: Likewise.

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

19 years ago * include/private/gcconfig.h (DATAEND): Clarify comment.
ljrittle [Tue, 9 Apr 2002 01:35:21 +0000 (01:35 +0000)]
* include/private/gcconfig.h (DATAEND): Clarify comment.

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

19 years ago * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
hboehm [Tue, 9 Apr 2002 00:39:16 +0000 (00:39 +0000)]
* include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
(GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
declare.
* allchblk.c (GC_allchblk_nth): Change text and support reduced
frequency for blacklist warning message.
* misc.c (GC_large_alloc_warn_interval,
GC_large_alloc_warn_suppressed): define.
(GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
* doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
(GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.

* dyn_load.c (_DYNAMIC): Move declaration to file scope.

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

19 years ago * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
hboehm [Mon, 8 Apr 2002 23:59:13 +0000 (23:59 +0000)]
* src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
correctly.
* src/ia64/unix.S: Add unwind information. Fix comments.
Save sp in a way that's compatible with unwind info.
(ffi_call_unix): Correctly restore sp in all cases.
* src/ia64/ffi.c: Add, fix comments.

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

19 years agoFix commit goof: s/istarget/ishost/ for host
hp [Mon, 8 Apr 2002 23:16:17 +0000 (23:16 +0000)]
Fix commit goof: s/istarget/ishost/ for host

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

19 years ago * g77.f-torture/execute/980628-4.x,
hp [Mon, 8 Apr 2002 22:49:02 +0000 (22:49 +0000)]
* g77.f-torture/execute/980628-4.x,
g77.f-torture/execute/980628-5.x,
g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x,
g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x,
g77.f-torture/compile/alpha1.x: New, xfail cross-endian tests.

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

19 years ago * Make-lang.in (f/target.o): Depend on diagnostic.h.
hp [Mon, 8 Apr 2002 22:20:39 +0000 (22:20 +0000)]
* Make-lang.in (f/target.o): Depend on diagnostic.h.
* target.c: Include diagnostic.h.
  (ffetarget_memcpy_): Call sorry if host and target endians are
not matching.

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

19 years ago * src/sparc/v8.S: Make .eh_frame dependent on target word size.
jakub [Mon, 8 Apr 2002 20:24:17 +0000 (20:24 +0000)]
* src/sparc/v8.S: Make .eh_frame dependent on target word size.

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

19 years ago * configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
tromey [Mon, 8 Apr 2002 18:57:57 +0000 (18:57 +0000)]
* configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
Fixes PR libgcj/6068.

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

19 years ago For PR libgcj/5303:
tromey [Mon, 8 Apr 2002 18:32:23 +0000 (18:32 +0000)]
For PR libgcj/5303:
* .cvsignore: Added rmic.1 and rmiregistry.1.
* gcj.texi (Top): Link to new nodes.
(Invoking rmic): New node.
(Invoking rmiregistry): Likewise.
* Make-lang.in (java.generated-manpages): Added rmic.1 and
rmiregistry.1.
(java.maintainer-clean): Likewise.
($(srcdir)/java/rmic.1): New target.
($(srcdir)/java/rmiregistry.1): Likewise.
(java.install-man): Handle rmic.1 and rmiregistry.1.

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

19 years ago2002-04-08 David S. Miller <davem@redhat.com>
davem [Mon, 8 Apr 2002 17:20:48 +0000 (17:20 +0000)]
2002-04-08  David S. Miller  <davem@redhat.com>

PR target/6082
* config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW

Make init_priority work on Sparc when using GNU ld.
* config/sparc/linux.h, config/sparc/linux64.h,
config/sparc/netbsd-elf.h, config/sparc/freebsd.h
(CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
* config/sparc/sol2-gld.h: New file to do the same.
* config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
sparc/sol2-gld.h to tm_file.

PR optimization/4328
* config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
* doc/md.texi: Document it.
* config/sparc/sparc.md (movdi_insn_sp64_novis,
movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
movdf_insn_v9only_vis, movdf_insn_sp64_novis,
movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
* config/sparc/sparc.c (mem_min_alignment): Fix comment.

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

19 years agoRevert last patch from Richard Henderson.
aj [Mon, 8 Apr 2002 17:09:50 +0000 (17:09 +0000)]
Revert last patch from Richard Henderson.

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

19 years ago2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
tromey [Mon, 8 Apr 2002 14:43:35 +0000 (14:43 +0000)]
2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>

Fix for PR libgcj/6187:
* java/awt/geom/Point2D.java (distance): Call distanceSq, not
distance.

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

19 years ago2002-04-08 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 8 Apr 2002 12:29:38 +0000 (12:29 +0000)]
2002-04-08  Paolo Carlini  <pcarlini@unitus.it>

* parse.y (namespace_qualifier, maybe_identifier,
begin_explicit_instantiation, end_explicit_instantiation,
apparent_template_type, .finish_template_type,
do_id, maybe_init, defarg_again, component_decl_1):
Add ending ';', in accordance with POSIX.

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

19 years ago * doc/contrib.texi (Contributors): Add John David Anglin and Loren
gerald [Mon, 8 Apr 2002 12:07:37 +0000 (12:07 +0000)]
* doc/contrib.texi (Contributors): Add John David Anglin and Loren
J. Rittle (the latter also to Testers).  Update David O'Brien's entry.
* doc/contrib.texi (Contributors): Add David O'Brien.

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

19 years ago * gcj.texi (Invocation): Update JvAttachCurrentThread documentation.
bryce [Mon, 8 Apr 2002 12:03:02 +0000 (12:03 +0000)]
* gcj.texi (Invocation): Update JvAttachCurrentThread documentation.
Add note about handling uncaught exceptions. Add an exception handler
to example.

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

19 years agoOops, commit right file.
amodra [Mon, 8 Apr 2002 08:54:50 +0000 (08:54 +0000)]
Oops, commit right file.

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

19 years ago * configure.in (auto-build.h): Use target_alias and build_alias
amodra [Mon, 8 Apr 2002 08:53:48 +0000 (08:53 +0000)]
* configure.in (auto-build.h): Use target_alias and build_alias
when running configure.
(gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
(gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
* configure: Regenerate.

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

19 years agoDaily bump.
gccadmin [Mon, 8 Apr 2002 07:17:01 +0000 (07:17 +0000)]
Daily bump.

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

19 years ago * parse.y (resolve_qualified_expression_name): Clear "from_super" flag
bryce [Mon, 8 Apr 2002 06:41:36 +0000 (06:41 +0000)]
* parse.y (resolve_qualified_expression_name): Clear "from_super" flag
after using it to patch CALL_EXPR.

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

19 years ago * gcj.texi (Invocation): Document CNI invocation API.
bryce [Mon, 8 Apr 2002 06:37:26 +0000 (06:37 +0000)]
* gcj.texi (Invocation): Document CNI invocation API.

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

19 years ago2002-04-07 David S. Miller <davem@redhat.com>
davem [Mon, 8 Apr 2002 00:30:07 +0000 (00:30 +0000)]
2002-04-07  David S. Miller  <davem@redhat.com>

* config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.

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