summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* More test code.green2002-11-044-0/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58793 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-11-042-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58792 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (loadClass): Call loadClass ontromey2002-11-042-8/+17
| | | | | | | VMClassLoader, not findClass. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58786 138bc75d-0d04-0410-961f-82ee72b054a4
* * jump.c (never_reached_warning): Don't set contains_insn until thedanglin2002-11-042-1/+6
| | | | | | | first line note is seen. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58785 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing file.green2002-11-041-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58784 138bc75d-0d04-0410-961f-82ee72b054a4
* New test codegreen2002-11-041-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58783 138bc75d-0d04-0410-961f-82ee72b054a4
* New tests. green2002-11-042-0/+52
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58782 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.md (movti_string): Use string instructions.dje2002-11-042-8/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58781 138bc75d-0d04-0410-961f-82ee72b054a4
* * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.jsturm2002-11-043-227/+15
| | | | | | | | | | | | (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not _Jv_DetermineVTableIndex, to determine vtable offset. (_Jv_DetermineVTableIndex): Remove. (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead. * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58780 138bc75d-0d04-0410-961f-82ee72b054a4
* * call.c (build_special_member_call): Do not try to lookup VTTs bymmitchel2002-11-0410-245/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name. * class.c (vtbl_init_data): Add generate_vcall_entries. (get_vtable_decl): Do not look up virtual tables by name. (copy_virtuals): Do not use BV_USE_VCALL_INDEX_P. (set_primary_base): Do not set CLASSTYPE_RTTI. (determine_primary_base): Likewise. (get_matching_virtual): Remove. (get_vcall_index): New function. (update_vtable_entry_for_fn): Do not try to use virtual thunks when they are not required. Assign vcall indices at this point. (finish_struct_1): Do not set CLASSTYPE_NEEDS_VIRTUAL_REINIT. Do update dynamic_classes. (build_vtt): Do not add VTTs to the symbol table. (build_ctor_vtbl_group): Likewise. (build_vtbl_initializer): Simplify handling of vcall indices. (build_vcall_offset_vtbl_entries): Pretend to build vcall offsets for the most derived class. (add_vcall_offset_vtbl_entries_1): But do not actually add them to the vtable. * cp-tree.h (dynamic_classes): New macro. (lang_type_class): Remove rtti. Add vtables. Add vcall_indices. (CLASSTYPE_RTTI): Remove. (CLASSTYPE_NEEDS_VIRTUAL_REINIT): Remove. (CLASSTYPE_VCALL_INDICES): New macro. (CLASSTYPE_VTABLES): Likewise. (BV_USE_VCALL_INDEX_P): Remove. (build_vtable_path): Remove. * decl2.c (finish_vtable_vardecl): Remove. (key_method): Remove #if 0'd code. (finish_vtable_vardecl): Rename to ... (maybe_emit_vtables): ... this. (finish_file): Use it. * search.c (look_for_overrides_here): Update comment. * g++.dg/abi/thunk1.C: New test. * g++.dg/abi/thunk2.C: Likewise. * g++.dg/abi/vtt1.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58779 138bc75d-0d04-0410-961f-82ee72b054a4
* New files.green2002-11-048-0/+147
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58778 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/7128sayle2002-11-042-1/+11
| | | | | | | | * c-typeck.c (c_expand_asm_operands): Defend against error_mark_nodes in the output argument to avoid ICE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58777 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/8408rth2002-11-033-7/+25
| | | | | | | | | * genrecog.c (preds): Handle ADDRESSOF. (validate_pattern): Mark it as an lvalue. * gcc.c-torture/compile/20021103-1.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58774 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/nio/channels/AlreadyConnectedException.java: Extendtromey2002-11-032-5/+8
| | | | | | | IllegalStateException, per spec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58773 138bc75d-0d04-0410-961f-82ee72b054a4
* GNU Classpath merge.mark2002-11-039-32/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-31 Stephen Crawley <crawley@dstc.edu.au> * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)). 2002-10-31 Wu Gansha <gansha.wu@intel.com>: * java/util/ArrayList.java (readObject, writeObject): Only read/write size items. 2002-10-31 Wu Gansha <gansha.wu@intel.com>: * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an initial estimated size to avoid enlarge buffer frequently. 2002-10-31 Wu Gansha <gansha.wu@intel.com>: * java/lang/reflect/Proxy.java (ProxyType): Set loader to System ClassLoader when null. (ProxyType.hashCode): Loader null check no longer needed. (ProxyType.sameTypes): New method. (ProxyType.equals): Use new method. 2002-10-31 Mark Wielaard <mark@klomp.org> * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to length of String. * java/net/URLEncoder.java (encode): Likewise. 2002-10-31 Mark Wielaard <mark@klomp.org> * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException when stream is closed. (closeEntry): Likewise. (read): Likewise. * java/util/zip/ZipOutputStream.java (putNextEntry): Throw ZipException when no entry active. (closeEntry): Likewise. (write): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58772 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-11-032-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58771 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/initexc.java (fail): Static initializers must betromey2002-11-032-1/+6
| | | | | | | able to complete normally. From Eric Blake. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58765 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.tromey2002-11-023-5/+8
| | | | | | | | * java/lang/natClass.cc (initializeClass): Don't return just because self==thread. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58763 138bc75d-0d04-0410-961f-82ee72b054a4
* * java-tree.h: Move JV_STATE_ERROR before JV_STATE_DONE.tromey2002-11-022-2/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58762 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/initexc.java: New file.tromey2002-11-023-0/+40
| | | | | | | * libjava.lang/initexc.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58761 138bc75d-0d04-0410-961f-82ee72b054a4
* PR optimization/8423dnovillo2002-11-022-0/+31
| | | | | | | * gcc.c-torture/execute/builtin-constant.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58760 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.c (rs6000_override_options): Use stringdje2002-11-022-3/+8
| | | | | | | instructions when optimizing for size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58759 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c (make_method_value): Put class name, not signature, intotromey2002-11-022-1/+6
| | | | | | | `throws' field. For PR java/8415. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58758 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR java/8415:tromey2002-11-023-5/+9
| | | | | | | | * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass. * prims.cc (_Jv_FindClassFromSignature): Indentation fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58757 138bc75d-0d04-0410-961f-82ee72b054a4
* Reverted erroneous checkintromey2002-11-025-61/+42
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58756 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR java/6388.tromey2002-11-025-42/+61
| | | | | | | | | | | | | | * lex.h (JAVA_INTEGRAL_RANGE_ERROR): Wrap in do...while. * java-tree.h (enum java_tree_index): New values JTI_DECIMAL_INT_MAX_NODE, JTI_DECIMAL_LONG_MAX_NODE. (decimal_int_max, decimal_long_max): New defines. * lex.c (yylex): Rewrote range checking. Sign extend literals. (error_if_numeric_overflow): Rewrote range checking. * decl.c (java_init_decl_processing): Initialize decimal_int_max, decimal_long_max. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58755 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, doschwab2002-11-023-6/+15
| | | | | | | | | pass GCJFLAGS. (FLAGS_TO_PASS): Define. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58752 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-02 Toon Moene <toon@moene.indiv.nluug.nl>toon2002-11-021-1/+1
| | | | | | | * news.texi: Fix .f -> .r git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58751 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-02 Toon Moene <toon@moene.indiv.nluug.nl>toon2002-11-022-5/+42
| | | | | | | | | * g77.texi: Correct documentation on generating C++ prototypes of Fortran routines with f2c. * news.texi: Document fixes in GCC-3.3, 3.2 and 3.1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58750 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-02 Toon Moene <toon@moene.indiv.nluug.nl>toon2002-11-021-0/+6
| | | | | | | | | * g77.texi: Correct documentation on generating C++ prototypes of Fortran routines with f2c. * news.texi: Document fixes in GCC-3.3, 3.2 and 3.1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58749 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.h: Fix comment typos.kazu2002-11-024-8/+14
| | | | | | | | * config/h8300/h8300.md: Likewise. * config/h8300/lib1funcs.asm: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58748 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert this change:gerald2002-11-022-5/+13
| | | | | | | | *doc/install.texi (Installing GCC: Configuration): Clarify the only supported ways to configure gcc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58746 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-11-022-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58745 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-11-022-1/+8
| | | | | | | | PR libstdc++/8172 * src/string-inst.cc: Add instantiation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58738 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/7353 reduxzack2002-11-025-11/+53
| | | | | | | | | | | cp: * decl2.c (grokfield): Reject TYPE_DECLs with initializers. testsuite: * g++.dg/ext/typedef-init.C, gcc.dg/typedef-init.C: Add some more cases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58737 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'kazu2002-11-022-1/+6
| | | | | | | instead of 'O' for the constraint for the second operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58736 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-11-025-199/+17
| | | | | | | | | | | | | | PR libstdc++/7926 * configure.target: Simplify. * config/cpu/i386/atomicity.h: Remove. * config/cpu/i386: Remove. * config/cpu/arm/atomicity.h: Remove. * config/cpu/arm: Remove. * config/cpu/x86-64/atomicity.h: Remove. * config/cpu/x86-64: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58735 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/8391mmitchel2002-11-024-0/+34
| | | | | | | | | | | * toplev.c (rest_of_compilation): Do not refuse to output code for an inline function in a local class. PR c++/8391 * g++.dg/opt/local1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58734 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR java/8415:tromey2002-11-023-0/+20
| | | | | | | | * libjava.lang/pr8415.java: New file. * libjava.lang/pr8415.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58732 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-01 David O'Brien <obrien@FreeBSD.org>obrien2002-11-012-29/+31
| | | | | | | | | | | | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__. (TRANSFER_FROM_TRAMPOLINE): Reformat. Add comment. Approved by: Mark Mitchell <mark@codesourcery.com> Message-ID: <15490000.1036182355@warlock.codesourcery.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58730 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.kazu2002-11-012-4/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58729 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.kazu2002-11-012-0/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58728 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.sje2002-11-015-47/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (MASK_INLINE_DIV_THR): Remove. (TARGET_INLINE_DIV_LAT): Remove. (TARGET_INLINE_DIV_THR): Remove. (TARGET_INLINE_DIV): Remove. (MASK_INLINE_FLOAT_DIV_LAT): New macro. (MASK_INLINE_FLOAT_DIV_THR): New macro. (MASK_INLINE_INT_DIV_LAT): New macro. (MASK_INLINE_INT_DIV_THR): New macro. (TARGET_INLINE_FLOAT_DIV_LAT): New macro. (TARGET_INLINE_FLOAT_DIV_THR): New macro. (TARGET_INLINE_INT_DIV_LAT): New macro. (TARGET_INLINE_INT_DIV_THR): New macro. (TARGET_INLINE_FLOAT_DIV): New macro. (TARGET_INLINE_INT_DIV): New macro. * config/ia64/ia64.md (divsi3): Change to use new macros. (modsi3): Ditto. (udivsi3): Ditto. (umodsi3): Ditto. (divsi3_internal): Ditto. (divdi3): Ditto. (moddi3): Ditto. (udivdi3): Ditto. (umoddi3): Ditto. (divdi3_internal_lat): Ditto. (divdi3_internal_thr): Ditto. (divsf3): Ditto. (divsf3_internal_lat): Ditto. (divsf3_internal_thr): Ditto. (divdf3): Ditto. (divdf3_internal_lat): Ditto. (divdf3_internal_thr): Ditto. (divtf3): Ditto. (divtf3_internal_lat): Ditto. (divtf3_internal_thr): Ditto. * config/ia64/ia64.c (ia64_override_options): Change to check new macros for conflicts in settings. * doc/invoke.texi (-minline-divide-min-latency): Remove. (-minline-divide-max-throughput): Remove. (-minline-float-divide-min-latency): New. (-minline-float-divide-max-throughput): New. (-minline-int-divide-min-latency): New. (-minline-int-divide-max-throughput): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58727 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp (find_mauve_sources): New proc.tromey2002-11-012-2/+23
| | | | | | | | (test_mauve): Use it. (test_mauve_sim): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58725 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>bkoz2002-11-012-0/+39
| | | | | | | | PR libstdc++/8197 * config/link-map.gnu: Export math stubbs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58721 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-11-0111-97/+131
| | | | | | | | | | | | | | | | | PR libstdc++/8318 * include/std/std_iostream.h: Tweak. * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T. * include/std/std_iomanip.h: Same. * include/bits/stringfwd.h: Same. * include/bits/basic_string.tcc: Same. * include/bits/sstream.tcc: Same. * include/bits/fstream.tcc: Same. * include/bits/basic_ios.tcc: Same. * include/bits/streambuf.tcc: Same. * include/bits/locale_facets.tcc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58720 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-01 John Carter <john.carter@tait.co.nz>paolo2002-11-012-2/+10
| | | | | | | | | PR libstdc++/7961 * include/bits/basic_string.tcc (compare(const _CharT* __s)): Don't access __s past its length. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58717 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/7856rearnsha2002-11-012-10/+25
| | | | | | | | * arm.c (use_return_insn): Don't use a return insn if there are saved integer regs, but LR is not one of them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58716 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-01 Michael Koch <konqueror@gmx.de>mkoch2002-11-0121-8/+1166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/ByteOrder.java: New file. * java/nio/channels/DatagramChannel.java: (DatagramChannel): New constructor. * java/nio/channels/Pipe.java: New file. * java/nio/channels/SelectableChannel.java: New file. * java/nio/channels/SelectionKey.java: New file. * java/nio/channels/Selector.java: New file. * java/nio/channels/ServerSocketChannel.java (ServerSocketChannel): New constructor. * java/nio/channels/SocketChannel.java (SocketChannel): New constructor. * java/nio/channels/Pipe.java: New file. * java/nio/channels/spi/AbstractChannel.java: New file. * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file. * java/nio/channels/spi/AbstractSelectableChannel.java: License added (AbstractSelectableChannel): New stubbed method. * java/nio/channels/spi/AbstractSelectionKey.java: New file. * java/nio/channels/spi/AbstractSelector.java: New file. * java/nio/channels/spi/SelectorProvider.java: New file. * java/nio/charset/Charset.java: New file. * java/nio/charset/CoderMalfunctionError.java: New file. * java/nio/charset/CodingErrorAction.java: New file. * java/nio/charset/spi/CharsetProvider.java (charsetForName): Uncommented. * Makefile.am (java_native_source_files): Added new files. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58713 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_Phubicka2002-11-013-1/+10
| | | | | | | * machmode.h (SCALAR_FLOAT_MODE_P): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58712 138bc75d-0d04-0410-961f-82ee72b054a4