Commit Graph

24108 Commits

Author SHA1 Message Date
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
Jason Merrill
2a135ded8c decl2.c (lang_decode_option): Accept and ignore -finit-priority.
* decl2.c (lang_decode_option): Accept and ignore -finit-priority.
	Accept and warn about -fthis-is-variable.

From-SVN: r29571
1999-09-21 20:30:34 -04:00
Tom Tromey
707f5f6d45 Output_UTF8.java (write): Don't exit loop unless both inlength' and bytes_todo' are 0.
* gnu/gcj/convert/Output_UTF8.java (write): Don't exit loop unless
        both `inlength' and `bytes_todo' are 0.  Simplified 2-byte case.

From-SVN: r29570
1999-09-21 23:20:43 +00:00
Tom Tromey
5057b5e8d1 posix-threads.h (_Jv_MutexDestroy): Use _Jv_PthreadGetMutex.
* include/posix-threads.h (_Jv_MutexDestroy): Use
	_Jv_PthreadGetMutex.
	(_Jv_MutexLock): Likewise.
	(_Jv_MutexUnlock): Likewise.

From-SVN: r29569
1999-09-21 23:01:23 +00:00
Kaveh R. Ghazi
1eb1464424 machmode.h (HOST_PTR_PRINTF): Move from here ...
* machmode.h (HOST_PTR_PRINTF): Move from here ...

       * system.h (HOST_PTR_PRINTF): ... to here.

       * mips-tfile.c: Don't include machmode.h.

       * Makefile.in (MACHMODE_H): New variable.  Update to use it.
       (mips-tfile.o): Don't depend on machmode.h.

From-SVN: r29568
1999-09-21 22:31:29 +00:00
Kaveh R. Ghazi
f5db61ef0b haifa-sched.c (sched_analyze): Rename local variable region' to avoid conflicts with typedef struct region'...
* haifa-sched.c (sched_analyze): Rename local variable `region' to
       avoid conflicts with typedef struct `region' at the top level scope.

From-SVN: r29567
1999-09-21 22:28:47 +00:00
Tom Tromey
49d385e3cd OutputStreamWriter.java (OutputStreamWriter): Reverted previous patch; it too was incorrect.
* java/io/OutputStreamWriter.java (OutputStreamWriter): Reverted
	previous patch; it too was incorrect.
	* java/io/PrintStream.java (PrintStream): Likewise.

From-SVN: r29566
1999-09-21 21:35:41 +00:00
Richard Henderson
336a6399a9 basic-block.h (basic_block): Add eh_beg, eh_end.
* basic-block.h (basic_block): Add eh_beg, eh_end.
        * flow.c (entry_exit_blocks): Update.
        (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
        Call new functions.
        (find_basic_blocks_1): Don't record eh_list at each bb.  Use
        lists.c functions to allocate insn lists.
        (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
        edge creation ...
        (make_eh_edge): ... here.  New.
        (move_stray_eh_region_notes): New.
        (record_active_eh_regions): New.
        (delete_unreachable_blocks): Split out block merging ...
        (try_merge_blocks): ... here.  New.
        (merge_blocks_move_predecessor_nojumps): Remove edge arg.
        Dump debugging data.
        (merge_blocks_move_successor_nojumps): Likewise.
        (merge_blocks): Use eh_beg+eh_end to validate block movement.

From-SVN: r29565
1999-09-21 14:15:37 -07:00
Mark Mitchell
9f14fb6404 dump.c (dequeue_and_dump): Handle START_CATCH_STMT, CLEANUP_STMT, and SCOPE_STMT.
* dump.c (dequeue_and_dump): Handle START_CATCH_STMT,
	CLEANUP_STMT, and SCOPE_STMT.

From-SVN: r29564
1999-09-21 20:32:44 +00:00
Mark Mitchell
e88d975c08 * g++.dg/ecos.exp: Don't supply -finit-priority to cc1plus.
From-SVN: r29563
1999-09-21 20:27:48 +00:00
Mark Mitchell
69ca76581e decl2.c (lang_decode_option): Adjust, in the wake of recent changes to option processing.
* decl2.c (lang_decode_option): Adjust, in the wake of recent
	changes to option processing.

From-SVN: r29562
1999-09-21 20:19:18 +00:00
Martin v. Löwis
54965141fb New test case.
From-SVN: r29561
1999-09-21 19:51:16 +00:00
Tom Tromey
118a6ea134 OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before calling superclass constructor.
* java/io/OutputStreamWriter.java (OutputStreamWriter): Don't
	refer to `this' before calling superclass constructor.
	* java/io/PrintStream.java (PrintStream): Don't refer to `this'
	before calling superclass constructor.

From-SVN: r29560
1999-09-21 19:49:13 +00:00
Martin v. Löwis
32facac808 typeck.c (get_member_function_from_ptrfunc): Allow extraction of function pointer from pmfs with no object given.
* typeck.c (get_member_function_from_ptrfunc): Allow extraction of
	function pointer from pmfs with no object given.
	(convert_for_assignment): Do not return error when converting
	pmfs.

From-SVN: r29559
1999-09-21 19:49:04 +00:00
Martin v. Löwis
0fb6bbf56e extend.texi (Bound member functions): Document unbound pmf conversion.
* extend.texi (Bound member functions): Document unbound pmf
	conversion.

From-SVN: r29558
1999-09-21 19:34:59 +00:00