platform/upstream/gcc.git
25 years ago*** empty log message ***
Benjamin Kosnik [Thu, 24 Sep 1998 22:30:05 +0000 (22:30 +0000)]
*** empty log message ***

From-SVN: r22581

25 years agospew.c (yylex): Give diagnostic.
Benjamin Kosnik [Thu, 24 Sep 1998 22:29:31 +0000 (22:29 +0000)]
spew.c (yylex): Give diagnostic.


1998-09-24  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* spew.c (yylex): Give diagnostic.
* hash.h (is_reserved_word): Add export.
* gxx.gperf: Ditto.
* lex.h (rid): Add RID_EXPORT.
* lex.c (init_parse): Ditto.

From-SVN: r22580

25 years agospew.c (yylex): Give diagnostic.
Benjamin Kosnik [Thu, 24 Sep 1998 22:29:29 +0000 (22:29 +0000)]
spew.c (yylex): Give diagnostic.


1998-09-24  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* spew.c (yylex): Give diagnostic.
* hash.h (is_reserved_word): Add export.
* gxx.gperf: Ditto.
* lex.h (rid): Add RID_EXPORT.
* lex.c (init_parse): Ditto.

From-SVN: r22579

25 years agospew.c (yylex): Give diagnostic.
Benjamin Kosnik [Thu, 24 Sep 1998 22:29:28 +0000 (22:29 +0000)]
spew.c (yylex): Give diagnostic.


1998-09-24  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* spew.c (yylex): Give diagnostic.
* hash.h (is_reserved_word): Add export.
* gxx.gperf: Ditto.
* lex.h (rid): Add RID_EXPORT.
* lex.c (init_parse): Ditto.

From-SVN: r22578

25 years agospew.c (yylex): Give diagnostic.
Benjamin Kosnik [Thu, 24 Sep 1998 22:29:27 +0000 (22:29 +0000)]
spew.c (yylex): Give diagnostic.


1998-09-24  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* spew.c (yylex): Give diagnostic.
* hash.h (is_reserved_word): Add export.
* gxx.gperf: Ditto.
* lex.h (rid): Add RID_EXPORT.
* lex.c (init_parse): Ditto.

From-SVN: r22577

25 years agosdbout.c (sdbout_field_types): Don't emit the types of fields we won't be emitting.
Jason Merrill [Thu, 24 Sep 1998 18:54:38 +0000 (18:54 +0000)]
sdbout.c (sdbout_field_types): Don't emit the types of fields we won't be emitting.

* sdbout.c (sdbout_field_types): Don't emit the types of fields we
won't be emitting.

From-SVN: r22576

25 years agofix
Jason Merrill [Thu, 24 Sep 1998 18:21:09 +0000 (14:21 -0400)]
fix

From-SVN: r22575

25 years agoApplied Jim's patch to "insv" pattern
Nick Clifton [Thu, 24 Sep 1998 17:08:41 +0000 (17:08 +0000)]
Applied Jim's patch to "insv" pattern

From-SVN: r22574

25 years agosparc.c (function_value): Perform the equivalent of PROMOTE_MODE for ARCH64.
Jakub Jelinek [Thu, 24 Sep 1998 16:16:58 +0000 (18:16 +0200)]
sparc.c (function_value): Perform the equivalent of PROMOTE_MODE for ARCH64.

Thu Sep 24 15:08:08 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
* config/sparc/sparc.c (function_value): Perform the equivalent of
PROMOTE_MODE for ARCH64.
(eligible_for_epilogue_delay): Allow DImode operations in delay
slot of a return for ARCH64.

From-SVN: r22573

25 years ago* sh.md (sqrtsf2): Fix mode of sqrt.
J"orn Rennecke [Thu, 24 Sep 1998 14:20:37 +0000 (14:20 +0000)]
* sh.md (sqrtsf2): Fix mode of sqrt.

From-SVN: r22572

25 years agoreload1.c (choose_reload_regs): Also try inheritance when reload_in is a stack slot...
J"orn Rennecke [Thu, 24 Sep 1998 13:58:43 +0000 (13:58 +0000)]
reload1.c (choose_reload_regs): Also try inheritance when reload_in is a stack slot of a pseudo...

* reload1.c (choose_reload_regs): Also try inheritance when
reload_in is a stack slot of a pseudo, even if we already got a
reload reg.

From-SVN: r22571

25 years agoreload1.c (reload_cse_regs_1): Renamed from reload_cse_regs.
J"orn Rennecke [Thu, 24 Sep 1998 13:27:20 +0000 (13:27 +0000)]
reload1.c (reload_cse_regs_1): Renamed from reload_cse_regs.

* reload1.c (reload_cse_regs_1): Renamed from reload_cse_regs.
(reload_cse_regs): New function body: call reload_cse_regs_1,
reload_combine, reload_cse_move2add.
When doing expensive_optimizations, call reload_cse_regs_1 a
second time after reload_cse_move2add.
(reload_combine, reload_combine_note_store): New functions.
(reload_combine_note_use): New function.
(reload_cse_move2add, move2add_note_store): New functions.

From-SVN: r22570

25 years agoFix `make bootstrap' failures where libraries are compiled with wrong compiler.
Jim Wilson [Thu, 24 Sep 1998 11:13:50 +0000 (11:13 +0000)]
Fix `make bootstrap' failures where libraries are compiled with wrong compiler.

* Makefile.in (bootstrap): Set r and s before make all.  Use
BASE_FLAGS_TO_PASS in make all.
(cross): Likewise.

From-SVN: r22569

25 years agoreload.c (find_reloads): In code to promote RELOAD_FOR_X_ADDR_ADDR reloads to RELOAD_...
J"orn Rennecke [Thu, 24 Sep 1998 10:51:35 +0000 (10:51 +0000)]
reload.c (find_reloads): In code to promote RELOAD_FOR_X_ADDR_ADDR reloads to RELOAD_FOR_X_ADDRESS...

* reload.c (find_reloads): In code to promote RELOAD_FOR_X_ADDR_ADDR
reloads to RELOAD_FOR_X_ADDRESS reloads, test for reload sharing.
Properly keep track of first RELOAD_FOR_X_ADDRESS also for
more than 3 such reloads.
If there is not more than one RELOAD_FOR_X_ADDRESS, don't change
RELOAD_FOR_X_ADDR_ADDR reload.

From-SVN: r22568

25 years agoexpr.c (store_constructor): When initializing a field that is smaller than a word...
J"orn Rennecke [Thu, 24 Sep 1998 09:59:41 +0000 (09:59 +0000)]
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

25 years agog77.texi: Additions about `/*', trailing comments and cpp.
Dave Love [Thu, 24 Sep 1998 08:40:26 +0000 (08:40 +0000)]
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

25 years ago[multiple changes]
David S. Miller [Thu, 24 Sep 1998 02:44:55 +0000 (19:44 -0700)]
[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

25 years agoDaily bump.
Jeff Law [Thu, 24 Sep 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22564

25 years agortl.h (init_virtual_regs): New function.
Mark Mitchell [Wed, 23 Sep 1998 23:28:17 +0000 (23:28 +0000)]
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

25 years agoAdd Jim's patches to improve reload behaviour.
Nick Clifton [Wed, 23 Sep 1998 16:44:39 +0000 (16:44 +0000)]
Add Jim's patches to improve reload behaviour.

From-SVN: r22561

25 years agoAdd comment provided by Jim Wilson.
Nick Clifton [Wed, 23 Sep 1998 16:24:09 +0000 (16:24 +0000)]
Add comment provided by Jim Wilson.

From-SVN: r22560

25 years agoalpha.c (get_aligned_mem): Revert Sep 20 change.
Richard Henderson [Wed, 23 Sep 1998 13:28:53 +0000 (06:28 -0700)]
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

25 years agoarm.c (find_barrier): Revert change of Apr 23.
Richard Earnshaw [Wed, 23 Sep 1998 10:49:06 +0000 (10:49 +0000)]
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

25 years ago* friend.c (do_friend): Make warning a full sentence.
Gerald Pfeifer [Wed, 23 Sep 1998 04:39:00 +0000 (06:39 +0200)]
* friend.c (do_friend): Make warning a full sentence.

From-SVN: r22555

25 years agoDaily bump.
Jeff Law [Wed, 23 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22554

25 years agotree.def (SWITCH_EXPR): New tree node definition.
Alexandre Petit-Bianco [Tue, 22 Sep 1998 17:48:12 +0000 (10:48 -0700)]
tree.def (SWITCH_EXPR): New tree node definition.

8
* tree.def (SWITCH_EXPR): New tree node definition.

From-SVN: r22553

25 years agotree.def (SWITCH_EXPR): New tree node definition.
Alexandre Petit-Bianco [Tue, 22 Sep 1998 17:48:10 +0000 (10:48 -0700)]
tree.def (SWITCH_EXPR): New tree node definition.


* tree.def (SWITCH_EXPR): New tree node definition.

From-SVN: r22552

25 years ago* parse.y (component_decl_list): Improve error-recovery.
Mark Mitchell [Tue, 22 Sep 1998 12:15:17 +0000 (12:15 +0000)]
* parse.y (component_decl_list): Improve error-recovery.

From-SVN: r22551

25 years agodecl.c (make_typename_type): Move error to point where name variable can be used...
Benjamin Kosnik [Tue, 22 Sep 1998 12:05:50 +0000 (12:05 +0000)]
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

25 years agodecl.c (grokfndecl): Improve error-recovery.
Mark Mitchell [Tue, 22 Sep 1998 11:58:41 +0000 (11:58 +0000)]
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

25 years agoAdd myself as web pages maintainer; remove myself from "Write After
Gerald Pfeifer [Tue, 22 Sep 1998 08:51:52 +0000 (08:51 +0000)]
Add myself as web pages maintainer; remove myself from "Write After
Approval".

From-SVN: r22548

25 years agodescribe changes
Bruce Korb [Tue, 22 Sep 1998 07:31:48 +0000 (07:31 +0000)]
describe changes

From-SVN: r22547

25 years agoAdd the fixinc generated files to the touch list
Bruce Korb [Tue, 22 Sep 1998 07:28:05 +0000 (07:28 +0000)]
Add the fixinc generated files to the touch list

From-SVN: r22546

25 years agoCommit updates generated from def/tpl files
Bruce Korb [Tue, 22 Sep 1998 07:23:33 +0000 (07:23 +0000)]
Commit updates generated from def/tpl files

From-SVN: r22545

25 years agoSyntax error in sed script, combine '//' fixes
Bruce Korb [Tue, 22 Sep 1998 07:22:00 +0000 (07:22 +0000)]
Syntax error in sed script, combine '//' fixes

From-SVN: r22544

25 years agoremove -p from /bin/sh script
Bruce Korb [Tue, 22 Sep 1998 07:21:14 +0000 (07:21 +0000)]
remove -p from /bin/sh script

From-SVN: r22543

25 years agoDaily bump.
Jeff Law [Tue, 22 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22542

25 years agoForgot to commit.
Jeff Law [Tue, 22 Sep 1998 00:19:44 +0000 (18:19 -0600)]
Forgot to commit.

From-SVN: r22541

25 years agoBump for snapshot
Jeffrey A Law [Mon, 21 Sep 1998 23:40:42 +0000 (17:40 -0600)]
Bump for snapshot

From-SVN: r22539

25 years agoconfigure.in: This is GNU CHILL, not GNU Fortran.
Ben Elliston [Mon, 21 Sep 1998 23:14:17 +0000 (23:14 +0000)]
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

25 years agoBump for snapshot
Jeffrey A Law [Mon, 21 Sep 1998 22:31:19 +0000 (16:31 -0600)]
Bump for snapshot

From-SVN: r22537

25 years agoencoding.c (TREE_TYPE, ARRAY_TYPE): Define.
Ovidiu Predescu [Mon, 21 Sep 1998 22:28:51 +0000 (22:28 +0000)]
encoding.c (TREE_TYPE, ARRAY_TYPE): Define.

        * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
        (get_inner_array_type): Define.

From-SVN: r22536

25 years agoconfigure.in: Recognize i[34567]86-*-openbsd* and handle it like NetBSD.
Jeffrey A Law [Mon, 21 Sep 1998 21:49:59 +0000 (21:49 +0000)]
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

25 years ago* Revert this patch.
Jeffrey A Law [Mon, 21 Sep 1998 21:06:53 +0000 (21:06 +0000)]
* 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

25 years ago* final.c (final_scan_insn): Disable tracking CC across branches.
John Carr [Mon, 21 Sep 1998 17:21:44 +0000 (17:21 +0000)]
* final.c (final_scan_insn): Disable tracking CC across branches.

From-SVN: r22533

25 years agoexpr.h (eh_rtime_match_libfunc): New extern declaration.
Andrew MacLeod [Mon, 21 Sep 1998 14:23:16 +0000 (14:23 +0000)]
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

25 years agotweak
Jason Merrill [Mon, 21 Sep 1998 14:11:52 +0000 (10:11 -0400)]
tweak

From-SVN: r22531

25 years agotoplev.c (rest_of_compilation): Skip compiling anything with DECL_EXTERNAL set...
Jason Merrill [Mon, 21 Sep 1998 14:11:35 +0000 (10:11 -0400)]
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

25 years agoFix for g++ failure reported by Brendan.
Jim Wilson [Mon, 21 Sep 1998 13:59:47 +0000 (13:59 +0000)]
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

25 years agomethod.c (hack_identifier): Finding multiple members is always an error.
Martin v. Löwis [Mon, 21 Sep 1998 13:34:10 +0000 (13:34 +0000)]
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

25 years agoMake-lang.in (c++-filt): Link libiberty.a after cxxmain.o.
Per Bothner [Mon, 21 Sep 1998 13:12:10 +0000 (13:12 +0000)]
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

25 years agoi386.h: (TARGET_SWITCHES) Improve doc for align-double.
Robert Lipe [Mon, 21 Sep 1998 12:03:56 +0000 (12:03 +0000)]
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

25 years agoVersion.c: Update.
Dave Love [Mon, 21 Sep 1998 11:10:01 +0000 (11:10 +0000)]
Version.c: Update.

1998-09-21  Dave Love  <d.love@dl.ac.uk>
* libI77/Version.c: Update.

From-SVN: r22521

25 years agoUpdate.
Dave Love [Mon, 21 Sep 1998 11:08:06 +0000 (11:08 +0000)]
Update.

From-SVN: r22520

25 years agoMakefile.in (distclean, [...]): Add multilib support.
Robert Lipe [Mon, 21 Sep 1998 10:34:28 +0000 (10:34 +0000)]
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

25 years agoBump for snapshot
Jeffrey A Law [Mon, 21 Sep 1998 09:27:22 +0000 (03:27 -0600)]
Bump for snapshot

From-SVN: r22518

25 years ago(DBX_DEBUGGING_INFO): Added.
Stan Cox [Mon, 21 Sep 1998 07:33:21 +0000 (07:33 +0000)]
(DBX_DEBUGGING_INFO): Added.

From-SVN: r22517

25 years agoi386.h: (TARGET_SWITCHES) Add description fields for flags documented in install...
Robert Lipe [Mon, 21 Sep 1998 07:17:52 +0000 (07:17 +0000)]
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

25 years agoBump for snapshot
Jeffrey A Law [Mon, 21 Sep 1998 01:39:06 +0000 (19:39 -0600)]
Bump for snapshot

From-SVN: r22515

25 years ago1998-09-21 Ben Elliston <bje@cygnus.com>
Ben Elliston [Mon, 21 Sep 1998 01:22:07 +0000 (01:22 +0000)]
1998-09-21  Ben Elliston  <bje@cygnus.com>
        * New directory.  Moved files from ../gcc/objc.

From-SVN: r22514

25 years agoUse GET_ENV_PATH_LIST for GCC_EXEC_PREFIX too. My goof, not Felix's.
Jeff Law [Mon, 21 Sep 1998 01:00:21 +0000 (19:00 -0600)]
Use GET_ENV_PATH_LIST for GCC_EXEC_PREFIX too.  My goof, not Felix's.

From-SVN: r22513

25 years ago* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
Felix Lee [Mon, 21 Sep 1998 00:57:11 +0000 (00:57 +0000)]
* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().

From-SVN: r22512

25 years agoc-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
Felix Lee [Mon, 21 Sep 1998 00:56:50 +0000 (00:56 +0000)]
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

25 years agoDaily bump.
Jeff Law [Mon, 21 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22510

25 years agoRebuilt after recent changes.
Jeff Law [Mon, 21 Sep 1998 00:09:06 +0000 (18:09 -0600)]
Rebuilt after recent changes.

From-SVN: r22509

25 years agoMakefile.in (LIBS): Link in libiberty.a.
Per Bothner [Sun, 20 Sep 1998 23:54:10 +0000 (23:54 +0000)]
Makefile.in (LIBS): Link in libiberty.a.

        * Makefile.in (LIBS):  Link in libiberty.a.
        * c-common.c, gcc.c, toplev.c:  Repalce (some) bcopy calls by memcpy.

From-SVN: r22508

25 years agoreload1.c (emit_reload_insns): Accept a new arg for the bb.
Richard Henderson [Sun, 20 Sep 1998 23:29:09 +0000 (16:29 -0700)]
reload1.c (emit_reload_insns): Accept a new arg for the bb.

        * reload1.c (emit_reload_insns): Accept a new arg for the bb.  Use
        it to update bb boundaries.  Update caller.
        * function.c (reposition_prologue_and_epilogue_notes): Update
        bb boundaries wrt the moved note.

From-SVN: r22507

25 years agoconfigure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder problems.
Robert Lipe [Sun, 20 Sep 1998 20:58:39 +0000 (20:58 +0000)]
configure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder problems.

* configure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder
problems.
* configure: Regenerate.

From-SVN: r22506

25 years agoalpha.c (alpha_sr_alias_set): New variable.
Richard Henderson [Sun, 20 Sep 1998 19:11:13 +0000 (12:11 -0700)]
alpha.c (alpha_sr_alias_set): New variable.

        * alpha.c (alpha_sr_alias_set): New variable.
        (override_options): Set it.
        (alpha_expand_prologue, alpha_expand_epilogue): Use it.
        (mode_mask_operand): Fix signed-unsigned comparision warning.
        (alpha_expand_block_move): Likewise.
        (print_operand): Likewise.
        (get_aligned_mem): Use change_address.
        (alpha_set_memflags, alpha_set_memflags_1): Set the alias set.
        (alphaev4_insn_pipe, alphaev4_next_group): New functions.
        (alphaev4_next_nop, alphaev5_next_nop): New functions.
        (alpha_align_insns): Remade from old alphaev5_align_insns
        to handle multiple processors.
        (alpha_reorg): Call alpha_align_insns for both ev4 and ev5.
        * output.h (label_to_alignment): Prototype.

From-SVN: r22505

25 years agotree.c (new_alias_set): New function.
Richard Henderson [Sun, 20 Sep 1998 19:02:58 +0000 (12:02 -0700)]
tree.c (new_alias_set): New function.

        * tree.c (new_alias_set): New function.
        * tree.h (new_alias_set): Declare it.
        * c-common.c (c_get_alias_set): Use it.

From-SVN: r22504

25 years agofold-const.c (fold): Yet another COND_EXPR bug...
Richard Henderson [Sun, 20 Sep 1998 12:37:58 +0000 (05:37 -0700)]
fold-const.c (fold): Yet another COND_EXPR bug...

        * fold-const.c (fold): Yet another COND_EXPR bug: when folding
        to an ABS expr, convert an unsigned input to signed.

From-SVN: r22503

25 years ago* class.c (maybe_warn_about_overly_private_class): Reformat.
Mark Mitchell [Sun, 20 Sep 1998 12:30:50 +0000 (12:30 +0000)]
* class.c (maybe_warn_about_overly_private_class): Reformat.

From-SVN: r22502

25 years agoNew test case
Martin v. Löwis [Sun, 20 Sep 1998 12:13:07 +0000 (12:13 +0000)]
New test case

From-SVN: r22501

25 years ago* Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'.
Mark Mitchell [Sun, 20 Sep 1998 11:21:12 +0000 (11:21 +0000)]
* Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'.

From-SVN: r22500

25 years ago* fold-const.c (fold): Fix another type in COND_EXPR handling code.
Jeffrey A Law [Sun, 20 Sep 1998 11:16:12 +0000 (11:16 +0000)]
* fold-const.c (fold): Fix another type in COND_EXPR handling code.

From-SVN: r22499

25 years agoconfigure.in: Add support for c4x targets.
Michael Hayes [Sun, 20 Sep 1998 11:12:53 +0000 (11:12 +0000)]
configure.in: Add support for c4x targets.

        * configure.in: Add support for c4x targets.
        * configure: Rebuilt.

From-SVN: r22498

25 years agosfe.c (e_wdfe): Set f__init to avoid spurious recursive i/o error from formatted...
Dave Love [Sun, 20 Sep 1998 10:53:05 +0000 (10:53 +0000)]
sfe.c (e_wdfe): Set f__init to avoid spurious recursive i/o error from formatted direct i/o.

1998-09-20  Dave Love  <d.love@dl.ac.uk>
* libI77/sfe.c (e_wdfe): Set f__init to avoid spurious recursive
i/o error from formatted direct i/o.

From-SVN: r22496

25 years agoSet f__init to avoid spurious recursive i/o error from formatted
Dave Love [Sun, 20 Sep 1998 10:51:55 +0000 (10:51 +0000)]
Set f__init to avoid spurious recursive i/o error from formatted
direct i/o.

From-SVN: r22495

25 years agoexcept.c: Include system.h.
Robert Lipe [Sun, 20 Sep 1998 09:06:51 +0000 (09:06 +0000)]
except.c: Include system.h.

* except.c: Include system.h.
* Makefile.in (except.o): Depend on system.h.

From-SVN: r22494

25 years agoWarning fixes:
Kaveh R. Ghazi [Sun, 20 Sep 1998 06:43:23 +0000 (06:43 +0000)]
Warning fixes:

* Makefile.in (actions.o, convert.o, decl.o, expr.o, lang.o,
lex.o, loop.o, parse.o, satisfy.o, timing.o, tasking.o, tree.o,
typeck.o): Depend on system.h and toplev.h.
(except.o): Depend on toplev.h.
(grant.o): Depend on system.h, toplev.h and output.h.
* actions.c: Include system.h and toplev.h.  Remove redundant
  prototypes.
(build_cause_exception): Add default case in switch.
(update_else_range_for_range): Add parentheses around && within ||.
(chill_handle_multi_case_label_list): Remove unused variable
`selector_value'.
(print_missing_cases): Reconcile format specifiers vs arguments in
  calls to sprintf.
* ch-tree.h: Don't include stdio.h.  Wrap prototypes using FILE*
  with macro BUFSIZ.  Add missing prototypes.
* convert.c: Include system.h and toplev.h.  Remove redundant
prototypes.
   (convert): Remove unused variable `errstr'.
* decl.c: Include system.h and toplev.h.  Remove redundant
  prototypes.
(builtin_scope): Add missing initializers.
(clear_scope): Likewise.
(allocate_lang_decl): Mark parameter `t' with ATTRIBUTE_UNUSED.
(copy_lang_decl): Likewise for parameter `node'.
(c_decode_option): Likewise for parameter `argc'.
(push_extern_function): Likewise for parameter `granting'.
(switch_to_pass_2): Hide declaration of errorcount/sorrycount.
(pushdecl): Remove unused variable `t'.
(lookup_name_current_level): Make static and hide.
(lookup_name_for_seizing): Make static.
(finish_decl): Remove unused variable `type'.
(maybe_build_cleanup): Mark parameter `decl' with ATTRIBUTE_UNUSED.
(complete_array_type): Mark parameters `type', `initial_value' and
  `do_default' with ATTRIBUTE_UNUSED.
(start_struct): Mark parameter `name' with ATTRIBUTE_UNUSED.
(start_enum): Likewise.
(shadow_record_fields): Remove unused variables `type' and `parent'.
* except.c: Include toplev.h.  Remove redundant prototypes.
* expr.c: Include system.h and toplev.h.  Don't define NULL.
   Remove redundant prototypes.
(internal_build_compound_expr): Mark parameter `first_p' with
ATTRIBUTE_UNUSED.
(build_allocate_getstack): Remove unused variable `init'.
(build_chill_pred_or_succ): Likewise for variable `limit'.
(varying_to_slice): Likewise for variable `doamin' [sic].
(finish_chill_binary_op): Likewise for variables `code0' and
`code1'.  Remove unused label `finish'.  Add explicit braces to
avoid ambiguous `else'.
(build_chill_addr_expr): Remove extra parameter in call to `error'.
(build_chill_unary_op): Remove unused variables `class' and `type0'.
(powersetlen): Remove unused variables `domain' and `temp'.
* grant.c: Include system.h, toplev.h and output.h.  Don't handle
  strchr/strrchr.  Remove redundant prototypes.
   (decode_constant_selective): Remove unused variables `op' and `wrk'.
(push_granted): Mark parameters `name' and `decl' with
  ATTRIBUTE_UNUSED.
* inout.c: Include system.h and toplev.h.  Remove redundant
  prototypes.
(textlocation_mode): Use &&, not &, when comparing two truth
values.
(scanformcont): Remove unused label `do_the_action'.
* lang.c: Include system.h and toplev.h.  Remove redundant
  prototypes.
(lookup_interface): Mark parameter `arg' with ATTRIBUTE_UNUSED.
(maybe_objc_comptypes): Likewise for parameters `lhs' and `rhs'.
(lang_print_xnode): Likewise for parameters `file', `node' and
`indent'.
(lang_decode_option): Explicitly declare `explicit_ignore_case'.
(incomplete_type_error): Mark parameters `value' and `type' with
ATTRIBUTE_UNUSED.
* lex.c: Include system.h and toplev.h.  Remove redundant
  prototypes.  Don't handle strchr/strrchr.  Use CAPITALIZED
versions of ctype macros from system.h.  Cast ctype arguments to
unsigned char when necessary.
(last_token, RETURN_TOKEN): Hide definition.
(push_back): Remove unused function.
(readstring): Change variable `i' to unsigned.
(yywrap): Remove unused variable `node'.
* loop.c: Include system.h and toplev.h.  Remove redundant
prototypes.
(chill_unsigned_type): Hide prototype and definition.
(begin_loop_scope): Remove unused variable `firstp'.
(nonvalue_begin_loop_scope): Likewise.
* parse.c: Include system.h and toplev.h.  Remove redundant
prototypes.
(quasi_signal): Hide.
(PEEK_TOKEN): Change return type to `enum terminal'.
(parse_mode_definition_statement): Remove unused variable `names'.
(parse_formpar): Remove unused parameter `in_spec_module'.  All
callers changed.
(parse_formparlist): Likewise.
(parse_processpar): Remove unused variable `parms'.
(parse_definition): Add explicit braces to avoid ambiguous `else'.
(parse_multi_dimension_case_action): Initialize variable
`begin_test_label'.  Remove unused variable `new_test'.
(parse_case_action): Remove unused variable `caseaction_flag'.
(parse_asm_clobbers): Remove unused variable `expr'.
(parse_delay_case_action): Initialize variable `label_cnt'.
(parse_action): Make function static.
(parse_tuple_element): Remove unused variable `list'.
(parse_primval): Add default case in switch.
(parse_variant_alternative): Remove unused variables `x' and
`variant_fields'.
* satisfy.c: Include system.h and toplev.h.  Remove redundant
prototypes.
* tasking.c Include system.h and toplev.h.  Remove redundant
prototypes.
(data_name): Hide.
(get_struct_variable_name): Likewise.
(validate_process_parameters): Mark parameter `parms' with
ATTRIBUTE_UNUSED.
(build_start_process): Initialize variable `tuple'.
(build_receive_buffer_case_end): Remove unused variable `buffer_ptr'.
* timing.c: Include system.h and toplev.h.
(build_after_timeout_start): Remove unused variable `goto_where'.
* tree.c: Include system.h and toplev.h.  Remove redundant
prototypes.
* typeck.c: Include system.h and toplev.h.  Remove redundant
prototypes.
(extract_constant_from_buffer): Make function static.  Add
  explicit braces to avoid ambiguous `else'.
(expand_constant_to_buffer): Likewise.
(build_chill_slice): remove unused variable `is_static'.
(chill_compatible): Add explicit braces to avoid ambiguous `else'.
(apply_chill_array_layout): Remove unused variable `offset'.
(smash_dummy_type): Remove unused variable `save_lang_specific'.
(initializer_constant_valid_p): Add default case in switch.

From-SVN: r22493

25 years agoMakefile.in: Add dummy targets "info", "install-info", "clean-info" and "dvi".
Manfred Hollstein [Sun, 20 Sep 1998 04:34:06 +0000 (04:34 +0000)]
Makefile.in: Add dummy targets "info", "install-info", "clean-info" and "dvi".


* Makefile.in: Add dummy targets "info", "install-info", "clean-info"
and "dvi".

From-SVN: r22492

25 years agoDaily bump.
Jeff Law [Sun, 20 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22491

25 years ago* config.sub: Fix typo in last change.
Richard Henderson [Sun, 20 Sep 1998 00:13:42 +0000 (17:13 -0700)]
* config.sub: Fix typo in last change.

From-SVN: r22490

25 years agocombine.c (distribute_notes): If an insn is a cc0 user, only delete it if we can...
Richard Henderson [Sun, 20 Sep 1998 00:01:31 +0000 (17:01 -0700)]
combine.c (distribute_notes): If an insn is a cc0 user, only delete it if we can also delete the cc0 setter.

        * combine.c (distribute_notes): If an insn is a cc0 user, only
        delete it if we can also delete the cc0 setter.

From-SVN: r22489

25 years agofold-const.c (fold): Fix typo in COND_EXPR handling code.
Michael Tiemann [Sat, 19 Sep 1998 23:27:02 +0000 (23:27 +0000)]
fold-const.c (fold): Fix typo in COND_EXPR handling code.

        * fold-const.c (fold): Fix typo in COND_EXPR handling code.
        (invert_truthvalue): Enable truthvalue inversion for
        floating-point operands if -ffast-math.

From-SVN: r22488

25 years agoconfigure.in: Disable collect2 for nextstep.
Melissa O'Neill [Sat, 19 Sep 1998 23:01:43 +0000 (23:01 +0000)]
configure.in: Disable collect2 for nextstep.

        * configure.in: Disable collect2 for nextstep.  Instead use
        crtbegin/crtend.
        * configure: Rebuilt.
        * config/nextstep.h (STARTFILE_SPEC): Add crtbegin.
        (ENDFILE_SPEC): Define.
        (OBJECT_FORMAT_MACHO): Define.
        (EH_FRAME_SECTION_ASM_OP): Define.
        * crtstuff.c: Handle MACHO.

From-SVN: r22487

25 years ago* config/i386/sco5.h (TARGET_MEM_FUNCTIONS): Define.
Robert Lipe [Sat, 19 Sep 1998 22:25:53 +0000 (22:25 +0000)]
* config/i386/sco5.h (TARGET_MEM_FUNCTIONS):  Define.

From-SVN: r22486

25 years agofp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
Torbjorn Granlund [Sat, 19 Sep 1998 21:44:10 +0000 (23:44 +0200)]
fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.

        * fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
        (_fpadd_parts): Get sign right for 0.

From-SVN: r22485

25 years agoFix typo.
Jeff Law [Sat, 19 Sep 1998 21:29:07 +0000 (15:29 -0600)]
Fix typo.

From-SVN: r22484

25 years agovarargs.h: Add support for C4x target.
Michael Hayes [Sat, 19 Sep 1998 21:27:09 +0000 (21:27 +0000)]
varargs.h: Add support for C4x target.

        * ginclude/varargs.h: Add support for C4x target.
        * ginclude/stdargs.h: Likewise.

From-SVN: r22483

25 years agoconfig.sub: Add support for C4x target.
Michael Hayes [Sat, 19 Sep 1998 21:26:17 +0000 (15:26 -0600)]
config.sub: Add support for C4x target.

* config.sub: Add support for C4x target.
* configure.in: Likewise.

From-SVN: r22482

25 years agoconfig.sub: Add support for C4x target.
Michael Hayes [Sat, 19 Sep 1998 21:26:14 +0000 (15:26 -0600)]
config.sub: Add support for C4x target.


* config.sub: Add support for C4x target.
* configure.in: Likewise.

From-SVN: r22481

25 years agoremoved XFAIL mark; it will be back in a few weeks if the failure remains
Alexandre Oliva [Sat, 19 Sep 1998 18:30:30 +0000 (18:30 +0000)]
removed XFAIL mark; it will be back in a few weeks if the failure remains

From-SVN: r22480

25 years agoalpha.c (alpha_return_addr): SET should be VOIDmode.
Richard Henderson [Sat, 19 Sep 1998 12:14:38 +0000 (05:14 -0700)]
alpha.c (alpha_return_addr): SET should be VOIDmode.

        * alpha.c (alpha_return_addr): SET should be VOIDmode.
        (alpha_emit_set_long_const): Rewrite to be callable from reload
        and 32-bit hosts.
        (alpha_expand_epilogue): Update for alpha_emit_set_long_const.
        * alpha.md (movdi): Likewise.

From-SVN: r22479

25 years agoarm.c (bad_signed_byte_operand): Check both arms of a sum in a memory address.
Richard Earnshaw [Sat, 19 Sep 1998 07:57:44 +0000 (07:57 +0000)]
arm.c (bad_signed_byte_operand): Check both arms of a sum in a memory address.

* arm.c (bad_signed_byte_operand): Check both arms of a sum in
a memory address.
* arm.md (splits for *extendqihi_insn and *extendqisi_insn): Handle
memory addresses that are not in standard canonical form.

From-SVN: r22478

25 years agoarm.c (add_constant): New parameter address_only, change caller.
Richard Earnshaw [Sat, 19 Sep 1998 07:46:45 +0000 (07:46 +0000)]
arm.c (add_constant): New parameter address_only, change caller.

* arm.c (add_constant): New parameter address_only, change caller.
Set it non-zero if taking the address of an item in the pool.
(arm_reorg): Handle cases where we need the address of an item in
the pool.

From-SVN: r22477

25 years agoDaily bump.
Jeff Law [Sat, 19 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22476

25 years agoREADME.C4X: New file with information about the c4x ports.
Michael Hayes [Sat, 19 Sep 1998 00:03:07 +0000 (00:03 +0000)]
README.C4X: New file with information about the c4x ports.

        * README.C4X: New file with information about the c4x ports.
        * ginclude/va-c4x.h: New file for c4x varargs support.
        * config/c4x: New directory with c4x port files.

From-SVN: r22475

25 years agoMinor tweak.
Jeff Law [Fri, 18 Sep 1998 23:13:48 +0000 (17:13 -0600)]
Minor tweak.

From-SVN: r22474

25 years agoreload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the...
Jeff Law [Fri, 18 Sep 1998 21:54:39 +0000 (15:54 -0600)]
reload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the initializing insn...

P
        * reload.c (find_reloads): Do not replace a pseudo with
        (MEM (reg_equiv_addr)) in the initializing insn for the
        pseudo.

From-SVN: r22473