Commit Graph

46523 Commits

Author SHA1 Message Date
Jason Merrill 0edcfdcb73 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
2002-12-13 17:26:37 -05:00
Gabriel Dos Reis 75c525d71b 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
2002-12-13 21:58:54 +00:00
Geoffrey Keating 8c6ae51fa9 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
2002-12-13 21:04:27 +00:00
J"orn Rennecke d9da94a1f0 *** empty log message ***
From-SVN: r60103
2002-12-13 20:20:28 +00:00
Devang Patel 42e903c91c Fix type.
From-SVN: r60102
2002-12-13 12:16:07 -08:00
Jim Wilson 580fb356c0 Doc fix for PR 1621.
* doc/extend.texi (Complex Numbers): Update info on debug info.

From-SVN: r60101
2002-12-13 12:07:15 -08:00
Casey Marshall b4f145f326 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
2002-12-13 14:21:07 +00:00
Kazu Hirata 697d8028c2 h8300.md (addhi3_h8300): Remove the last alternative.
* config/h8300/h8300.md (addhi3_h8300): Remove the last
	alternative.

From-SVN: r60098
2002-12-13 13:47:12 +00:00
Mark Wielaard f0caaa23bf 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
2002-12-13 10:04:15 +00:00
GCC Administrator 9d051273bd Daily bump.
From-SVN: r60096
2002-12-13 08:17:16 +00:00
Tom Tromey 19eaa5a38b 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
2002-12-13 05:00:15 +00:00
Devang Patel dd05b1b461 I forgot to commit ChangeLogs with darwin ld tests and documentation patch.
From-SVN: r60088
2002-12-12 17:32:48 -08:00
Jim Wilson 24aacafbfc 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
2002-12-12 17:24:52 -08:00
Kazu Hirata 09da15320b 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
2002-12-13 00:17:22 +00:00
Kazu Hirata 7930523de8 * config/h8300/h8300.md: Add a new peephole2.
From-SVN: r60082
2002-12-12 22:29:10 +00:00
Devang Patel 61c85ff12d 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
2002-12-12 14:23:45 -08:00
Kazu Hirata 59578c8447 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
2002-12-12 21:33:43 +00:00
Kazu Hirata 8cc5359b78 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
2002-12-12 21:19:57 +00:00
J"orn Rennecke ec555f3273 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
2002-12-12 17:11:13 +00:00
Joern Rennecke 95c0af870b 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
2002-12-12 16:40:49 +00:00
Joern Rennecke 7a18508b1f 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
2002-12-12 16:25:12 +00:00
Andreas Schwab 83ebfdc01c 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
2002-12-12 14:08:21 +00:00
Kazu Hirata 299c51115b * doc/md.texi (pushm): Fix a typo.
From-SVN: r60072
2002-12-12 14:03:56 +00:00
Eric Botcazou 2eb96bdbd4 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
2002-12-12 11:09:39 +00:00
Eric Botcazou a5163dcdac Link PR opt/8334 to its fix.
From-SVN: r60067
2002-12-12 10:59:45 +00:00
GCC Administrator e588dc171f Daily bump.
From-SVN: r60066
2002-12-12 08:17:18 +00:00
Alexandre Oliva f87505dda0 * Makefile.in (configure-target-rda): Depend on ALL_GCC_C.
From-SVN: r60060
2002-12-12 07:04:34 +00:00
Alexandre Oliva 852dff6156 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
2002-12-12 05:13:04 +00:00
John David Anglin d6567b3adf 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
2002-12-12 02:44:02 +00:00
Kazu Hirata 355bd14f09 * doc/invoke.texi: Correct dump file names.
From-SVN: r60055
2002-12-12 02:07:46 +00:00
Tom Tromey 70eec35875 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
From-SVN: r60053
2002-12-12 00:58:39 +00:00
Paolo Carlini a625dfab90 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
2002-12-12 00:22:58 +00:00
Steve Ellcey 9a3873b48f 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
2002-12-11 20:41:43 +00:00
J"orn Rennecke 9a4816af1e 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
2002-12-11 20:16:27 +00:00
Tom Tromey f69bc49776 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
2002-12-11 19:18:59 +00:00
J"orn Rennecke 70a72ca423 sh.h (REG_CLASS_HAS_GENERAL_REG): New.
* sh.h (REG_CLASS_HAS_GENERAL_REG): New.
	(REGISTER_MOVE_COST): Use it.

From-SVN: r60041
2002-12-11 18:42:11 +00:00
Richard Henderson 5d5cd66f11 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
2002-12-11 10:28:26 -08:00
Kazu Hirata 68d0a3d279 * config/h8300/h8300.md (two define_peephole2): New.
From-SVN: r60036
2002-12-11 13:27:29 +00:00
Kazu Hirata 722d59a337 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
2002-12-11 13:01:40 +00:00
GCC Administrator 3cc661ed29 Daily bump.
From-SVN: r60030
2002-12-11 08:17:16 +00:00
Neil Booth b3a5a50c26 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
2002-12-11 06:36:17 +00:00
Tom Tromey ad1121d10e 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
2002-12-11 03:15:14 +00:00
Mark Wielaard a7e693d5d2 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
2002-12-11 02:13:51 +00:00
Mark Mitchell d23faea18e 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
2002-12-10 22:31:40 +00:00
Matt Austern 3932057ce9 * cp-tree.h: get rid of needs_virtual_reinit bit.
From-SVN: r60014
2002-12-10 21:53:49 +00:00
Tom Tromey 35cfd29184 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
2002-12-10 21:24:47 +00:00
Janis Johnson 40d81ee46b 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
2002-12-10 21:00:31 +00:00
Devang Patel 48aec0bcc6 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
2002-12-10 12:20:47 -08:00
Jim Wilson 0e9f8e8295 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
2002-12-10 11:24:38 -08:00
Mark Mitchell 68e25f8806 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
2002-12-10 17:09:05 +00:00