- 26 Apr, 2001 26 commits
-
-
From-SVN: r41604
Per Bothner committed -
From-SVN: r41602
Jan Hubicka committed -
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
Per Bothner committed -
* 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
Per Bothner committed -
* i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes (pushqi2_rex64, pushhi2_rex64): Add. From-SVN: r41599
Jan Hubicka committed -
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
Andrew Haley committed -
* 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
Jeffrey A Law committed -
* src/ia64/unix.S: Restore stack pointer when returning from ffi_closure_UNIX. * src/ia64/ffi.c: Fix typo in comment From-SVN: r41594
Hans Boehm committed -
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
H.J. Lu committed -
From-SVN: r41591
Nick Clifton committed -
.: * c-lex.c (c_lex): Remove # from %o diagnostic formatting. testsuite: * g++.old-deja/g++.other/lex1.C: New test. From-SVN: r41588
Nathan Sidwell committed -
* integrate.c (expand_inline_function): Check for error_mark_node in actual argument. * gcc.dg/noncompile/20010425-1.c: New test. From-SVN: r41587
Jakub Jelinek committed -
* config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for -m386 and -m486. From-SVN: r41585
Jakub Jelinek committed -
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
Nathan Sidwell committed -
From-SVN: r41581
GCC Administrator committed -
* configure.in (noconfigdirs): Don't reset it from scratch in the target case; only append to it. From-SVN: r41579
Alexandre Oliva committed -
* configure.in (noconfigdirs): Don't reset it from scratch in the target case; only append to it. From-SVN: r41576
Alexandre Oliva committed -
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*, sparc-*-solaris2.8]: Disable ${libgcj}. From-SVN: r41575
Alexandre Oliva committed -
* configure.in: Obtain THREADS with `gcc -v'. * configure: Rebuilt. From-SVN: r41571
Alexandre Oliva committed -
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain target_thread_file with `gcc -v'. * aclocal.m4, configure: Rebuilt. From-SVN: r41570
Alexandre Oliva committed -
* configure.in (configargs.h): Define thread_model. * configure: Rebuilt. * gcc.c (main): Print it with -v. From-SVN: r41569
Alexandre Oliva committed -
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
Benjamin Kosnik committed -
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
Bryce McKinlay committed -
From-SVN: r41565
Hans Boehm committed -
* optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting the clone. From-SVN: r41564
Mark Mitchell committed -
From-SVN: r41563
Hans Boehm committed
-
- 25 Apr, 2001 14 commits
-
-
* invoke.texi: Document -Wmissing-braces, -dumpspecs, -dumpmachine, -dumpversion, -fmem-report and -ftime-report. * gcc.1: Regenerate. From-SVN: r41560
Joseph Myers committed -
* dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type, is_redundant_typedef): Use static inline instead of inline static. From-SVN: r41558
Rainer Orth committed -
* config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that this directory is always searched. From-SVN: r41556
Christopher Faylor committed -
i386.c (ix86_expand_epilogue): Properly compute size of registers to restore along non eh_return path. * config/i386/i386.c (ix86_expand_epilogue): Properly compute size of registers to restore along non eh_return path. From-SVN: r41555
Richard Henderson committed -
From-SVN: r41552
Alexandre Oliva committed -
* configure.in (libgcj_saved): Copy from $libgcj. (libgcj): Zero out if --enable-libgcj; add to noconfigdirs is --disable-libgcj. From-SVN: r41551
Alexandre Oliva committed -
* c-format.c (check_format_info_recurse): Handle PLUS_EXPR for format string. * gcc.dg/format/plus-1.c: New test. From-SVN: r41550
Jakub Jelinek committed -
* config/ia64/ia64.h (CC1_SPEC): Define. * config/ia64/linux.h (CC1_SPEC): Define. From-SVN: r41549
Jakub Jelinek committed -
* java/net/natInetAddress.cc (java::net::InetAddress::aton): Wrap use of inet_pton in HAVE_INET6. From-SVN: r41547
Kaveh R. Ghazi committed -
From-SVN: r41546
Gavin Romig-Koch committed -
* emit-rtl.c (constant_subword): Also do sign extension in BITS_PER_WORD == 16 case. From-SVN: r41545
J"orn Rennecke committed -
From-SVN: r41544
Bryce McKinlay committed -
gcc/java: 2001-04-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * decl.c (init_decl_processing): Add new class "protectionDomain" field. * class.c (make_class_data): Set initial value for "protectionDomain". libjava: 2001-04-25 Bryce McKinlay <bryce@albatross.co.nz> java.security merge and ClassLoader compliance fixes. * java/lang/Class.h (Class): Include ProtectionDomain.h. New protectionDomain field. (forName): Add initialize parameter. Fixes declaration to comply with JDK spec. * java/lang/natClass.cc (forName): Correct declaration of the three-arg variant. Honour "initialize" flag. (getProtectionDomain0): New method. * java/lang/Class.java: Fix forName() declaration. (getPackage): New method based on Classpath implementation. (getProtectionDomain0): New native method decl. (getProtectionDomain): New method. * java/lang/ClassLoader.java (getParent): Now final. (definedPackages): New field. (getPackage): New. (defineClass): New variant with protectionDomain argument. (definePackage): New. (getPackages): New. (findSystemClass): Now final. (getSystemResourceAsStream): Remove redundant "final" modifier. (getSystemResource): Remove redundant "final" modifier. (getResources): Now final. (protectionDomainPermission): New static field. (unknownProtectionDomain): Ditto. (defaultProtectionDomain): Ditto. (getSystemClassLoader): Now non-native. * java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct arguments for Class.forName(). * java/lang/Package.java: New file. * gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed. (instance): Static initialize singleton. (findClass): Override this, not findSystemClass. * java/lang/natClassLoader.cc (defineClass0): Set class's protectionDomain field as specified. (getSystemClassLoader): Removed. (findClass): Renamed from findSystemClass. Call the interpreter via URLClassLoader.findClass if loading class via dlopen fails. * java/security/*.java: java.security import/merge with Classpath. * java/security/acl/*.java: Likewise. * java/security/interfaces/*.java: Likewise. * java/security/spec/*.java: Likewise. * java/net/NetPermission.java: Likewise. * java/net/SocketPermission.java: Likewise. * gnu/java/security/provider/DefaultPolicy.java: Likewise. * Makefile.am: Add new classes. * Makefile.in: Rebuilt. * gcj/javaprims.h: CNI namespace rebuild. From-SVN: r41543
Bryce McKinlay committed -
From-SVN: r41541
Jason Merrill committed
-