Commit Graph

24122 Commits

Author SHA1 Message Date
Zack Weinberg fe1dbf6c7c iso646.h, [...]: Add copyright notice and special exception to GPL.
1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>

	* iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
	copyright notice and special exception to GPL.

From-SVN: r29624
1999-09-23 18:02:55 +00:00
Kaveh R. Ghazi bd9f1972b9 abi64.h (mips_function_value): Add prototype arguments.
* abi64.h (mips_function_value): Add prototype arguments.

	* mips-protos.h: New file with mips prototypes.

	* mips.c: Include "tm_p.h".
	(mktemp, lookup_name): Add prototype arguments.
	(extern_list, string_constant, mips_fill_delay_slot,
	mips_output_external, mips_output_external_libcall,
	mips_output_filename, mips_declare_object, function_prologue,
	mips_expand_prologue, function_epilogue, mips16_constant,
	build_mips16_function_stub, mips_output_conditional_branch):
	Constify a char*.
	(mips_va_start): Remove unused variable `u'.
	(mips_va_arg): Cast value to unsigned when comparing against one.
	(trace): Delete.
	(save_restore_insns, mips_expand_prologue): Add missing arg in
	call to `large_int'.

	* mips.h: Move prototypes to mips-protos.h.
	(data_section, memory_address_p, rdata_section,
	readonly_data_section, simple_epilogue_p, text_section): Delete
	prototypes delcared elsewhere.
	(mips_epilogue_delay_slots, print_options): Delete unused decls.
	(trace): Delete.
	(GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.

	* mips.md: Delete extra args in call to `mips_move_2words'.

	* xm-iris6.h (alloca): Add prototype argument.

	* genpeep.c: Include "tm_p.h" in generated output file.

From-SVN: r29623
1999-09-23 17:46:23 +00:00
Andrew MacLeod d675a42620 basic-block.h (find_edge_index): Change parameters.
Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

	* basic-block.h (find_edge_index): Change parameters.
	* flow.c (verify_edge_list): Pass basic_block parameters to
	find_edge_index instead of integers.

From-SVN: r29622
1999-09-23 15:07:26 +00:00
Nick Clifton 7ce787fe03 Use unsigned shift instead of signed shift.
From-SVN: r29621
1999-09-23 14:58:54 +00:00
Nick Clifton f8540d767f Add test case for this patch to combine.c:
* combine.c (simplify_comparison): Use an unsigned shift to adjust
	the constant.

From-SVN: r29620
1999-09-23 14:58:00 +00:00
Guy Harris 99e0c103d4 * gcc.1: Fix a formatting error.
From-SVN: r29619
1999-09-23 08:49:11 -06:00
Martin v. Löwis 55383d8720 install.texi (Configurations): Remove pyramid.
* install.texi (Configurations): Remove pyramid. Add fr30, i686,
	i786, mn10200, mn10300, pdp11, v850.

From-SVN: r29618
1999-09-23 13:58:53 +00:00
Martin v. Löwis 7369be0af4 * ir.texi: Fix formatting errors and typos.
From-SVN: r29617
1999-09-23 13:55:27 +00:00
Dan Nicolaescu e8f38d1ace libgcc2.c (num_digits): Add prototype with __attribute__((const)).
* libgcc2.c (num_digits): Add prototype with
        __attribute__((const)).
        (__terminate): Add prototype.

From-SVN: r29616
1999-09-23 07:37:49 -06:00
Jeff Law 8b0212ca2a regclass.c: Include ggc.h.
* regclass.c: Include ggc.h.
        * Makefile.in (regclass.o): Add ggc.h to dependency list.

From-SVN: r29615
1999-09-23 07:07:39 -06:00
Richard Henderson aa388f29a3 builtins.c, [...]: Include tm_p.h.
* builtins.c, dbxout.c, varasm.c: Include tm_p.h.

        * alpha/alpha.c (print_operand): Fix type of `code'.
        (alpha_output_filename): Constify.
        * alpha/alpha.h: Move all function declarations ...
        * alpha/alpha-protos.h: ... here.  New file.
        * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
        (SECTION_FUNCTION_TEMPLATE): Likewise.

From-SVN: r29614
1999-09-23 05:36:06 -07:00
Bernd Schmidt 1c0290eaac Use cbranch patterns when available
From-SVN: r29613
1999-09-23 11:34:49 +00:00
Jeff Law 708d3415cf Daily bump.
From-SVN: r29612
1999-09-23 01:45:09 -06:00
Jeff Law 625bcba80f Add missing \
From-SVN: r29611
1999-09-22 20:23:48 -06:00
Mark Mitchell 203a051fdd * ir.texi: Document CLEANUP_STMT, SCOPE_STMT, and START_CATCH_STMT.
From-SVN: r29610
1999-09-23 02:10:55 +00:00
Mark Mitchell 5fdaba8942 decl.c (pushdecl): Do create a binding for extern "C" functions...
* decl.c (pushdecl): Do create a binding for extern "C" functions,
	but not for their DECL_ASSEMBLER_NAMEs.
	(lookup_name_current_level): Fix formatting.
	(xref_tag): Likewise.
	* decl2.c (start_objects): Mark static constructors and
	destructors as used.

From-SVN: r29609
1999-09-23 02:04:33 +00:00
Stan Cox 8da665d583 mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large register offsets; let LEGITIMIZE_ADDRESS load it into a register.
* mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
register offsets; let LEGITIMIZE_ADDRESS load it into a register.
(LEGITIMIZE_ADDRESS): Use plus_constant to avoid (plus (reg) (const_int 0))
* mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.

From-SVN: r29608
1999-09-23 01:03:13 +00:00
Jeffrey A Law f38b27c7cb pa.c, [...]: Support multiple assembler dialects in most assembler templates.
* pa.c, pa.h, pa.md: Support multiple assembler dialects in
        most assembler templates.

From-SVN: r29607
1999-09-22 16:32:29 -06:00
David Edelsohn cc0d9ba869 rs6000.c (expand_block_move): DImode loads and stores require word-aligned displacements.
* rs6000.c (expand_block_move): DImode loads and stores require
	word-aligned displacements.  Increment address registers with
	adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.

From-SVN: r29606
1999-09-22 18:27:58 -04:00
Michael Meissner 405f63da1c Fix complex-5.c problem
From-SVN: r29604
1999-09-22 21:37:20 +00:00
Jeffrey A Law f9bd8d8e45 pa.c (hppa_legitimize_address): Handle full offsets for PA2.0 FP loads and stores.
* pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
        FP loads and stores.
        (following_call): Always return zero for the PA8000.
        * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
        FP loads and stores.
        (LEGITIMIZE_RELOAD_ADDRESS): Similarly.

From-SVN: r29603
1999-09-22 14:50:44 -06:00
Tom Tromey 17f4971f7b * libgcj.spec.in: Use `jc1' spec, not `cc1' spec.
From-SVN: r29602
1999-09-22 20:44:41 +00:00
Jeffrey A Law 3e47bea8ab * pa.h (BRANCH_COST): Define.
From-SVN: r29601
1999-09-22 14:37:28 -06:00
Tom Tromey ba02095155 * lang-specs.h: Added `%(jc1)' to the jc1 spec.
From-SVN: r29600
1999-09-22 20:30:30 +00:00
Jeffrey A Law 79077c3f97 * pa.md (return, return_internal): Use bve for PA2.0.
From-SVN: r29599
1999-09-22 14:29:43 -06:00
Jeffrey A Law 9a40d6bc0c pa.md (fused multiply): Add variants which reduce height for the fused multiply...
* pa.md (fused multiply): Add variants which reduce height for the
        fused multiply, but which still generate 2 insns.
        (fnegabs): Similarly.

From-SVN: r29598
1999-09-22 14:24:45 -06:00
Jeffrey A Law 80559c31a6 pa.md (subsi3): Turn into an expander.
* pa.md (subsi3): Turn into an expander.  Create two anonymous
        patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
        * pa.h (EXTRA_CONSTRAINT): Handle 'S'.

From-SVN: r29597
1999-09-22 14:11:22 -06:00
Jeffrey A Law 635d1437cb pa.md (subsi3): Turn into an expander.
* pa.md (subsi3): Turn into an expander.  Create two anonymous
        patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.

From-SVN: r29596
1999-09-22 14:10:13 -06:00
Jeffrey A Law 06bcc17883 pa.md (floatunssisf2, [...]): Generate different RTL for TARGET_PA_20.
* pa.md (floatunssisf2, floatunssidf2): Generate different RTL
        for TARGET_PA_20.
        (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
        code generation.
        (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
        (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.

From-SVN: r29595
1999-09-22 13:57:37 -06:00
Jason Merrill b0a1da1950 decl.c (define_case_label): Don't crash if we're not in a switch.
* decl.c (define_case_label): Don't crash if we're not in a switch.

	* decl2.c (lang_decode_option): Don't bother explicitly ignoring flags.
	* lang-options.h: Restore -fthis-is-variable.  Remove help strings
	for unsupported flags.
	* decl2.c (lang_decode_option): Accept and ignore -finit-priority.
	Accept and warn about -fthis-is-variable.

From-SVN: r29594
1999-09-22 15:16:37 -04:00
Tom Tromey bad1e2ac25 javaop.h (WORD_TO_FLOAT): Use `inline' unconditionally.
* javaop.h (WORD_TO_FLOAT): Use `inline' unconditionally.
	(WORDS_TO_LONG): Likewise.
	(WORDS_TO_DOUBLE): Likewise.

From-SVN: r29593
1999-09-22 16:59:35 +00:00
Andrew MacLeod c7d04f295c basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

	* basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
	* flow.c (remove_edge): Remove extra whitespace.
	(remove_fake_edges): Fix comment.
	(add_noreturn_fake_exit_edges): Use the correct name.

From-SVN: r29592
1999-09-22 15:44:57 +00:00
Nathan Sidwell 2051eea16f Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
* Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
	(mostlyclean): Depend on INTL_MOSTLYCLEAN.
	(clean): Depend on INTL_CLEAN.
	(maintainer-clean): Adjust.

From-SVN: r29591
1999-09-22 15:24:30 +00:00
Kaveh R. Ghazi 890ad3ead9 configure.in (AC_PREREQ): Bump to 2.13.
* configure.in (AC_PREREQ): Bump to 2.13.
        (AC_C_STRINGIZE): Call this instead of using a custom macro.

        * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.

        * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.

        * acconfig.h (HAVE_CPP_STRINGIFY): Delete.

        * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
        (HAVE_STRINGIZE): Define.

From-SVN: r29590
1999-09-22 14:23:22 +00:00
Jeffrey A Law 00d33cb233 regclass.c (init_regs): Add "top_of_stack" as a garbage collection root.
* regclass.c (init_regs): Add "top_of_stack" as a garbage
        collection root.

From-SVN: r29589
1999-09-22 08:12:00 -06:00
Jim Kingdon c3b6e11400 c-parse.in: save and restore warn_pointer_arith on __extension__ along with pedantic.
* c-parse.in: save and restore warn_pointer_arith on __extension__
        along with pedantic.
        (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
        Set the type of extension to itype rather than $<itype>1 kludge.
        * extend.texi (Alternate Keywords): Adjust documentation.
        * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.

From-SVN: r29588
1999-09-22 06:58:30 -06:00
Jeffrey A Law 30439f2985 flow.c (record_active_eh_regions): Terminate loop after finding the last insn in the last basic block.
* flow.c (record_active_eh_regions): Terminate loop after finding
        the last insn in the last basic block.

From-SVN: r29587
1999-09-22 06:09:23 -06:00
Nick Clifton d8530e26d3 Udo previous delta
From-SVN: r29586
1999-09-22 10:46:35 +00:00
Nick Clifton 6bc8bc85a0 Fix/suppress some testsuite failures for the Arm.
From-SVN: r29583
1999-09-22 10:22:30 +00:00
Nick Clifton c8922b3279 oops - add change missed from previous delta
From-SVN: r29582
1999-09-22 10:15:28 +00:00
Michael Hayes ae95939774 * config/c4x/c4x.md: Delete parallel instruction peepholes.
From-SVN: r29581
1999-09-22 08:26:38 +00:00
Michael Hayes 7ae0297fa4 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
From-SVN: r29580
1999-09-22 08:00:56 +00:00
Michael Hayes 34de028f1d c4x.c (c4x_process_after_reload): Rework machdep insn splitting to not use output template.
* config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
	splitting to not use output template.

From-SVN: r29579
1999-09-22 07:58:01 +00:00
Michael Hayes 634f1f20df c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
* config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
	* config/c4x/c4x.c (c4x_va_start): New function.

From-SVN: r29578
1999-09-22 07:53:41 +00:00
Jeff Law d6db55fede Daily bump.
From-SVN: r29577
1999-09-22 01:45:14 -06:00
Richard Henderson ace91ff1e6 Typo last change.
From-SVN: r29576
1999-09-21 23:53:35 -07:00
Alex Samuel 21a427cca1 Various fixes for problems discovered stress-testing GC.
* config/i386/i386.c (pic_label_name): Change to char pointer.
	(global_offset_table): New variable.
	(load_pic_register): Fill global_offset_table if it hasn't
	already been done.  Allocate pic_label_name dynamically.
	* ggc.h (empty_string): New variable.
	* ggc-simple.c (empty_string): Likewise.
	(init_ggc): Allocate empty_string and add as root.
	* stmt.c (digit_strings): New variable.
	(init_stmt): Add last_block_end_note as root.  Allocate and
	initialize digit_strings.
	(expand_asm_operands): Use empty_string and digit_string instead
	of string constants.
	* profile.c (init_arc_profiler): Allocate with ggc_alloc_string
	instead of xmalloc.
	(output_func_start_profiler): Likewise.
	* c-typeck.c (digest_init): Check if init is error_mark_node.

From-SVN: r29575
1999-09-22 05:51:44 +00:00
Bryce McKinlay 5ab00e275b MessageFormat.java (MessageFormat(String)): Set the default locale.
1999-09-16  Bryce McKinlay  <bryce@albatross.co.nz>
	* java/text/MessageFormat.java (MessageFormat(String)): Set the
	default locale.
	* java/text/NumberFormat.java: Check that object is a Number. If
	not, throw IllegialArgumentException.

From-SVN: r29574
1999-09-22 05:41:26 +01:00
Jan Hubicka 00ec6daa3c Jan Hubicka <hubicka@freesoft.cz>
* genrecog.c (not_both_true): Handle correctly cases when called for
        tests with different positions in the insn.

From-SVN: r29573
1999-09-21 18:40:28 -07:00
Jason Merrill 35cc13e4b6 remove check_lang_option prototype
From-SVN: r29572
1999-09-21 20:35:28 -04:00