Commit Graph

18742 Commits

Author SHA1 Message Date
Robert Lipe
4102f62733 Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
* Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
        (FLAGS_TO_PASS): Added.
        (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
        * archive.c: Change config.h to tconfig.h.
        * configure.in: Find gcc's object directory even for multilibs.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r22725
1998-10-01 15:35:22 -06:00
Bernd Schmidt
961d411902 regmove.c (regmove_optimize): Add variable old_max_uid.
* regmove.c (regmove_optimize): Add variable old_max_uid.
        At the end of the function, update basic_block_end.

From-SVN: r22724
1998-10-01 13:00:52 -06:00
Jeffrey A Law
6f82f64bf6 981001-2.c: New test.
* gcc.c-torture/compile/981001-2.c: New test.
        * gcc.c-torture/compile/981001-3.c: New test.

From-SVN: r22723
1998-10-01 12:06:54 -06:00
David S. Miller
23e0871671 dwarf2out.c (expand_builtin_dwarf_reg_size): Use FIRST_PSEUDO_REGISTER as upper bound for last_end, not an arbitrary constant.
* dwarf2out.c (expand_builtin_dwarf_reg_size): Use
	FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
	arbitrary constant.

From-SVN: r22722
1998-10-01 11:02:50 -07:00
Nick Clifton
da6558fd77 Import some interworking support code from devo.
From-SVN: r22721
1998-10-01 17:58:46 +00:00
J"orn Rennecke
470cdb8b54 reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was copied from reload_out[r] .
�
        * reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was
        copied from reload_out[r] .

From-SVN: r22720
1998-10-01 11:45:59 -06:00
Nick Clifton
bf6eb87bd8 New test from PR 17544
From-SVN: r22719
1998-10-01 17:34:45 +00:00
Nick Clifton
b84bfa3c79 New test from PR 17547
From-SVN: r22718
1998-10-01 17:18:07 +00:00
John Carr
913f68c116 dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than three size ranges.
* dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work
	with more than three size ranges.
	* flow.c (sbitmap_copy): Use bcopy to copy bitmap.
	* rtl.c (mode_name): Add a null string at the end of the array.
	(mode_wider_mode): Change type to unsigned char.
	(mode_mask_array): New variable.
 	(init_rtl): Update for mode_wider_mode type change.
	* rtl.h (mode_wider_mode): Change type to unsigned char.
	(mode_mask_array): Declare.
	(GET_MODE_MASK): Use mode_mask_array.

From-SVN: r22717
1998-10-01 16:47:41 +00:00
Nick Clifton
3ce1534782 Add support for v850 special data areas.
From-SVN: r22716
1998-10-01 15:11:18 +00:00
Kaveh Ghazi
e6e8607164 Regenerate with autoconf-2.12.1
From-SVN: r22715
1998-10-01 14:17:34 +00:00
Gavin Romig-Koch
c36fce9a42 calls.c (expand_call): Encapsulate code into copy_blkmode_from_reg.
* calls.c (expand_call) : Encapsulate code into
	copy_blkmode_from_reg.
	* expr.c (copy_blkmode_from_reg): New function.
	* expr.h (copy_blkmode_from_reg): New function.
	* integrate.c (function_cannot_inline_p): We can inline
	these now.
	(expand_inline_function): Use copy_blkmode_from_reg
	if needed.  Avoid creating BLKmode REGs.
	(copy_rtx_and_substitute): Don't try to SUBREG a BLKmode
	object.

From-SVN: r22714
1998-10-01 13:00:21 +00:00
Jason Merrill
38f01e5a57 cp-tree.h (FORMAT_VBASE_NAME): New macro.
* cp-tree.h (FORMAT_VBASE_NAME): New macro.
	* class.c (build_vbase_pointer): Use it.
	* rtti.c (expand_class_desc): Likewise.
	* tree.c (build_vbase_pointer_fields): Likewise.

From-SVN: r22713
1998-10-01 08:31:22 -04:00
Nick Clifton
43cab252f9 Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
handle_generic_pragma() New function: Parse generic pragmas.

From-SVN: r22712
1998-10-01 10:53:39 +00:00
Nick Clifton
a09a009c45 Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
From-SVN: r22711
1998-10-01 10:52:36 +00:00
Nick Clifton
e2af664c2d Add support for #pragma pack(push,<n>) and #pragma pack(pop).
From-SVN: r22710
1998-10-01 10:50:15 +00:00
Nick Clifton
3a846e6e06 Add invocation of SET_DEFAULT_DECL_ATTRIBUTES, if defined.
From-SVN: r22709
1998-10-01 10:44:46 +00:00
Robert Lipe
047fb009ca objc.exp (objc_target_compile): Add -L during compiles for multilibbed hosts.
* lib/objc.exp (objc_target_compile): Add -L during compiles for
	multilibbed hosts.   Idea grafted from g77.exp.

From-SVN: r22708
1998-10-01 07:45:56 +00:00
Robert Lipe
69428cb4b9 Add robertl as maintainer of sco udk target.
From-SVN: r22707
1998-10-01 07:38:06 +00:00
Jeff Law
cf9d148439 Daily bump.
From-SVN: r22706
1998-09-30 18:45:02 -06:00
Robert Lipe
0a4b630925 Oh, my.
Oh, my.   That'll teach me to rebuild generated files on a 'trusted'
host like egcs.cygnus.com.

From-SVN: r22705
1998-09-30 21:05:19 +00:00
Robert Lipe
112674fae0 Regenerate
From-SVN: r22703
1998-09-30 20:44:26 +00:00
Robert Lipe
5aaf0123d8 config.sub: Recognize i[34567]86-pc-udk as new target.
* config.sub: Recognize i[34567]86-pc-udk as new target.
	* configure.in: Likewise.
	* config/i386/t-udk: New file.
	* config/i386/udk.h: New file.

From-SVN: r22702
1998-09-30 20:35:10 +00:00
Robert Lipe
73a6d2e797 config.sub: Add support for i[34567]86-pc-udk.
* config.sub: Add support for i[34567]86-pc-udk.
	* configure.in: Likewise.

From-SVN: r22701
1998-09-30 20:25:11 +00:00
Jeffrey A Law
4f01de5c33 jcf-write.c (OP2, OP4): Use "_i", not "_I" to avoid problems on FreeBSD.
* jcf-write.c (OP2, OP4): Use "_i", not "_I" to avoid problems on
        FreeBSD.

From-SVN: r22698
1998-09-30 13:55:42 -06:00
Zack Weinberg
aa90b11170 cpplib.c (macroexpand): If arg->raw_before or arg->raw_after...
* cpplib.c (macroexpand): If arg->raw_before or
        arg->raw_after, remove any no-reexpansion escape at the
        beginning of the pasted token.  Correct handling of whitespace
        markers and no-reexpand markers at the end if arg->raw_after.

From-SVN: r22695
1998-09-30 13:27:28 -06:00
Jeffrey A Law
f0c76b51b4 reorg.c (check_annul_list_true_false): Remove unused variables.
* reorg.c (check_annul_list_true_false): Remove unused variables.
        (steal_delay_list_from_target): Add missing "used_annul" variable.
        (try_merge_delay_insns): Close out half formed comment.

From-SVN: r22694
1998-09-30 12:35:27 -06:00
Zack Weinberg
6fa72945c9 toplev.c (documented_lang_options): Recognize -include, -imacros, -iwithprefix, -iwithprefixbefore.
* toplev.c (documented_lang_options): Recognize -include,
        -imacros, -iwithprefix, -iwithprefixbefore.
        * cpplib.c (cpp_start_read): Process -imacros and -include
        switches at the same time and in command-line order, after
        initializing the dependency-output code.  Emit properly nested
        #line directives for them.  Emit a #line for the main file
        before processing these switches, and don't do it again
        afterward.

From-SVN: r22689
1998-09-30 12:15:13 -06:00
Michael Hayes
1e326708e8 regs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.
* regs.h (HARD_REGNO_CALL_PART_CLOBBERED):  New macro.
        * local-alloc.c (find_free_reg): Use it.
        * global.c (find_reg): Likewise.
        * tm.texi: Document HARD_REGNO_CALL_PART_CLOBBERED.

From-SVN: r22688
1998-09-30 12:09:47 -06:00
Richard Henderson
b8c08e043a Typo in last commit.
From-SVN: r22687
1998-09-30 11:04:51 -07:00
Richard Henderson
f7b6d10479 function.c (purge_addressof_1): Use bitfield manipulation routines to handle mem mode < reg mode.
* function.c (purge_addressof_1): Use bitfield manipulation
        routines to handle mem mode < reg mode.

From-SVN: r22686
1998-09-30 11:03:48 -07:00
Herman ten Brugge
96960d10b7 reorg.c (try_merge_delay_insns): Account for resources referenced in each instruction in INSN's delay list...
* reorg.c (try_merge_delay_insns): Account for resources referenced
        in each instruction in INSN's delay list before trying to eliminate
        useless instructions.  Similarly when looking at a trial insn's delay
        slots.
        * reorg.c (check_annul_list_true_false): New function.
        (steal_delay_list_from_{target,fallthrough}): Call it and also
        refine tests for when we may annul if already filled a slot.
        (fill_slots_from_thread): Likewise.
        (delete_from_delay_slot): Return newly-created thread.
        (try_merge_delay_isns): Use its new return value.

From-SVN: r22685
1998-09-30 12:01:38 -06:00
Jeffrey A Law
c5cbf81ecf loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is used to compute a giv or as some...
* loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is
        used to compute a giv or as some other non-counting use.

From-SVN: r22684
1998-09-30 11:32:15 -06:00
Kaveh R. Ghazi
c1daea12d5 * parse.c (emit_label): Fix return-type of prototype.
From-SVN: r22683
1998-09-30 17:24:36 +00:00
Jeff Law
8d5c8167c9 regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
* regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
        * caller-save.c (init_caller_save): Use it.
        * tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE.

From-SVN: r22682
1998-09-30 11:21:12 -06:00
Robert Lipe
5ae4c799f2 configure.in: Escape ^ in grep string.
* configure.in: Escape ^ in grep string.
        * configure: Rebuilt.

From-SVN: r22681
1998-09-30 11:19:00 -06:00
Kaveh R. Ghazi
36ef59e797 Warning fixes:
* actions.c (chill_handle_multi_case_label): Always return a value
	in function returning non-void.
	* except.c: Include OS headers before any local ones.
	* typeck.c (layout_chill_range_type): Change type of variable
	`negprecision' to int.
	(apply_chill_array_layout): Initialize variables `stepsize' and
	`start_bit'.
	(layout_chill_struct_type): Change type of variable `min_align' to
	unsigned int.
	(smash_dummy_type): Change name of variable `main' to `main_tree'.

From-SVN: r22680
1998-09-30 16:49:55 +00:00
Kaveh R. Ghazi
5efaf7b00e Warning fixes:
* actions.c (id_cmp): Do pointer arithmetic as `long' not `int' to
 	ensure enough bits for calculation.
	* ch-tree.h (check_text_length): Remove unused parameter.
	* convert.c (display_int_cst): Cast a HOST_WIDE_INT argument to
	function sprintf into the appropriate type for printing.
	* decl.c (print_lang_decl): Use HOST_WIDE_INT_PRINT_DEC as the
	format specifier.
	(print_mode): Likewise.
	(init_decl_processing): Cast the arguments of bcopy/bzero to char *.
	* grant.c (grant_array_type): Use HOST_WIDE_INT_PRINT_DEC as
	the format specifier.
	* inout.c (check_text_length): Remove unused parameter `type'.
	(build_chill_associate): Initialize variables `arg1', `arg2',
	`arg3', `arg4' and `arg5'.
	(build_chill_modify): Likewise.
	(scanformcont): Change type of variable `curr' to `unsigned char'.
	* lex.c (maybe_downcase): Cast the argument of `tolower' to
	`unsigned char'.
	* satisfy.c (satisfy): Remove unused parameter in call to
	`check_text_length'.
	* tasking.c (generate_tasking_code_variable): Pass a HOST_WIDE_INT
	as a `long' in call to function `error'.
	(decl_tasking_code_variable): Likewise.

From-SVN: r22679
1998-09-30 16:34:45 +00:00
Kaveh Ghazi
5abb0464be Grr, fix address.
From-SVN: r22678
1998-09-30 16:10:05 +00:00
Kaveh R. Ghazi
875ac75a20 Warning fixes:
* grant.c (decode_decl_selective): Cast switch's enum argument to
        an int.
        (really_grant_this): Add default case in switch.
        * typeck.c (chill_resulting_class): Add default cases in switch.
        Also add `break' statements after each case.

From-SVN: r22677
1998-09-30 16:07:19 +00:00
Zack Weinberg
f81a440f85 configure.in: Add --enable-cpplib option which uses cpplib for cpp...
* configure.in: Add --enable-cpplib option which uses cpplib
        for cpp, but doesn't link cpplib into cc1.  Make help text
        capitalization consistent.
        * configure: Rebuilt.

From-SVN: r22670
1998-09-30 05:59:24 -06:00
Dave Love
f6184c7690 u77-test.f (main): Excise `hostnm' to avoid losing on systems which need -lsocket.
1998-09-30  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/u77-test.f (main): Excise `hostnm' to
	avoid losing on systems which need -lsocket.

From-SVN: r22669
1998-09-30 11:51:37 +00:00
Dave Love
43b80f8247 Makefile.in (f2cext.c): Depend on g2c.h.
1998-09-30  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (f2cext.c): Depend on g2c.h.

From-SVN: r22668
1998-09-30 11:50:08 +00:00
Mark Mitchell
95ca22f405 function.c (gen_mem_addressof): If the address REG is REG_USERVAR_P make the new REG be so also.
* function.c (gen_mem_addressof): If the address REG is
	REG_USERVAR_P make the new REG be so also.
	* loop.c (scan_loop): Apply DeMorgan's laws and add documentation
	in an attempt to clarify slightly.

From-SVN: r22667
1998-09-30 10:10:02 +00:00
Jeffrey A Law
ee06cc21bf expr.c (expand_expr): Handle COMPONENT_REF...
* expr.c (expand_expr): Handle COMPONENT_REF, BIT_FIELD_REF ARRAY_REF
        and INDIRECT_REF in code to check MAX_INTEGER_COMPUTATION_MODE.

From-SVN: r22666
1998-09-30 02:59:18 -06:00
Catherine Moore
257441dbb0 fix bad patch.
From-SVN: r22665
1998-09-30 04:26:10 -04:00
Jeffrey A Law
789eb4f550 * All .h files pushed down into the objc/ subdirectory.
* Makefile.in (copy_headers): Corresponding changes.
        * configure.in (AC_INIT): Corresponding changes.
        * configure: Rebuilt.

From-SVN: r22664
1998-09-30 02:17:56 -06:00
Jeff Law
e9c1562590 Rebuilt.
From-SVN: r22663
1998-09-30 02:08:06 -06:00
Robert Lipe
bba4de62d4 Makefile.in (all): Correct dependencies do --disable-multilibs works again.
* Makefile.in (all): Correct dependencies do --disable-multilibs
	works again.
  	(distclean): Correct typo.

From-SVN: r22662
1998-09-30 08:05:57 +00:00
Dave Love
f5f6df5cef open.c: Back out part of last Netlib update affecting scratch files which clashed with...
1998-09-28  Dave Love  <d.love@dl.ac.uk>
	* libI77/open.c: Back out part of last Netlib update affecting
	scratch files which clashed with the g77 variations and broke
	implicit endfile on rewind.

From-SVN: r22660
1998-09-30 02:45:44 +00:00