Commit Graph

43860 Commits

Author SHA1 Message Date
J"orn Rennecke
e3ba8d11f8 sh-protos.h (sh_pr_interrupt): Declare.
* sh-protos.h (sh_pr_interrupt): Declare.
	* sh.c (sh_pr_interrupt): New function.
	(print_operand, calc_live_regs, sh_expand_prologue): Use it.
	(sh_hard_regno_rename_ok): Likewise.
	* sh.h (NORMAL_MODE): FP_MODE_NONE for interupt handlers.

From-SVN: r54756
2002-06-18 20:03:18 +01:00
Tom Tromey
ab928b3241 javaprims.h: Updated class declaration list.
* gcj/javaprims.h: Updated class declaration list.
	* Makefile.in: Rebuilt.
	* Makefile.am (core_java_source_files): Removed
	BasicMapEntry.java.
	* java/util/BasicMapEntry.java: Removed.

From-SVN: r54753
2002-06-18 17:06:44 +00:00
Jeff Sturm
347258aef0 natPlainDatagramSocketImpl.cc (receive): Check bounds of argument to FD_SET.
* java/net/natPlainDatagramSocketImpl.cc (receive):
	Check bounds of argument to FD_SET.
	(setOption): Throw exception if socket is closed.

	* java/net/natPlainSocketImpl.cc (accept, read):
	Check bounds of argument to FD_SET.
	(setOption): Throw exception if socket is closed.

From-SVN: r54750
2002-06-18 16:25:00 +00:00
Jason Merrill
18ba380b3a semantics.c (begin_for_stmt): Push the 'for' scope before adding the FOR_STMT.
* semantics.c (begin_for_stmt): Push the 'for' scope before
        adding the FOR_STMT.

From-SVN: r54749
2002-06-18 12:21:25 -04:00
Vladimir Makarov
e3c8eb86d1 rtl.def (DEFINE_AUTOMATON): Add description of new options time' and v'.
2002-06-18  Vladimir Makarov  <vmakarov@redhat.com>

	* rtl.def (DEFINE_AUTOMATON): Add description of new options
	`time' and `v'.  Fix incorrect description of option `w'.

	* doc/md.texi: Ditto.

	* genautomata.c (TIME_OPTION, V_OPTION): New macros.
	(gen_automata_option): Process the new options.
	(transform_2, transform_3): Initialize some variables.
	(initiate_automaton_gen): Use the new macros.

From-SVN: r54748
2002-06-18 16:18:23 +00:00
Jason Merrill
83b14b8847 C++ ABI changes.
* class.c (build_base_field): Set DECL_PACKED.
        (layout_class_type): Don't use tail padding of PODs.
        * mangle.c (write_unqualified_name): Fix template conversion op
        mangling.

From-SVN: r54747
2002-06-18 12:05:31 -04:00
Tom Tromey
3831381763 javaprims.h: Updated class declaration list.
* gcj/javaprims.h: Updated class declaration list.
	* Makefile.in: Rebuilt.
	* Makefile.am (core_java_source_files): Added
	PropertyPermissionCollection.java.
	* java/lang/Thread.java (group, name): Now package-private.
	* java/lang/ThreadGroup.java: Re-merge with Classpath.
	* java/util/AbstractList.java: Likewise.
	* java/util/AbstractMap.java: Likewise.
	* java/util/Calendar.java: Likewise.
	* java/util/Collections.java: Likewise.
	* java/util/HashMap.java: Likewise.
	* java/util/Hashtable.java: Likewise.
	* java/util/LinkedHashMap.java: Likewise.
	* java/util/LinkedList.java: Likewise.
	* java/util/List.java: Likewise.
	* java/util/ListResourceBundle.java: Likewise.
	* java/util/Map.java: Likewise.
	* java/util/Observable.java: Likewise.
	* java/util/Properties.java: Likewise.
	* java/util/PropertyPermission.java: Likewise.
	* java/util/PropertyPermissionCollection.java: Likewise.
	* java/util/PropertyResourceBundle.java: Likewise.
	* java/util/Random.java: Likewise.
	* java/util/SimpleTimeZone.java: Likewise.
	* java/util/StringTokenizer.java: Likewise.
	* java/util/TimerTask.java: Likewise.
	* java/util/TreeMap.java: Likewise.
	* java/util/WeakHashMap.java: Likewise.
	* java/util/jar/Attributes.java: Likewise.
	* java/util/jar/JarException.java: Likewise.
	* java/util/jar/Manifest.java: Likewise.

From-SVN: r54743
2002-06-18 15:40:16 +00:00
Hans-Peter Nilsson
0fd534ed06 * gcc.c-torture/execute/20020615-1.c: Fix typo in comment.
From-SVN: r54741
2002-06-18 15:35:36 +00:00
Richard Sandiford
b24718388c mips-protos.h (mips_initial_elimination_offset): Declare.
* config/mips/mips-protos.h (mips_initial_elimination_offset): Declare.
	(mips_set_return_address, mips_restore_gp): Declare.
	* config/mips/mips.h (struct mips_frame_info): Move to mips.c
	(current_frame_info): Remove.
	(INITIAL_ELIMINATION_OFFSET): Use mips_initial_elimination_offset.
	* config/mips/mips.c: Remove uses of current_frame_info.
	(struct mips_frame_info): Moved from mips.h.  Remove 'insns_len'.
	(struct machine_function): Add 'frame' and 'insns_len'.
	(current_frame_info, zero_frame_info): Remove.
	(mips_restore_gp, mips_set_return_address): New.
	(mips_initial_elimination_offset): New.
	* config/mips/mips.md (exception_receiver): Use mips_restore_gp.
	(eh_return define_split): Use mips_set_return_address.

From-SVN: r54738
2002-06-18 11:23:41 +00:00
GCC Administrator
d3beaf0a30 Daily bump.
From-SVN: r54737
2002-06-18 07:37:39 +00:00
Neil Booth
d97371e024 cpplib.c (dtable): Update.
* cpplib.c (dtable): Update.
	(end_directive): Decrement expansion prevention count.
	Clear state.in_expression.
	(prepare_directive_trad): Set state.in_expression.
	Increment expansion prevention count.
	* cpptrad.c (enum ls): New.
	(_cpp_overlay_buffer): Set overlaid_buffer.
	(_cpp_remove_overlay): Use overlaid_buffer.
	(_cpp_read_logcial_line_trad): Update buffer when it might
	have changed.
	(scan_out_logical_line): Handle state transitions for assertions
	and defined() in #if, and for funlike invocations including the
	directive case.  Handle '<' and '>' as a quote mechanism in
	#include.  Warn about unterminated macro invocations.
	* cpphash.h (struct lexer_state): New member in_expression.
	(struct cpp_reader): New member overlaid buffer.

From-SVN: r54732
2002-06-18 06:27:40 +00:00
Hans-Peter Nilsson
807b20b01e arit.c (do_31div, [...]): Mark prototype __always_inline__.
* config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype
	__always_inline__.

From-SVN: r54731
2002-06-18 02:55:25 +00:00
Douglas B Rupp
53309d5c8a lbasename.c: Add 2002 to copyright.
2002-06-17  Douglas Rupp  <rupp@gnat.com>

	* lbasename.c: Add 2002 to copyright.
	(IS_DIR_SEPARATOR): Remove VMS junk.

From-SVN: r54729
2002-06-18 02:04:33 +00:00
Aldy Hernandez
820d4b1b9e simd-1.c: New.
2002-06-16  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.c-torture/execute/simd-1.c: New.

        * gcc.dg/simd-1.c: New.

From-SVN: r54728
2002-06-18 01:36:49 +00:00
Aldy Hernandez
cb2a532e9f simd-1.c: New.
2002-06-16  Aldy Hernandez  <aldyh@redhat.com>

	* gcc.c-torture/execute/simd-1.c: New.

	* gcc.dg/simd-1.c: New.

	* doc/extend.texi (Vector Extensions): Document that we can
	specify simd types not specifically supported by the hardware.
	Document that simd types can be used as function arguments.
	Document that signness does make a difference in SIMD types.
	Misc cleanups and revisions to the "vector extensions" section.

	* simplify-rtx.c (simplify_subreg): Simplify subregs of vector
	constants.

	* expr.c (vector_mode_valid_p): New.

	* expr.h: Add vector_mode_valid_p.

	* defaults.h (VECTOR_MODE_SUPPORTED_P): Set default.

	* emit-rtl.c (immed_double_const): Do not abort on vectors.

	* c-common.c (type_for_mode): Always build vector nodes regardless
	of VECTOR_MODE_SUPPORTED_P.
	(handle_mode_attribute): Error if we can't emulate a nonexisting
	vector mode.
	(handle_vector_size_attribute): Same.

	* optabs.c (expand_binop): Open-code vector operations.
	(expand_unop): Open-code vector unops.
	(expand_vector_binop): New.
	(expand_vector_unop): New.

	* c-typeck.c (build_binary_op): Allow vectors in binops.
	Allow vectors in conditional operatiors.
	(build_unary_op): Allow vectors in unary minus.

	* config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on
	TARGET_ALTIVEC.

From-SVN: r54727
2002-06-18 01:35:47 +00:00
Alan Modra
147d5f6f76 * config/ia64/ia64.md (doloop_end_internal): Correct rtl.
From-SVN: r54726
2002-06-18 09:54:51 +09:30
Hans-Peter Nilsson
2230956580 * gcc.c-torture/execute/20020615-1.c: Correct bug-description.
From-SVN: r54723
2002-06-17 23:29:39 +00:00
Alan Modra
8a09a7e5f1 * doloop.c (doloop_optimize): Extract pattern from insn.
From-SVN: r54722
2002-06-18 08:15:44 +09:30
Tom Tromey
8217640552 javaprims.h: Updated class declaration list.
* gcj/javaprims.h: Updated class declaration list.
	* Makefile.in: Rebuilt.
	* Makefile.am (core_java_source_files): Added new file.
	* java/util/EventListenerProxy.java: New file.
	* java/util/EventListener.java: Re-merge with Classpath.
	* java/util/EventObject.java: Re-merge with Classpath.

From-SVN: r54720
2002-06-17 21:32:01 +00:00
Matt Kraai
390de76932 * doc/extend.texi (Function Attributes): Remove `,...' from @var.
From-SVN: r54719
2002-06-17 21:26:49 +00:00
Jason Thorpe
fc6874c843 bit.c: Don't include glimits.h.
* bit.c: Don't include glimits.h.
* target.c: Likewise.
* where.h: Likewise.

From-SVN: r54718
2002-06-17 21:21:01 +00:00
Jeff Law
912ce2971a * libgcc2.c: Do not include symcat.h or machmode.h.
From-SVN: r54717
2002-06-17 15:08:12 -06:00
Richard Henderson
5c45425b5c * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
From-SVN: r54716
2002-06-17 13:56:15 -07:00
Tom Tromey
9aa497ae23 * dwarfout.c: Include function.h.
From-SVN: r54715
2002-06-17 20:22:24 +00:00
Nathanael Nerode
8f7dfb539f ClassNotFoundException.java: New Classpath version.
2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>

	* java/lang/ClassNotFoundException.java: New Classpath version.

From-SVN: r54713
2002-06-17 19:15:22 +00:00
Andreas Schwab
7f11f1f9ac print-rtl.c (print_rtx): Print space before vector, not after.
* print-rtl.c (print_rtx): Print space before vector, not after.
	(debug_rtx): Clear sawclose before printing.
	(debug_rtx_list): Print newline after each list element.
	(debug_rtx_range): Likewise.

From-SVN: r54712
2002-06-17 19:13:46 +00:00
Nathanael Nerode
1a4b27e82f ActivateFailedException.java: Remerge from Classpath version.
* java/rmi/activation/ActivateFailedException.java: Remerge from
	Classpath version.
	* java/rmi/activation/ActivationException.java: Ditto.
	* java/rmi/activation/UnknownGroupException.java: Ditto.
	* java/rmi/activation/UnknownObjectException.java: Ditto.
	* java/rmi/server/ExportException: Ditto.
	* java/rmi/server/ServerCloneException: Ditto.
	* java/rmi/server/ServerNotActiveException: Ditto.
	* java/rmi/server/SkeletonMismatchException: Ditto.
	* java/rmi/server/SkeletonNotFoundException: Ditto.
	* java/rmi/server/SocketSecurityException: Ditto.

From-SVN: r54711
2002-06-17 19:11:40 +00:00
Richard Henderson
df696a7573 function.h (struct function): Rename profile_label_no.
* function.h (struct function) [funcdef_no]: Rename profile_label_no.
        (current_function_funcdef_no): Similarly.
        * function.c (funcdef_no): Similarly.
        (prepare_function_start): Set current_function_funcdef_no.
        (expand_function_start): Don't set current_function_profile_label_no.
        * dwarf2out.h (current_funcdef_number): Remove.
        * dwarf2out.c (current_funcdef_number): Remove.  Replace with
        current_function_funcdef_no throughout.
        * dwarfout.c, vmsdbgout.c: Similarly.
        * except.c (sjlj_funcdef_number): Remove.
        (sjlj_emit_function_enter): Use current_function_funcdef_no instead.
        (output_function_exception_table): Likewise.
        * final.c (profile_function): Use current_function_funcdef_no
        instead of current_function_profile_label_no.

From-SVN: r54709
2002-06-17 10:47:22 -07:00
Nicola Pero
10cb24df3a Fixed warning in sendmsg.c for forwarding function not returning a value
From-SVN: r54708
2002-06-17 17:41:38 +00:00
Nicola Pero
bd8d449d1d Fixed warning from __objc_get_forward_imp not returning a value
From-SVN: r54707
2002-06-17 17:41:11 +00:00
Vladimir Makarov
97272202aa sched-ebb.c (init_ready_list): Check INSN_P first.
2002-06-17  Vladimir Makarov  <vmakarov@redhat.com>

	* sched-ebb.c (init_ready_list): Check INSN_P first.

From-SVN: r54706
2002-06-17 17:16:37 +00:00
J"orn Rennecke
8bccce2d1f * sh.md (divsi3): Update way how to find insns in a sequence.
From-SVN: r54705
2002-06-17 17:28:29 +01:00
J"orn Rennecke
dec0798ef3 reload1.c (merge_assigned_reloads): Don't change reloads other than RELOAD_FOR_INPUT_ADDRESS /...
* reload1.c (merge_assigned_reloads): Don't change reloads
	other than RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS
	to RELOAD_OTHER when there are conflicting input reloads.

From-SVN: r54703
2002-06-17 12:33:20 +01:00
Richard Earnshaw
0af5c89673 function.c (epilogue_done): Correctly build a sequence of insns for a sibcall epilogue.
* function.c (epilogue_done): Correctly build a sequence of insns for
a sibcall epilogue.

From-SVN: r54702
2002-06-17 08:42:00 +00:00
Nick Clifton
845b1456d5 (CUMULATIVE_ARGS): Replace typedef with #define.
From-SVN: r54701
2002-06-17 07:49:17 +00:00
GCC Administrator
9d5feb9bc9 Daily bump.
From-SVN: r54700
2002-06-17 07:37:18 +00:00
Nick Clifton
9d0fa9d629 Replace gen_sequence with get_insns.
From-SVN: r54695
2002-06-17 07:20:15 +00:00
Richard Henderson
e83f3cffaf i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
* config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
        of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.

From-SVN: r54694
2002-06-16 21:45:58 -07:00
Tom Tromey
c458bd737d * gcj/javaprims.h: Updated class declaration list.
From-SVN: r54693
2002-06-17 04:08:46 +00:00
Tom Tromey
fb3bea1d6c * java/io/LineNumberInputStream.java: Merged with Classpath.
From-SVN: r54691
2002-06-17 03:52:24 +00:00
Richard Henderson
fd852454b1 tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test after template instantiation.
* tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test
        after template instantiation.
	* g++.dg/opt/inline3.C: New.

From-SVN: r54687
2002-06-16 17:26:56 -07:00
Douglas Rupp
9d321f6caa * MAINTAINERS (Write After Approval): Add self.
From-SVN: r54686
2002-06-17 00:00:24 +00:00
Douglas Rupp
8a03d53ee0 * MAINTAINERS (Write After Approval): Add self.
From-SVN: r54684
2002-06-16 22:02:48 +00:00
Richard Henderson
caecc0998a regclass.c (globalize_reg): Update regs_invalidated_by_call.
* regclass.c (globalize_reg): Update regs_invalidated_by_call.
	* gcc.dg/20020616-1.c: New.

From-SVN: r54681
2002-06-16 14:52:45 -07:00
Tom Tromey
548ce8be4a RuntimeException.java: Re-merge with Classpath.
* java/lang/RuntimeException.java: Re-merge with Classpath.
	* java/util/ArrayList.java: Likewise.
	* java/util/Arrays.java: Likewise.
	* java/util/BitSet.java: Likewise.
	* java/util/Dictionary.java: Likewise.
	* java/util/IdentityHashMap.java: Likewise.
	* java/util/MissingResourceException.java: Likewise.
	* java/util/Observer.java: Likewise.
	* java/util/TooManyListenersException.java: Likewise.
	* java/util/zip/DataFormatException.java: Likewise.
	* java/util/zip/ZipException.java: Likewise.

From-SVN: r54680
2002-06-16 21:15:44 +00:00
Neil Booth
3d05b15f10 config.gcc: Add an i386/sysv4-cpp.h.
* config.gcc: Add an i386/sysv4-cpp.h.  Remove i386-aout.h from
	vxworks.
config/i386:
	* i386-aout.h, i386elf.h, sysv4.h: Remove CPP_PREDEFINES.
	* linux64.h: Use TARGET_OS_CPP_BUILTINS rather than
	CPP_PREDEFINES and part of CPP_SPEC.
	i386elf.h, mach.h, netware.h, rtemself.h, sco5.h, sol2.h,
	vsta.h, vxi386.h, win32.h: Similarly.
	* sysv4-cpp.h: New.

From-SVN: r54679
2002-06-16 21:13:11 +00:00
Nathanael Nerode
daefe58e93 AccessException.java: Remerge from Classpath.
2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>

	* java/rmi/AccessException.java: Remerge from Classpath.
	* java/rmi/AlreadyBoundException.java: Ditto.
	* java/rmi/ConnectException.java: Ditto.
	* java/rmi/ConnectIOException.java: Ditto.
	* java/rmi/MarshalException.java: Ditto.
	* java/rmi/NoSuchObjectException.java: Ditto.
	* java/rmi/NotBoundException.java: Ditto.
	* java/rmi/RemoteException.java: Ditto.
	* java/rmi/RMISecurityException.java: Ditto.
	* java/rmi/ServerError.java: Ditto.
	* java/rmi/ServerException.java: Ditto.
	* java/rmi/ServerRuntimeException.java: Ditto.
	* java/rmi/StubNotFoundException.java: Ditto.
	* java/rmi/UnexpectedExcpetion.java: Ditto.
	* java/rmi/UnknownHostException.java: Ditto.
	* java/rmi/UnmarshalException.java: Ditto.

From-SVN: r54678
2002-06-16 20:55:56 +00:00
Richard Henderson
65a90f3c70 Mark pr.
From-SVN: r54676
2002-06-16 13:24:36 -07:00
Richard Henderson
8370aa3aca dwarf2out.c (modified_type_die): Don't assign the qualified die to the unqualified type.
* dwarf2out.c (modified_type_die): Don't assign the qualified die
        to the unqualified type.

From-SVN: r54675
2002-06-16 13:24:00 -07:00
Jan Hubicka
e932b21b18 i386-protos.h (x86_field_alignment): Declare.
* i386-protos.h (x86_field_alignment): Declare.
	* i386.c (x86_field_alignment): Define.
	* i386.h (ADJUST_FIELD_ALIGNMENT): New.
	(BIGGEST_FIELD_ALIGNMENT): Kill.

From-SVN: r54674
2002-06-16 20:18:25 +00:00