Commit Graph

43860 Commits

Author SHA1 Message Date
Zack Weinberg
dd6773cd70 * texi2pod.pl: Correct handling of the internal R<> sequence.
From-SVN: r55012
2002-06-26 16:50:04 +00:00
J"orn Rennecke
650e8d05f4 shelf.sh (STACK_ADDR): Don't define.
ld:
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
        (OTHER_SECTIONS): Define.
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
        (OTHER_SECTIONS): Undef.
newlib:
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
        * config/sh/crt1.asm: remove _stack label definition
        and sentinel value.

From-SVN: r55011
2002-06-26 16:42:03 +01:00
Kaveh R. Ghazi
c7836bcd97 * varasm.c: Include real.h before output.h.
From-SVN: r55010
2002-06-26 15:16:01 +00:00
Aldy Hernandez
6e1f54e224 rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to check for TARGET_ALTIVEC.
2002-06-26  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to
        check for TARGET_ALTIVEC.

From-SVN: r55009
2002-06-26 08:10:02 +00:00
GCC Administrator
db16cbb9a4 Daily bump.
From-SVN: r55008
2002-06-26 07:17:54 +00:00
Nathanael Nerode
18fbcbcf9d Obselete vax-*-vms*
From-SVN: r55002
2002-06-26 04:09:11 +00:00
DJ Delorie
aebb8c22e1 acinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.
* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
GLIBCPP_TOPREL_CONFIGURE.
* aclocal.m4: Likewise.
* configure.in: Call it before AC_CANONICAL_SYSTEM.
* configure: Regenerate.

From-SVN: r55001
2002-06-25 23:53:45 -04:00
Kaveh R. Ghazi
09bed16720 * gcc.c (warn_std): Delete.
From-SVN: r55000
2002-06-26 02:58:51 +00:00
Loren J. Rittle
8254cb4580 * doc/extend.texi: Fix formatting of last checkin.
From-SVN: r54999
2002-06-25 23:41:25 +00:00
Rainer Orth
f9ee10ab66 alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leading underscore from __IEEE_FP and __IEEE_FP_INEXACT.
* config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leading
	underscore from __IEEE_FP and __IEEE_FP_INEXACT.

From-SVN: r54998
2002-06-25 23:31:06 +00:00
Aldy Hernandez
90989b2675 extend.texi (PowerPC AltiVec Built-in Functions): Document discrepancies from motorola's documentation.
2002-06-24  Aldy Hernandez  <aldyh@redhat.com>

        * doc/extend.texi (PowerPC AltiVec Built-in Functions): Document
        discrepancies from motorola's documentation.

From-SVN: r54997
2002-06-25 21:29:41 +00:00
J"orn Rennecke
9881adffaa optabs.c (expand_vector_binop, [...]): Don't assume GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD.
gcc:
	* optabs.c (expand_vector_binop, expand_vector_unop): Don't assume
	GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD.
gcc/testsuite:
	* gcc.c-torture/execute/simd-2.c: New test.

From-SVN: r54994
2002-06-25 21:53:12 +01:00
J"orn Rennecke
4de1b7a907 lib1funcs.asm (udivdi3): Make first divide step produce a 32 bit result before normalization...
* config/sh/lib1funcs.asm (udivdi3): Make first divide step
	produce a 32 bit result before normalization, then normalize with a
	left shift.  Compute approximative error of 2nd reciprocal
	approximation in 2's complement.  Fix mask generation from upper
	longword of second divide stage result.
	For large divisor, fix shift count used to truncate first stage
	divide result; make decision if to adjust upwards based on comparison
	of higher parts of normalized values.
	(udivdi): Likewise.  Undo normalization of result for large divisor
	case.

From-SVN: r54993
2002-06-25 21:39:18 +01:00
Jessica Han
0e20c0b56f 2002-06-25 Jessica Han <jessica@cup.hp.com>
* config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
	* libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
	_GLIBCPP_VTABLE_PADDING is defined.

From-SVN: r54991
2002-06-25 16:55:47 +00:00
Benjamin Kosnik
72ea9226fb stl_alloc.h: Additional formatting.
2002-06-25  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_alloc.h: Additional formatting.

From-SVN: r54990
2002-06-25 16:45:01 +00:00
Mark Mitchell
da15dae6f5 call.c (build_op_delete_call): Use BASELINK_FUNCTIONS.
* call.c (build_op_delete_call): Use BASELINK_FUNCTIONS.
	* class.c (handle_using_decl): Likewise.
	(instantiate_type): Likewise.
	* cp-tree.h (BASELINK_FUNCTIONS): New macro.
	(xref_basetypes): Change prototype.
	(begin_mem_initializers): New function.
	(get_overloaded_fn): Likewise.
	* decl.c (xref_basetypes): Simplify.
	* error.c (dump_expr): Use BASELINK_FUNCTIONS.
	* init.c (build_offset_ref): Likewise.
	* parse.y (base_init): Use begin_mem_initializers().
	(structsp): Adjust call to xref_basetypes.
	* pt.c (determine_specialization): Use BASELINK_FUNCTIONS.
	(instantiate_class_template): Adjust call to xref_basetypes.
	* semantics.c (begin_mem_initializers): New function.
	* tree.c (is_overloaded_fn): Use BASELINK_FUNCTIONS.
	(really_overlaoded_fn): Likewise.
	(get_overloaded_fn): New function.'
	(get_first_fn): USe BASELINK_FUNCTIONS.

From-SVN: r54989
2002-06-25 15:35:27 +00:00
David S. Miller
16b460352a sparc.md: Change \\{t,n} to \{t,n}.
2002-06-25  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md: Change \\{t,n} to \{t,n}.

From-SVN: r54988
2002-06-25 07:10:52 -07:00
Andreas Schwab
b6532e573f * expr.c (JSR): Avoid undefined operation on PC.
From-SVN: r54987
2002-06-25 13:27:19 +00:00
Nathanael Nerode
97679694bf *** empty log message ***
From-SVN: r54985
2002-06-25 07:57:03 +00:00
Nathanael Nerode
c9427a84de MAINTAINERS (Write After Approval): Add self.
From-SVN: r54984
2002-06-25 07:56:26 +00:00
GCC Administrator
69f43fb54a Daily bump.
From-SVN: r54983
2002-06-25 07:17:55 +00:00
Neil Booth
0c6db54457 cpplib.c (do_include_common): Revert to correct line number if -traditional.
* cpplib.c (do_include_common): Revert to correct line number
	if -traditional.
	* cpptrad.c (scan_out_logical_line): Treat null directive as
	white space.  Invlidate MI optimization for non-whitespace
	text outside a directive.
testsuite:
	* gcc.dg/cpp/mi7.c, gcc.dg/cpp/mi7a.h, gcc.dg/cpp/mi7b.h,
	gcc.dg/cpp/trad/builtins.c, gcc.dg/cpp/trad/builtins.h,
	gcc.dg/cpp/trad/cmdlne-C.c, gcc.dg/cpp/trad/cmdlne-C2.c,
	gcc.dg/cpp/trad/maccom1.c, gcc.dg/cpp/trad/maccom2.c,
	gcc.dg/cpp/trad/maccom3.c, gcc.dg/cpp/trad/maccom4.c,
	gcc.dg/cpp/trad/maccom6.c, gcc.dg/cpp/trad/mi1.c,
	gcc.dg/cpp/trad/mi1c.h, gcc.dg/cpp/trad/mi1nd.h,
	gcc.dg/cpp/trad/mi1ndp.h, gcc.dg/cpp/trad/mi1x.h,
	gcc.dg/cpp/trad/mi2.c, gcc.dg/cpp/trad/mi2a.h,
	gcc.dg/cpp/trad/mi2b.h, gcc.dg/cpp/trad/mi2c.h
	gcc.dg/cpp/trad/mi3.c, gcc.dg/cpp/trad/mi3.def,
	gcc.dg/cpp/trad/mi3.h, gcc.dg/cpp/trad/mi4.c,
	gcc.dg/cpp/trad/mi5.c, gcc.dg/cpp/trad/mi6.c,
	gcc.dg/cpp/trad/mi6a.h, gcc.dg/cpp/trad/mi6b.h,
	gcc.dg/cpp/trad/mi6c.h, gcc.dg/cpp/trad/mi6d.h,
	gcc.dg/cpp/trad/mi6e.h, gcc.dg/cpp/trad/mi7.c,
	gcc.dg/cpp/trad/mi7a.h, gcc.dg/cpp/trad/mi7b.h: New tests.

From-SVN: r54978
2002-06-25 06:00:30 +00:00
Tom Tromey
d74bba04e8 natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
* java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
	(IntegerClass): Likewise.
	* java/lang/natClass.cc (CloneableClass): Removed.
	(ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
	ConstructorClass): Likewise.
	* java/lang/natClassLoader.cc (CloneableClass): Removed.
	(ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
	SerializableClass): Likewise.
	* java/lang/reflect/natMethod.cc (BooleanClass): Removed.
	(VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
	LongClass, FloatClass, DoubleClass): Likewise.

From-SVN: r54977
2002-06-25 05:29:22 +00:00
Kaveh R. Ghazi
b41e09a79f Makefile.in (SHELL): Set to @SHELL@.
gcc:
	* Makefile.in (SHELL): Set to @SHELL@.
	* fixinc/Makefile.in (SHELL): Likewise.

gcc/ada:
	* Makefile.in (SHELL): Set to @SHELL@.

From-SVN: r54976
2002-06-25 01:58:10 +00:00
Kaveh R. Ghazi
eef709c7f9 mips.md (fixuns_truncdfsi2, [...]): Avoid automatic aggregate initialization.
* mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2,
	fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate
	initialization.

From-SVN: r54975
2002-06-25 01:52:37 +00:00
Alan Modra
8ff82b06d6 demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.
* demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.
	* fibheap.h: Likewise.
	* hashtab.h: Likewise.
	* partition.h: Likewise.
	* sort.h: Likewise.
	* splay-tree.h: Likewise.

From-SVN: r54974
2002-06-25 09:44:15 +09:30
Tom Tromey
fdae83abe7 verify.cc (branch_prepass): Updated for change to exception handler type.
* verify.cc (branch_prepass): Updated for change to exception
	handler type.
	(verify_instructions_0): Likewise.
	* defineclass.cc (handleCodeAttribute): Initialize `prepared'.
	(handleExceptionTableEntry): Updated for change to exception
	handler type.
	* java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
	* include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
	(union _Jv_InterpPC): New.
	(class _Jv_InterpException): Changed types to _Jv_InterpPC.
	(class _Jv_InterpMethod): Added new `prepared' field.
	(class _Jv_InterpMethod): Added `compile' method.  Removed
	`continue1' and `find_exception'.  Changed arguments to `run'.
	* interpret.cc (union insn_slot): New.
	(find_exception): Removed.
	(run_normal): Removed most logic.
	(run_synch_object): Likewise; also, use JvSynchronize.
	(run_synch_class): Likewise.
	(run): Removed.
	(continue1): Renamed as `run'.  Compile bytecode if required.
	Add new code to allow refinement of direct-threaded code at
	runtime.  Handle exceptions.
	(SAVE_PC): Removed.
	(compile): New method.
	(SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
	(NULLARRAYCHECK): Don't use SAVE_PC.
	(pc_t): New typedef.
	(TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
	SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.

From-SVN: r54968
2002-06-24 20:38:47 +00:00
Joern Rennecke
7691fc06fe Update Copyright.
From-SVN: r54967
2002-06-24 21:22:12 +01:00
Jeff Law
b0ac73f8be flow.c (propagate_one_insn): When removing an insn with a REG_LIBCALL note but not the entire libcall...
* flow.c (propagate_one_insn): When removing an insn
        with a REG_LIBCALL note but not the entire libcall sequence,
        delete the associated REG_RETVAL note.

From-SVN: r54966
2002-06-24 14:20:52 -06:00
J"orn Rennecke
9e96203da4 lib1funcs.asm (sdivsi3): Add optimized SH64 implementations.
* lib1funcs.asm (sdivsi3): Add optimized SH64 implementations.
	(udivsi3): Likewise.  Rewrite SH1 implementation.
	(udivdi3, divdi3, umoddi3, moddi3): New SHmedia functions.
	* sh.md (R20_REG, R21_REG, R22_REG, R23_REG, FR23_REG): New constants.
	(udivsi3_i1_media, divsi3_i1_media): Fix clobber list.
	* config/sh/t-sh64 (LIB1ASMFUNCS): (_udivdi3, _divdi3, _umoddi3): Add.
	(_moddi3): Likewise.

	* lib1funcs.asm (ic_invalidate): Add data cache line writeback.

From-SVN: r54965
2002-06-24 21:08:17 +01:00
David S. Miller
a81062077a Makefile.in (GTFILES): Add basic-block.h
2002-06-24  David S. Miller  <davem@redhat.com>

	* Makefile.in (GTFILES): Add basic-block.h
	* basic-block.h (label_value_list, tail_recursion_label_list):
	Mark with GTY.

From-SVN: r54964
2002-06-24 12:48:53 -07:00
Mark Mitchell
5f261ba970 cp-tree.h (SCALAR_TYPE_P): New macro.
* cp-tree.h (SCALAR_TYPE_P): New macro.
	(check_for_out_of_scope_variable): New function.
	(at_class_scope_p): Likewise.
	(finish_fname): Likewise.
	* class.c (finish_struct): Use at_function_scope_p.
	* decl.c (check_for_out_of_scope_variable): New function, split
	out from do_identifier.
	(finish_enum): Use at_function_scope_p.
	* lex.c (do_identifier): Use check_for_out_of_scope_variable.
	* parse.y (VAR_FUNC_NAME): Give it <ttype>.  Use finish_fname.
	(primary): Use at_function_scope_p.
	* search.c (at_class_scope_p): New function.
	* semantics.c (finish_fname): Likewise.
	(check_multiple_declarators): Use at_function_scope_p.

From-SVN: r54962
2002-06-24 19:18:43 +00:00
J"orn Rennecke
87912be720 sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK arguments into account for stack_regs.
* sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK
	arguments into account for stack_regs.

From-SVN: r54961
2002-06-24 19:11:55 +01:00
Matt Kraai
0d893a6354 extend.texi: Change @dots{}' to /* @r{@dots{}} */' in examples.
* doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */'
	in examples.

From-SVN: r54960
2002-06-24 17:21:04 +00:00
Art Haas
04a5176aec extend.texi (Other Builtins): Change ...' to @dots{}'.
2002-06-24  Art Haas  <ahaas@neosoft.com>

	* doc/extend.texi (Other Builtins): Change `...' to `@dots{}'.
	* doc/tm.texi (Frame Layout): Likewise.

From-SVN: r54957
2002-06-24 16:45:21 +00:00
Aldy Hernandez
e50b19cef3 changelog entry for generic simd patch
From-SVN: r54956
2002-06-24 16:25:30 +00:00
Steve Ellcey
cad6176232 config.gcc (ia64*-*-hpux*): Set use_collect2 to no.
* gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no.
	Set float_format to i128.

From-SVN: r54953
2002-06-24 16:06:21 +00:00
David S. Miller
563facba2a sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.
2002-06-24  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the
	32-bit ABI libfuncs to NULL.

From-SVN: r54952
2002-06-24 05:58:43 -07:00
David S. Miller
b776892b91 sparc.md: Use define_insn_and_split.
2002-06-24  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md: Use define_insn_and_split.

From-SVN: r54951
2002-06-24 04:34:01 -07:00
David S. Miller
556a56acec sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.
2002-06-24  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the
	32-bit ABI libfuncs to NULL.

	* expmed.c (expand_divmod): Do not set optab1/optab2 to the shift
	optabs if op1 is const0_rtx.

From-SVN: r54950
2002-06-24 03:08:38 -07:00
Phil Edwards
2c35c7be14 stl_alloc.h: Reformat as per C++STYLE.
2002-06-24  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_alloc.h:  Reformat as per C++STYLE.

From-SVN: r54949
2002-06-24 08:07:05 +00:00
GCC Administrator
6f68de5b29 Daily bump.
From-SVN: r54948
2002-06-24 07:23:01 +00:00
Phil Edwards
d32e25dffa *: Move header files up a level.
2002-06-24  Phil Edwards  <pme@gcc.gnu.org>

	* config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
	* config/os/*/bits/*:  Likewise.
	* configure.in:  Update.
	* configure:  Regenerate.
	* configure.target:  Update.
	* docs/html/17_intro/porting.texi:  Update.

From-SVN: r54943
2002-06-24 05:50:58 +00:00
Neil Booth
2c088b53f9 cpptrad.c (scan_out_logical_line): Check recursing only when we know we have a macro invocation in the...
* cpptrad.c (scan_out_logical_line): Check recursing only when
	we know we have a macro invocation in the function-like case.
	Only call _cpp_handle_directive if we know we have a good
	directive, or we want to reject a bad directive.
testsuite:
	* gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/assembler.S,
	gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/funlike-4.c,
	gcc.dg/cpp/trad/null-drctv.c, gcc.dg/cpp/trad/recurse-1.c,
	gcc.dg/cpp/trad/recurse-2.c, gcc.dg/cpp/trad/recurse-3.c:
	New tests.
	* gcc.dg/cpp/trad/directive.c: Update.

From-SVN: r54942
2002-06-24 05:46:51 +00:00
Alan Modra
66443ad2fd libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.
* libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.
	* getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT.

From-SVN: r54941
2002-06-24 14:38:02 +09:30
Tom Tromey
b2ae5f70a0 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in (INTERPRETER): New subst.
	(AM_RUNTESTFLAGS): Don't subst.

From-SVN: r54940
2002-06-24 04:45:46 +00:00
Tom Tromey
44d96e0c57 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (RUNTEST): Added AM_RUNTESTFLAGS.
	(AM_RUNTESTFLAGS): New variable.
	(RUNTESTFLAGS): Don't define.
	* lib/libjava.exp (libjava_invoke): New proc.
	(test_libjava_from_source): Use it.
	(test_libjava_from_javac): Likewise.
	(libjava_find_gij): New proc.

From-SVN: r54939
2002-06-24 04:44:53 +00:00
Alan Modra
0228d06bca doloop.c (doloop_valid_p): Correct comment.
* doloop.c (doloop_valid_p): Correct comment.
	(doloop_modify_runtime <abs_inc != 1>): Simplify.
	(doloop_modify_runtime <do-while>): Don't emit code when NE.

From-SVN: r54938
2002-06-24 11:46:42 +09:30
Tom Tromey
17ba19fe45 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am ($(srcdir)/java/lang/Object.h,
	$(srcdir)/java/lang/Class.h): Added dummy targets.

From-SVN: r54936
2002-06-24 00:16:36 +00:00
David Edelsohn
8fcbeac278 - Follow up to 2002-06-05 patch.
From-SVN: r54934
2002-06-23 17:46:34 -04:00