Zack Weinberg
ad34a822c1
* java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc.
...
From-SVN: r41651
2001-04-28 01:39:15 +00:00
Zack Weinberg
0539f1f709
prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
...
* prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
* posix-threads.cc (_Jv_ThreadInitData): Use _Jv_Malloc.
(_Jv_ThreadDestroyData): Use _Jv_Free.
From-SVN: r41650
2001-04-28 00:04:55 +00:00
Zack Weinberg
cc2e8b2d91
function.c (purge_addressof_1): Remove the duplicate if (code == SET) block.
...
* function.c (purge_addressof_1): Remove the duplicate
if (code == SET) block. Fold the two if (code == ADDRESSOF)
blocks together.
From-SVN: r41649
2001-04-27 23:55:03 +00:00
Benjamin Kosnik
3f3942e851
mainpage.doxy: New.
...
2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/mainpage.doxy: New.
* docs/doxygen/user.cfg.in: Change default configuration. Single
frame, other tweaks.
From-SVN: r41648
2001-04-27 23:38:14 +00:00
Jason Merrill
16842c1535
except.c (expand_eh_region_start): Don't start a new block.
...
* except.c (expand_eh_region_start): Don't start a new block.
(expand_eh_region_end): Don't end a block.
* stmt.c (expand_end_bindings): Don't end EH blocks.
(expand_decl_cleanup): Starting an EH region won't change the block.
(mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
(is_eh_region): Lose.
* tree.h: Adjust.
From-SVN: r41647
2001-04-27 19:25:20 -04:00
Franz Sirl
6fa0f379d5
Add forgotten entry.
...
From-SVN: r41646
2001-04-27 21:32:31 +00:00
Jeffrey Oldham
5897739e11
*** empty log message ***
...
From-SVN: r41645
2001-04-27 19:59:53 +00:00
Andreas Jaeger
994682b99a
md.texi (Machine Constraints): Document additional i386 constraints and fix description of "A".
...
* md.texi (Machine Constraints): Document additional i386
constraints and fix description of "A".
From-SVN: r41642
2001-04-27 21:35:03 +02:00
Per Bothner
9c491eb84b
parse.y (java_expand_classes): Don't change ctxp_for_generation while iterating...
...
* parse.y (java_expand_classes): Don't change ctxp_for_generation
while iterating, since that could cause gc to lose stuff.
From-SVN: r41640
2001-04-27 12:12:20 -07:00
Toon Moene
d06146e1af
20000629-1.x: Really commit removal.
...
2001-04-27 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/compile/20000629-1.x: Really commit removal.
From-SVN: r41638
2001-04-27 17:33:13 +00:00
Jeffrey A Law
58c35fc2d3
* tm.texi (TARGET_MEM_FUNCTIONS): Update text.
...
From-SVN: r41636
2001-04-27 10:42:07 -06:00
Tom Tromey
55cc31c086
jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds checking.
...
* jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds
checking.
(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.
From-SVN: r41634
2001-04-27 16:09:54 +00:00
Tom Tromey
09efa46f6a
jni.h (struct JNINativeInterface): Fixed types in Get/Set*ArrayRegion declarations.
...
2001-04-27 Martin Kahlert <martin.kahlert@infineon.com>
* include/jni.h (struct JNINativeInterface): Fixed types in
Get/Set*ArrayRegion declarations.
(class _Jv_JNIEnv): Likewise.
From-SVN: r41633
2001-04-27 16:09:10 +00:00
Nathan Sidwell
2d46ec8394
except.c (can_convert_eh): Don't check template parms, typename types etc.
...
cp:
* except.c (can_convert_eh): Don't check template parms,
typename types etc.
testsuite:
* g++.old-deja/g++.eh/crash6.C: New test.
From-SVN: r41628
2001-04-27 13:33:46 +00:00
Nathan Sidwell
02a1a68c6a
optimize.c (maybe_clone_body): Copy parameter names and locations.
...
cp:
* optimize.c (maybe_clone_body): Copy parameter names and locations.
testsuite:
* g++.old-deja/g++.other/warn7.C: New test.
From-SVN: r41627
2001-04-27 12:47:22 +00:00
Nathan Sidwell
5f6eeeb362
cp-tree.h (adjust_clone_args): Prototype new function.
...
cp:
* cp-tree.h (adjust_clone_args): Prototype new function.
* class.c (adjust_clone_args): New function.
* decl.c (start_function): Call it for in charge ctors.
testsuite:
* g++.old-deja/g++.other/defarg9.C: New test.
From-SVN: r41625
2001-04-27 10:47:36 +00:00
GCC Administrator
6e0263244c
Daily bump.
...
From-SVN: r41623
2001-04-27 07:16:41 +00:00
Mark Mitchell
1b28d441b2
method.c (use_thunk): Make sure that thunks really are emitted when requested.
...
* method.c (use_thunk): Make sure that thunks really are emitted
when requested.
From-SVN: r41621
2001-04-27 05:08:39 +00:00
Tom Tromey
f24fd724c2
libjava.exp (libjava_init): Use UTF-8 encoding.
...
* lib/libjava.exp (libjava_init): Use UTF-8 encoding.
(test_libjava_from_javac): Likewise.
From-SVN: r41617
2001-04-27 00:56:16 +00:00
Jason Merrill
041c9d5a47
* except.c (get_exception_filter): word_mode, not Pmode.
...
From-SVN: r41616
2001-04-26 19:32:49 -04:00
Toon Moene
f6ce87c0a6
20010426.f: New test.
...
2001-04-26 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/compile/20010426.f: New test.
* g77.f-torture/execute/20010426.f: New test.
From-SVN: r41615
2001-04-26 21:13:29 +00:00
Toon Moene
f658da59d4
*** empty log message ***
...
From-SVN: r41614
2001-04-26 21:02:07 +00:00
Geoffrey Keating
fd2c87bd74
sparc.md (movsf_no_f_insn): Add more alternatives common to other movsf patterns.
...
* config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
common to other movsf patterns. Move up so that in future
people who change the other patterns will change it too.
(movsf_lo_sum): Allow even for soft-float; add appropriate
constraints.
(movsf_high): Likewise.
(movsf_high+1): Allow even for soft-float.
From-SVN: r41613
2001-04-26 20:56:08 +00:00
Geoffrey Keating
fbffc70af6
function.c (expand_function_end): Always clobber the return registers, even if there is no return label.
...
* function.c (expand_function_end): Always clobber the
return registers, even if there is no return label.
From-SVN: r41612
2001-04-26 20:54:51 +00:00
Mark Mitchell
9cc03fabc2
BADNAMES: Remove EGCS reference.
...
* docs/html/17_intro/BADNAMES: Remove EGCS reference.
Indicate obsolete nature of thelist for G++ 3.0.
From-SVN: r41611
2001-04-26 20:13:47 +00:00
Jeffrey A Law
a86414f362
initp1.C: Moved here from g++.old-deja/g++.ext.
...
* g++.dg/special/initp1.C: Moved here from g++.old-deja/g++.ext.
Tweak slightly to work with g++.dg framework.
* g++.dg/special/ecos.exp: Run initp1.C test.
* g++.old-deja/g++.ext/initp1.C: Moved to g++.dg/special.
From-SVN: r41610
2001-04-26 14:06:25 -06:00
Mark Mitchell
fcca588c94
invoke.texi: Document more C++ command-line options.
...
* invoke.texi: Document more C++ command-line options.
Remove support for -Wextern-inline, -flabels-ok, -fvtable-gc, -fxref
* cp-tree.h (warn_extern_inline): Remove.
(flag_labels_ok): Likewise.
* decl2.c (warn_extern_inline): Remove.
(flag_labels_ok): Likewise.
(lang_f_options): Remove labels-ok, vtable-gc, xref.
(unsupported_options): Add them.
(cxx_decode_option): Don't accept -Wextern-inline.
* method.c (hack_identifier): Remove -flabels-ok support.
* spew.c (see_typename): Likewise.
* g++.dg/vtgc1.C: XFAIL.
* g++.old-deja/g++.other/crash18.C: Likewise.
From-SVN: r41609
2001-04-26 20:05:34 +00:00
Per Bothner
56fe39c809
Fix method search wrt scope of inner classes to match JLS2.
...
From-SVN: r41604
2001-04-26 12:40:34 -07:00
Jan Hubicka
52a661a627
* (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
...
From-SVN: r41602
2001-04-26 18:33:25 +00:00
Per Bothner
8789b9fa5c
jcf-write.c (generate_bytecode_insns case SWITCH_EXPR): Fix thinko: If a single case, use if_icmpeq, not ifeq.
...
* jcf-write.c (generate_bytecode_insns case SWITCH_EXPR):
Fix thinko: If a single case, use if_icmpeq, not ifeq.
* constants.c (find_methodref_with_class_index): New function.
(find_methodref_index): Use find_methodref_with_class_index.
* java-tree.h (find_methodref_with_class_index): New declaration.
* jcf-write.c (generate_bytecode_insns case CALL_EXPR): Don't change
DECL_CONTEXT, instead use new find_methodref_with_class_index function.
If context changed from interface to class, don't use invokeinterface.
From-SVN: r41601
2001-04-26 11:32:22 -07:00
Per Bothner
5acea42bfb
verify.c (verify_jvm_instructions): For field instructions, check that field index is valid.
...
* verify.c (verify_jvm_instructions): For field instructions,
check that field index is valid. For invoke instructions, check that
method index is valid.
From-SVN: r41600
2001-04-26 11:11:02 -07:00
Jan Hubicka
b329888265
i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
...
* i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
(pushqi2_rex64, pushhi2_rex64): Add.
From-SVN: r41599
2001-04-26 18:10:44 +00:00
Andrew Haley
c10f3adf7b
except.c (expand_eh_region_end_cleanup): Force pending stack adjust before emitting label that branches around cleanup code.
...
2001-04-26 Andrew Haley <aph@redhat.com>
* except.c (expand_eh_region_end_cleanup): Force pending stack
adjust before emitting label that branches around cleanup code.
From-SVN: r41598
2001-04-26 17:49:01 +00:00
Jeffrey A Law
3da5d5c8d8
instantiate2.C: XFAIL for HPUX too since its linker doesn't give line numbers either.
...
* g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
its linker doesn't give line numbers either.
* g++.old-deja/g++.ext/instantiate3.C: Similarly.
From-SVN: r41597
2001-04-26 11:13:04 -06:00
Hans Boehm
03a5525282
unix.S: Restore stack pointer when returning from ffi_closure_UNIX.
...
* src/ia64/unix.S: Restore stack pointer when returning from
ffi_closure_UNIX.
* src/ia64/ffi.c: Fix typo in comment
From-SVN: r41594
2001-04-26 16:08:59 +00:00
H.J. Lu
44404b8b95
config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
...
2001-04-26 H.J. Lu (hjl@gnu.org )
* config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
* config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
define.
* config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
(ASM_OUTPUT_SECTION_NAME): Likewise.
(ASM_WEAKEN_LABEL): Likewise.
(UNIQUE_SECTION): Likewise.
(ASM_OUTPUT_CONSTRUCTOR): Likewise.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
* config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
(ASM_OUTPUT_SECTION_NAME): Likewise.
(ASM_WEAKEN_LABEL): Likewise.
(UNIQUE_SECTION): Likewise.
(ASM_OUTPUT_CONSTRUCTOR): Likewise.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
* config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
(ASM_FILE_START): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Likewise.
(ASM_DECLARE_OBJECT_NAME): Likewise.
(ASM_FILE_END): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Likewise.
(ASM_OUTPUT_INTERNAL_LABEL): Likewise.
(ASM_GENERATE_INTERNAL_LABEL): Likewise.
(ASM_OUTPUT_CASE_LABEL): Likewise.
(ASM_OUTPUT_SKIP): Likewise.
(ASM_OUTPUT_ASCII): Likewise.
(ASM_OUTPUT_IDENT): Likewise.
(READONLY_DATA_SECTION): Likewise.
(EXTRA_SECTIONS): Likewise.
(EXTRA_SECTION_FUNCTIONS): Likewise.
(SELECT_RTX_SECTION): Likewise.
(SELECT_SECTION): Likewise.
* config/mips/linux.h (INVOKE__main): Undefine.
(CTOR_LIST_BEGIN): Likewise.
(CTOR_LIST_END): Likewise.
(DTOR_LIST_BEGIN): Likewise.
(DTOR_LIST_END): Likewise.
(SET_ASM_OP): Defined it to ".dummy".
(ASM_OUTPUT_DEF): Defined.
(ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
From-SVN: r41592
2001-04-26 09:02:05 -07:00
Nick Clifton
fdc2d3b0f9
Define ASM_OUTPUT_MAX_SKIP_ALIGN if the assembler supports .p2align.
...
From-SVN: r41591
2001-04-26 15:37:02 +00:00
Nathan Sidwell
5677efb0be
c-lex.c (c_lex): Remove # from %o diagnostic formatting.
...
.: * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
testsuite:
* g++.old-deja/g++.other/lex1.C: New test.
From-SVN: r41588
2001-04-26 15:12:55 +00:00
Jakub Jelinek
3b07c79b24
integrate.c (expand_inline_function): Check for error_mark_node in actual argument.
...
* integrate.c (expand_inline_function): Check for error_mark_node
in actual argument.
* gcc.dg/noncompile/20010425-1.c: New test.
From-SVN: r41587
2001-04-26 13:36:23 +02:00
Jakub Jelinek
e9070e7b80
i386.h (CC1_CPU_SPEC): Fix deprecation warnings for -m386 and -m486.
...
* config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
-m386 and -m486.
From-SVN: r41585
2001-04-26 12:30:17 +02:00
Nathan Sidwell
0576ec1308
mangle.c (write_chars): New macro.
...
cp:
* mangle.c (write_chars): New macro.
(hwint_to_ascii): New function
(write_number): Use it.
(write_integer_cst): Deal with really big numbers.
testsuite:
* g++.old-deja/g++.pt/mangle2.C: New test.
From-SVN: r41584
2001-04-26 08:34:06 +00:00
GCC Administrator
cc6e9bc399
Daily bump.
...
From-SVN: r41581
2001-04-26 07:16:07 +00:00
Alexandre Oliva
a393bca085
configure.in (noconfigdirs): Don't reset it from scratch in the target case; only append to it.
...
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.
From-SVN: r41579
2001-04-26 05:28:55 +00:00
Alexandre Oliva
b1bb230234
configure.in (noconfigdirs): Don't reset it from scratch in the target case; only append to it.
...
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.
From-SVN: r41576
2001-04-26 05:12:36 +00:00
Alexandre Oliva
b2964d6355
configure.in (noconfigdirs): Disable ${libgcj}.
...
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.
From-SVN: r41575
2001-04-26 05:10:04 +00:00
Alexandre Oliva
2d65a52ece
configure.in: Obtain THREADS with `gcc -v'.
...
* configure.in: Obtain THREADS with `gcc -v'.
* configure: Rebuilt.
From-SVN: r41571
2001-04-26 04:29:57 +00:00
Alexandre Oliva
ede74510e5
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain target_thread_file with `gcc -v'.
...
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
target_thread_file with `gcc -v'.
* aclocal.m4, configure: Rebuilt.
From-SVN: r41570
2001-04-26 04:29:15 +00:00
Alexandre Oliva
a6687d2b0a
configure.in (configargs.h): Define thread_model.
...
* configure.in (configargs.h): Define thread_model.
* configure: Rebuilt.
* gcc.c (main): Print it with -v.
From-SVN: r41569
2001-04-26 04:28:50 +00:00
Benjamin Kosnik
5db6f3de56
std_cmath.h (std): Explicitly inject c99 names.
...
2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
* include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
* include/c_std/bits/std_cwchar.h (std): Same.
* acconfig.h (std): Remove c99 injection into std.
* config.h.in: Regenerate.
* testsuite/README: Fix typo.
* include/bits/codecvt.h: Remove warnings.
From-SVN: r41568
2001-04-26 02:23:52 +00:00
Bryce McKinlay
0cd99be737
re PR libgcj/2237 (serialization doesn't throw exception on failure)
...
Fix PR libgcj/2237:
* java/io/ObjectStreamClass.java (setClass): Calculate
serialVersionUID for local class and compare it against the UID
from the Object Stream. Throw InvalidClassException upon mismatch.
(setUID): Renamed to...
(getClassUID): this. Return the calculated class UID rather than
setting uid field directly.
(getDefinedSUID): Removed.
* java/io/ObjectInputStream.java (resolveClass): Use the
three-argument Class.forName().
* java/io/InvalidClassException (toString): Don't include classname in
result if it is null.
From-SVN: r41567
2001-04-26 03:02:05 +01:00