Commit Graph

38005 Commits

Author SHA1 Message Date
Geert Bosch
d7ac9bdd42 * Makefile.in (tools, gnattools): Remove gnatmem.
From-SVN: r46352
2001-10-19 20:29:51 +02:00
NIIBE Yutaka
48d4b9f0cf * gcc.c-torture/execute/ieee/ieee.exp: Change sh-*-* to sh*-*-*.
From-SVN: r46351
2001-10-19 10:45:51 -07:00
Janis Johnson
03b272d2c2 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
about 64-bit support from the 3.0_branch version.

From-SVN: r46350
2001-10-19 16:52:31 +00:00
Janis Johnson
f223b20263 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
about 64-bit support from the 3.0_branch version.

From-SVN: r46349
2001-10-19 16:51:17 +00:00
Zack Weinberg
191bf46407 aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and USE_INCLUDED_LIBINTL when appropriate.
* aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
	USE_INCLUDED_LIBINTL when appropriate.
	* configure, config.in: Regenerate.
	* Makefile.in (datadir): Set to @datadir@.
	(intl.o): Also depend on $(CONFIG_H) and system.h.

	* intl.c: Factor out common gettext initialization sequence.
	(gcc_init_libintl):  New function.
	* intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
	otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
	off NLS.  Add multiple include guard.  No need to #ifdef-guard
	an #undef.  Prototype gcc_init_libintl here.

	* collect2.c (main), cppmain.c (general_init), gcc.c (main),
	gcov.c (main), protoize.c (main), toplev.c (toplev_main):
	Use gcc_init_libintl.

intl:
	* Makefile.in: Don't copy libgnuintl.h anywhere.

From-SVN: r46348
2001-10-19 15:17:39 +00:00
Catherine Moore
7c87e9f921 stormy16.h (ASM_COMMENT_START): Define.
* config/stormy16/stormy16.h (ASM_COMMENT_START): Define.

        * config/stormy16/stormy16.c (stormy16_split_move):  Make
        sure that REG_INC notes are present for auto_inc operands.

From-SVN: r46347
2001-10-19 10:03:29 -04:00
Benjamin Kosnik
1ab8a33ed5 locale_facets.h (__timepunct::_M_put_helper): Declare specializations for char, wchar_t.
2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.h (__timepunct::_M_put_helper):
	Declare specializations for char, wchar_t.

From-SVN: r46346
2001-10-19 09:35:19 +00:00
GCC Administrator
f08d20cd2e Daily bump.
From-SVN: r46344
2001-10-19 07:16:27 +00:00
Andreas Jaeger
aa3340ba2a * configure.target: Add x86-64.
From-SVN: r46343
2001-10-19 08:34:23 +02:00
Andreas Jaeger
82e014c98d limits.h: New file.
* config/cpu/x86-64/bits/limits.h: New file.

	* config/cpu/x86-64/bits/atomicity.h: New file.

	* configure.target: Add x86-64.

From-SVN: r46342
2001-10-19 08:34:01 +02:00
Andreas Jaeger
c307e6ddbe configure: Regenerated.
* configure: Regenerated.
	* configure.in: Add x86_64 to switch statements.

From-SVN: r46341
2001-10-19 08:29:18 +02:00
Richard Henderson
b2c9c37eb6 alpha.md (sibcall_osf_1): Load destination address into $27 explicitly.
* config/alpha/alpha.md (sibcall_osf_1): Load destination
        address into $27 explicitly.
        (sibcall_value_osf_1): Likewise.

From-SVN: r46340
2001-10-18 22:04:54 -07:00
Richard Kenner
616051acab Install correct version of file
From-SVN: r46339
2001-10-18 21:07:52 -04:00
Tom Tromey
ac569f305c BufferedWriter.java (write(String,int,int)): Correctly check bounds.
* java/io/BufferedWriter.java (write(String,int,int)): Correctly
	check bounds.

From-SVN: r46338
2001-10-18 23:43:59 +00:00
Richard Kenner
0d4903b81e emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
* emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
	(offset_address): New function.
	(free_emit_status): Free regno_decl.
	(init_emit): Pass proper number of elements to xcalloc.
	Allocate regno_decl.
	(mark_emit_status): Mark regno_decl values.
	* expr.c (highest_pow2_factor): New function.
	(expand_assigment): Use it and offset_address.
	Properly handle ptr_mode vs. Pmode in offset calculation.
	(store_constructor, expand_expr_unaligned): Likewise.
	(expand_expr, case COMPONENT_EXPR): Likewise.
	* expr.h (offset_address): New decl.
	* function.h (struct emit_status): Add regno_decl.
	(REGNO_DECL): New macro.
	* final.c (output_asm_name): Move in file and don't conditionalize
	on flag_print_asm_name.
	(output_asm_insn): Only call output_asm_name if flag_print_asm_name.
	Output names of operands, if known.
	* function.c (assign_parms): Set REGNO_DECL.
	* integrate.c (integrate_decl_tree): Likewise.
	* stmt.c (expand_decl): Likewise.
	* regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.

From-SVN: r46337
2001-10-18 17:34:14 -04:00
Alexandre Oliva
eacecf9665 Fix the typo for real now.
From-SVN: r46336
2001-10-18 18:43:20 +00:00
Alexandre Oliva
c8202d4cbe attr-noinline.c, [...]: New tests.
* gcc.dg/attr-noinline.c, gcc.dg/attr-used.c: New tests.
* gcc.dg/attr-invalid.c: Likewise.

From-SVN: r46335
2001-10-18 18:29:25 +00:00
Alexandre Oliva
9162542e3d attribs.c (handle_noinline_attribute): New function.
* attribs.c (handle_noinline_attribute): New function.
(handle_used_attribute): Likewise.
(c_common_attribute_table): Added noinline and used.
* doc/extend.texi (Function Attributes): Document them.
* c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
Warn when merging inline with attribute noinline.
(start_decl, start_function): Warn if inline and attribute
noinline appear in the same declaration.

From-SVN: r46334
2001-10-18 18:29:02 +00:00
Alexandre Oliva
97055d5c4e decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
* decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
Warn when merging inline with attribute noinline.
(start_decl, start_function): Warn if inline and attribute
noinline appear in the same declaration.

From-SVN: r46333
2001-10-18 18:27:48 +00:00
Tom Tromey
c586d12794 Security.java (loadProviders): Removed unused `pname' variable.
* java/security/Security.java (loadProviders): Removed unused
	`pname' variable.  Don't create `File' object.  Don't update
	`providerCount'.
	(providerCount): Removed.
	(insertProviderAt): Don't use `providerCount'.
	(addProvider(Provider,int)): Likewise.
	(removeProvider): Likewise.
	(addProvider(Provider)): Rewrote.
	(getProviders): Rewrote.
	(getProvider): Don't use `providerCount'.

From-SVN: r46332
2001-10-18 17:51:47 +00:00
Jakub Jelinek
bf911a9a73 * testsuite/gcc.dg/20011015-1.c: New test.
From-SVN: r46331
2001-10-18 10:28:33 +02:00
GCC Administrator
87992ab6da Daily bump.
From-SVN: r46329
2001-10-18 07:16:22 +00:00
Richard Henderson
bf0dde96f5 std.c (ffestd_labeldef_format): Fix variable/stmt ordering.
* std.c (ffestd_labeldef_format): Fix variable/stmt ordering.
        (ffestd_R737A): Likewise.

From-SVN: r46328
2001-10-17 20:57:51 -07:00
Tom Tromey
8ea6262761 SHA1PRNG.java (engineNextBytes): Rewrote.
* gnu/java/security/provider/SHA1PRNG.java (engineNextBytes):
	Rewrote.
	* java/security/SecureRandom.java (setSeed(long)): Don't set seed
	if secureRandomSpi is not initialized.

From-SVN: r46327
2001-10-18 00:05:29 +00:00
Tom Tromey
9c48b4d1e4 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (secdir): New macro.
	(install-data-local): Install new data files.
	* java/security/classpath.security: New file.
	* java/security/libgcj.security: New file.

From-SVN: r46326
2001-10-18 00:03:48 +00:00
Tom Tromey
fcb4e2ef92 Security.java (loadProviders): Added `vendor' argument.
* java/security/Security.java (loadProviders): Added `vendor'
	argument.
	Load both `classpath' and `java.vm.name' providers.

From-SVN: r46325
2001-10-18 00:01:49 +00:00
Richard Henderson
516b69ff81 com.h: Remove FFECOM_targetCURRENT...
* com.h: Remove FFECOM_targetCURRENT, FFECOM_ONEPASS, BUILT_FOR_270,
        BUILT_FOR_280, FFECOM_GCC_INCLUDE, all derivitive defines, and all
        related conditional compilation directives.
        * bad.c, bld.c, bld.h, com.c, equiv.c, equiv.h, global.h, intdoc.c,
        intrin.c, intrin.h, lex.c, parse.c, sta.c, std.c, ste.c, ste.h, stt.c,
        stt.h, stw.h, symbol.c, symbol.h, target.h, top.c: Likewise.

From-SVN: r46324
2001-10-17 15:34:54 -07:00
DJ Delorie
5bed56d982 argv.c, [...]: Improve manual formatting.
* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
mkstemps.c, pexecute.c, random.c, strsitnal.c, vasprintf.c:
Improve manual formatting.
* functions.texi: Regenerate.

From-SVN: r46323
2001-10-17 17:15:41 -04:00
Neil Booth
51fabca55a config.gcc: Update c4x and i370 for C front end-specific dependencies.
* config.gcc: Update c4x and i370 for C front end-specific
	dependencies.
	* config/c4x/c4x-c.c: New.
	* config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
	(code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
	New declarations.
	* config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
	(code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
	Make extern.
	(c4x_init_pragma): Remove.
	(c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
	c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
	c4x_pr_ignored): Move to c4x-c.c.
	* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
	* config/c4x/t-c4x: Update.
	* config/i370/i370-c.c: New.
	* config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
	(i370_pr_map): Move to i370-c.c.
	* config/i370/t-i370: New.

	* doc/tm.texi: Update.

From-SVN: r46322
2001-10-17 20:39:13 +00:00
Phil Edwards
aa2a8516ce howto.html: Remove 1999 links (and explain why).
2001-10-17  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/17_intro/howto.html:  Remove 1999 links (and explain
	why).  Add link to recent message.
	* docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
	markup.
	* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46321
2001-10-17 18:14:58 +00:00
Stan Shebs
a4f6c31268 rs6000.c: Make assorted mechanical formatting and typo fixes throughout.
* config/rs6000/rs6000.c: Make assorted mechanical formatting and
        typo fixes throughout.
        (machopic_output_stub): Remove some dead code.

From-SVN: r46320
2001-10-17 18:08:39 +00:00
Anthony Green
b011ef316b Security.java (loadProviders): Fix bug in how providers are loaded.
2001-10-17  Anthony Green  <green@redhat.com>

	* java/security/Security.java (loadProviders): Fix bug in how
	providers are loaded.

From-SVN: r46319
2001-10-17 18:03:41 +00:00
Richard Henderson
17ed6335dd Makefile.in (misc.o): Depend on langhooks.h.
ada/
        * Makefile.in (misc.o): Depend on langhooks.h.
        * misc.c: Include it.
        (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
        (LANG_HOOKS_DECODE_OPTION): New.
        (lang_hooks): Use LANG_HOOKS_INITIALIZER.
f/
        * Make-lang.in (f/com.o): Depend on langhooks.h.
        * com.c: Include it.
        (LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New.
        (LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New.
        (lang_hooks): Use LANG_HOOKS_INITIALIZER.
java/
        * Make-lang.in (java/lang.o): Depend on langhooks.h.

From-SVN: r46318
2001-10-17 10:19:18 -07:00
Richard Earnshaw
34f5271ddd cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory leak.
* cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
leak.

From-SVN: r46317
2001-10-17 16:20:04 +00:00
Tom Tromey
645ca34390 For PR java/4295:
* aclocal.m4, configure, Makefile.in: Rebuilt.
	* configure.in: Added AC_EXEEXT.

From-SVN: r46316
2001-10-17 15:57:03 +00:00
Richard Kenner
3c5ad1ffc6 Makefile.in (print-rtl.o): Depend on TREE_H.
* Makefile.in (print-rtl.o): Depend on TREE_H.
	* alias.c (get_alias_set): Make two passes over objects to first
	see if inner object is access via restricted pointer.
	Defer allocating alias set for restricted pointer until here.
	Call find_placeholder with second arg nonzero.
	Minor cleanups.
	* c-common.c (c_apply_type_quals_to_decl): Defer getting alias
	set for restricted pointer types.
	* emit-rtl.c (set_mem_attributes): Set more attributes.
	(set_mem_align, change_address, adjust_address_1): New functions.
	(change_address_1): Now static.
	(adjust_address, adjust_address_nv): Deleted.
	(replace_equiv_address): Call change_address_1.
	* expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
	(find_placeholder): Get starting point from PLIST arg.
	(expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
	* expr.h (set_mem_align, change_address, adjust_address_1): New decls.
	(adjust_address, adjust_address_nv): New macros.
	* print-rtl.c (tree.h): New include.
	(print_rtx, case MEM): Print all memory attributes.

From-SVN: r46314
2001-10-17 05:40:21 -04:00
Richard Kenner
738cc47245 Makefile.in (print-rtl.o): Depend on TREE_H.
* Makefile.in (print-rtl.o): Depend on TREE_H.
	* alias.c (get_alias_set): Make two passes over objects to first
	see if inner object is access via restricted pointer.
	Defer allocating alias set for restricted pointer until here.
	Call find_placeholder with second arg nonzero.
	Minor cleanups.
	* emit-rtl.c (set_mem_attributes): Set more attributes.
	(set_mem_align, change_address, adjust_address_1): New functions.
	(change_address_1): Now static.
	(adjust_address, adjust_address_nv): Deleted.
	(replace_equiv_address): Call change_address_1.
	* expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
	(find_placeholder): Get starting point from PLIST arg.
	(expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
	* expr.h (set_mem_align, change_address, adjust_address_1): New decls.
	(adjust_address, adjust_address_nv): New macros.
	* print-rtl.c (tree.h): New include.
	(print_rtx, case MEM): Print all memory attributes.

From-SVN: r46313
2001-10-17 05:31:36 -04:00
Richard Henderson
4d8f669f94 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
From-SVN: r46311
2001-10-17 02:05:18 -07:00
Matt Kraai
14976c58e9 c-tree.texi: Eliminate duplicated word.
* c-tree.texi: Eliminate duplicated word.
	* cpp.texi: Likewise.
	* install.texi: Likewise.
	* invoke.texi: Likewise.
	* tm.texi: Likewise.

From-SVN: r46310
2001-10-17 08:44:09 +00:00
GCC Administrator
e0a1c10724 Daily bump.
From-SVN: r46309
2001-10-17 07:16:59 +00:00
Loren J. Rittle
f6d882d975 gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
* include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
	* linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
	GC_FREEBSD_THREADS, handle strange interaction between system
	pthread implementation and boehm-gc signal-handler architecture.
	* tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
	set stack.
	* include/private/gcconfig.h (configuration keyed off FREEBSD):
	Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
	MPROTECT_VDB when GC_FREEBSD_THREADS is defined.

From-SVN: r46307
2001-10-17 04:55:30 +00:00
Michael Collison
808dbdd51b Add ChangeLog entry for dsp16xx/dsp16xx.c change.
From-SVN: r46306
2001-10-17 04:38:50 +00:00
Michael Collison
6b0880cb4e dsp16xx.c: Fix comment formatting to match GNU standards.
* dsp16xx.c: Fix comment formatting to match GNU standards.
(dsp16xx_output_function_prologue): Change type of 'size'
parameter from 'int' to HOST_WIDE_INT.
(dsp16xx_output_function_epilogue): Change type of 'size'
parameter from 'int' to HOST_WIDE_INT.

From-SVN: r46305
2001-10-17 04:36:18 +00:00
Loren J. Rittle
33129152a0 Makefile.am (test.o): Find tests/test.c in $(srcdir).
* Makefile.am (test.o): Find tests/test.c in $(srcdir).
	* Makefile.in: Rebuilt.

From-SVN: r46304
2001-10-17 04:17:09 +00:00
Richard Henderson
f88c65f7e3 configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
* configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
        * configure, config.in: Rebuild.

        * config/i386/i386.c (ix86_output_addr_vec_elt): New.
        (ix86_output_addr_diff_elt): New.
        * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
        (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
        (JUMP_TABLES_IN_TEXT_SECTION): New.
        * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
        * config/i386/i386-protos.h: Update.

        * config/i386/386bsd.h, config/i386/beos-elf.h,
        config/i386/freebsd-aout.h, config/i386/freebsd.h,
        config/i386/i386-interix.h, config/i386/i386elf.h,
        config/i386/linux.h, config/i386/netbsd-elf.h,
        config/i386/netbsd.h, config/i386/openbsd.h,
        config/i386/ptx4-i.h, config/i386/rtemself.h,
        config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
        (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.

From-SVN: r46303
2001-10-16 18:39:47 -07:00
H.J. Lu
b5823a4422 cp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined for tree checking disabled.
* cp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined
        for tree checking disabled.

From-SVN: r46302
2001-10-16 18:00:40 -07:00
Florian Weimer
2ec3713609 * stmt.c (expand_asm_operands): Update commentary.
From-SVN: r46301
2001-10-16 17:32:56 -07:00
Stan Shebs
abe72dd8aa darwin.h (GCC_NAME): Remove, no longer used.
* config/darwin.h (GCC_NAME): Remove, no longer used.
        (NO_MATH_LIBRARY): Ditto.
        (MATH_LIBRARY): Define to emptiness.
        (DWARF2_DEBUGGING_INFO): Define.
        (PREFERRED_DEBUGGING_TYPE): Define.
        (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
        (EXCEPTION_SECTION): Define.
        (ASM_PREFERRED_EH_DATA_FORMAT): Define.
        * config/darwin.c (darwin_encode_section_info): Handle case of
        DECL_INITIAL being error_mark_node.

From-SVN: r46300
2001-10-16 23:22:27 +00:00
Richard Henderson
1afec8ade9 alpha.c (current_file_function_operand): Don't fail for profiling.
* alpha.c (current_file_function_operand): Don't fail for profiling.
        (direct_call_operand): New.
        * alpha-protos.h: Declare it.
        * alpha.h (EXTRA_CONSTRAINT): Use it.
        (PREDICATE_CODES): Add it.
        (ASM_OUTPUT_MI_THUNK): Remove.
        * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
        * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.

From-SVN: r46299
2001-10-16 15:44:39 -07:00
Krister Walfridsson
087772344c netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
* config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
        (JUMP_TABLES_IN_TEXT_SECTION): Define.

From-SVN: r46298
2001-10-16 15:38:40 -07:00