Commit Graph

18767 Commits

Author SHA1 Message Date
Jason Merrill c20c633782 varasm.c (assemble_start_function, [...]): Do ASM_GLOBALIZE_LABEL for weak symbols, too.
* varasm.c (assemble_start_function, assemble_variable, weak_finish,
	assemble_alias): Do ASM_GLOBALIZE_LABEL for weak symbols, too.

From-SVN: r22791
1998-10-03 10:43:47 -04:00
John Carr 69fba03777 dwarf2out.c (expand_builtin_dwarf_reg_size): Initialize last_end to 0x7fffffff.
From-SVN: r22790
1998-10-03 13:21:10 +00:00
Alexandre Oliva 9e5c3ba597 mark as crash failure
From-SVN: r22773
1998-10-03 10:55:59 +00:00
Alexandre Oliva 5e95b7c76d friend34.C: New test...
* g++.old-deja/g++.pt/friend34.C: New test; name injection of
	friend template declared within template class conflicts with
	nested class of the same name
	* g++.old-deja/g++.other/badopt1.C: New test; post-increment
 	is ignored
	* g++.old-deja/g++.other/decl1.C: New test; incorrect parsing of
	object with direct initializer as function declaration
	* g++.old-deja/g++.other/decl2.C: New test; duplicate initializers
	* g++.old-deja/g++.other/null2.C: New test; conditional operator
 	involving const pointer and NULL produces incorrect result
	* g++.old-deja/g++.other/typename1.C: New test; template-dependent
 	type name without `typename' should be rejected with -pedantic

From-SVN: r22770
1998-10-03 02:51:23 +00:00
Jeff Law c30cc19e56 Daily bump.
From-SVN: r22769
1998-10-02 18:45:01 -06:00
Richard Henderson 90d6c53ab8 * g++.old-deja/g++.other/addrof1.C: New test.
From-SVN: r22768
1998-10-02 14:56:53 -07:00
Jason Merrill 70123d8a97 update
From-SVN: r22767
1998-10-02 17:11:34 -04:00
David S. Miller 47401c4d4b function.c (purge_addressof_1): Do not perform endianness corrections on bitpos, who we call will do it for us.
* function.c (purge_addressof_1): Do not perform endianness
	corrections on bitpos, who we call will do it for us.

From-SVN: r22766
1998-10-02 13:17:50 -07:00
Jeffrey A Law d01d29035e h8300.c (WORD_REG_USED): Fix typo.
* h8300.c (WORD_REG_USED): Fix typo.
        (initial_offset): Use WORD_REG_USED.
        * h8300.c (handle_pragma): Fix typo.

From-SVN: r22755
1998-10-02 04:54:45 -06:00
Jeff Law 4554e20d80 caller-save.c (insert_save_restore): Break this function up into new functions insert_restore...
�
	* caller-save.c (insert_save_restore): Break this function up
	into new functions insert_restore, insert_save and insert_one_insn.
	All callers changed.
	(insert_restore): New function, mostly broken out of
	insert_save_restore.
	(insert_save): Likewise.
	(insert_one_insn): Likewise.
	(restore_referenced_regs): New argument BLOCK.  All callers changed.
	(save_call_clobbered_regs): Don't keep track of basic block boundaries
	in this function, do it in insert_one_insn instead.

From-SVN: r22754
1998-10-02 04:25:57 -06:00
Jeff Law f670c074b8 caller-save.c (insert_save_restore): Break this function up into new functions insert_restore...
0
	* caller-save.c (insert_save_restore): Break this function up
	into new functions insert_restore, insert_save and insert_one_insn.
	All callers changed.
	(insert_restore): New function, mostly broken out of
	insert_save_restore.
	(insert_save): Likewise.
	(insert_one_insn): Likewise.
	(restore_referenced_regs): New argument BLOCK.  All callers changed.
	(save_call_clobbered_regs): Don't keep track of basic block boundaries
	in this function, do it in insert_one_insn instead.

From-SVN: r22753
1998-10-02 04:25:55 -06:00
Bernd Schmidt 09dd11338a reload1.c (reload): Break out some more pieces into separate functions.
* reload1.c (reload): Break out some more pieces into separate
	functions.
	(dump_needs): New function, broken out of reload.
	(set_initial_elim_offsets): Likewise.
	(init_elim_table): Likewise.
	(update_eliminables): Likewise.

From-SVN: r22752
1998-10-02 04:23:37 -06:00
Bernd Schmidt 34f89b5f68 global.c (global_alloc): Delete code to manage the scratch_list.
* global.c (global_alloc): Delete code to manage the scratch_list.
	* local-alloc.c (qty_scratch_rtx): Delete.
	(scratch_block): Delete.
	(scratch_list): Delete.
	(scratch_list_length): Delete.
	(scratch_index): Delete.
	(alloc_qty_for_scratch): Delete.
	(local-alloc): Update initialization of max_qty.
	Delete code to manage the scratch list.
	Delete code to allocate/initialize qty_scratch_rtx.
	(block_alloc): Don't allocate quantities for scratches.
	Delete code to manage the scratch list.
	* regs.h (scratch_list): Delete declaration.
	(scratch_block): Delete declaration.
	(scratch_list_length): Delete declaration.
	* reload1.c (reload): Delete code to manage the scratch list.
	(spill_hard_reg): Likewise.
	(mark_scratch_live): Delete.

From-SVN: r22751
1998-10-02 04:21:20 -06:00
H.J. Lu 4afb3646a5 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
From-SVN: r22750
1998-10-02 04:18:19 -06:00
Bernd Schmidt a330a79ef5 * recog.c (alter_subreg): Delete declaration.
From-SVN: r22749
1998-10-02 03:53:03 -06:00
Andreas Jaeger 8547cf54af * Makefile.in (cccp.o): Fix typo in last patch.
From-SVN: r22748
1998-10-02 03:50:24 -06:00
Gerald Pfeifer f2d11dcdd0 README: Remove installation instructions and refer to the INSTALL directory instead.
* README: Remove installation instructions and refer to the
	INSTALL directory instead.

From-SVN: r22747
1998-10-02 09:22:08 +00:00
J"orn Rennecke e430f7389f t-sh (LIB1ASMFUNCS): Add _set_fpscr .
* t-sh (LIB1ASMFUNCS): Add _set_fpscr .
	* config/sh/lib1funcs.asm (___set_fpscr): Add.

From-SVN: r22746
1998-10-02 09:22:31 +01:00
Dave Love ca672a5534 com.c (ffecom_expr_intrinsic_): Fix return type for RAND.
1998-10-02  Dave Love  <d.love@dl.ac.uk>
	* com.c (ffecom_expr_intrinsic_): Fix return type for RAND.

From-SVN: r22745
1998-10-02 07:55:06 +00:00
Dave Love de7f278af4 (ffecom_expr_intrinsic_): Fix return type for RAND.
From-SVN: r22744
1998-10-02 07:54:36 +00:00
Jeff Law fa23c63611 regclass.c (reg_scan_mark_refs): Return immediately if passed a NULL_RTX as an argument.
8
        * regclass.c (reg_scan_mark_refs): Return immediately if passed a
        NULL_RTX as an argument.

From-SVN: r22741
1998-10-01 19:34:34 -06:00
Jeff Law 8ac538460a regclass.c (reg_scan_mark_refs): Return immediately if passed a NULL_RTX as an argument.
(
        * regclass.c (reg_scan_mark_refs): Return immediately if passed a
        NULL_RTX as an argument.

From-SVN: r22740
1998-10-01 19:34:33 -06:00
Jeffrey A Law 15bf24d80f * gcc.c-torture/compile/981001-4.c: New test.
From-SVN: r22739
1998-10-01 19:21:18 -06:00
Jeffrey A Law 1f72bfca66 Makefile.in (unlibsubdir): Define.
* Makefile.in (unlibsubdir): Define.
        (DRIVER_DEFINES): Use unlibsubdir.
        (cccp.o, cpplib.o, protoize.o, unprotoize.o): Similarly.
        (stmp-fixinc): Similarly.
The infamous unlibsubdir patch.  Makes it somewhat easier to move toolchains
around.  Helps cygwin folks.

From-SVN: r22737
1998-10-01 19:05:51 -06:00
Jeff Law b47dda3b17 Daily bump.
From-SVN: r22736
1998-10-01 18:45:02 -06:00
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