OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago2003-01-29 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 29 Jan 2003 15:06:59 +0000 (15:06 +0000)]
2003-01-29 Joel Sherrill <joel@OARcorp.com>

* gthr-rtems.h: Define __GTHREAD_MUTEX_INIT.  Apparently no code
depended on it being defined until now. This was tracked as PR9296.

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

21 years ago2003-01-13 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 29 Jan 2003 15:01:39 +0000 (15:01 +0000)]
2003-01-13 Joel Sherrill <joel@OARcorp.com>

* config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
RTEMS code knows which C++ initialization style the toolset
configuration is using. This was tracked as PR9295.

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

21 years ago2003-01-29 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 29 Jan 2003 14:57:36 +0000 (14:57 +0000)]
2003-01-29 Joel Sherrill <joel@OARcorp.com>

* config/m68k/t-crtstuff: Replace spaces with tabs, add
 $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
This issue was tracked as PR9293.

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

21 years ago2003-01-29 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 29 Jan 2003 14:54:09 +0000 (14:54 +0000)]
2003-01-29 Joel Sherrill <joel@OARcorp.com>

* config.gcc (hppa1.1-rtems):  Did not include t-rtems nor enable
RTEMS threads.
* config/pa/rtems.h (LIB_SPEC): Use -N when linking.
This issue was tracked as PR9292.

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

21 years ago PR c++/8591
lerdsuwa [Wed, 29 Jan 2003 14:25:06 +0000 (14:25 +0000)]
PR c++/8591
* parser.c (cp_parser_elaborated_type_specifier): Convert
TEMPLATE_DECL to TYPE_DECL only when processing template friends.
(cp_parser_maybe_treat_template_as_class): Remove redundant tests.

* g++.dg/parse/friend2.C: New test.

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

21 years agoc-parse.o: Locate source file in $(parsedir) not $(srcdir).
nickc [Wed, 29 Jan 2003 12:32:08 +0000 (12:32 +0000)]
c-parse.o: Locate source file in $(parsedir) not $(srcdir).

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

21 years agocp:
nathan [Wed, 29 Jan 2003 11:35:33 +0000 (11:35 +0000)]
cp:
PR c++/9437
* pt.c (unify): Don't unify '*T' with 'U C::*'.
testsuite:
PR c++/9437
* g++.dg/template/unify4.C: New test.

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

21 years ago2003-01-29 Andrew Haley <aph@redhat.com>
aph [Wed, 29 Jan 2003 10:52:08 +0000 (10:52 +0000)]
2003-01-29  Andrew Haley  <aph@redhat.com>

        * tree-inline.c (walk_tree): Add CHAR_TYPE.

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

21 years ago * i386.md (subdi3_carry_rex64): Fix typo.
hubicka [Wed, 29 Jan 2003 09:27:46 +0000 (09:27 +0000)]
* i386.md (subdi3_carry_rex64): Fix typo.

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

21 years agoTest for bug in read-back of the pending instantiation list from the PCH file.
fjahanian [Wed, 29 Jan 2003 02:08:15 +0000 (02:08 +0000)]
Test for bug in read-back of the pending instantiation list from the PCH file.

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

21 years ago* pt.c (last_pending_template) Declare GTY().
fjahanian [Wed, 29 Jan 2003 02:05:38 +0000 (02:05 +0000)]
* pt.c (last_pending_template) Declare GTY().

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

21 years ago * jcf-write.c (generate_bytecode_conditional): Typo fixes.
tromey [Wed, 29 Jan 2003 01:19:40 +0000 (01:19 +0000)]
* jcf-write.c (generate_bytecode_conditional): Typo fixes.

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

21 years agoDaily bump.
gccadmin [Wed, 29 Jan 2003 00:17:08 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
tromey [Tue, 28 Jan 2003 23:49:46 +0000 (23:49 +0000)]
2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>

* java/awt/Component.java (processPaintEvent): Dispose of Graphics
object when finished.

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

21 years ago * coretypes.h (cpp_reader): Forward declare struct.
shebs [Tue, 28 Jan 2003 23:26:28 +0000 (23:26 +0000)]
    * coretypes.h (cpp_reader): Forward declare struct.
        * c-pragma.h (cpp_reader): Remove forward declaration.
        * hashtable.h (cpp_reader): Likewise.
        * scan.h (cpp_reader): Likewise.
        * tree.h (cpp_reader): Likewise.
        * config/darwin-protos.h (cpp_reader): Likewise.
        * config/arm/arm-protos.h (cpp_reader): Likewise.
        * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
        struct cpp_reader in prototypes.

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

21 years ago * libjava/configure.host: Disable can_unwind_signal on darwin.
tromey [Tue, 28 Jan 2003 23:25:39 +0000 (23:25 +0000)]
* libjava/configure.host: Disable can_unwind_signal on darwin.

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

21 years ago * libjava.loader/TestEarlyGC.java: Added comment explaining
tromey [Tue, 28 Jan 2003 23:21:13 +0000 (23:21 +0000)]
* libjava.loader/TestEarlyGC.java: Added comment explaining
bytecode.

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

21 years ago* doc/install.texi: Add documentation for installation into
aoliva [Tue, 28 Jan 2003 23:15:16 +0000 (23:15 +0000)]
* doc/install.texi: Add documentation for installation into
tooldirs and with DESTDIR.

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

21 years ago * config.gcc (ia64*-*-aix*): Remove.
rth [Tue, 28 Jan 2003 23:04:02 +0000 (23:04 +0000)]
    * config.gcc (ia64*-*-aix*): Remove.
        * config/ia64/aix.h, config/ia64/t-aix: Remove file.
        * config/ia64/unwind-aix.c: Remove file.

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

21 years ago* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
aoliva [Tue, 28 Jan 2003 22:58:58 +0000 (22:58 +0000)]
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
* Makefile.in, configure: Rebuilt.

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

21 years ago2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
tromey [Tue, 28 Jan 2003 22:25:47 +0000 (22:25 +0000)]
2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>

* jargrep.c: Include xregex.h from libiberty instead of
system regex.h for better portability.

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

21 years ago2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
tromey [Tue, 28 Jan 2003 22:23:36 +0000 (22:23 +0000)]
2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>

Fixes PR java/9254:
* include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
additionally containing id of the owner thread as well as
the number of nested times the thread has acquired the mutex.
(_Jv_MutexInit): Initialise owner thread id and refcount to 0.
(_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
(_Jv_MutexUnlock): Check if really the owner thread, reset
owner thread id to 0 before leaving, if leaving for the last
time.
(_Jv_MutexLock): Set owner thread id in the mutex and increment
refcount.
(_Jv_ThreadYield): Yield using a call to Sleep(0).
* win32-threads.cc (_Jv_CondWait): Check if really owner of
the passed mutex.
Pass handle of the broadcast event, instead of a pointer to it
in Win32 ResetEvent( ) call.
Remove incorrect return values.
(_Jv_CondDestroy): Close both event handles and delete
critical section.
(_Jv_CondNotify): Check if really the owner thread.
(_Jv_CondNotifyAll): Check if really the owner thread.
(_Jv_InitThreads): Change daemon_cond to a manual-reset event.
(really_start): Use SetEvent( ) to signal daemon_cond.
(_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
WaitForSingleObject( ) instead to wait for daemon_cond to be
signalled.

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

21 years ago * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
rth [Tue, 28 Jan 2003 22:17:21 +0000 (22:17 +0000)]
    * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
        register.
        * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.

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

21 years ago * combine.c (nonzero_bits): Fix check for negative divide operands.
rsandifo [Tue, 28 Jan 2003 22:15:50 +0000 (22:15 +0000)]
* combine.c (nonzero_bits): Fix check for negative divide operands.

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

21 years ago * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
rth [Tue, 28 Jan 2003 22:08:24 +0000 (22:08 +0000)]
    * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
        * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.

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

21 years ago* Makefile.in (all-subdir, check-subdir, installcheck-subdir)
aoliva [Tue, 28 Jan 2003 21:52:14 +0000 (21:52 +0000)]
* Makefile.in (all-subdir, check-subdir, installcheck-subdir)
(info-subdir, install-info-subdir, clean-info-subdir)
(dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
(clean-subdir, distclean-subdir, maintainer-clean-subdir):
Pass $(FLAGS_TO_PASS).

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

21 years ago * config/cris/cris.c (cris_address_cost): Make static.
rth [Tue, 28 Jan 2003 21:32:24 +0000 (21:32 +0000)]
    * config/cris/cris.c (cris_address_cost): Make static.
        (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
        * config/cris/cris.h (ADDRESS_COST): Remove.
        * config/cris/cris-protos.h: Update.

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

21 years ago * cse.c (find_best_addr): Kill !ADDRESS_COST code.
rth [Tue, 28 Jan 2003 21:29:40 +0000 (21:29 +0000)]
    * cse.c (find_best_addr): Kill !ADDRESS_COST code.

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

21 years ago2003-01-28 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Tue, 28 Jan 2003 20:11:44 +0000 (20:11 +0000)]
2003-01-28  Jeffrey D. Oldham  <oldham@codesourcery.com>

* g++.dg/lookup/nested1.C: Test moved from ...
* g++.old-deja/g++.other/lookup24.C: ... here.

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

21 years ago * regclass.c (init_reg_autoinc): New function.
mrs [Tue, 28 Jan 2003 19:40:46 +0000 (19:40 +0000)]
    * regclass.c (init_reg_autoinc): New function.
        (regclass): Move initialization of forbidden_inc_dec_class from
        here...
        (init_regs): to here.  Avoids reinitialization for each function,
        saving compilation time.

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

21 years ago * cpplib.h (struct cpp_options): Add warn_deprecated field.
jason [Tue, 28 Jan 2003 19:30:00 +0000 (19:30 +0000)]
    * cpplib.h (struct cpp_options): Add warn_deprecated field.
        * cppinit.c (cpp_create_reader): Turn it on by default.
        * c-opts.c (c_common_decode_option): Set it.
        * cpplib.c (do_pragma_once): Only complain about #pragma once
        if warn_deprecated is set.

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

21 years ago2003-01-28 Dale Johannesen <dalej@apple.com>
dalej [Tue, 28 Jan 2003 19:25:49 +0000 (19:25 +0000)]
2003-01-28  Dale Johannesen  <dalej@apple.com>
        * emit-rtl.c (const_double_htab_hash):  Use mode in the hash.
        * loop.c (scan_loop):  Move movables on -Os rich-register targets.
        * config/rs6000/rs6000.md (sibcall*):  Use match_operand for LR.

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

21 years agoAdd ChangeLog entry for last change.
ro [Tue, 28 Jan 2003 19:18:49 +0000 (19:18 +0000)]
Add ChangeLog entry for last change.

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

21 years ago * gcc.dg/i386-cmov5.c: New test.
hubicka [Tue, 28 Jan 2003 19:16:01 +0000 (19:16 +0000)]
* gcc.dg/i386-cmov5.c:  New test.

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

21 years ago2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
tromey [Tue, 28 Jan 2003 19:10:00 +0000 (19:10 +0000)]
2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>

* configure.in: Specifically define HAVE_BACKTRACE if building
for MinGW.
* include/win32.h: Remove HAVE_BACKTRACE definition.
* gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
* configure: Rebuilt.

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

21 years agoUpdated copyright year.
ro [Tue, 28 Jan 2003 19:05:11 +0000 (19:05 +0000)]
Updated copyright year.

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

21 years ago * libjava.jacks/jacks.xfail: More lexer tests now pass.
tromey [Tue, 28 Jan 2003 18:48:32 +0000 (18:48 +0000)]
* libjava.jacks/jacks.xfail: More lexer tests now pass.

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

21 years ago * lex.c (java_lex): Don't include UEOF as part of token.
tromey [Tue, 28 Jan 2003 18:47:52 +0000 (18:47 +0000)]
* lex.c (java_lex): Don't include UEOF as part of token.
(java_read_unicode): Error if \u sequence prematurely terminated.

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

21 years ago * gcc.c-torture/execute/20010925-1.c: Changed the
rth [Tue, 28 Jan 2003 18:33:19 +0000 (18:33 +0000)]
    * gcc.c-torture/execute/20010925-1.c: Changed the
        memcpy declaration.

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

21 years ago * target.h (targetm.address_cost): New.
rth [Tue, 28 Jan 2003 18:14:42 +0000 (18:14 +0000)]
* target.h (targetm.address_cost): New.
* target-def.h (TARGET_ADDRESS_COST): New.
(TARGET_RTX_COSTS): Uncomment.  Oops.
* cse.c (address_cost): Use new target hook.
(default_address_cost): New.
* output.h (default_address_cost): Declare.
* hooks.c (hook_int_rtx_0): New.
* hooks.h (hook_int_rtx_0): Declare.
* loop.c (combine_givs_p): Remove if 0 code.
* system.h (ADDRESS_COST): Poison.

* config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
config/xtensa/xtensa.c, config/xtensa/xtensa.h
(TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
(ADDRESS_COST): Remove.

* config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
config/mips/mips.c, config/mips/mips.h,
config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
config/vax/vax.c, config/vax/vax.h
(foo_address_cost): Make static.
(TARGET_ADDRESS_COST): New.
(ADDRESS_COST): Remove.

* config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h
(ADDRESS_COST): Move code ...
(foo_address_cost): ... here.
(TARGET_ADDRESS_COST): New.

* config/m32r/m32r.c (m32r_address_cost): Remove.
* config/m32r/m32r-protos.h: Update.

* config/mmix/mmix.c (mmix_address_cost): Remove.
* config/mmix/mmix-protos.h: Update.

* config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
mn10300_address_cost; move unsig allocation ...
(mn10300_address_cost): ... here.
(TARGET_ADDRESS_COST): New.
* config/mn10300/mn10300-protos.h: Update.
* config/mn10300/mn10300.h (ADDRESS_COST): Remove.

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

21 years ago * target.h (targetm.address_cost): New.
rth [Tue, 28 Jan 2003 18:08:56 +0000 (18:08 +0000)]
* target.h (targetm.address_cost): New.
* target-def.h (TARGET_ADDRESS_COST): New.
(TARGET_RTX_COSTS): Uncomment.  Oops.
* cse.c (address_cost): Use new target hook.
(default_address_cost): New.
* output.h (default_address_cost): Declare.
* hooks.c (hook_int_rtx_0): New.
* hooks.h (hook_int_rtx_0): Declare.
* loop.c (combine_givs_p): Remove if 0 code.
* system.h (ADDRESS_COST): Poison.

* config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
config/xtensa/xtensa.c, config/xtensa/xtensa.h
(TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
(ADDRESS_COST): Remove.

* config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
config/mips/mips.c, config/mips/mips.h,
config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
config/vax/vax.c, config/vax/vax.h
(foo_address_cost): Make static.
(TARGET_ADDRESS_COST): New.
(ADDRESS_COST): Remove.

* config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h
(ADDRESS_COST): Move code ...
(foo_address_cost): ... here.
(TARGET_ADDRESS_COST): New.

* config/m32r/m32r.c (m32r_address_cost): Remove.
* config/m32r/m32r-protos.h: Update.

* config/mmix/mmix.c (mmix_address_cost): Remove.
* config/mmix/mmix-protos.h: Update.

* config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
mn10300_address_cost; move unsig allocation ...
(mn10300_address_cost): ... here.
(TARGET_ADDRESS_COST): New.
* config/mn10300/mn10300-protos.h: Update.
* config/mn10300/mn10300.h (ADDRESS_COST): Remove.

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

21 years agocp:
nathan [Tue, 28 Jan 2003 17:36:11 +0000 (17:36 +0000)]
cp:
PR c++/3902
* parser.c (cp_parser_decl_specifier_seq): Cannot have constructor
inside a declarator.
testsuite:
PR c++/3902
* g++.dg/parse/template5.C: New test.

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

21 years ago2003-01-28 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 28 Jan 2003 17:20:41 +0000 (17:20 +0000)]
2003-01-28  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/9258
* g77.dg/pr9258: New test.

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

21 years ago2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 28 Jan 2003 17:12:06 +0000 (17:12 +0000)]
2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>

* haifa-sched.c (schedule_insn): Return necessary cycle advance
after issuing the insn.
(rank_for_schedule): Make a insn with /S the highest priority
insn.
(move_insn): Ignore schedule groups.  Clear SCHED_GROUP_P.
(choose_ready): Check SCHED_GROUP_P.
(schedule_block): Advance cycle after issuing insn if it is
necessary.  Don't reorder insns if there is an insn with /S.
(set_priorities): Ignore schedule groups.

* sched-deps.c (remove_dependence, group_leader): Remove the
functions.
(add_dependence): Ignore schedule groups.
(set_sched_group_p): Don't make copy of dependencies from previous
insn of the schedule group.  Add anti-dependency to the previous
insn of the schedule group.
(compute_forward_dependences): Ignore schedule groups.

* sched-ebb.c (init_ready_list): Ignore schedule groups.

* sched-rgn.c (init_ready_list): Ditto.
(can_schedule_ready_p): Ditto.

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

21 years ago * README: Move relevant parts from README.g++.
gerald [Tue, 28 Jan 2003 17:05:33 +0000 (17:05 +0000)]
* README: Move relevant parts from README.g++.

* README.g++: Remove this file.

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

21 years ago2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 28 Jan 2003 17:03:38 +0000 (17:03 +0000)]
2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>

* config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
register to another one.

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

21 years ago * calls.c (default_must_pass_in_stack): Fix typo in !type case.
rth [Tue, 28 Jan 2003 16:56:36 +0000 (16:56 +0000)]
    * calls.c (default_must_pass_in_stack): Fix typo in !type case.

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

21 years ago2003-01-28 Andrew Haley <aph@redhat.com>
aph [Tue, 28 Jan 2003 15:54:28 +0000 (15:54 +0000)]
2003-01-28  Andrew Haley  <aph@redhat.com>

        * include/ffi.h.in: Enable FFI_CLOSURES for x86_64.
        * src/x86/ffi64.c (ffi_prep_closure): New.
        (ffi_closure_UNIX64_inner): New.
        * src/x86/unix64.S (ffi_closure_UNIX64): New.

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

21 years ago* config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
aoliva [Tue, 28 Jan 2003 15:48:17 +0000 (15:48 +0000)]
* config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
(UNITS_PER_FPVALUE): Defined as the width of a long double, or
zero if no hardware floating point.
(LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
(MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
(BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
(FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
* config/mips/mips.c (mips_arg_info): Pass TFmode values in
even FP registers on N32 and N64.
(mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
(mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
(mips_va_arg): Use UNITS_PER_HWFPVALUE.  Impose additional
even-register-like alignment to 128-bit arguments.
(save_restore_insns): Use UNITS_PER_HWFPVALUE.
(mips_function_value): Likewise.  Return TFmode in $f0 and $f2
on N32 or N64.
* config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
* config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
(TPBIT): Set to tp-bit.c.
(tp-bit.c): Create out of fp-bit.c.

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

21 years agolibstdc++-v3:
nathan [Tue, 28 Jan 2003 15:26:53 +0000 (15:26 +0000)]
libstdc++-v3:
        PR c++/9433
        * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
        with bases which are very ambiguous.
gcc/testsuite:
        * g++.dg/abi/dcast1.C: New test.

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

21 years ago * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
sayle [Tue, 28 Jan 2003 14:52:07 +0000 (14:52 +0000)]
* cse.c (cse_insn): Avoid redundant REG_EQUAL notes.

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

21 years ago * gcc.c-torture/execute/builtin-constant.x: Only expect failure at -O1.
ghazi [Tue, 28 Jan 2003 14:21:26 +0000 (14:21 +0000)]
* gcc.c-torture/execute/builtin-constant.x: Only expect failure at -O1.

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

21 years ago * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
rsandifo [Tue, 28 Jan 2003 12:45:12 +0000 (12:45 +0000)]
* config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
class contains a floating-point register, return the size of the
mode in half words.

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

21 years agoAdd a missing change to:
gerald [Tue, 28 Jan 2003 12:41:24 +0000 (12:41 +0000)]
Add a missing change to:
* gcc/doc/invoke.texi (Optimization Options): Group together
optional and experimental flags.  Move trapv and bounds-check
out of this section.  Group floating point flags together.
(Code Gen Options): Move trapv and bounds-check to here.

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

21 years ago * i386.c (ix86_carry_flag_operator): New predicate.
hubicka [Tue, 28 Jan 2003 11:16:32 +0000 (11:16 +0000)]
  * i386.c (ix86_carry_flag_operator):  New predicate.
  (fcmov_operator): Fix whitespace.
  (ix86_expand_carry_flag_compare):  Deal with floating point.
  (ix86_expand_int_movcc): Deal with fp; update insn expansion
  (ix86_expand_int_addcc): Likewise.
  (ix86_expand_strlensi_unroll_1): likewsie.
  * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
  * i386.md (add?i_carry_rex64): Use new predicate.
  (sub?i3_carry_rex64): Likewise.
  (x86_mov?icc_0_m1*): Likewise.

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

21 years ago * cfgloopmanip.c (create_preheader): Initialize src to avoid
schwab [Tue, 28 Jan 2003 11:05:18 +0000 (11:05 +0000)]
* cfgloopmanip.c (create_preheader): Initialize src to avoid
warning.

* expmed.c (emit_store_flag): Fix cast to avoid sign
comparison warning.

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

21 years ago * combine.c (force_to_mode): Add cast to fix warning when
schwab [Tue, 28 Jan 2003 11:02:28 +0000 (11:02 +0000)]
* combine.c (force_to_mode): Add cast to fix warning when
STORE_FLAG_VALUE is negative.

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

21 years ago * libjava.compile/consthrow.java: New file.
tromey [Tue, 28 Jan 2003 06:19:48 +0000 (06:19 +0000)]
* libjava.compile/consthrow.java: New file.
* libjava.compile/consthrow.xfail: New file.

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

21 years ago * parse.y (java_check_regular_methods): Check for construct after
tromey [Tue, 28 Jan 2003 06:18:31 +0000 (06:18 +0000)]
* parse.y (java_check_regular_methods): Check for construct after
checking types in throws clause.

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

21 years ago * Makefile.in (cse.o): Depend on TARGET_H.
rth [Tue, 28 Jan 2003 04:46:33 +0000 (04:46 +0000)]
* Makefile.in (cse.o): Depend on TARGET_H.
* cse.c (rtx_cost): Use targetm.rtx_costs.
* system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
* doc/tm.texi: Update.

* target.h (targetm.rtx_costs): New.
* target-def.h (TARGET_RTX_COSTS): New.
* hooks.c (hook_bool_rtx_int_int_intp_false): New.
* hooks.h: Update.

* config/alpha/alpha.c (alpha_rtx_cost_data): New.
(alpha_rtx_costs, TARGET_RTX_COSTS): New.
* config/alpha/alpha.h (PROCESSOR_MAX): New.
(CONST_COSTS, RTX_COSTS): Remove.

* config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
config/mn10200/mn10200.h, config/mn10300/mn10300.c,
config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
config/stormy16/stormy16.c, config/stormy16/stormy16.h,
config/v850/v850.c, config/v850/v850.h,
config/xtensa/xtensa.c, config/xtensa/xtensa.h
(CONST_COSTS, RTX_COSTS): Move code ...
(foo_rtx_costs, TARGET_RTX_COSTS): ... here.

* config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
(arm_rtx_costs, TARGET_RTX_COSTS): New.
* config/arm/arm-protos.h: Update.
* config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.

* config/avr/avr.h (CONST_COSTS): Move code ...
* config/avr/avr.c (avr_rtx_costs): ... here.
(default_rtx_costs): Make static.
* config/avr/avr-protos.h: Update.

* config/h8300/h8300.c (const_costs): Make static.
(h8300_and_costs, h8300_shift_costs): Likewise.
* config/h8300/h8300-protos.h: Update.

* config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
(CONST_COSTS): Move code ...
* config/ip2k/ip2k.c (ip2k_rtx_costs): ... here.  Rename from
default_rtx_costs; update for signature change.
* config/ip2k/ip2k-protos.h: Update.

* config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
(CONST_COSTS): Move code ...
* config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
(TARGET_RTX_COSTS): New.
(m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
* config/m68hc11/m68hc11-protos.h: Update.

* config/m68k/m68k.c (const_int_cost): Make static.
* config/m68k/m68k-protos.h: Update.

* config/mcore/mcore.c (mcore_const_costs): Make static.
(mcore_and_cost, mcore_ior_cost): Likewise.
* config/mcore/mcore-protos.h: Update.

* config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
(mmix_rtx_cost_recalculated): Remove.
* config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
* config/mmix/mmix-protos.h: Update.

* config/sh/sh.c (shiftcosts): Make static.
(addsubcosts, andcosts, multcosts): Likewise.
* config/sh/sh-protos.h: Update.

* config/sparc/sparc.c (TARGET_RTX_COSTS): New.
(sparc_rtx_costs): Make static; update for change in signature.
* config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
* config/sparc/sparc-protos.h: Update.

* config/v850/v850.c (const_costs): Make static.
* config/v850/v850-protos.h: Update.

* config/vax/vax.h (RTX_COSTS): Remove.
(CONST_COSTS): Move code ...
* config/vax/vax.c (vax_rtx_costs_1): ... here; rename
from vax_rtx_cost.
(vax_rtx_costs, TARGET_RTX_COSTS): New.

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

21 years ago * config/vax/vax-protos.h: Update. Really.
rth [Tue, 28 Jan 2003 03:41:10 +0000 (03:41 +0000)]
    * config/vax/vax-protos.h: Update.  Really.

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

21 years ago * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really.
rth [Tue, 28 Jan 2003 03:39:45 +0000 (03:39 +0000)]
    * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.  Really.

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

21 years ago2003-01-27 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Tue, 28 Jan 2003 03:26:00 +0000 (03:26 +0000)]
2003-01-27  Jeffrey D. Oldham  <oldham@codesourcery.com>

PR c++/47
* g++.old-deja/g++.other/lookup24.C: New test.

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

21 years ago* config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
aoliva [Tue, 28 Jan 2003 02:18:43 +0000 (02:18 +0000)]
* config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
(UNITS_PER_FPVALUE): Defined as the width of a long double, or
zero if no hardware floating point.
(LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
(MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
(BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
(FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
* config/mips/mips.c (mips_arg_info): Pass TFmode values in
even FP registers on N32 and N64.
(mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
(mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
(mips_va_arg): Use UNITS_PER_HWFPVALUE.  Impose additional
even-register-like alignment to 128-bit arguments.
(save_restore_insns): Use UNITS_PER_HWFPVALUE.
(mips_function_value): Likewise.  Return TFmode in $f0 and $f2
on N32 or N64.
* config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
* config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
(TPBIT): Set to tp-bit.c.
(tp-bit.c): Create out of fp-bit.c.

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

21 years ago PR middle-end/7227
ghazi [Tue, 28 Jan 2003 01:59:22 +0000 (01:59 +0000)]
PR middle-end/7227
* gcc.dg/uninit-C.c: New test.

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

21 years ago* c-parse.in: Remove '%expect 32' directive in objc mode
gdr [Tue, 28 Jan 2003 01:56:32 +0000 (01:56 +0000)]
* c-parse.in: Remove '%expect 32' directive in objc mode

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

21 years ago* Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
aoliva [Tue, 28 Jan 2003 01:48:39 +0000 (01:48 +0000)]
* Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
/`$$CC -print-multi-os-directory`.

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

21 years ago ChangeLog file for zlib
aoliva [Tue, 28 Jan 2003 01:48:38 +0000 (01:48 +0000)]
ChangeLog file for zlib

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

21 years ago* aclocal.m4 (glibcpp_toolexeclibdir): Instead of
aoliva [Tue, 28 Jan 2003 01:48:33 +0000 (01:48 +0000)]
* aclocal.m4 (glibcpp_toolexeclibdir): Instead of
$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
version_specific_libs is enabled.
* configure: Rebuilt.

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

21 years ago* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
aoliva [Tue, 28 Jan 2003 01:48:33 +0000 (01:48 +0000)]
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
* Makefile.in, configure: Rebuilt.

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

21 years ago* configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
aoliva [Tue, 28 Jan 2003 01:44:58 +0000 (01:44 +0000)]
* configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
Set and AC_SUBST.  Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
(toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
* Makefile.in, configure: Rebuilt.

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

21 years ago* Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.
aoliva [Tue, 28 Jan 2003 01:44:38 +0000 (01:44 +0000)]
* Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.
* aclocal.m4 (glibcpp_toolexeclibdir): Instead of
$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
version_specific_libs is enabled.
* configure: Rebuilt.

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

21 years ago* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
aoliva [Tue, 28 Jan 2003 01:44:37 +0000 (01:44 +0000)]
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
* Makefile.in, configure: Rebuilt.

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

21 years ago * libjava.lang/pr8823.xfail: New file, add "xfail-byte".
ghazi [Tue, 28 Jan 2003 01:34:49 +0000 (01:34 +0000)]
* libjava.lang/pr8823.xfail: New file, add "xfail-byte".

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

21 years ago * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
dannysmith [Tue, 28 Jan 2003 01:17:36 +0000 (01:17 +0000)]
* src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
@EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
* libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.

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

21 years agoDaily bump.
gccadmin [Tue, 28 Jan 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

21 years agocp:
nathan [Mon, 27 Jan 2003 23:29:50 +0000 (23:29 +0000)]
cp:
* class.c (update_vtable_entry_for_fn): Add index parameter.
Generate vcall thunk for covariant overriding from a virtual
primary base.
(dfs_modify_vtables): Adjust.
testsuite:
* g++.dg/abi/covariant1.C: New test.

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

21 years ago * Makefile.in (LIB2FUNCS_ST): Remove _gcov.
nathan [Mon, 27 Jan 2003 23:22:17 +0000 (23:22 +0000)]
* Makefile.in (LIB2FUNCS_ST): Remove _gcov.
(LIBGCOV): New variable.
(libgcc.mk): Add LIBGCOV.
(LIBGCC_DEPS): Add libgcov.c.
(libgcov.a): New target.
(clean): Remove libgcov.a.
(install-libgcc): Do libgcov too.
(stage1-start, stage2-start, stage3-start, stage4-start): Deal
with libgcov.a.
* libgcc2.c (L_gcov): Move into ...
* libgcov.c: ... here. New file.
* mklibgcc.in: Add libgcov rules.
* gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.

* doc/invoke.texi (profile-arcs, test-coverage): Update and
clarify.

* profile.c (index_counts_file): Remove duplicate check for open file.

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

21 years ago * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
dje [Mon, 27 Jan 2003 20:25:43 +0000 (20:25 +0000)]
    * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
        * Makefile.in: Regenerate.

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

21 years agoFix date of ChangeLog of previous revision.
gerald [Mon, 27 Jan 2003 18:07:49 +0000 (18:07 +0000)]
Fix date of ChangeLog of previous revision.

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

21 years ago * gcc/doc/invoke.texi (Optimization Options): Group together
gerald [Mon, 27 Jan 2003 18:06:39 +0000 (18:06 +0000)]
* gcc/doc/invoke.texi (Optimization Options): Group together
optional and experimental flags.  Move trapv and bounds-check
out of this section.
(Code Gen Options): Move trapv and bounds-check to here.

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

21 years ago* acinclude.m4 (glibcpp_toolexeclibdir): Instead of
aoliva [Mon, 27 Jan 2003 17:26:29 +0000 (17:26 +0000)]
* acinclude.m4 (glibcpp_toolexeclibdir): Instead of
$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
version_specific_libs is enabled.
* aclocal.m4, configure: Rebuilt.

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

21 years agoRebuilt with autoconf 2.13
aoliva [Mon, 27 Jan 2003 17:22:12 +0000 (17:22 +0000)]
Rebuilt with autoconf 2.13

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

21 years ago2003-01-27 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 27 Jan 2003 14:56:12 +0000 (14:56 +0000)]
2003-01-27  Phil Edwards  <pme@gcc.gnu.org>

* configure.in:  Revert 24Jan change.
* configure:  Regenerate.

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

21 years ago * init.c (__gnat_error_handler): Make msg const.
ro [Mon, 27 Jan 2003 13:16:59 +0000 (13:16 +0000)]
* init.c (__gnat_error_handler): Make msg const.

* gmem.c (convert_addresses): Move declaration ...
* adaint.h: ... here.
* adaint.c (convert_addresses): Adapt addrs type to match
prototype.

* adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.

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

21 years ago * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
zlomek [Mon, 27 Jan 2003 11:30:35 +0000 (11:30 +0000)]
* gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.

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

21 years ago * doc/extend.texi: Fix typo.
reichelt [Mon, 27 Jan 2003 10:53:36 +0000 (10:53 +0000)]
* doc/extend.texi: Fix typo.

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

21 years agoPR optimization/9090
rearnsha [Mon, 27 Jan 2003 10:46:47 +0000 (10:46 +0000)]
PR optimization/9090
* function.c (purge_addressof_1): After pushing an addressed register
onto the stack, simplify the result.

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

21 years ago * doc/cppopts.texi: Fix typo.
reichelt [Mon, 27 Jan 2003 10:30:11 +0000 (10:30 +0000)]
* doc/cppopts.texi: Fix typo.
* doc/objc.texi: Likewise.
* doc/passes.texi: Likewise.

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

21 years ago* real.c (ibm_extended_format): Add 53 to minimum exponent.
aoliva [Mon, 27 Jan 2003 06:23:32 +0000 (06:23 +0000)]
* real.c (ibm_extended_format): Add 53 to minimum exponent.
(encode_ibm_extended): Adjust.

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

21 years ago * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
gdr [Mon, 27 Jan 2003 02:22:21 +0000 (02:22 +0000)]
    * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
        timevar_id enumerations.

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

21 years agoDaily bump.
gccadmin [Mon, 27 Jan 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * combine.c: Fix formatting.
kazu [Sun, 26 Jan 2003 21:53:22 +0000 (21:53 +0000)]
* combine.c: Fix formatting.

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

21 years ago * doc/gccint.texi: Update the copyright.
kazu [Sun, 26 Jan 2003 21:35:07 +0000 (21:35 +0000)]
* doc/gccint.texi: Update the copyright.

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

21 years ago * doc/cpp.texi: Fix typos.
kazu [Sun, 26 Jan 2003 20:56:09 +0000 (20:56 +0000)]
* doc/cpp.texi: Fix typos.
* doc/extend.texi: Likewise.
* doc/gty.texi: Likewise.
* doc/install.texi: Likewise.
* doc/passes.texi: Likewise.
* doc/rtl.texi: Likewise.
* doc/tm.texi: Likewise.

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

21 years ago * config/ia64/fde-glibc.c: Fix comment typos.
kazu [Sun, 26 Jan 2003 20:15:36 +0000 (20:15 +0000)]
* config/ia64/fde-glibc.c: Fix comment typos.
* config/ia64/hpux.h: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ia64/unwind-ia64.c: Likewise.

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

21 years ago * config/i386/i386-modes.def: Fix comment typos.
kazu [Sun, 26 Jan 2003 19:59:27 +0000 (19:59 +0000)]
* config/i386/i386-modes.def: Fix comment typos.
* config/i386/i386.c: Likewise.
* config/i386/i386.md: Likewise.

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

21 years ago2003-01-26 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 26 Jan 2003 19:26:35 +0000 (19:26 +0000)]
2003-01-26  Toon Moene  <toon@moene.indiv.nluug.nl>

* lang-specs.h: Revoke change to (incorrectly) prohibit
passing -f options to cc1 when preprocessing.
* news.texi: Document this.

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

21 years ago2003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl>
aj [Sun, 26 Jan 2003 14:40:22 +0000 (14:40 +0000)]
2003-01-26  Steven Bosscher  <s.bosscher@student.tudelft.nl>

* config/avr/avr.h, config/cris/aout.h, config/elfos.h,
config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
ASM_FINISH_DECLARE_OBJECT before defining it.
* toplev.c (rest_of_decl_compilation):  Don't define
ASM_FINISH_DECLARE_OBJECT.  Only use it if it is defined.
(rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
parameters for DWARF2 targets because they _are_ used.

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

21 years ago2003-01-26 Michael Matz <matz@suse.de>
aj [Sun, 26 Jan 2003 10:17:17 +0000 (10:17 +0000)]
2003-01-26  Michael Matz  <matz@suse.de>

* Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.

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