Commit Graph

37841 Commits

Author SHA1 Message Date
DJ Delorie
0e30ffc5ef * configure: Regenerate.
From-SVN: r45881
2001-09-29 12:48:58 -04:00
Bernd Schmidt
1255c85c04 Documentation for vector extensions
From-SVN: r45880
2001-09-29 16:33:20 +00:00
Jan Hubicka
86be733d75 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
From-SVN: r45879
2001-09-29 13:15:47 +00:00
Hans-Peter Nilsson
6dee73844d * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
From-SVN: r45878
2001-09-29 12:17:04 +00:00
Hans-Peter Nilsson
8d2cef848f * doc/invoke.texi (Optimize Options): Delete spurious @table.
From-SVN: r45877
2001-09-29 10:56:04 +00:00
GCC Administrator
bb394f6b5c Daily bump.
From-SVN: r45876
2001-09-29 07:16:56 +00:00
Jeff Sturm
fad0903846 Makefile.am (libgcj_la_LDFLAGS): Added $(GCLIBS), $(ZLIBS).
* Makefile.am (libgcj_la_LDFLAGS): Added $(GCLIBS), $(ZLIBS).
	* Makefile.in: Rebuilt.

From-SVN: r45873
2001-09-29 04:07:28 +00:00
Zack Weinberg
e60bf70a64 Remove deleted a29k/udi.h
From-SVN: r45872
2001-09-29 00:35:43 +00:00
Richard Henderson
410ad07752 varasm.c (assemble_integer): Bound alignment check by BIGGEST_ALIGNMENT.
* varasm.c (assemble_integer): Bound alignment check by
        BIGGEST_ALIGNMENT.

From-SVN: r45871
2001-09-28 17:26:02 -07:00
Richard Henderson
a3623c481c * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
From-SVN: r45870
2001-09-28 17:25:08 -07:00
Benjamin Kosnik
1ab656771a time_members_gnu.h (__timepunct::_M_get_helper): Add.
2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>

	* config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
	(__timepunct::_M_put_helper): Add.
	* config/locale/time_members_generic.h: Same.
	* include/bits/locale_facets.h (__match_parallel): Remove. Format.
	(__timepunct): Add data members.
	(__timepunct::_M_days): Add.
	(__timepunct::_M_days_abbreviated): Add.
	(__timepunct::_M_months): Add.
	(__timepunct::_M_months_abbreviated): Add.
	(__timepunct::_M_initialize_timepunct): Add.
	* include/bits/locale_facets.tcc: Same.
	* src/locale-inst.cc: Remove instantiations for __match_parallel.
	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
	* testsuite/22_locale/time_put_members_char.cc (test01): New file.
	* testsuite/22_locale/time_get.cc: New file.

From-SVN: r45868
2001-09-28 23:44:48 +00:00
Rainer Orth
5bc1087737 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
From-SVN: r45866
2001-09-28 21:35:06 +00:00
Rainer Orth
c20d89f553 libstdc++-v3-dg.exp (libstdc++-v3-init): Use correct multilib builddir.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
	correct multilib builddir.
	Properly locate libgcc_s.

From-SVN: r45864
2001-09-28 19:42:12 +00:00
Bernd Schmidt
47f339cf8d Add support for 3Dnow builtins
From-SVN: r45863
2001-09-28 18:00:35 +00:00
Jan Hubicka
ad91981212 i386-protos.h (ix86_setup_incoming_varargs, [...]): Declare.
* i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
	ix86_va_start, ix86_build_va_list): Declare.
	* i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
	ix86_va_start, ix86_build_va_list): New global functions.
	* i386.md (sse_prologue_save_insn): New insn.
	(sse_prologue_save): New expander.
	* i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
	BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.

From-SVN: r45862
2001-09-28 17:20:25 +00:00
Kaveh R. Ghazi
576fb78782 * concat.c: Include stdlib.h.
From-SVN: r45861
2001-09-28 15:31:03 +00:00
Neil Booth
6142088c6c cpplex.c (new_buff, [...]): Use size_t everywhere, make definitions consistent with prototypes.
* cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
	Use size_t everywhere, make definitions consistent with
	prototypes.

From-SVN: r45860
2001-09-28 13:25:38 +00:00
Jan Hubicka
49ce134fee gcse.c (replace_store_insn): Use delete_insn.
* gcse.c (replace_store_insn): Use delete_insn.
	* loop.c (move_movables): Likewise; avoid delete_insn
	from clobbering notes moved elsewhere.
	(check_dbra_loop): Use delete_insn.
	* ssa.c (convert_from_ssa): Likewise.
	* cse.c (cse_insn): Use delete_insn.

From-SVN: r45859
2001-09-28 13:01:41 +00:00
Neil Booth
ece54d544d cpphash.h (struct cpp_buff): Make unsigned.
* cpphash.h (struct cpp_buff): Make unsigned.
	(_cpp_get_buff): Take length of size_t.
	(_cpp_unaligned_alloc): New.
	(BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
	(struct cpp_reader): Remove ident_pool.  Add u_buff.
	* cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
	(cpp_destroy): Destroy u_buff, not ident_pool.
	* cpplex.c (parse_number, parse_string, save_comment,
	cpp_token_as_text): Update to use the unaligned buffer.
	(new_buff): Make unsigned.
	(_cpp_unaligned_alloc): New.
	* cpplib.c (glue_header_name): Update to use the unaligned buffer.
	* cppmacro.c (new_number_token, builtin_macro, stringify_arg):
	Similarly.
	(collect_args): Make unsigned.

From-SVN: r45858
2001-09-28 09:40:22 +00:00
GCC Administrator
0c0d83a1b4 Daily bump.
From-SVN: r45857
2001-09-28 07:16:44 +00:00
Zack Weinberg
3b681e9dcc cpplex.c (cpp_output_token): Use a putc loop for SPELL_OPERATOR, and fwrite for SPELL_IDENT.
* cpplex.c (cpp_output_token): Use a putc loop for
	SPELL_OPERATOR, and fwrite for SPELL_IDENT.

	* configure.in: Detect fwrite_unlocked and fprintf_unlocked.
	* configure, config.in: Regenerate.
	* system.h: Replace fwrite and fprintf with their unlocked
	variants if available.

From-SVN: r45855
2001-09-28 07:00:27 +00:00
Robert Anderson
c0636171db expr.c (ffeexpr_sym_rhs_dimlist_): Allow array elements as bounds of adjustable arrays.
2001-09-28  Robert Anderson  <rwa@alumni.princeton.edu>

	* expr.c (ffeexpr_sym_rhs_dimlist_): Allow array elements
	as bounds of adjustable arrays.

From-SVN: r45854
2001-09-28 06:21:55 +00:00
Richard Henderson
b97d4c0b00 dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame in favour of .eh_frame.
* dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
        in favour of .eh_frame.

From-SVN: r45852
2001-09-27 17:23:54 -07:00
Phil Edwards
2f9d51b858 *: Add Doxygen hooks.
2001-09-27  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/*:  Add Doxygen hooks.
	* docs/doxygen/Intro.3:  New file, general intro to the man pages.
	* docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
	rather than using a generated index.
	* docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
	* docs/doxygen/run_doxygen:  Massage the generated man pages, using...
	* docs/doxygen/stdheader.cc:  ...this new file.

From-SVN: r45850
2001-09-27 22:44:24 +00:00
Aldy Hernandez
e9cf95237f (FUNCTION_VALUE): Change hardcoded 33 and 3 to macros.
LIBCALL_VALUE: Likewise.

From-SVN: r45849
2001-09-27 21:48:25 +00:00
Eli Zaretskii
e922f9785c libiberty.texi: (Top level): Add syncodeindex pg.
* libiberty.texi: (Top level): Add syncodeindex pg.  Add
@dircategory and @direntry directives.  Add @finalout.
(many nodes): Lose the next,prev,up pointers on the @nide line.
(Using, Supplemental Functions, Replacement Functions): Fix
markup.
(Functions): Move around, to allow makeinfo to build the manual
without next,prev,up pointers in thye node lines.
(Licenses): Fix typos.

* index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
* functions.texi: Regenerate.

* copying-lib.texi: Lose the next,prev,up pointers on the @node
line.

From-SVN: r45847
2001-09-27 15:55:37 -04:00
DJ Delorie
ae9092da96 configure.in: Don't use in-tree texinfo, because libiberty must be built before it.
* configure.in: Don't use in-tree texinfo, because libiberty must
be built before it.  Check for makeinfo version 4 or higher.
* functions.texi: Regenerate.

From-SVN: r45846
2001-09-27 15:44:32 -04:00
Geoffrey Keating
bed2ebd040 loop-2e.x: This is a manifestation of a long-standing bug on i686, apparently.
* gcc.c-torture/execute/loop-2e.x: This is a manifestation of a
	long-standing bug on i686, apparently.
	* gcc.c-torture/execute/loop-2c.x: New file.
	* gcc.c-torture/execute/loop-2d.x: New file.
	* gcc.c-torture/execute/loop-3c.x: New file.

From-SVN: r45845
2001-09-27 19:32:24 +00:00
Alexandre Petit-Bianco
e9546ca438 parse.y (check_final_variable_indirect_assignment): For COMPOUND_EXPR...
2001-09-26  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* parse.y (check_final_variable_indirect_assignment): For
	COMPOUND_EXPR, return only if finals were found initialized
	properly, if not, keep on checking.
	(check_final_variable_global_assignment_flag): New local
	error_found, set when appropriate and used to decide whether to
	report uninitialized finals. Fixed typo in comment.

( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg01160.html )

From-SVN: r45844
2001-09-27 12:20:12 -07:00
Alexandre Petit-Bianco
5952078834 final_initialization_in_ctor.java: New file
2001-09-27  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* libjava.compile/final_initialization_in_ctor.java: New file

( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg01160.html )

From-SVN: r45843
2001-09-27 12:17:16 -07:00
Will Cohen
387beb8240 configure.in (*-*-linux*): Disable configuration of target-newlib and target-libgloss.
2001-09-26  Will Cohen <wcohen@redhat.com>

	* configure.in (*-*-linux*): Disable configuration of target-newlib
	and target-libgloss.

From-SVN: r45842
2001-09-27 18:01:15 +00:00
Tom Tromey
0caade1b54 IdentityHashMap.java (containsKey): Use getHash.
* java/util/IdentityHashMap.java (containsKey): Use getHash.
	(get): Likewise.
	(put): Likewise.
	(remove): Likewise.
	(getHash): New method.
	(tombstone, emptyslot): Now static final.
	(put): Correctly determine when to rehash, and correctly rehash.
	(containsKey, remove): Test against table length with `>='.

From-SVN: r45841
2001-09-27 16:49:13 +00:00
Neil Booth
c9e7a60950 cpphash.h: Update comment.
* cpphash.h: Update comment.
	* cpplex.c: Update comments.
	(_cpp_can_paste): Remove.
	* cpplib.h (_cpp_can_paste): Remove.
	* cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
	lexer rather than _cpp_can_paste.

From-SVN: r45840
2001-09-27 12:59:38 +00:00
Neil Booth
4cf817a7eb * doc/cppinternals.texi: Update.
From-SVN: r45839
2001-09-27 11:10:40 +00:00
GCC Administrator
ef1d8fc882 Daily bump.
From-SVN: r45838
2001-09-27 07:16:41 +00:00
Stan Shebs
8ddad08b9e Makefile.am: Remove RCS Id strings.
* include/Makefile.am: Remove RCS Id strings.
        * src/Makefile.am: Ditto.
        * docs/doxygen/run_doxygen: Ditto.
        * docs/html/configopts.html: Ditto.
        * docs/html/documentation.html: Ditto.
        * docs/html/explanations.html: Ditto.
        * docs/html/install.html: Ditto.
        * docs/html/17_intro/howto.html: Ditto.
        * docs/html/18_support/howto.html: Ditto.
        * docs/html/19_diagnostics/howto.html: Ditto.
        * docs/html/20_util/howto.html: Ditto.
        * docs/html/21_strings/howto.html: Ditto.
        * docs/html/22_locale/howto.html: Ditto.
        * docs/html/23_containers/howto.html: Ditto.
        * docs/html/24_iterators/howto.html: Ditto.
        * docs/html/25_algorithms/howto.html: Ditto.
        * docs/html/26_numerics/howto.html: Ditto.
        * docs/html/27_io/howto.html: Ditto.
        * docs/html/ext/howto.html: Ditto.
        * docs/html/ext/sgiexts.html: Ditto.
        * docs/html/faq/index.html: Ditto.
        * docs/html/faq/index.txt: Ditto.

From-SVN: r45836
2001-09-27 00:48:01 +00:00
Tom Tromey
03219cb5d9 Configuration.java.in (INIT_LOAD_LIBRARY): New constant.
* gnu/classpath/Configuration.java.in (INIT_LOAD_LIBRARY): New
	constant.
	* java/io/StreamTokenizer.java, java/util/ResourceBundle.java:
	Re-merged with Classpath.

From-SVN: r45835
2001-09-27 00:24:52 +00:00
Tom Tromey
1685382e99 DataInputStream.java (readChar): Use readFully.
* java/io/DataInputStream.java (readChar): Use readFully.
	(readInt): Likewise.
	(readLong): Likewise.
	(readShort): Likewise.
	(readUnsignedShort): Likewise.

From-SVN: r45834
2001-09-26 22:49:02 +00:00
Neil Booth
1e013d2ee5 cpphash.h (struct cpp_pool): Remove locks and locked.
* cpphash.h (struct cpp_pool): Remove locks and locked.
	(struct cpp_context): Add member buff.
	(struct cpp_reader): Remove member argument_pool.
	(_cpp_lock_pool, _cpp_unlock_pool): Remove.
	* cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
	* cpplex.c (chunk_suitable): Remove pool argument.
	(MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
	(new_buff, _cpp_extend_buff): Update.
	(_cpp_get_buff): Fix silly pointer bug.  Be more selective about
	which buffer is returned.
	(_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
	(_cpp_lock_pool, _cpp_unlock_pool): Remove.
	* cppmacro.c (lock_pools, unlock_pools): Remove.
	(push_ptoken_context): Take a _cpp_buff.
	(enter_macro_context): Pool locking removed.
	(replace_args): Use a _cpp_buff for the replacement list with
	arguments replaced.
	(push_token_context): Clear buff.
	(expand_arg): Use _cpp_pop_context.
	(_cpp_pop_context): Free a context's buffer, if any.

From-SVN: r45833
2001-09-26 21:44:35 +00:00
Alexandre Oliva
0c055e3461 Makefile.in (EXTRA_TARGET_FLAGS): Pass RANLIB_FOR_TARGET for RANLIB.
* Makefile.in (EXTRA_TARGET_FLAGS): Pass RANLIB_FOR_TARGET for
RANLIB.

From-SVN: r45832
2001-09-26 21:13:34 +00:00
DJ Delorie
a63f73f88f * c-typeck.c (digest_init): Check for sizeless arrays.
From-SVN: r45831
2001-09-26 17:02:16 -04:00
Richard Henderson
9c2f7166cb optabs.c (init_one_libfunc): Create a dummy function type instead of using error_mark_node.
* optabs.c (init_one_libfunc): Create a dummy function type
        instead of using error_mark_node.

From-SVN: r45830
2001-09-26 13:02:51 -07:00
DJ Delorie
aaa5f039eb configure.in (MAKEINFO, PERL): Detect these.
* configure.in (MAKEINFO, PERL): Detect these.
(--enable-maintainer-mode): Add.
* configure: Regenerate.
* Makefile.in (MAKEINFO, PERL): Define.
(libiberty.info, libiberty.dvi, libiberty.html): New.
(CFILES): Add bsearch.c.
(CONFIGURED_OFILES): New, list of objects configure might add.
(maint-missing, maint-buildall): New, for maintainers only.
(clean, mostlyclean): Add info/dvi/html files.
* libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
* gather-docs: New, for maintainers.
* maint-tool: New, for maintainers.
* alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
documentation.

Co-Authored-By: Phil Edwards <pedwards@disaster.jaj.com>

From-SVN: r45828
2001-09-26 14:16:17 -04:00
Neil Booth
b8af0ca5c7 cpphash.h (struct _cpp_buff, [...]): New.
* cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
	_cpp_extend_buff, _cpp_free_buff): New.
	(struct cpp_reader): New member free_buffs.
	* cppinit.c (cpp_destroy): Free buffers.
	* cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
	_cpp_extend_buff, _cpp_free_buff): New.
	* cpplib.h (struct cpp_options): Remove unused member.
	* cppmacro.c (collect_args): New.  Combines the old parse_arg
	and parse_args.  Use _cpp_buff for memory allocation.
	(funlike_invocation_p, replace_args): Update.

From-SVN: r45827
2001-09-26 17:52:50 +00:00
Rainer Orth
9c383523a3 solaris_threads.c (MAX_ORIG_STACK_SIZE): Provide special Solaris 2/Intel definition.
* solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
	Solaris 2/Intel definition.

	* configure.in (i?86-*-solaris2.[89]*): Define
	SOLARIS25_PROC_VDB_BUG_FIXED.
	* include/private/gcconfig.h [I386 && SUNOS5]: Use it.
	* configure: Regenerate.

	* include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
	(DATAEND): Define using _end.

From-SVN: r45825
2001-09-26 13:22:03 +00:00
Jan Hubicka
2e10660228 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
From-SVN: r45823
2001-09-26 11:22:35 +00:00
Andrew Haley
fd2c57a9d7 except.c (sjlj_mark_call_sites): Change address inside sequence.
2001-09-25  Andrew Haley  <aph@cambridge.redhat.com>

	* except.c (sjlj_mark_call_sites): Change address inside sequence.

From-SVN: r45822
2001-09-26 10:38:18 +00:00
Andrew Haley
ee3d5b8e6e linux.h (LINK_SPEC): Set dynamic-linker to agree with glibc.
2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>

        * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
        glibc.

From-SVN: r45821
2001-09-26 10:35:46 +00:00
GCC Administrator
45899a7481 Daily bump.
From-SVN: r45820
2001-09-26 07:34:41 +00:00
Phil Edwards
4c1805d702 c_strings.cc (test01, test02): Increase `carray' size.
2001-09-25  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/21_strings/c_strings.cc (test01, test02):  Increase
	`carray' size.

From-SVN: r45817
2001-09-26 01:45:49 +00:00