18628 Commits

Author SHA1 Message Date
J"orn Rennecke
34c7390981 expr.c (store_constructor): When initializing a field that is smaller than a word...
* expr.c (store_constructor): When initializing a field that is smaller
	than a word, at the start of a word, try to widen it to a full word.
	* cse.c (cse_insn): When we are about to change a register,
	remove any invalid references to it.
	(remove_invalid_subreg_refs): New function.
	(mention_regs): Special treatment for SUBREGs.
	(insert_regs): Don't strip SUBREG for call to mention_regs.
	Check if reg_tick needs to be bumped up before that call.
	(lookup_as_function): Try to match known word_mode constants when
	looking for a norrower constant.
	(canon_hash): Special treatment for SUBREGs.

From-SVN: r22567
1998-09-24 10:59:41 +01:00
Dave Love
c5a951a851 g77.texi: Additions about `/*', trailing comments and cpp.
1998-09-23  Dave Love  <d.love@dl.ac.uk>
        * g77.texi: Additions about `/*', trailing comments and cpp.

From-SVN: r22566
1998-09-24 08:40:26 +00:00
David S. Miller
345a616112 [multiple changes]
Thu Sep 24 01:35:34 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
	* config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Define.
	* config/sparc/sparc.c (sparc64_initialize_trampoline): If that is
	defined, emit libcall to __enable_execute_stack.  Also fix opcodes
	and offsets in actual stack trampoline code so they match the
	commentary and actually work.
Thu Sep 24 01:19:02 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
	* configure.in (sparcv9-*-solaris): Use t-sol2 and t-sol2-64 for
	tmake_file.
	(sparc64-*-linux): Use t-linux and sparc/t-linux64 for
	tmake_file.  Set extra_parts to needed crt objects.
	* configure: Rebuilt.
	* config/sparc/linux64.h (SPARC_BI_ARCH): Define.
	(TARGET_DEFAULT): Set if default is v9 or ultra.
	(STARTFILE_SPEC32, STARTFILE_SPEC64): New macros.
	(STARTFILE_SPEC): Set to those upon SPARC_BI_ARCH.
	(ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_SPEC): Likewise.
	(SUBTARGET_EXTRA_SPECS, LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
	LINK_SPEC, LINK_ARCH_SPEC): Likewise.
	(TARGET_VERSION): Define.
	(MULTILIB_DEFAULT): Define.
	* config/sparc/sparc.h (CPP_CPU_DEFAULT_SPEC): Rearrange so that
	mixed 32/64 bit compilers based upon SPARC_BI_ARCH work.
	(CPP_CPU64_DEFAULT_SPEC, CPP_CPU32_DEFAULT_SEC): Define
	appropriately.
	(TARGET_SWITCHES): Allow ptr32/ptr64 options once more.
	* config/sparc/sparc.c (sparc_override_options): If arch and
	pointer size disagree, emit diagnostic and fix it up.  If
	SPARC_BI_ARCH and TARGET_ARCH32, set cmodel to CM_32.  Turn off
	V8PLUS in 64-bit mode.
	* config/sparc/t-linux64: New file.
	* config/sparc/t-sol2-64: New file.
	* config/sparc/t-sol2: Adjust build rules to use MULTILIB_CFLAGS.
	* config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Define.
	(ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC,
	CPP_CPU32_DEFAULT_SPEC, CPP_CPU64_DEFAULT_SPEC): Define.
	(ASM_SPEC, CPP_CPU_SPEC): Set appropriately based upon those.
	(STARTFILE_SPEC32, STARTFILE_SPEC32, STARTFILE_ARCH_SPEC):
	Define.
	(STARTFILE_SPEC): Set approriately based upon those.
	(CPP_CPU_DEFAULT_SPEC, ASM_CPU_DEFAULT_SPEC): Set based upon
	disposition of DEFAULT_ARCH32_P.
	(LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Define.
	(LINK_ARCH_SPEC, LINK_ARCH_DEFAULT_SPEC): Set based upon those.
	(CC1_SPEC, MULTILIB_DEFAULTS): Set based upon DEFAULT_ARCH32_P.
	(MD_STARTFILE_PREFIX): Set correctly based upon SPARC_BI_ARCH.
	* config/sparc/xm-sysv4-64.h (HOST_BITS_PER_LONG): Only set on
	arch64/v9.
	* config/sparc/xm-sp64.h (HOST_BITS_PER_LONG): Likewise.

From-SVN: r22565
1998-09-23 19:44:55 -07:00
Jeff Law
8d9716c63a Daily bump.
From-SVN: r22564
1998-09-23 18:45:03 -06:00
Mark Mitchell
59ec66dc6a rtl.h (init_virtual_regs): New function.
* rtl.h (init_virtual_regs): New function.
	* emit-rtl.c (init_virtual_regs): Define.
	(insn_emit): Use it.
	* integrate.c (save_for_inline_copying): Likewise.

From-SVN: r22563
1998-09-23 23:28:17 +00:00
Nick Clifton
a5f421658c Add Jim's patches to improve reload behaviour.
From-SVN: r22561
1998-09-23 16:44:39 +00:00
Nick Clifton
f916eeb6db Add comment provided by Jim Wilson.
From-SVN: r22560
1998-09-23 16:24:09 +00:00
Richard Henderson
80db34d85b alpha.c (get_aligned_mem): Revert Sep 20 change.
* alpha.c (get_aligned_mem): Revert Sep 20 change.
        (alpha_set_memflags, alpha_set_memflags_1): Likewise.
        (alpha_align_insns): Properly calculate initial offset wrt max_align.

From-SVN: r22559
1998-09-23 06:28:53 -07:00
Richard Earnshaw
7551cbc77e arm.c (find_barrier): Revert change of Apr 23.
* arm.c (find_barrier): Revert change of Apr 23.  Handle table
jumps as a single entity, taking into account the size of the
table.

From-SVN: r22558
1998-09-23 10:49:06 +00:00
Gerald Pfeifer
4be70bc708 * friend.c (do_friend): Make warning a full sentence.
From-SVN: r22555
1998-09-23 04:39:00 +00:00
Jeff Law
b0ec467a7d Daily bump.
From-SVN: r22554
1998-09-22 18:45:02 -06:00
Alexandre Petit-Bianco
eaec171cbc tree.def (SWITCH_EXPR): New tree node definition.
8
	* tree.def (SWITCH_EXPR): New tree node definition.

From-SVN: r22553
1998-09-22 10:48:12 -07:00
Alexandre Petit-Bianco
7c226435db tree.def (SWITCH_EXPR): New tree node definition.
�
	* tree.def (SWITCH_EXPR): New tree node definition.

From-SVN: r22552
1998-09-22 10:48:10 -07:00
Mark Mitchell
27f9a7c6df * parse.y (component_decl_list): Improve error-recovery.
From-SVN: r22551
1998-09-22 12:15:17 +00:00
Benjamin Kosnik
04ddee1bcf decl.c (make_typename_type): Move error to point where name variable can be used by dump_type.
�
1998-09-22  Benjamin Kosnik  <bkoz@loony.cygnus.com>
        * decl.c (make_typename_type): Move error to point where name
        variable can be used by dump_type.

From-SVN: r22550
1998-09-22 12:05:50 +00:00
Mark Mitchell
3ddfb0e624 decl.c (grokfndecl): Improve error-recovery.
* decl.c (grokfndecl): Improve error-recovery.
	* decl2.c (grokfield): Likewise.
	* pt.c (finish_member_template_decl): Likewise.

From-SVN: r22549
1998-09-22 11:58:41 +00:00
Gerald Pfeifer
a105e36f8c Add myself as web pages maintainer; remove myself from "Write After
Approval".

From-SVN: r22548
1998-09-22 08:51:52 +00:00
Bruce Korb
3b0e553482 describe changes
From-SVN: r22547
1998-09-22 07:31:48 +00:00
Bruce Korb
0b4ff5ae82 Add the fixinc generated files to the touch list
From-SVN: r22546
1998-09-22 07:28:05 +00:00
Bruce Korb
f3e28ab46c Commit updates generated from def/tpl files
From-SVN: r22545
1998-09-22 07:23:33 +00:00
Bruce Korb
6096cf9881 Syntax error in sed script, combine '//' fixes
From-SVN: r22544
1998-09-22 07:22:00 +00:00
Bruce Korb
da7275888f remove -p from /bin/sh script
From-SVN: r22543
1998-09-22 07:21:14 +00:00
Jeff Law
ab105e47db Daily bump.
From-SVN: r22542
1998-09-21 18:45:02 -06:00
Jeff Law
d78f7214fe Forgot to commit.
From-SVN: r22541
1998-09-21 18:19:44 -06:00
Jeffrey A Law
83d6aca114 Bump for snapshot
From-SVN: r22539
1998-09-21 17:40:42 -06:00
Ben Elliston
d2dc5cd5fc configure.in: This is GNU CHILL, not GNU Fortran.
1998-09-22  Ben Elliston  <bje@cygnus.com>
        * configure.in: This is GNU CHILL, not GNU Fortran.

From-SVN: r22538
1998-09-22 09:14:17 +10:00
Jeffrey A Law
4d7f493ba1 Bump for snapshot
From-SVN: r22537
1998-09-21 16:31:19 -06:00
Ovidiu Predescu
2e5f02a3e3 encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
* encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
        (get_inner_array_type): Define.

From-SVN: r22536
1998-09-21 16:28:51 -06:00
Jeffrey A Law
31f0adf89f configure.in: Recognize i[34567]86-*-openbsd* and handle it like NetBSD.
* configure.in: Recognize i[34567]86-*-openbsd* and handle it like
        NetBSD.

From-SVN: r22535
1998-09-21 15:49:59 -06:00
Jeffrey A Law
6c7c0e9f93 * Revert this patch.
* reload.c (find_reloads): Do not replace a pseudo with
        (MEM (reg_equiv_addr)) in the initializing insn for the
        pseudo.

From-SVN: r22534
1998-09-21 15:06:53 -06:00
John Carr
7ad7f828fc * final.c (final_scan_insn): Disable tracking CC across branches.
From-SVN: r22533
1998-09-21 17:21:44 +00:00
Andrew MacLeod
43566944af expr.h (eh_rtime_match_libfunc): New extern declaration.
Mon Sep 21 17:15:26 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
	* expr.h (eh_rtime_match_libfunc): New extern declaration.
	* optabs.c (init_optabs): Set eh_rtime_match_libfunc.
	* except.c (start_catch_handler): Use eh_rtime_match_libfunc.
	* libgcc2.c (__eh_rtime_match): Always return 0 if the matcher is
	NULL. Only include <stdio.h> if inhibit_libc is not defined.

From-SVN: r22532
1998-09-21 14:23:16 +00:00
Jason Merrill
7e8524dca9 tweak
From-SVN: r22531
1998-09-21 10:11:52 -04:00
Jason Merrill
1cbe6eb626 toplev.c (rest_of_compilation): Skip compiling anything with DECL_EXTERNAL set...
* toplev.c (rest_of_compilation): Skip compiling anything with
	DECL_EXTERNAL set, not just if it has DECL_INLINE as well.

From-SVN: r22530
1998-09-21 10:11:35 -04:00
Jim Wilson
d06c63899f Fix for g++ failure reported by Brendan.
* flow.c (find_basic_blocks): Delete check for in_libcall_block when
	prev_code is a CALL_INSN.  Change check for REG_RETVAL note to
	use in_libcall_block.
	(find_basic_blocks_1): Delete check for in_libcall_block when prev_code
	is a CALL_INSN.  If CALL_INSN and in_libcall_block, then change code
	to INSN.

From-SVN: r22529
1998-09-21 06:59:47 -07:00
Martin v. Löwis
0cfdd854df method.c (hack_identifier): Finding multiple members is always an error.
1998-09-20  Martin von L�wis  <loewis@informatik.hu-berlin.de>
	* method.c (hack_identifier): Finding multiple members is always
	an error.

From-SVN: r22528
1998-09-21 13:34:10 +00:00
Per Bothner
5225130d39 Make-lang.in (c++-filt): Link libiberty.a after cxxmain.o.
�
	* Make-lang.in (c++-filt):  Link libiberty.a after cxxmain.o.

From-SVN: r22527
1998-09-21 06:12:10 -07:00
Robert Lipe
724001bbb3 i386.h: (TARGET_SWITCHES) Improve doc for align-double.
* i386.h: (TARGET_SWITCHES) Improve doc for align-double.  Fix
	typo in no-fancy-math-387 description.

From-SVN: r22524
1998-09-21 12:03:56 +00:00
Dave Love
10125720dc Version.c: Update.
1998-09-21  Dave Love  <d.love@dl.ac.uk>
	* libI77/Version.c: Update.

From-SVN: r22521
1998-09-21 11:10:01 +00:00
Dave Love
28cdcd7a61 Update.
From-SVN: r22520
1998-09-21 11:08:06 +00:00
Robert Lipe
ab3003756e Makefile.in (distclean, [...]): Add multilib support.
* Makefile.in (distclean, clean, uninstall, install, all): Add
	multilib support.
	configure.in: Likewise.
	configure: Regenerate.
	* libF77/Makefile.in, libU77/Makefile.in, libI77/Makefile.in (clean):
	Explictly remove stamp in parent's directory.

From-SVN: r22519
1998-09-21 10:34:28 +00:00
Jeffrey A Law
64ca6edd0f Bump for snapshot
From-SVN: r22518
1998-09-21 03:27:22 -06:00
Stan Cox
216f3a5849 (DBX_DEBUGGING_INFO): Added.
From-SVN: r22517
1998-09-21 07:33:21 +00:00
Robert Lipe
c03f9fe356 i386.h: (TARGET_SWITCHES) Add description fields for flags documented in install.texi.
* i386.h: (TARGET_SWITCHES) Add description fields for flags
	documented in install.texi.
	(TARGET_OPTIONS) Likewise.

From-SVN: r22516
1998-09-21 07:17:52 +00:00
Jeffrey A Law
cc61dfb886 Bump for snapshot
From-SVN: r22515
1998-09-20 19:39:06 -06:00
Ben Elliston
88e17b57eb 1998-09-21 Ben Elliston <bje@cygnus.com>
* New directory.  Moved files from ../gcc/objc.

From-SVN: r22514
1998-09-21 11:22:07 +10:00
Jeff Law
2325c774f8 Use GET_ENV_PATH_LIST for GCC_EXEC_PREFIX too. My goof, not Felix's.
From-SVN: r22513
1998-09-20 19:00:21 -06:00
Felix Lee
3e81ad1642 * lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
From-SVN: r22512
1998-09-20 18:57:11 -06:00
Felix Lee
b2a1e45827 c-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
* c-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
        * cccp.c (main): Likewise.
        * gcc.c (process_command): Similarly for "GCC_EXEC_PREFIX".
        * cccp.c, collect2.c, cpplib.c, gcc.c, config/i386/xm-cygwin32.h:
        Rename GET_ENVIRONMENT to GET_ENV_PATH_LIST, and fix some
        macro-use bugs.

From-SVN: r22511
1998-09-20 18:56:50 -06:00
Jeff Law
717f76d8fc Daily bump.
From-SVN: r22510
1998-09-20 18:45:01 -06:00