Zack Weinberg [Mon, 16 Dec 2002 18:23:00 +0000 (18:23 +0000)]
Merge basic-improvements-branch to trunk
From-SVN: r60174
J"orn Rennecke [Mon, 16 Dec 2002 17:21:50 +0000 (17:21 +0000)]
sh.h (EXTRA_CONSTRAINT_Z): New macro.
* sh.h (EXTRA_CONSTRAINT_Z): New macro.
(EXTRA_CONSTRAINT): Use it.
* sh.md (anddi3): Use 'Z' constraint for alternative 2.
From-SVN: r60173
GCC Administrator [Mon, 16 Dec 2002 08:17:31 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60172
Doug Evans [Mon, 16 Dec 2002 08:16:06 +0000 (08:16 +0000)]
fix my email address
From-SVN: r60165
Geert Bosch [Sun, 15 Dec 2002 17:32:01 +0000 (18:32 +0100)]
* sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
From-SVN: r60159
Geert Bosch [Sun, 15 Dec 2002 16:18:20 +0000 (17:18 +0100)]
re PR ada/5690 (renaming subprograms and default_expression)
* sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
case of a body created for a Renaming_As_Body, on which
conformance checks are not performed. Fixes PR ada/5690.
From-SVN: r60158
Richard Sandiford [Sun, 15 Dec 2002 12:05:34 +0000 (12:05 +0000)]
Revert last commit due to freeze.
From-SVN: r60157
Richard Sandiford [Sun, 15 Dec 2002 11:34:17 +0000 (11:34 +0000)]
* config/mips/mips.md: Disable the movstrsi define_split.
From-SVN: r60156
GCC Administrator [Sun, 15 Dec 2002 08:17:26 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60154
Jason Merrill [Sat, 14 Dec 2002 08:37:12 +0000 (03:37 -0500)]
Makefile.tpl (check-gcc-c++): Renamed from check-c++.
* Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't run
library tests.
(check-c++): Just depend on it and check-target-libstdc++-v3.
* Makefile.in: Regenerate.
From-SVN: r60126
GCC Administrator [Sat, 14 Dec 2002 08:17:21 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60125
John David Anglin [Sat, 14 Dec 2002 02:54:14 +0000 (02:54 +0000)]
pa.c (output_millicode_call): Correct typo.
* pa.c (output_millicode_call): Correct typo.
(output_call): Likewise.
From-SVN: r60115
Dale Johannesen [Sat, 14 Dec 2002 00:54:02 +0000 (00:54 +0000)]
Fix test for LP64, move it to gcc.c-torture/compile (per Kaveh Ghazi)
From-SVN: r60111
Alexandre Oliva [Fri, 13 Dec 2002 23:07:47 +0000 (23:07 +0000)]
mn10300.c (print_operand): Check operand's range.
* config/mn10300/mn10300.c (print_operand) <case N>: Check
operand's range. Print value directly, without aid from
output_address.
<case U>: New.
<case S>: Make sure argument to fprintf has the right type.
* config/mn10300/mn10300.h (OK_FOR_T): New macro.
(EXTRA_CONSTRAINT): Adjust.
* config/mn10300/mn10300.md: Add new all-QImode pattern for
bclr. Use %U for immediate operands of bset and bclr.
(iorqi3): New expand, with insns for AM33 and mn10300.
From-SVN: r60109
Jason Merrill [Fri, 13 Dec 2002 22:26:37 +0000 (17:26 -0500)]
Makefile.in (check-gcc-c++): Renamed from check-c++.
* Makefile.in (check-gcc-c++): Renamed from check-c++. Don't run
library tests.
(check-c++): Just depend on it and check-target-libstdc++-v3.
From-SVN: r60107
Gabriel Dos Reis [Fri, 13 Dec 2002 21:58:54 +0000 (21:58 +0000)]
re PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)
PR C++/8031
* cvt.c (convert_to_pointer_force): Don't try comparing against
erronous type.
From-SVN: r60106
Geoffrey Keating [Fri, 13 Dec 2002 21:04:27 +0000 (21:04 +0000)]
cp-tree.h: Have the multiple-include guards around the entire file.
* cp-tree.h: Have the multiple-include guards around
the entire file.
From-SVN: r60104
J"orn Rennecke [Fri, 13 Dec 2002 20:20:28 +0000 (20:20 +0000)]
*** empty log message ***
From-SVN: r60103
Devang Patel [Fri, 13 Dec 2002 20:16:07 +0000 (12:16 -0800)]
Fix type.
From-SVN: r60102
Jim Wilson [Fri, 13 Dec 2002 20:07:15 +0000 (20:07 +0000)]
Doc fix for PR 1621.
* doc/extend.texi (Complex Numbers): Update info on debug info.
From-SVN: r60101
Casey Marshall [Fri, 13 Dec 2002 14:21:07 +0000 (14:21 +0000)]
SecurityRandom (digest): Removed field.
2002-12-13 Casey Marshall <rsdio@metastatic.org>
Mark Wielaard <mark@klomp.org>
* java/security/SecurityRandom (digest): Removed field.
(SecureRandom): Check all providers for case-insensitive SecureRandom
implementation. Don't ignore classname == null. Fallback to SHA1PRNG
if necessary.
(getInstance(String,Provider,boolean): New method.
(getInstance(String)): Use new method.
(getInstance(String,String)): Likewise.
(getInstance(String,Provider)): Likewise.
2002-12-13 Casey Marshall <rsdio@metastatic.org>
* java/security/Security.java (loadProviders): Increment i only once.
Co-Authored-By: Mark Wielaard <mark@klomp.org>
From-SVN: r60099
Kazu Hirata [Fri, 13 Dec 2002 13:47:12 +0000 (13:47 +0000)]
h8300.md (addhi3_h8300): Remove the last alternative.
* config/h8300/h8300.md (addhi3_h8300): Remove the last
alternative.
From-SVN: r60098
Mark Wielaard [Fri, 13 Dec 2002 10:04:15 +0000 (10:04 +0000)]
ClassLoader.java (resolveClass0): Transform ClassNotFoundException to NoClassDefFoundError.
* java/lang/ClassLoader.java (resolveClass0): Transform
ClassNotFoundException to NoClassDefFoundError. Transform all other
throwables to LinkageError.
From-SVN: r60097
GCC Administrator [Fri, 13 Dec 2002 08:17:16 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60096
Tom Tromey [Fri, 13 Dec 2002 05:00:15 +0000 (05:00 +0000)]
loader.exp (gcj_loader_test_one): Use libjava_prune_warnings.
* libjava.loader/loader.exp (gcj_loader_test_one): Use
libjava_prune_warnings.
(gcj_loader_run): Likewise.
* libjava.mauve/mauve.exp (test_mauve): Use
libjava_prune_warnings.
(test_mauve_sim): Likewise.
* libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
libjava_prune_warnings.
(gcj_jni_build_header): Likewise.
* lib/libjava.exp (libjava_prune_warnings): New proc.
(gcj_link): Use it.
(test_libjava_from_source): Likewise.
(test_libjava_from_javac): Likewise.
From-SVN: r60089
Devang Patel [Fri, 13 Dec 2002 01:32:48 +0000 (17:32 -0800)]
I forgot to commit ChangeLogs with darwin ld tests and documentation patch.
From-SVN: r60088
Jim Wilson [Fri, 13 Dec 2002 01:24:52 +0000 (01:24 +0000)]
re PR debug/1621 (Debugging with complex numbers)
Fix for PR 1621.
* dbxout.c (dbxout_fptype_value): New.
(dbxout_type, case COMPLEX_TYPE): Call it. Use 'R' instead of 'r'.
From-SVN: r60087
Kazu Hirata [Fri, 13 Dec 2002 00:17:22 +0000 (00:17 +0000)]
c-decl.c: Fix a comment typo.
* c-decl.c: Fix a comment typo.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfglayout.c: Likewise.
* cfgrtl.c: Likewise.
* c-typeck.c: Likewise.
* dominance.c: Likewise.
* dwarf2asm.c: Likewise.
* dwarfout.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* final.c: Likewise.
* flow.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* genautomata.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* loop.h: Likewise.
* output.h: Likewise.
* profile.c: Likewise.
* ra.h: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* sched-rgn.c: Likewise.
* stmt.c: Likewise.
* tree.h: Likewise.
* vmsdbgout.c: Likewise.
From-SVN: r60085
Kazu Hirata [Thu, 12 Dec 2002 22:29:10 +0000 (22:29 +0000)]
* config/h8300/h8300.md: Add a new peephole2.
From-SVN: r60082
Devang Patel [Thu, 12 Dec 2002 22:23:45 +0000 (14:23 -0800)]
invoke.texi: Document Darwin linker options...
gcc
*doc/invoke.texi: Document Darwin linker options, -bundle
-bind_at_load, -all_load and -arch_errors_fatal
testsuite
* gcc.dg/darwin-ld-1.c: New test.
* gcc.dg/darwin-ld-2.c: New test.
* gcc.dg/darwin-ld-3.c: New test.
* gcc.dg/darwin-ld-4.c: New test.
* gcc.dg/darwin-ld-5.c: New test.
From-SVN: r60081
Kazu Hirata [Thu, 12 Dec 2002 21:33:43 +0000 (21:33 +0000)]
h8300.md (a peephole2): Accept a constant that's accepted by CONST_OK_FOR_J.
* config/h8300/h8300.md (a peephole2): Accept a constant
that's accepted by CONST_OK_FOR_J.
From-SVN: r60080
Kazu Hirata [Thu, 12 Dec 2002 21:19:57 +0000 (21:19 +0000)]
h8300.h (CONST_OK_FOR_J): New.
* config/h8300/h8300.h (CONST_OK_FOR_J): New.
(CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
* config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
(*addhi_h8300hs): Likewise.
From-SVN: r60079
J"orn Rennecke [Thu, 12 Dec 2002 17:11:13 +0000 (17:11 +0000)]
sh.c (reg_class_from_letter): No longer const.
* sh.c (reg_class_from_letter): No longer const. Add 'e' entry.
(sh_register_move_cost): Add clause for SImode fp-fp moves.
Increase cost for moves involving multiple general purpose registers.
* sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
TARGET_FMOVD.
(HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
(enum reg_class reg_class_from_letter): No longer const.
(SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
REGCLASS_HAS_GENERAL_REG.
Handle SImode moves from/to fp registers.
! TARGET_SHMEDIA && TARGET_FMOVD.
(SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
* sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.
From-SVN: r60076
Joern Rennecke [Thu, 12 Dec 2002 16:40:49 +0000 (16:40 +0000)]
sh.h (REG_CLASS_HAS_FP_REG): New.
Wed Dec 11 19:05:05 2002 J"orn Rennecke <joern.rennecke@superh.com>
* sh.h (REG_CLASS_HAS_FP_REG): New.
(REGISTER_MOVE_COST) Use it. Put body into a function and
move it into:
* sh.c (sh_register_move_cost).
* sh-protos.h (sh_register_move_cost): Declare.
* sh.c (sh_expand_builtin): Abort for unexpected nop values.
(sh_adjust_cost): Always return a value.
From-SVN: r60075
Joern Rennecke [Thu, 12 Dec 2002 16:25:12 +0000 (16:25 +0000)]
sh.h (REG_CLASS_HAS_FP_REG): New.
* sh.h (REG_CLASS_HAS_FP_REG): New.
(REGISTER_MOVE_COST) Use it. Put body into a function and
move it into:
* sh.c (sh_register_move_cost).
* sh-protos.h (sh_register_move_cost): Declare.
* sh.c (sh_expand_builtin): Abort for unexpected nop values.
(sh_adjust_cost): Always return a value.
From-SVN: r60074
Andreas Schwab [Thu, 12 Dec 2002 14:08:21 +0000 (14:08 +0000)]
ia64.c (ia64_hpux_asm_file_end): Fix typo in last change and some warnings.
* config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
change and some warnings.
From-SVN: r60073
Kazu Hirata [Thu, 12 Dec 2002 14:03:56 +0000 (14:03 +0000)]
* doc/md.texi (pushm): Fix a typo.
From-SVN: r60072
Eric Botcazou [Thu, 12 Dec 2002 11:09:39 +0000 (12:09 +0100)]
20021212-1.c: New test.
2002-12-12 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/
20021212-1.c: New test.
From-SVN: r60068
Eric Botcazou [Thu, 12 Dec 2002 10:59:45 +0000 (10:59 +0000)]
Link PR opt/8334 to its fix.
From-SVN: r60067
GCC Administrator [Thu, 12 Dec 2002 08:17:18 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60066
Alexandre Oliva [Thu, 12 Dec 2002 07:04:34 +0000 (07:04 +0000)]
* Makefile.in (configure-target-rda): Depend on ALL_GCC_C.
From-SVN: r60060
Alexandre Oliva [Thu, 12 Dec 2002 05:13:04 +0000 (05:13 +0000)]
mips.c (mips_output_conditional_branch): Support PIC-safe out-of-range branch and branch-likely.
* config/mips/mips.c (mips_output_conditional_branch): Support
PIC-safe out-of-range branch and branch-likely.
* config/mips/mips.md (attr length): PIC-safe out-of-range
branches are longer.
("jump"): Support PIC-safe out-of-range-for-branch jumps. Remove
unused code to support indirect jumps.
From-SVN: r60058
John David Anglin [Thu, 12 Dec 2002 02:44:02 +0000 (02:44 +0000)]
pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
* pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
(MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
BIGGEST_ALIGNMENT.
(PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
(FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
From-SVN: r60056
Kazu Hirata [Thu, 12 Dec 2002 02:07:46 +0000 (02:07 +0000)]
* doc/invoke.texi: Correct dump file names.
From-SVN: r60055
Tom Tromey [Thu, 12 Dec 2002 00:58:39 +0000 (00:58 +0000)]
* java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
From-SVN: r60053
Paolo Carlini [Thu, 12 Dec 2002 00:22:58 +0000 (01:22 +0100)]
re PR libstdc++/8887 (locale)
2002-12-11 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8887
* config/locale/generic/time_members.cc
(__timepunct<char>::_M_initialize_timepunct): Fix typos
in _M_date_format and _M_date_era_format string literals.
From-SVN: r60050
Steve Ellcey [Wed, 11 Dec 2002 20:41:43 +0000 (20:41 +0000)]
ia64.c (ia64_hpux_asm_file_end): Don't send stripped name to globalize_label or assemble_name.
* config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
name to globalize_label or assemble_name.
From-SVN: r60046
J"orn Rennecke [Wed, 11 Dec 2002 20:16:27 +0000 (20:16 +0000)]
sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS if not TARGET_SHMEDIA.
* sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
if not TARGET_SHMEDIA.
From-SVN: r60045
Tom Tromey [Wed, 11 Dec 2002 19:18:59 +0000 (19:18 +0000)]
ClassLoader.java (loadedClasses): New field.
* java/lang/ClassLoader.java (loadedClasses): New field.
(defineClass): Fixed indentation. Put new class in
loadedClasses.
(findLoadedClass): Implement here.
* java/lang/natClassLoader.cc (findLoadedClass): Removed.
From-SVN: r60043
J"orn Rennecke [Wed, 11 Dec 2002 18:42:11 +0000 (18:42 +0000)]
sh.h (REG_CLASS_HAS_GENERAL_REG): New.
* sh.h (REG_CLASS_HAS_GENERAL_REG): New.
(REGISTER_MOVE_COST): Use it.
From-SVN: r60041
Richard Henderson [Wed, 11 Dec 2002 18:28:26 +0000 (10:28 -0800)]
tree.h (MODULE_LOCAL_P): Kill.
* tree.h (MODULE_LOCAL_P): Kill.
* varasm.c (default_binds_local_p_1): Use decl_visibility instead.
From-SVN: r60040
Kazu Hirata [Wed, 11 Dec 2002 13:27:29 +0000 (13:27 +0000)]
* config/h8300/h8300.md (two define_peephole2): New.
From-SVN: r60036
Kazu Hirata [Wed, 11 Dec 2002 13:01:40 +0000 (13:01 +0000)]
h8300.h (CONST_OK_FOR_J): Remove.
* config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
(CONST_OK_FOR_K): Likewise.
(CONST_OK_FOR_M): Likewise.
(CONST_OK_FOR_LETTER_P): Do not use the above macros.
From-SVN: r60035
GCC Administrator [Wed, 11 Dec 2002 08:17:16 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60030
Neil Booth [Wed, 11 Dec 2002 06:36:17 +0000 (06:36 +0000)]
c-common.c (builtin_define_type_max): Handle unsigned types too.
* c-common.c (builtin_define_type_max): Handle unsigned
types too.
testsuite:
* gcc.dg/fshort-wchar: New test.
From-SVN: r60023
Tom Tromey [Wed, 11 Dec 2002 03:15:14 +0000 (03:15 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natVMClassLoader.cc.
* gnu/gcj/runtime/natVMClassLoader.cc: New file.
(gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
* java/lang/natClassLoader.cc
(gnu::gcj::runtime::VMClassLoader::findClass): Removed.
From-SVN: r60020
Mark Wielaard [Wed, 11 Dec 2002 02:13:51 +0000 (02:13 +0000)]
URLClassLoader.java (getCanonicalFileURL): New method.
2002-12-10 Mark Wielaard <mark@klomp.org>
Tom Tromey <tromey@redhat.com>
* java/net/URLClassLoader.java (getCanonicalFileURL): New method.
(JarURLLoader): Use it.
(FileURLLoader): Likewise.
(JarURLResource.getURL): Use chained exception.
(FileResource.getURL): Likewise.
(FileURLLoader.getResource): Use canonical file name.
(addURL): Indentation fix.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r60019
Mark Mitchell [Tue, 10 Dec 2002 22:31:40 +0000 (22:31 +0000)]
re PR c++/8372 (ICE on explicit call of destructor)
PR c++/8372
* pt.c (tsubst_copy): Handle destructor names more correctly.
PR c++/8372
* g++.dg/template/dtor1.C: New test.
From-SVN: r60015
Matt Austern [Tue, 10 Dec 2002 21:53:49 +0000 (21:53 +0000)]
* cp-tree.h: get rid of needs_virtual_reinit bit.
From-SVN: r60014
Tom Tromey [Tue, 10 Dec 2002 21:24:47 +0000 (21:24 +0000)]
win32.h: Fixed typo in "DISABLE_JAVA_NET".
* include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
From Laurent Bardet <l.bardet@magic.fr>.
From-SVN: r60013
Janis Johnson [Tue, 10 Dec 2002 21:00:31 +0000 (21:00 +0000)]
re PR other/8882 (Error in the documentation "GNU Compiler Collection Internals")
2002-12-10 Janis Johnson <janis187@us.ibm.com>
PR other/8882
* doc/tm.texi (PUSH_ARGS): Remove misplaced line.
From-SVN: r60011
Devang Patel [Tue, 10 Dec 2002 20:20:47 +0000 (12:20 -0800)]
Add support for darwin linker options.
* config/darwin.h(LINK_SPEC): Add darwin specific linker options.
* doc/invoke.texi: Add new "Darwin Options" section.
From-SVN: r60010
Jim Wilson [Tue, 10 Dec 2002 19:24:38 +0000 (19:24 +0000)]
Fix PPC32 SVR4 ABI bug with 128-bit long double.
* rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
memory.
From-SVN: r60006
Mark Mitchell [Tue, 10 Dec 2002 17:09:05 +0000 (17:09 +0000)]
cxxabi.h (__cxa_bad_cast): Declare it.
* libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
(__cxa_bad_typeid): Likewise.
(__cxa_atexit): Likewise.
(__cxa_finalize): Likewise.
From-SVN: r60001
Andrew Haley [Tue, 10 Dec 2002 16:35:37 +0000 (16:35 +0000)]
cse.c (cse_insn): Don't cse past a basic block boundary.
2002-12-10 Andrew Haley <aph@redhat.com>
* cse.c (cse_insn): Don't cse past a basic block boundary.
From-SVN: r60000
Mark Mitchell [Tue, 10 Dec 2002 14:45:48 +0000 (14:45 +0000)]
memconst.C: Use old-deja, not dg, error markers.
* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
markers.
From-SVN: r59997
Jakub Jelinek [Tue, 10 Dec 2002 11:06:33 +0000 (12:06 +0100)]
* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
From-SVN: r59994
Jakub Jelinek [Tue, 10 Dec 2002 10:55:32 +0000 (11:55 +0100)]
linux.h (LIB_SPEC): If -pthread, add -lpthread even if -shared.
* config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
-shared.
* config/alpha/linux-elf.h (LIB_SPEC): Likewise.
* config/alpha/linux.h (LIB_SPEC): Likewise.
* config/arm/linux-elf.h (LIB_SPEC): Likewise.
* config/pa/pa-linux.h (LIB_SPEC): Likewise.
* config/sparc/linux.h (LIB_SPEC): Likewise.
* config/sparc/linux64.h (LIB_SPEC): Likewise.
From-SVN: r59992
GCC Administrator [Tue, 10 Dec 2002 08:17:19 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59990
Gabriel Dos Reis [Tue, 10 Dec 2002 07:32:04 +0000 (07:32 +0000)]
* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
From-SVN: r59983
Mark Mitchell [Tue, 10 Dec 2002 07:11:46 +0000 (07:11 +0000)]
re PR c++/8153 (ICE with static const member in class)
PR c++/8153
PR c++/8036
* NEWS: Document removal of in-class initialization extension for
static data members of non-arithmetic, non-enumeration type.
* decl.c (check_static_variable_definition): Do not allow that
extension.
* decl2.c (grokfield): Do not call digest_init when processing
templates.
PR c++/8153
PR c++/8036
* g++.dg/template/static1.C: New test.
* g++.dg/template/static2.C: New test.
* g++.old-deja/g++.ext/memconst.C: New test.
From-SVN: r59980
Larin Hennessy [Tue, 10 Dec 2002 02:01:29 +0000 (02:01 +0000)]
* doc/invoke.texi: Document UltraSparc III option.
From-SVN: r59977
Tom Tromey [Tue, 10 Dec 2002 01:39:32 +0000 (01:39 +0000)]
win32.h (_Jv_platform_solib_prefix): New define.
* include/win32.h (_Jv_platform_solib_prefix): New define.
(_Jv_platform_solib_suffix): Likewise.
* include/posix.h (_Jv_platform_solib_prefix): New define.
(_Jv_platform_solib_suffix): Likewise.
* java/lang/natRuntime.cc: Include StackTrace.h.
(_load): Use findLibrary and new platform defines.
(nativeGetLibname): Use new platform defines.
From-SVN: r59976
Tom Tromey [Tue, 10 Dec 2002 01:29:29 +0000 (01:29 +0000)]
natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null.
* java/util/natResourceBundle.cc (getCallingClassLoader): Assume
`t' won't be null.
From-SVN: r59975
Richard Henderson [Tue, 10 Dec 2002 00:56:36 +0000 (16:56 -0800)]
i386.h (TARGET_CPU_CPP_BUILTINS): Define __tune_pentium2__ and __tune_pentium3__ as necessary.
* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
__tune_pentium2__ and __tune_pentium3__ as necessary.
From-SVN: r59974
Richard Henderson [Mon, 9 Dec 2002 23:54:01 +0000 (15:54 -0800)]
target.h (gcc_target): Add cannot_force_const_mem.
* target.h (gcc_target): Add cannot_force_const_mem.
* target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
(TARGET_INITIALIZER): Add it.
* varasm.c (force_const_mem): Fail if cannot_force_const_mem.
* expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
* reload1.c (reload): Likewise.
* hooks.c (hook_bool_rtx_false): New.
* hooks.h: Declare it.
* config/i386/i386.c (ix86_cannot_force_const_mem): New.
(TARGET_CANNOT_FORCE_CONST_MEM): New.
(ix86_expand_move): Remove de-const-pooling hack.
* gcc.dg/tls/opt-4.c: New.
From-SVN: r59971
Jan Hubicka [Mon, 9 Dec 2002 20:49:34 +0000 (21:49 +0100)]
* toplev.c (dump_file): Fix order to match reality.
From-SVN: r59968
Geoffrey Keating [Mon, 9 Dec 2002 19:59:17 +0000 (19:59 +0000)]
rs6000.md (load_multiple): Use adjust_address_nv.
* config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
(store_multiple): Likewise.
From-SVN: r59967
Mark Mitchell [Mon, 9 Dec 2002 19:31:33 +0000 (19:31 +0000)]
* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
From-SVN: r59965
John David Anglin [Mon, 9 Dec 2002 19:16:14 +0000 (19:16 +0000)]
fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize function pointers in page 0.
* pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
function pointers in page 0.
From-SVN: r59964
Steve Ellcey [Mon, 9 Dec 2002 18:07:58 +0000 (18:07 +0000)]
hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove definition
* config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
definition
(MEMBER_TYPE_FORCES_BLK): Move.
* config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
aggregate arguments.
(ia64_function_value): Use PARALLEL to return aggregate values.
From-SVN: r59963
Steve Ellcey [Mon, 9 Dec 2002 17:54:07 +0000 (17:54 +0000)]
tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
* doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
* defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
* calls.c (store_unaligned_arguments_into_pseudos) Remove
FUNCTION_ARG_REG_LITTLE_ENDIAN.
* stmt.c (expand_return): Ditto.
* expr.c (move_block_from_reg): Ditto.
(copy_blkmode_from_reg): Ditto.
* expmed.c (store_bit_field): Ditto.
From-SVN: r59962
GCC Administrator [Mon, 9 Dec 2002 08:17:22 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59961
Svein E. Seldal [Mon, 9 Dec 2002 08:10:20 +0000 (08:10 +0000)]
config.sub: Import from master repository
* config.sub: Import from master repository
* config.guess: Ditto
* MAINTAINERS: Added Svein Seldal under write after approval
* gcc/config.gcc: Added tic4x-* target as an alias to c4x-*
From-SVN: r59955
Tom Tromey [Mon, 9 Dec 2002 01:20:38 +0000 (01:20 +0000)]
Test for PR libgcj/8823:
* libjava.lang/pr8823.java: New file.
* libjava.lang/pr8823.out: New file.
From-SVN: r59953
Kaveh R. Ghazi [Mon, 9 Dec 2002 00:47:30 +0000 (00:47 +0000)]
conpr-2.C: Expect failure on solaris2.
* g++.dg/special/conpr-2.C: Expect failure on solaris2.
* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
* g++.dg/special/initp1.C: Likewise.
From-SVN: r59950
Mark Wielaard [Mon, 9 Dec 2002 00:04:00 +0000 (00:04 +0000)]
Connection.java (getJarFile): download and cache remote jar files.
* gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
cache remote jar files.
* gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
add File.separator to URL when it is a directory.
* java/lang/ClassLoader.java: Add Classpath javadoc.
(parent): final.
(getParent): Add (disabled) security check.
(findLibrary): New default method.
* java/net/JarURLConnection.java (getManifest): Implement.
(getInputStream): Only create InputStream when entry exists.
(getHeaders): Only use jarFileURLConnection or JarEntry to set length
when they exist.
* java/net/URLClassLoader.java: New/Rewritten version from Classpath.
From-SVN: r59949
Mark Wielaard [Sun, 8 Dec 2002 23:38:02 +0000 (23:38 +0000)]
ResourceBundle.java (resourceBundleCache): Not final.
* java/util/ResourceBundle.java (resourceBundleCache): Not final.
(lastDefaultLocale): New field.
(getBundle): When Locale.getDefault != lastDefaultLocale reset
resourceBundleCache.
From-SVN: r59948
Jan Hubicka [Sun, 8 Dec 2002 14:03:40 +0000 (15:03 +0100)]
i386.c (ix86_expand_int_movcc): Use force_operand instead of constructing insn directly.
* i386.c (ix86_expand_int_movcc): Use force_operand instead of constructing
insn directly.
From-SVN: r59937
GCC Administrator [Sun, 8 Dec 2002 08:17:08 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59935
Gabriel Dos Reis [Sat, 7 Dec 2002 18:39:05 +0000 (18:39 +0000)]
New test.
From-SVN: r59920
GCC Administrator [Sat, 7 Dec 2002 08:17:27 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59910
Kazu Hirata [Sat, 7 Dec 2002 05:44:44 +0000 (05:44 +0000)]
* config/h8300/h8300.md (*iorhi_shift_8): New.
From-SVN: r59904
Bernd Schmidt [Sat, 7 Dec 2002 02:31:34 +0000 (02:31 +0000)]
Fix errors in last change
From-SVN: r59903
Mark Wielaard [Sat, 7 Dec 2002 01:19:02 +0000 (01:19 +0000)]
InetAddress.java (toString): Use hostname when not null, don't do an explicit reverse getHostName() lookup.
* java/net/InetAddress.java (toString): Use hostname when not null,
don't do an explicit reverse getHostName() lookup.
* java/net/Socket.java (setSocketImplFactory): When fac == null throw
NullPointerException.
From-SVN: r59902
Bernd Schmidt [Fri, 6 Dec 2002 23:54:41 +0000 (23:54 +0000)]
FRV docs
From-SVN: r59901
Tom Tromey [Fri, 6 Dec 2002 23:41:38 +0000 (23:41 +0000)]
java-interp.h (class _Jv_InterpMethod): Added JV_MARKOBJ_DECL.
* include/java-interp.h (class _Jv_InterpMethod): Added
JV_MARKOBJ_DECL.
* boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
mark `prepared' field of interpreted method.
* interpret.cc (compile): Use _Jv_AllocBytes.
From-SVN: r59900
Gerald Pfeifer [Fri, 6 Dec 2002 23:32:52 +0000 (00:32 +0100)]
install.texi (Configuration): Improve description of cases where `make distclean` may fail...
* doc/install.texi (Configuration): Improve description of cases
where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
From-SVN: r59899
Dhananjay R. Deshpande [Fri, 6 Dec 2002 20:10:50 +0000 (20:10 +0000)]
sh.c (calc_live_regs): Save fpscr only if target has FPU.
2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>
* gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
FPU.
(push): Generate push_fpscr.
(pop): Generate pop_fpscr.
* gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
(fpu_switch): Add alternative to push fpscr. Enable for TARGET_SH3E.
From-SVN: r59893
Ranjit Mathew [Fri, 6 Dec 2002 20:10:33 +0000 (20:10 +0000)]
parse.y (source_end_java_method): Remove custom encoding of line numbers for a function decl before passing it to...
2002-12-05 Ranjit Mathew <rmathew@hotmail.com>
Andrew Haley <aph@redhat.com>
* parse.y (source_end_java_method): Remove custom encoding of line
numbers for a function decl before passing it to the back end.
Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r59892