- 26 Nov, 2000 8 commits
-
-
From-SVN: r37753
Jeff Law committed -
From-SVN: r37752
Anthony Green committed -
2000-11-25 Anthony Green <green@redhat.com> * prims.cc (_Jv_NewObjectArray): Undo placement change. (_Jv_NewPrimArray): Likewise. * gcj/array.h (__JArray): Undo const change. Removed constructor. (class JArray): Removed constructor. * java/lang/Thread.java (context_class_loader): New private data. (getContextClassLoader): New method. (setContextClassLoader): New method. (Thread): Initialize context_class_loader. * java/net/URLClassLoader.java: Import java.util.Enumeration. (getResource): Rename to findResource. (findResource): New method. Used to be getResource. (getResourceAsStream): Deleted. (jarFileize): Extracted logic from URLClassLoader constructor into this new private method. (addURL): New protected method. (URLClassLoader): Call jarFileize. Use addElement instead of insertElementAt. (findResources): New method. * java/lang/ClassLoader.java: Import java.util.Enumeration. (getResource): Implement correct logic. (findResource): New method. (getResources): New method. (findClass): Create a ClassNotFoundException with the name of the class rather than nothing at all. (defineClass) Only throw ClassFormatError. * java/lang/Class.java (forName): New method. * java/lang/Class.h (forName): New method. * java/lang/natClass.cc (forName): New method. From-SVN: r37751
Anthony Green committed -
From-SVN: r37750
Zack Weinberg committed -
2000-11-24 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/System.java (setProperties): Only call init_properties() if properties is null. (getProperties): Ditto. (getProperty): Ditto. (setProperty): Call init_properties if properties are null. (prop_init): Remove field. * java/lang/natSystem.cc (init_properties): Synchronize the entire method. Check for null properties after synchronizing instead of prop_init flag. Set the properties field last for thread safety. * java/io/ObjectInputStream.java (ObjectInputStream): If DEBUG is set, test for gcj.dumpobjects property and enable object stream dumping if it is set. (dumpElement): No longer native. (dumpElementln): Ditto. (setDump): Do not define. * java/io/natObjectInputStream.cc (dumpElement): Removed. (dumpElementln): Removed. (setDump): Removed. 2000-11-24 Bryce McKinlay <bryce@albatross.co.nz> * configure: Rebuilt. * Makefile.in: Rebuilt. * Makefile.am (built_java_source_files): Add Configuration.java. * configure.in: Add Configuration.java to CONFIG_FILES. Set LIBGCJDEBUG substitution if --enable-libgcj-debug is specified. Create `gnu' directory in the build tree. * gnu/classpath/Configuration.java.in: New file. From-SVN: r37749
Bryce McKinlay committed -
* c-common.h (DECL_C_HARD_REGISTER): New. * c-decl.c (finish_decl): Set it for asm register variables. * c-semantics.c (emit_local_var): Test it when instantiating one. From-SVN: r37748
Richard Henderson committed -
* c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than lineno for the start of the function. From-SVN: r37747
Richard Henderson committed -
* dwarf2out.c (file_table, file_table_allocated): Remove. (file_table_allocated): Remove. (struct file_table): New. (decl_file_table, line_file_table): New. (print_dwarf_line_table): Use them. (size_of_line_prolog): Likewise. (output_line_info): Likewise. (add_src_coords_attributes): Likewise. (gen_subprogram_die): Likewise. (gen_variable_die): Likewise. (dwarf2out_add_library_unit_info): Likewise. (dwarf2out_line): Likewise. (lookup_filename): Take a struct file_table argument. (init_file_table): New. (dwarf2out_init): Use it. From-SVN: r37746
Richard Henderson committed
-
- 25 Nov, 2000 21 commits
-
-
cp: * method.c (build_mangled_C9x_name): Rename to build_mangled_C99_name. Change C9X references in comments to refer to C99. testsuite: * gcc.c-torture/execute/memcheck/driver.c, gcc.c-torture/execute/memcheck/driver.h, gcc.dg/cpp/if-3.c: Change C9X references to refer to C99. From-SVN: r37745
Joseph Myers committed -
From-SVN: r37744
Joseph Myers committed -
* acinclude.m4: Change C9X references to refer to C99. * aclocal.m4, configure: Regenerate. * config/os/gnu-linux/bits/os_defines.h, src/complex.cc, testsuite/22_locale/codecvt_wchar_t_char.cc, include/bits/stl_config.h, include/c/bits/std_cwchar.h, libmath/mathconf.h: Change C9X references to refer to C99. From-SVN: r37743
Joseph Myers committed -
* c-common.c: Remove USE_CPPLIB conditional inclusions. * c-common.h: Similarly. * c-decl.c: Similarly. * c-lang.c: Similarly. * c-lex.c: Similarly. * c-parse.in: Similarly. * c-pragma.c: Similarly. * c-pragma.h: Similarly. * gcc.c: Similarly. * toplev.c: Similarly. * cp/cp-tree.h: Similarly. * cp/decl2.c: Similarly. * cp/lang-specs.h: Similarly. * cp/lex.c: Similarly. * cp/lex.h: Similarly. * cp/spew.c: Similarly. * java/lang-options.h: Similarly. * objc/lang-specs.h: Similarly. * objc/objc-act.c: Similarly. * configure.in: Remove configure option. * config.in: Regenerate. * configure: Regenerate. From-SVN: r37742
Neil Booth committed -
* haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze): Revert 2000-11-22 change. From-SVN: r37741
Richard Henderson committed -
From-SVN: r37740
Bernd Schmidt committed -
gcc: 2000-11-25 Philipp Thomas <pthomas@suse.de> * configure.in (ALL_LINGUAS): Remove en_GB and add sv. * configure: Rebuilt. po: 2000-11-25 Philipp Thomas <pthomas@suse.de> * sv.po: New swedish translation file. * en_GB.po: Removed. From-SVN: r37739
Philipp Thomas committed -
* config/sparc/sparc.md (muldi3_v8plus): Remove H constraint. Handle CONST_INT as second argument. * config/sparc/sparc.c (set_extends): Remove first argument. Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and MOV. (sparc_check_64): Abort if first argument is not REG. If it is DImode REG, look at the lower register of the register pair. * config/sparc/sparc.c (load_pic_register, restore_regs, output_return, sparc_v8plus_shift, sparc_function_profiler, sparc_function_block_profiler, sparc_block_profiler): Fix output formatting. * gcc.dg/ultrasp3.c: New test. From-SVN: r37738
Jakub Jelinek committed -
From-SVN: r37737
Neil Booth committed -
2000-11-25 Benjamin Kosnik <bkoz@redhat.com> Richard Earnshaw <rearnsha@arm.com> * src/Makefile.am (INCLUDES): Remove unconditional use of _GNU_SOURCE and _ISOC99_SOURCE macros. * src/Makefile.in: Regenerate. Co-Authored-By: Richard Earnshaw <rearnsha@arm.com> From-SVN: r37736
Benjamin Kosnik committed -
From-SVN: r37735
Jeff Law committed -
* config/sh/sh.h (TARGET_NONE): New. (TARGET_SWITCHES): For all variant-selecting switch, use TARGET_NONE to reset all other variant-selecting switch. Added empty strings to avoid warnings. (TARGET_DEFAULT): Set to SH1_BIT. From-SVN: r37734
Alexandre Oliva committed -
* Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for insn-codes.h. From-SVN: r37733
Alexandre Oliva committed -
* gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns. (sibcall_pcrel): New insn_and_split. (sibcall, sibcall_value, sibcall_epilogue): New expands. From-SVN: r37732
Alexandre Oliva committed -
* config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg, symPLT_label2reg, call, call_value): Don't set current_function_uses_pic_offset_table. * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs takes it into account. (FINALIZE_PIC): Delete, useless. (LEGITIMATE_CONSTANT_P): Delete, unused. * config/sh/sh.c (sh_expand_prologue): Don't use current_function_uses_pic_offset_table. Don't special-case PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and PIC is enabled. (sh_expand_epilogue, initial_elimination_offset): Don't special case PIC_OFFSET_TABLE_REGNUM. From-SVN: r37731
Alexandre Oliva committed -
* config/sh/sh-protos.h (symbol_ref_operand): Declare. * config/sh/sh.md (UNSPEC_CALLER): New constant. (calli_pcrel, call_valuei_pcrel): Use PIC_REG. (call_pcrel, call_value_pcrel): New insn_and_splits. (call, call_value): Use them. (call_site): New expand. (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites. * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]: Output call_site label. (PREDICATE_CODES): Added symbol_ref_operand. * config/sh/sh.c (symbol_ref_operand): Define. * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE to CALL_INSNs in the split sequence. From-SVN: r37730
Alexandre Oliva committed -
From-SVN: r37729
Alexandre Oliva committed -
From-SVN: r37728
Kriang Lerdsuwanakij committed -
v850 pragma support into gcc and gxx. From-SVN: r37727
Nick Clifton committed -
From-SVN: r37726
Nick Clifton committed -
Add xscale-elf and xscale-coff targets. (Only supported in binutils at the moment). From-SVN: r37725
Nick Clifton committed
-
- 24 Nov, 2000 11 commits
-
-
From-SVN: r37724
Richard Kenner committed -
2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add _GLIBCPP_USE_WCHAR_T guards. * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as is, so that checks for existence of generated files actually work. * configure: Regenerate. From-SVN: r37723
Benjamin Kosnik committed -
From-SVN: r37722
Arno J. Klaassen committed -
* config/sh/sh.h (GENERAL_REGISTER_P, GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P, FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them all over. (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P. * config/sh/sh.c: Use new macros. * config/sh/sh.md: Likewise. From-SVN: r37721
Alexandre Oliva committed -
* config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode, instead of just MACH_REG in DImode. Always refer to FPSCR_REG in PSImode. From-SVN: r37720
Alexandre Oliva committed -
Fri Nov 24 11:25:20 2000 Anthony Green <green@redhat.com> * lib/libjava.exp (bytecompile_file): Change default from javac to gcj -C. (libjava_arguments): Fix classpath. * libjava.compile/PR129_B.no-link: New file. From-SVN: r37719
Anthony Green committed -
* prims.cc (_Jv_NewObjectArray): Use palcement new to create array. (_Jv_NewPrimArray): Likewise. Include <new>. * gcj/array.h (__JArray): `length' field now const. Added constructor. (class JArray): Added constructor. From-SVN: r37718
Tom Tromey committed -
From-SVN: r37717
Tom Tromey committed -
From-SVN: r37716
Tom Tromey committed -
* config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug fixed. (machine_dependent_reorg): Wrong optimization based on NOTICE_UPDATE_CC removed. From-SVN: r37715
Denis Chertykov committed -
* jump.c (delete_computation): Re-instate deletion of feeding insn. (delete_insn): Look for REG_LABEL notes. (redirect_tablejump): Delete feeding insns. From-SVN: r37714
J"orn Rennecke committed
-