Kazu Hirata
0889116d34
h8300.h (PREDICATE_CODES): Add entries for general_operand_src and general_operand_dst.
...
* config/h8300/h8300.h (PREDICATE_CODES): Add entries for
general_operand_src and general_operand_dst.
From-SVN: r62110
2003-01-29 22:04:57 +00:00
Fariborz Jahanian
be5a07ac01
cp/pt.c change log entry move from ./ChangeLog to cp/ChangeLog
...
From-SVN: r62106
2003-01-29 19:13:12 +00:00
Fariborz Jahanian
2399b15afb
Added 'Fariborz Jahanian' to the 'Write After Approval' list.
...
From-SVN: r62105
2003-01-29 19:08:42 +00:00
Tom Tromey
c78f2b91f5
parse.y (patch_assignment): Only transform the rhs of an assignment when compiling to native.
...
* parse.y (patch_assignment): Only transform the rhs of an
assignment when compiling to native.
From-SVN: r62104
2003-01-29 18:48:41 +00:00
Joel Sherrill
c4039eb00f
5rosinte.ads: Add SIGXCPU.
...
2003-01-29 Joel Sherrill <joel@OARcorp.com>
* 5rosinte.ads: Add SIGXCPU.
* 5rtpopsp.adb: New file.
* Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
* Makefile.in: Recognize more RTEMS targets and add the RTEMS
specific file 5rtpopsp.adb.
* adaint.h: Add include of <stdio.h> when target is RTEMS. This
is likely needed for all newlib targets.
* init.c: Add RTEMS specific version of __gnat_initialize().
From-SVN: r62098
2003-01-29 17:43:57 +00:00
Andreas Tobler
204c43d642
* MAINTAINERS Add myself to write-after-approval list.
...
From-SVN: r62097
2003-01-29 18:43:30 +01:00
David Edelsohn
c8c99a6877
rs6000.c (function_arg_pass_by_reference): Return true for variable sized types.
...
* config/rs6000/rs6000.c (function_arg_pass_by_reference):
Return true for variable sized types.
(rs6000_va_arg): Handle variable sized types passed by reference
on non-SVR4 ABI.
From-SVN: r62095
2003-01-29 12:37:25 -05:00
Richard Earnshaw
ccf4d51284
arm.c (arm_legtimize_address): New function.
...
* arm.c (arm_legtimize_address): New function.
* arm-protos.h (arm_legtimize_address): Add prototype.
* arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
(LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
do ... while (0)
From-SVN: r62091
2003-01-29 16:50:34 +00:00
Joel Sherrill
0680c8fb90
re PR bootstrap/9296 ([*-rtems] gthr-rtems regression)
...
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.
From-SVN: r62084
2003-01-29 15:06:59 +00:00
Joel Sherrill
c934274a40
re PR target/9295 ([mips-rtems] config/mips/rtems.h init/fini issue)
...
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.
From-SVN: r62082
2003-01-29 15:01:39 +00:00
Joel Sherrill
2e327e6e14
re PR bootstrap/9293 ([m68k-elf/rtems] config/m68k/t-crtstuff bug)
...
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.
From-SVN: r62080
2003-01-29 14:57:36 +00:00
Joel Sherrill
64abe03e3d
re PR bootstrap/9292 (hppa1.1-rtems configurery problems)
...
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.
From-SVN: r62078
2003-01-29 14:54:09 +00:00
Kriang Lerdsuwanakij
710b73e6f7
re PR c++/8591 (g++ crashes while instantiating templates)
...
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.
From-SVN: r62076
2003-01-29 14:25:06 +00:00
Nick Clifton
2f12fb2b8b
c-parse.o: Locate source file in $(parsedir) not $(srcdir).
...
From-SVN: r62073
2003-01-29 12:32:08 +00:00
Nathan Sidwell
9ae58faf6f
re PR c++/9437 (template function parameter `T*' shouldn't match pointers to members)
...
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.
From-SVN: r62070
2003-01-29 11:35:33 +00:00
Andrew Haley
cf0150b995
tree-inline.c (walk_tree): Add CHAR_TYPE.
...
2003-01-29 Andrew Haley <aph@redhat.com>
* tree-inline.c (walk_tree): Add CHAR_TYPE.
From-SVN: r62068
2003-01-29 10:52:08 +00:00
Jan Hubicka
9b74f3ea80
* i386.md (subdi3_carry_rex64): Fix typo.
...
From-SVN: r62066
2003-01-29 09:27:46 +00:00
Fariborz Jahanian
c96b939fa5
Test for bug in read-back of the pending instantiation list from the PCH file.
...
From-SVN: r62063
2003-01-29 02:08:15 +00:00
Fariborz Jahanian
13e73b2952
* pt.c (last_pending_template) Declare GTY().
...
From-SVN: r62062
2003-01-29 02:05:38 +00:00
Tom Tromey
0d42c3c26f
* jcf-write.c (generate_bytecode_conditional): Typo fixes.
...
From-SVN: r62061
2003-01-29 01:19:40 +00:00
GCC Administrator
eda8d9c5c7
Daily bump.
...
From-SVN: r62059
2003-01-29 00:17:08 +00:00
Oscar Pearce
757e166288
Component.java (processPaintEvent): Dispose of Graphics object when finished.
...
2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
* java/awt/Component.java (processPaintEvent): Dispose of Graphics
object when finished.
From-SVN: r62052
2003-01-28 23:49:46 +00:00
Stan Shebs
e150159cbe
coretypes.h (cpp_reader): Forward declare struct.
...
* 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.
From-SVN: r62050
2003-01-28 23:26:28 +00:00
Andreas Tobler
e9e93c8b7c
* libjava/configure.host: Disable can_unwind_signal on darwin.
...
From-SVN: r62048
2003-01-28 23:25:39 +00:00
Tom Tromey
f3ded1c171
TestEarlyGC.java: Added comment explaining bytecode.
...
* libjava.loader/TestEarlyGC.java: Added comment explaining
bytecode.
From-SVN: r62047
2003-01-28 23:21:13 +00:00
Christian Cornelssen
53b50ac137
install.texi: Add documentation for installation into tooldirs and with DESTDIR.
...
* doc/install.texi: Add documentation for installation into
tooldirs and with DESTDIR.
From-SVN: r62044
2003-01-28 23:15:16 +00:00
Richard Henderson
021aa6ed6f
config.gcc (ia64*-*-aix*): Remove.
...
* config.gcc (ia64*-*-aix*): Remove.
* config/ia64/aix.h, config/ia64/t-aix: Remove file.
* config/ia64/unwind-aix.c: Remove file.
From-SVN: r62043
2003-01-28 15:04:02 -08:00
Alexandre Oliva
db2cd5e6c0
configure.in (toolexecdir, [...]): Set and AC_SUBST.
...
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
* Makefile.in, configure: Rebuilt.
From-SVN: r62040
2003-01-28 22:58:58 +00:00
Ranjit Mathew
5bff4babe0
jargrep.c: Include xregex.h from libiberty instead of system regex.h for better portability.
...
2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
* jargrep.c: Include xregex.h from libiberty instead of
system regex.h for better portability.
From-SVN: r62035
2003-01-28 22:25:47 +00:00
Ranjit Mathew
65b8e87409
re PR java/9254 (java::lang::Object::wait(), threads-win32.cc returns wrong return codes)
...
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.
From-SVN: r62033
2003-01-28 22:23:36 +00:00
Andreas Schwab
c1c1d12306
m68k.md (tablejump+2): Don't sign extend an address register.
...
* 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.
From-SVN: r62030
2003-01-28 14:17:21 -08:00
Richard Sandiford
6d09ef27d4
* combine.c (nonzero_bits): Fix check for negative divide operands.
...
From-SVN: r62029
2003-01-28 22:15:50 +00:00
Richard Henderson
1e1bd14eb2
ia64.c (ia64_rwreloc_section_type_flags): New.
...
* config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
* config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
From-SVN: r62028
2003-01-28 14:08:24 -08:00
Christian Cornelssen
4ce1921a71
* 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).
From-SVN: r62013
2003-01-28 21:52:14 +00:00
Richard Henderson
75642f32e5
cris.c (cris_address_cost): Make static.
...
* 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.
From-SVN: r62009
2003-01-28 13:32:24 -08:00
Richard Henderson
e37135f701
* cse.c (find_best_addr): Kill !ADDRESS_COST code.
...
From-SVN: r62008
2003-01-28 13:29:40 -08:00
Jeffrey D. Oldham
4334c467a1
nested1.C: Test moved from ...
...
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.
From-SVN: r62007
2003-01-28 20:11:44 +00:00
Mike Stump
1f80c9ef16
regclass.c (init_reg_autoinc): New function.
...
* 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.
From-SVN: r62006
2003-01-28 19:40:46 +00:00
Jason Merrill
9fbd3e4166
cpplib.h (struct cpp_options): Add warn_deprecated field.
...
* 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.
From-SVN: r62005
2003-01-28 14:30:00 -05:00
Dale Johannesen
fe352c2900
emit-rtl.c (const_double_htab_hash): Use mode in the hash.
...
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.
From-SVN: r62004
2003-01-28 19:25:49 +00:00
Rainer Orth
00d29f7d01
Add ChangeLog entry for last change.
...
From-SVN: r62003
2003-01-28 19:18:49 +00:00
Jan Hubicka
698148266b
* gcc.dg/i386-cmov5.c: New test.
...
From-SVN: r62002
2003-01-28 19:16:01 +00:00
Ranjit Mathew
e4261ef72c
configure.in: Specifically define HAVE_BACKTRACE if building for MinGW.
...
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.
From-SVN: r62000
2003-01-28 19:10:00 +00:00
Rainer Orth
df87f988e9
Updated copyright year.
...
From-SVN: r61998
2003-01-28 19:05:11 +00:00
Tom Tromey
1234e7383d
* libjava.jacks/jacks.xfail: More lexer tests now pass.
...
From-SVN: r61995
2003-01-28 18:48:32 +00:00
Tom Tromey
82b22c42f9
lex.c (java_lex): Don't include UEOF as part of token.
...
* lex.c (java_lex): Don't include UEOF as part of token.
(java_read_unicode): Error if \u sequence prematurely terminated.
From-SVN: r61993
2003-01-28 18:47:52 +00:00
D.Venkatasubramanian
bffcd064da
20010925-1.c: Changed the memcpy declaration.
...
* gcc.c-torture/execute/20010925-1.c: Changed the
memcpy declaration.
From-SVN: r61992
2003-01-28 10:33:19 -08:00
Richard Henderson
10154ff81b
target.h (targetm.address_cost): New.
...
* 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.
From-SVN: r61989
2003-01-28 10:14:42 -08:00
Richard Henderson
dcefdf6717
target.h (targetm.address_cost): New.
...
* 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.
From-SVN: r61988
2003-01-28 10:08:56 -08:00
Nathan Sidwell
f2ce60b88d
re PR c++/3902 ([parser] ambiguous 8.2/7)
...
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.
From-SVN: r61987
2003-01-28 17:36:11 +00:00