Commit Graph

37662 Commits

Author SHA1 Message Date
Juergen Pfeifer
f3f847794a ChangeLog: Forgot to check in.
2001-09-30  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libf2c/ChangeLog: Forgot to check in.
	* libf2c/libU77/config.hin: Forgot to check in.

Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>

From-SVN: r45914
2001-09-30 22:50:54 +00:00
Juergen Pfeifer
dedc4a53c1 Make libf2c a shared library (gcc/f directory).
2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>

	Make libf2c a shared library (gcc/f directory).

	* Make-lang.in: Pass define of frtbegin.o to compilation of g77spec.c.
	* g77spec.c (lang_specific_driver): Treat linking in of frtbegin.o.

2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>
            Toon Moene  <toon@moene.indiv.nluug.nl>

	Make libf2c a shared library (libf2c directory).

	* aclocal.m4: Get definition of libtool.
	* Makefile.in: Use libtool.
	* configure.in: Use libtool.
	* configure: Regenerated.
	* libF77/Makefile.in: Use libtool; treat main program contained in
	libF77/main.c specially.
	* libF77/configure.in: Use libtool.
	* libF77/configure: Regenerated.
	* libI77/Makefile.in: Use libtool.
	* libI77/configure.in: Use libtool.
	* libI77/configure: Regenerated.
	* libU77/Makefile.in: Use libtool.
	* libU77/configure.in: Use libtool.
	* libU77/configure: Regenerated.
	* libU77/date_.c: Adapt for -fPIC compiling.
	* libU77/vxtidate_.c: Ditto.

From-SVN: r45913
2001-09-30 22:06:23 +00:00
H.J. Lu
e94494014f acconfig.h (PREFIX_INCLUDE_DIR): New variable.
2001-09-30  H.J. Lu <hjl@gnu.org>

	* acconfig.h (PREFIX_INCLUDE_DIR): New variable.
	* config.in: Rebuild.

From-SVN: r45911
2001-09-30 11:22:39 -07:00
Mark Wielaard
cfcdbe5480 DataInput.java: Merge with Classpath.
* java/io/DataInput.java:  Merge with Classpath.
	* java/io/DataOutput.java:  Idem.
	* java/io/FilenameFilter.java:  Idem.
	* java/io/Serializable.java:  Idem.
	* java/lang/Cloneable.java:  Idem.
	* java/lang/Comparable.java:  Idem.
	* java/lang/Runnable.java:  Idem.
	* java/lang/reflect/Member.java:  Idem.
	* java/net/ContentHandlerFactory.java:  Idem.
	* java/net/FileNameMap.java:  Idem.
	* java/net/SocketImplFactory.java:  Idem.
	* java/net/SocketOptions.java:  Idem.
	* java/net/URLStreamHandlerFactory.java:  Idem.

From-SVN: r45910
2001-09-30 18:04:38 +00:00
Stephane Carrez
c9b9c05cc1 m68hc11.md ("cmpqi_1"): Fix constraints.
* config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
	("tsthi_1"): Avoid allocation in register y.
	("*movqi_68hc12"): Reorganize and fix constraints.
	("zero_extendqisi2"): Prefer d over x and y for operand 1.
	("addqi3"): Likewise.
	("addhi3"): Fix constraints.
	("*logicalhi3_zexthi"): Disparage soft registers.

From-SVN: r45908
2001-09-30 19:33:18 +02:00
Stephane Carrez
713b205815 m68hc11.c (m68hc11_gen_movhi): Fix move of sp to tmp reg.
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
	to tmp reg.

From-SVN: r45903
2001-09-30 14:51:17 +02:00
Stephane Carrez
b5b4c48cf6 m68hc11.h (INCOMING_RETURN_ADDR_RTX): Remove so that we use setjmp/longjmp exceptions.
* config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
	that we use setjmp/longjmp exceptions.

From-SVN: r45901
2001-09-30 14:44:06 +02:00
Neil Booth
ab17715d9b * mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: New test.
From-SVN: r45900
2001-09-30 12:02:22 +00:00
Neil Booth
8c3b269309 cpphash.h (POOL_ALIGN, [...]): Remove.
* cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
	POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
	struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
	_cpp_pool_alloc, _cpp_next_chunk): Remove.
	(_cpp_extend_buff, BUFF_ROOM): Update.
	(_cpp_append_extend_buff): New.
	(struct cpp_reader): Remove macro_pool, add a_buff.
	* cppinit.c (cpp_create_reader): Initialize a_buff, instead of
	macro_pool.
	(cpp_destroy): Free a_buff instead of macro_pool.
	* cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
	new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
	_cpp_pool_alloc, ): Remove.
	(parse_number, parse_string): Update use of _cpp_extend_buff.
	(_cpp_extend_buff): Update.
	(_cpp_append_extend_buff, cpp_aligned_alloc): New.
	* cpplib.c (glue_header_name, parse_answer):
	Update use of _cpp_extend_buff.
	(cpp_register_pragma, cpp_register_pragma_space): Use
	_cpp_aligned_alloc.
	(do_assert, do_unassert): Check for EOL, update.
	* cppmacro.c (stringify_arg, collect_args): Update to use
	_cpp_extend_buff and _cpp_append_extend_buff.
	(save_parameter, parse_params, alloc_expansion_token,
	_cpp_create_definition): Rework memory management.

	* gcc.dg/cpp/redef2.c: Add test.

From-SVN: r45899
2001-09-30 10:03:11 +00:00
Bryce McKinlay
218e1e912d re PR libgcj/4383 (file: protocol not supported in URLConnection?)
PR libgcj/4383

	* gnu/gcj/protocol/file/Connection.java (connect): Throw
	FileNotFoundException if appropriate.
	* gnu/gcj/protocol/file/Handler.java (openConnection): Throw an
	IOException if we got a file: url with a hostname. Comment out protocol
	switch to ftp for now.
	* java/net/URL.java (URL): Include protocol name in exception
	message
	when handler can't be found.

From-SVN: r45898
2001-09-30 08:52:16 +01:00
GCC Administrator
fa82903832 Daily bump.
From-SVN: r45896
2001-09-30 07:16:14 +00:00
Bryce McKinlay
8444766847 natClass.cc (_Jv_IsAssignableFrom): Handle the case of an uninitialized target class.
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Handle the case of
        an uninitialized target class.

From-SVN: r45893
2001-09-30 03:41:54 +01:00
Andris Pavenis
ed9fca3f20 xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't update md_exec_prefix.
* config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
update md_exec_prefix.
(UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
to string constant.

From-SVN: r45892
2001-09-29 21:34:42 -04:00
Ulrich Weigand
ba95698296 s390.h (EXTRA_CC_MODES): Add CCLmode.
* config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
(SELECT_CC_MODE): Use s390_select_ccmode.
* config/s390/s390-protos.h (s390_select_ccmode): Add.
* config/s390/s390.c (s390_select_ccmode): New.
(s390_match_ccmode): Add CCLmode.
(s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
(output_branch_condition, output_inverse_branch_condition): Removed.
(print_operand): Use s390_branch_condition_mnemonic.
* config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
(bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.

* config/s390/s390.c (check_and_change_labels): Preserve CC mode
when converting conditional branches to far branches.
* config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
cmpint_di): Use CCSmode instead of CCUmode.

* config/s390/s390.c (legitimate_la_operand_p): New.
* config/s390/s390-protos.h (legitimate_la_operand_p): Add.
* config/s390/s390.md (movsi): Convert load address patterns to
arithmetic operations when necessary.
(addaddr_picR, addaddr_picL, addaddr_picN): Removed.
(do_la): Renamed to *do_la and use legitimate_la_operand_p.
(*do_la_reg_0): Don't use before reload.

* config/s390/s390.c (legitimize_address): Make more efficient
use of two-register addressing mode.

* config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
with -mno-backchain in some corner cases.

* config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.

From-SVN: r45891
2001-09-29 22:56:14 +00:00
Alexandre Oliva
3d17d93d9f reload.c (find_reloads): Mark new USE insns with QImode.
* reload.c (find_reloads): Mark new USE insns with QImode.
(find_reloads_toplev, find_reloads_address, subst_reg_equivs,
find_reloads_subreg_address): Likewise.
* regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
encountered.
* reload1.c (reload_combine_note_use): Likewise, inside USEs and
CLOBBERs.
(reload): Make sure there are no USEs with mode other than
VOIDmode.  At the end, remove those marked with QImode.

From-SVN: r45889
2001-09-29 21:52:12 +00:00
Alexandre Oliva
9f57ca195a config-lang.in (target_libs): Added target-gperf, so that we don't try to build it if C++ is disabled.
* config-lang.in (target_libs): Added target-gperf, so that we
don't try to build it if C++ is disabled.

From-SVN: r45887
2001-09-29 19:55:39 +00:00
Alexandre Oliva
7fddf9a96e * Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX).
From-SVN: r45886
2001-09-29 19:36:13 +00:00
Per Bothner
8107bcf9f3 SharedLibLoader.java: New class.
* gnu/gcj/runtime/SharedLibLoader.java:  New class.
	* gnu/gcj/runtime/natSharedLibLoader.cc:  Native methods.
	* Makefile.am:  Update accordingly.
	* configure.in:  Add AC_CHECK_LIB for dlopen.
	* include/config.h.in:  Add HAVE_DLOPEN.

From-SVN: r45885
2001-09-29 12:16:27 -07:00
Per Bothner
793e95585c cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
* cppdefault.c (cpp_include_defaults):  Also search PREFIX_INCLUDE_DIR.
	* Makefile.in (includedir):  Rename to local_includedir.
	(includedir):  Define as $(prefix)/include.
	* config.in (PREFIX_INCLUDE_DIR):  New variable.
	* configure.in (PREFIX_INCLUDE_DIR):  Test for new variable.

From-SVN: r45884
2001-09-29 11:22:05 -07:00
Hans-Peter Nilsson
d15a5c7ca1 * config/cpu/cris/bits/limits.h: New file.
From-SVN: r45883
2001-09-29 16:49:48 +00:00
Hans-Peter Nilsson
a78a69ba79 configure.target (LIMITSH): Set for cris.
* configure.target (LIMITSH): Set for cris.
	(cpu_include_dir): Set for cris-*-*.
	* config/cpu/cris/bits/atomicity.h: New file.
	* config/cpu/cris/bits/limits.h: New file.

From-SVN: r45882
2001-09-29 16:49:20 +00:00
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