platform/upstream/gcc.git
26 years ago* gcc.dg/980816-1.c: New test.
Jeffrey A Law [Sun, 16 Aug 1998 00:30:06 +0000 (00:30 +0000)]
* gcc.dg/980816-1.c: New test.

From-SVN: r21757

26 years agolinux.h (CPP_OS_DEFAULT_SPEC): Define.
Franz Sirl [Sat, 15 Aug 1998 23:23:19 +0000 (17:23 -0600)]
linux.h (CPP_OS_DEFAULT_SPEC): Define.


        * rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.

From-SVN: r21754

26 years agolinux.h (CPP_OS_DEFAULT_SPEC): Define.
Franz Sirl [Sat, 15 Aug 1998 23:23:16 +0000 (17:23 -0600)]
linux.h (CPP_OS_DEFAULT_SPEC): Define.


        * rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.

From-SVN: r21753

26 years ago* alpha.md (movsicc): Fix mode mismatch.
Richard Henderson [Sat, 15 Aug 1998 20:54:22 +0000 (13:54 -0700)]
* alpha.md (movsicc): Fix mode mismatch.

From-SVN: r21752

26 years agoalpha.h (ASM_OUTPUT_MI_THUNK): Handle aggregated return type.
H.J. Lu [Sat, 15 Aug 1998 20:47:16 +0000 (20:47 +0000)]
alpha.h (ASM_OUTPUT_MI_THUNK): Handle aggregated return type.

Sat Aug 15 20:22:33 1998  H.J. Lu  (hjl@gnu.org)
        * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Handle aggregated
        return type.
        * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): Likewise.

From-SVN: r21751

26 years agoFix -fPIC regression reported by Brendan Kehoe.
David S. Miller [Sat, 15 Aug 1998 09:47:56 +0000 (09:47 +0000)]
Fix -fPIC regression reported by Brendan Kehoe.

* config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove
write-only modifier from operand 1 constraint.

From-SVN: r21749

26 years agoFix all known bugs remaining in sparc64 constant formation.
David S. Miller [Sat, 15 Aug 1998 07:36:04 +0000 (07:36 +0000)]
Fix all known bugs remaining in sparc64 constant formation.

* config/sparc/sparc.c (sparc_emit_set_const64_quick1): If
emitting a XOR of -1 at the end, emit a NOT instead for combine's
sake.
(sparc_emit_set_const64): Likewise, also when computing trailing
bits do not negate low_bits and make fast_int an int.

From-SVN: r21748

26 years agoDaily bump.
Jeff Law [Sat, 15 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21746

26 years agoloop.c (add_label_notes): Do not ignore references to labels before dispatch tables.
Jeffrey A Law [Sat, 15 Aug 1998 00:33:57 +0000 (00:33 +0000)]
loop.c (add_label_notes): Do not ignore references to labels before dispatch tables.

        * loop.c (add_label_notes): Do not ignore references to labels
        before dispatch tables.  Mirrors Apr 8 change to mark_jump_label.
        * gcse.c (add_label_notes): Similarly.

From-SVN: r21744

26 years ago* pa.h (ASM_OUTPUT_MI_THUNK): Strip name encoding.
Jeffrey A Law [Fri, 14 Aug 1998 22:27:50 +0000 (22:27 +0000)]
* pa.h (ASM_OUTPUT_MI_THUNK): Strip name encoding.

From-SVN: r21742

26 years agom68k.md (adddi_dilshr32): One of the operands must be a register.
Jeff Law [Fri, 14 Aug 1998 20:10:11 +0000 (14:10 -0600)]
m68k.md (adddi_dilshr32): One of the operands must be a register.

(
        * m68k.md (adddi_dilshr32): One of the operands must be a register.
        (adddi_dishl32): Similarly.

From-SVN: r21739

26 years agom68k.md (adddi_dilshr32): One of the operands must be a register.
Jeff Law [Fri, 14 Aug 1998 20:10:08 +0000 (14:10 -0600)]
m68k.md (adddi_dilshr32): One of the operands must be a register.

        * m68k.md (adddi_dilshr32): One of the operands must be a register.
        (adddi_dishl32): Similarly.

From-SVN: r21738

26 years agoRename BBISON to BISON
Nick Clifton [Fri, 14 Aug 1998 16:43:57 +0000 (16:43 +0000)]
Rename BBISON to BISON

From-SVN: r21735

26 years agoi386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
Jason Merrill [Fri, 14 Aug 1998 16:28:30 +0000 (12:28 -0400)]
i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.

* i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
* alias.c (memrefs_conflict_p): Add braces to shut up warnings.
* cse.c (cse_basic_block): Add parens to shut up warnings.

From-SVN: r21734

26 years agosparc.c (sparc_emit_set_const64_quick2, [...]): Fix more bugs in 64-bit constant...
David S. Miller [Fri, 14 Aug 1998 14:11:34 +0000 (14:11 +0000)]
sparc.c (sparc_emit_set_const64_quick2, [...]): Fix more bugs in 64-bit constant formation.

* config/sparc/sparc.c (sparc_emit_set_const64_quick2,
sparc_emit_set_const64_longway, const64_is_2insns,
create_simple_focus_bits, sparc_emit_set_const64): Fix more bugs
in 64-bit constant formation.
* config/sparc/sparc.md (snesi_zero_extend split): Generate
rtl for addx not subx.
(define_insn movdi_const64_special): Make available even when
HOST_BITS_PER_WIDE_INT is not 64.
(movdi_lo_sum_sp64_cint, movdi_high_sp64_cint): Remove.
(losum_di_medlow, sethm, setlo): Make op2 symbolic_operand.
(cmp_siqi_trunc_set, cmp_diqi_trunc_set): Encapsulate both
instances of operand 1 inside a QI subreg.
(xordi3_sp64_dbl): Remove '%' constraint for op1.
(one_cmpldi2_sp64): Fix output string.
(one_cmplsi2_not_liveg0): Rewrite to remove unneeded extra
alternative case.
(unnamed arch64 ashift DI): Truncate shift count if greater than
63, not 31.

From-SVN: r21733

26 years agoexpr.c (store_expr): Don't optimize away load-store pair when either source or destin...
J"orn Rennecke [Fri, 14 Aug 1998 13:58:02 +0000 (13:58 +0000)]
expr.c (store_expr): Don't optimize away load-store pair when either source or destination have a...

* expr.c (store_expr): Don't optimize away load-store pair
when either source or destination have a side effect.

From-SVN: r21732

26 years agogenrecog.c (add_to_sequence): Fatal error if the modes of the operands of SET are...
John Carr [Fri, 14 Aug 1998 13:52:58 +0000 (13:52 +0000)]
genrecog.c (add_to_sequence): Fatal error if the modes of the operands of SET are incompatible.

* genrecog.c (add_to_sequence): Fatal error if the modes of the operands
of SET are incompatible.
* alpha.md: Fix max and min patterns so modes of SET operands match.

From-SVN: r21731

26 years agoForgot to push this in with last change.
David S. Miller [Fri, 14 Aug 1998 11:50:46 +0000 (04:50 -0700)]
Forgot to push this in with last change.

Good eyes Brendan...

From-SVN: r21730

26 years agotest_installed: new script for testing already-installed
Alexandre Oliva [Fri, 14 Aug 1998 10:09:42 +0000 (10:09 +0000)]
test_installed: new script for testing already-installed

* test_installed: new script for testing already-installed
  gcc/g++/g77

From-SVN: r21728

26 years agoconfigure.in: Avoid [[ by using test and changequote.
Ian Lance Taylor [Fri, 14 Aug 1998 09:23:47 +0000 (09:23 +0000)]
configure.in: Avoid [[ by using test and changequote.

* configure.in: Avoid [[ by using test and changequote.
* configure: Rebuild.

From-SVN: r21726

26 years agortl.def (CONSTANT_P_RTX): Fix typo in string name.
David S. Miller [Fri, 14 Aug 1998 04:30:33 +0000 (04:30 +0000)]
rtl.def (CONSTANT_P_RTX): Fix typo in string name.

* rtl.def (CONSTANT_P_RTX): Fix typo in string name.
* config/sparc/sparc.md (seqdi_special_trunc, snedi_special_trunc,
seqsi_special_extend, snesi_special_extend, snesi_zero_extend and
split, snedi_zero_trunc and split, seqsi_zero_extend and split,
seqdi_zero_trunc and split, pic_lo_sum_di, pic_sethi_di,
movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc, addx_extend_sp32 and
split, addx_extend_sp64, subx_extend_sp64, subx_extend and split):
Fix mismatching modes in SET operands.
(conditional move patterns): Fix formatting.
(unnamed subx arch64 pattern): Remove duplicate insn.

From-SVN: r21725

26 years agosparc.c (const64_operand, [...]): Get it right when HOST_BITS_PER_WIDE_INT is not 64.
David S. Miller [Fri, 14 Aug 1998 01:49:23 +0000 (01:49 +0000)]
sparc.c (const64_operand, [...]): Get it right when HOST_BITS_PER_WIDE_INT is not 64.

* config/sparc/sparc.c (const64_operand, const64_high_operand):
Get it right when HOST_BITS_PER_WIDE_INT is not 64.
(input_operand): Fixup test for what we accept for constant
integers.
(sparc_emit_set_const32, sparc_emit_set_symbolic_const64): Give
set VOIDmode.
(safe_constDI): Remove.
(sparc_emit_set_safe_HIGH64, gen_safe_SET64, gen_safe_OR64,
gen_safe_XOR64): New functions.
(sparc_emit_set_const64_quick1, sparc_emit_set_const64_quick2,
sparc_emit_set_const64_longway, sparc_emit_set_const64): Use
them.
* config/sparc/sparc.md (define_insn xordi3_sp64_dbl): Only make
available when HOST_BITS_PER_WIDE_INT is not 64.
(define_insn movdi_sp64_dbl, movdi_const64_special): Likewise and
move before movdi_insn_sp64 pattern.
(define_insn movdi_lo_sum_sp64_dbl, movdi_high_sp64_dbl): Remove.
(define_insn sethi_di_medlow, seth44, setm44, sethh): Use
symbolic_operand as predicate for second operand.
(DImode minus split on arch32, negsi2 expander, one_cmplsi2
expander): Give set VOIDmode.

From-SVN: r21724

26 years ago*** empty log message ***
Mumit Khan [Fri, 14 Aug 1998 00:46:47 +0000 (18:46 -0600)]
*** empty log message ***

From-SVN: r21723

26 years agocygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.
Mumit Khan [Fri, 14 Aug 1998 00:46:45 +0000 (18:46 -0600)]
cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.


        * i386/cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.

From-SVN: r21722

26 years agoDaily bump.
Jeff Law [Fri, 14 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21719

26 years agolinux.h (LINK_SPEC): Pass -G args to the linker.
Geoff Keating [Fri, 14 Aug 1998 00:42:09 +0000 (18:42 -0600)]
linux.h (LINK_SPEC): Pass -G args to the linker.


        * rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.

From-SVN: r21717

26 years agolinux.h (LINK_SPEC): Pass -G args to the linker.
Geoff Keating [Fri, 14 Aug 1998 00:42:07 +0000 (18:42 -0600)]
linux.h (LINK_SPEC): Pass -G args to the linker.

        * rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.

From-SVN: r21716

26 years agonetbsd.h (TARGET_DEFAULT): Default includes software floating point.
Richard Earnshaw [Fri, 14 Aug 1998 00:29:32 +0000 (18:29 -0600)]
netbsd.h (TARGET_DEFAULT): Default includes software floating point.

X
        * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating
        point.
        (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.

From-SVN: r21715

26 years agonetbsd.h (TARGET_DEFAULT): Default includes software floating point.
Richard Earnshaw [Fri, 14 Aug 1998 00:29:30 +0000 (18:29 -0600)]
netbsd.h (TARGET_DEFAULT): Default includes software floating point.


        * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating
        point.
        (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.

From-SVN: r21714

26 years agoinstall.texi: Various SCO OpenServer tweaks.
Robert Lipe [Fri, 14 Aug 1998 00:21:34 +0000 (18:21 -0600)]
install.texi: Various SCO OpenServer tweaks.


        * install.texi: Various SCO OpenServer tweaks.

[[Split portion of a mixed commit.]]

From-SVN: r21710.2

26 years agoinstall.texi: Various SCO OpenServer tweaks.
Robert Lipe [Fri, 14 Aug 1998 00:20:50 +0000 (18:20 -0600)]
install.texi: Various SCO OpenServer tweaks.

        * install.texi: Various SCO OpenServer tweaks.

From-SVN: r21709

26 years ago* Make-lang.in (g77.o): Touch lang-f77 before checking it.
H.J. Lu [Fri, 14 Aug 1998 00:18:56 +0000 (00:18 +0000)]
* Make-lang.in (g77.o): Touch lang-f77 before checking it.

From-SVN: r21708

26 years agoreload1.c (eliminate_regs_in_insn): Handle another case when eliminating the frame...
Jim Wilson [Fri, 14 Aug 1998 00:14:09 +0000 (00:14 +0000)]
reload1.c (eliminate_regs_in_insn): Handle another case when eliminating the frame pointer to the hard frame pointer.

        * reload1.c (eliminate_regs_in_insn): Handle another case when
        eliminating the frame pointer to the hard frame pointer.  Add
        missing ep->to_rtx check to one existing case.

From-SVN: r21705

26 years agoFix SET operand mode mismatch detected by John Carr's patch.
Jim Wilson [Thu, 13 Aug 1998 20:16:20 +0000 (20:16 +0000)]
Fix SET operand mode mismatch detected by John Carr's patch.

* mips/mips.md (movhi_internal2+2): Fix typo mem:SI -> mem:HI.

From-SVN: r21704

26 years agotree.h: De-conditionalize init_priority code.
Jason Merrill [Thu, 13 Aug 1998 17:29:30 +0000 (17:29 +0000)]
tree.h: De-conditionalize init_priority code.

* tree.h: De-conditionalize init_priority code.
* mips.h (NM_FLAGS): Change from -Bp to -Bn.
* collect2.c (NM_FLAGS): Change from -p to -n.
* configure.in: Turn on collect2 for mipstx39-elf.
Handle use_collect2=no properly.
* c-common.c: De-conditionalize init_priority code.
* collect2.c (extract_init_priority, sort_ids): New fns.
(main): Call sort_ids.
Move sequence_number to file scope.
* configure.in: Handle --enable-init-priority.
* c-common.c (attrs): Add A_INIT_PRIORITY.
(init_attributes, decl_attributes): Likewise.
* tree.h (DEFAULT_INIT_PRIORITY, MAX_INIT_PRIORITY): New macros.
* tree.c (get_file_function_name_long): Split out...
(get_file_function_name): ...from here.
cp/:
* lang-options.h: Add -finit-priority.
* decl2.c: Likewise.  Check flag_init_priority instead of
USE_INIT_PRIORITY.
* decl2.c (setup_initp): New fn.
(start_objects, finish_objects, do_ctors): Handle init_priority.
(do_dtors, finish_file): Likewise.

From-SVN: r21701

26 years agopt.c (tsubst_copy): Hush warning.
Jason Merrill [Thu, 13 Aug 1998 17:02:00 +0000 (17:02 +0000)]
pt.c (tsubst_copy): Hush warning.

* pt.c (tsubst_copy): Hush warning.
* rtti.c (get_tinfo_fn): Also set DECL_IGNORED_P.

From-SVN: r21700

26 years ago* tree.c (simple_cst_equal): Add braces to shut up warnings.
Jason Merrill [Thu, 13 Aug 1998 17:01:36 +0000 (17:01 +0000)]
* tree.c (simple_cst_equal): Add braces to shut up warnings.

From-SVN: r21699

26 years agoexpr.c (safe_from_p): Change code to ERROR_MARK only when not accessing nodes.
Jason Merrill [Thu, 13 Aug 1998 16:12:55 +0000 (12:12 -0400)]
expr.c (safe_from_p): Change code to ERROR_MARK only when not accessing nodes.

* expr.c (safe_from_p): Change code to ERROR_MARK only when not
accessing nodes.
* toplev.c (display_help): Add braces to shut up warnings.
* fold-const.c (non_lvalue): Don't deal with null pointer
constants here.
(fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.

From-SVN: r21698

26 years agoc-typeck.c (initializer_constant_valid_p): Allow conversion of 0 of any size to a...
Jason Merrill [Thu, 13 Aug 1998 15:26:46 +0000 (15:26 +0000)]
c-typeck.c (initializer_constant_valid_p): Allow conversion of 0 of any size to a pointer.

* c-typeck.c (initializer_constant_valid_p): Allow conversion of 0
of any size to a pointer.

From-SVN: r21697

26 years agoFix cygwin32 build problem with experimental version of winsup.
Jim Wilson [Thu, 13 Aug 1998 13:09:40 +0000 (13:09 +0000)]
Fix cygwin32 build problem with experimental version of winsup.

* i386/winnt.c (i386_pe_asm_file_end): Check TREE_SYMBOL_REFERENCED.

From-SVN: r21696

26 years agoDaily bump.
Jeff Law [Thu, 13 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21692

26 years agoieee.exp: Pass -ffloat-store to compiler for ieee tests.
Jeff Law [Wed, 12 Aug 1998 23:14:54 +0000 (17:14 -0600)]
ieee.exp: Pass -ffloat-store to compiler for ieee tests.

8
        * execute/ieee/ieee.exp: Pass -ffloat-store to compiler for
        ieee tests.

From-SVN: r21691

26 years agoieee.exp: Pass -ffloat-store to compiler for ieee tests.
Jeff Law [Wed, 12 Aug 1998 23:14:53 +0000 (17:14 -0600)]
ieee.exp: Pass -ffloat-store to compiler for ieee tests.


        * execute/ieee/ieee.exp: Pass -ffloat-store to compiler for
        ieee tests.

From-SVN: r21690

26 years agomn10300.c (REG_SAVE_BYTES): Only reserve space for registers which will be saved.
Jeffrey A Law [Wed, 12 Aug 1998 16:41:11 +0000 (16:41 +0000)]
mn10300.c (REG_SAVE_BYTES): Only reserve space for registers which will be saved.

        * mn10300.c (REG_SAVE_BYTES): Only reserve space for registers
        which will be saved.
        * mn10300.md (prologue insn): Only save registers which need saving.
        (epilogue insn): Similarly.

From-SVN: r21687

26 years agomn10300.c, [...]: Remove "global zero register" optimizations.
Jeffrey A Law [Wed, 12 Aug 1998 16:27:05 +0000 (16:27 +0000)]
mn10300.c, [...]: Remove "global zero register" optimizations.

        * mn10300.c, mn10300.h, mn10300.md: Remove "global zero register"
        optimizations.

From-SVN: r21686

26 years agopt.c (print_template_context): Don't abort when instantiating a synthesized method.
Mark Mitchell [Wed, 12 Aug 1998 14:40:39 +0000 (14:40 +0000)]
pt.c (print_template_context): Don't abort when instantiating a synthesized method.

* pt.c (print_template_context): Don't abort when instantiating a
synthesized method.

From-SVN: r21685

26 years agodecl.c (grokdeclarator): Issue errors on namespace qualified declarators in parameter...
Mark Mitchell [Wed, 12 Aug 1998 13:48:30 +0000 (13:48 +0000)]
decl.c (grokdeclarator): Issue errors on namespace qualified declarators in parameter lists or in class...

1998-08-12  Mark Mitchell  <mark@markmitchell.com>
* decl.c (grokdeclarator): Issue errors on namespace qualified
declarators in parameter lists or in class scope.

From-SVN: r21684

26 years ago* egcs_update: Assigned copyright to FSF.
Gerald Pfeifer [Wed, 12 Aug 1998 11:02:37 +0000 (13:02 +0200)]
* egcs_update: Assigned copyright to FSF.

From-SVN: r21682

26 years agomips.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG for VAR_DECL's in gp addressable...
Gavin Romig-Koch [Wed, 12 Aug 1998 09:42:55 +0000 (09:42 +0000)]
mips.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG for VAR_DECL's in gp addressable sections.

* mips/mips.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG for
VAR_DECL's in gp addressable sections.

From-SVN: r21681

26 years agoDaily bump.
Jeff Law [Wed, 12 Aug 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21679

26 years agosparc.c: Change return <exp> to <exp>; return; in functions returning void.
John Carr [Wed, 12 Aug 1998 00:09:15 +0000 (00:09 +0000)]
sparc.c: Change return <exp> to <exp>; return; in functions returning void.

* sparc.c: Change return <exp> to <exp>; return; in functions
  returning void.
* sparc.md: Add empty semicolon statement after final label in
move expanders.

From-SVN: r21678

26 years agosparc.md (define_insn addx_extend): Rename to addx_extend_sp64, only allow when TARGE...
David S. Miller [Tue, 11 Aug 1998 23:50:23 +0000 (23:50 +0000)]
sparc.md (define_insn addx_extend): Rename to addx_extend_sp64, only allow when TARGET_ARCH64.

* config/sparc/sparc.md (define_insn addx_extend): Rename to
addx_extend_sp64, only allow when TARGET_ARCH64.
(define_insn addx_extend_sp32 and split): Version that works when
not TARGET_ARCH64.
(define_insn subx_extend): Likewise.
(define_split adddi3 and subdi3 with zero extension): Fixup and
correct bugs when not TARGET_ARCH64.

From-SVN: r21677

26 years ago
Per Bothner [Tue, 11 Aug 1998 16:34:05 +0000 (09:34 -0700)]

Fix incorrect comment.

From-SVN: r21676

26 years agoexcept.c (set_exception_lang_code, [...]): Use prototype-style definition if __STDC__...
John Carr [Tue, 11 Aug 1998 13:36:42 +0000 (13:36 +0000)]
except.c (set_exception_lang_code, [...]): Use prototype-style definition if __STDC__, to match declaration in except.h.

* except.c (set_exception_lang_code, set_exception_version_code):
Use prototype-style definition if __STDC__, to match declaration
in except.h.
* genemit.c: Change FAIL and DONE macros not to use loops.

From-SVN: r21675

26 years agoFix sparc64-elf build problem.
Jim Wilson [Tue, 11 Aug 1998 13:23:44 +0000 (13:23 +0000)]
Fix sparc64-elf build problem.

* dwarf2out.c (ASM_OUTPUT_DWARF_ADDR_CONST): Use
ASM_OUTPUT_DWARF2_ADDR_CONST if defined.

From-SVN: r21674

26 years agoFix mips16 libgcc build failure.
Jim Wilson [Tue, 11 Aug 1998 12:28:52 +0000 (12:28 +0000)]
Fix mips16 libgcc build failure.

* mips/mips.md (reload_outsi): Use M16_REG_P when TARGET_MIPS16.

From-SVN: r21673

26 years agoREADME: Update from Craig.
Dave Love [Tue, 11 Aug 1998 10:15:04 +0000 (10:15 +0000)]
README: Update from Craig.

1998-08-11  Dave Love  <d.love@dl.ac.uk>
* README: Update from Craig.

From-SVN: r21672

26 years agoREADME.g77: Update from Craig.
Dave Love [Tue, 11 Aug 1998 10:13:57 +0000 (10:13 +0000)]
README.g77: Update from Craig.

Tue Aug 11 17:45:39 1998  Dave Love  <d.love@dl.ac.uk>
* README.g77: Update from Craig.

From-SVN: r21671

26 years agoegcs_update: New switch --nostdflags and documentation enhancements.
Gerald Pfeifer [Tue, 11 Aug 1998 09:04:53 +0000 (11:04 +0200)]
egcs_update: New switch --nostdflags and documentation enhancements.

* egcs_update: New switch --nostdflags and documentation
enhancements.

Co-Authored-By: Alexandre Oliva <oliva@dcc.unicamp.br>
From-SVN: r21667

26 years ago* egcs_update: New script.
Gerald Pfeifer [Tue, 11 Aug 1998 08:38:09 +0000 (10:38 +0200)]
* egcs_update: New script.

From-SVN: r21664

26 years agosparc.c (const64_operand, [...]): New predicates.
David S. Miller [Tue, 11 Aug 1998 07:13:17 +0000 (07:13 +0000)]
sparc.c (const64_operand, [...]): New predicates.

* config/sparc/sparc.c (const64_operand, const64_high_operand):
New predicates.
* config/sparc/sparc.h: Declare them.
(PREDICATE_CODES): Add them.
* config/sparc/sparc.md (movdi_lo_sum_sp64_dbl,
movdi_high_sp64_dbl, xordi3_sp64_dbl): Use them.

From-SVN: r21663

26 years agosparc.c (sparc_emit_set_const32): INTVAL is of type HOST_WIDE_INT.
David S. Miller [Tue, 11 Aug 1998 05:54:17 +0000 (05:54 +0000)]
sparc.c (sparc_emit_set_const32): INTVAL is of type HOST_WIDE_INT.

* config/sparc/sparc.c (sparc_emit_set_const32): INTVAL is of
type HOST_WIDE_INT.
(safe_constDI sparc_emit_set_const64_quick1,
sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
analyze_64bit_constant, const64_is_2insns,
create_simple_focus_bits): Fix some bugs when compiled on real
64-bit hosts.
(function_arg_record_value_3, function_arg_record_value_2,
function_arg_record_value): Add fully prototyped forward decls.
* config/sparc/sparc.md (define_insn cmpsi_insn_sp32): Rename back
to cmpsi_insn and use on both 64 and 32 bit targets.
(define_insn cmpsi_insn_sp64): Remove.
(define_expand zero_extendsidi2): Allow for 32-bit target too.
(define_insn zero_extendsidi2_insn): Rename to
zero_extendsidi2_insn_sp64.
(define_insn zero_extendsidi2_insn_sp32): New pattern and
assosciated forced split for it.

From-SVN: r21662

26 years agoDaily bump.
Jeff Law [Tue, 11 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21660

26 years agosparc.md (define_insn jump): Output ba,pt not b,pt in v9 case as the latter makes...
John Carr [Tue, 11 Aug 1998 00:03:39 +0000 (00:03 +0000)]
sparc.md (define_insn jump): Output ba,pt not b,pt in v9 case as the latter makes the Solaris assembler crash.

* config/sparc/sparc.md (define_insn jump): Output ba,pt not b,pt
in v9 case as the latter makes the Solaris assembler crash.

From-SVN: r21659

26 years agosparc.c (input_operand): Do not accept a LO_SUM MEM for TFmode when !v9.
David S. Miller [Mon, 10 Aug 1998 23:47:28 +0000 (23:47 +0000)]
sparc.c (input_operand): Do not accept a LO_SUM MEM for TFmode when !v9.

* config/sparc/sparc.c (input_operand): Do not accept a LO_SUM MEM
for TFmode when !v9.  We require offsettable memory addresses.
* config/sparc/sparc.h (ALTER_HARD_SUBREG): Handle TFmode to
DFmode register number conversions.
* config/sparc/sparc.md (define_split DFmode moves): If register
is a SUBREG do alter_subreg on it before using.
(define_expand movtf): Fixup comment about alignment on v9.
(define_split TFmode moves): Don't use gen_{high,low}part, create
explicit SUBREGs instead.

From-SVN: r21658

26 years ago* Makefile.in (mbchar.o): Depend on mbchar.c.
John Carr [Mon, 10 Aug 1998 16:06:34 +0000 (16:06 +0000)]
* Makefile.in (mbchar.o): Depend on mbchar.c.

From-SVN: r21656

26 years agox
Jason Merrill [Mon, 10 Aug 1998 13:55:04 +0000 (09:55 -0400)]
x

From-SVN: r21655

26 years agonew
Jason Merrill [Mon, 10 Aug 1998 12:39:12 +0000 (08:39 -0400)]
new

From-SVN: r21654

26 years agoAIX 4.1.5 binder -bbigtoc relocation overflow fix.
David Edelsohn [Mon, 10 Aug 1998 10:28:59 +0000 (06:28 -0400)]
AIX 4.1.5 binder -bbigtoc relocation overflow fix.

From-SVN: r21653

26 years agoSparc backend rewrite by rth and myself, please
David S. Miller [Mon, 10 Aug 1998 05:34:44 +0000 (05:34 +0000)]
Sparc backend rewrite by rth and myself, please
peruse the lengthy ChangeLog for a blow by blow account.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r21652

26 years agoalpha.md (extxl+1,+2): New patterns to work around combine lossage.
Richard Henderson [Mon, 10 Aug 1998 01:23:59 +0000 (18:23 -0700)]
alpha.md (extxl+1,+2): New patterns to work around combine lossage.

        * alpha.md (extxl+1,+2): New patterns to work around
        combine lossage.

From-SVN: r21651

26 years agoDaily bump.
Jeff Law [Mon, 10 Aug 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21649

26 years agomt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.
HJ Lu [Sun, 9 Aug 1998 23:17:03 +0000 (17:17 -0600)]
mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

        * mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

From-SVN: r21648

26 years agomt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.
HJ Lu [Sun, 9 Aug 1998 23:17:02 +0000 (17:17 -0600)]
mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.


        * mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

From-SVN: r21647

26 years agopt.c (check_explicit_specialization): Don't abort on bogus explicit instantiations.
Mark Mitchell [Sun, 9 Aug 1998 15:20:40 +0000 (15:20 +0000)]
pt.c (check_explicit_specialization): Don't abort on bogus explicit instantiations.

* pt.c (check_explicit_specialization): Don't abort on bogus
explicit instantiations.

From-SVN: r21643

26 years agoMake-lang.in (f/g77.dvi): Replace non-working use of texi2dvi with explicit use of...
Dave Love [Sun, 9 Aug 1998 03:59:14 +0000 (03:59 +0000)]
Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi with explicit use of tex.

1998-08-09  Dave Love  <d.love@dl.ac.uk>
* Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi
with explicit use of tex.
(f77.mostlyclean): Remove TeX index files.
* g77install.texi (Prerequisites): Kluge round TeX lossage with
hyphen in @value in @code.

From-SVN: r21642

26 years agoDaily bump.
Jeff Law [Sun, 9 Aug 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21639

26 years ago8
Gary Thomas [Sat, 8 Aug 1998 18:22:01 +0000 (12:22 -0600)]
8
        * rs6000.c (rs6000_allocate_stack_space) Fix typo which
        caused bad assembly code to be generated.

From-SVN: r21638

26 years ago
Gary Thomas [Sat, 8 Aug 1998 18:21:59 +0000 (12:21 -0600)]

        * rs6000.c (rs6000_allocate_stack_space) Fix typo which
        caused bad assembly code to be generated.

From-SVN: r21637

26 years ago* netbsd.h: Fix typo.
Jeffrey A Law [Sat, 8 Aug 1998 17:53:54 +0000 (17:53 +0000)]
* netbsd.h: Fix typo.

From-SVN: r21634

26 years agoDaily bump.
Jeff Law [Sat, 8 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21628

26 years agotypeck.c (require_complete_type): Use complete_type_or_else.
Mark Mitchell [Fri, 7 Aug 1998 16:33:34 +0000 (16:33 +0000)]
typeck.c (require_complete_type): Use complete_type_or_else.

* typeck.c (require_complete_type): Use complete_type_or_else.
(complete_type_or_else): Always return NULL_TREE on failure, as
documented.
* pt.c (tsubst_aggr_type): Prototype.
(tsubst_decl): New function, split out from tsubst.  Set
input_filename and lineno as appropriate.
(pop_tinst_level): Restore the file and line number saved in
push_tinst_level.
(instantiate_class_template): Set input_filename and lineno as
appropriate.
(tsubst): Move _DECL processing to tsubst_decl.  Make sure the
context for a TYPENAME_TYPE is complete.
* decl2.c (grokbitfield): Issue errors on bitfields declared with
function type.
(do_dtors): As in do_ctors, pretend to be a member of the same
class as a static data member while generating a call to its
destructor.

From-SVN: r21627

26 years agocvt.c (cp_convert_to_pointer): Handle NULL pointer conversions, even in complex virtu...
Mark Mitchell [Fri, 7 Aug 1998 09:56:06 +0000 (09:56 +0000)]
cvt.c (cp_convert_to_pointer): Handle NULL pointer conversions, even in complex virtual base class hierarchies.

* cvt.c (cp_convert_to_pointer): Handle NULL pointer
conversions, even in complex virtual base class hierarchies.

From-SVN: r21626

26 years agoDaily bump.
Jeff Law [Fri, 7 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21623

26 years agocp-tree.h (ENUM_TEMPLATE_INFO): New macro.
Mark Mitchell [Thu, 6 Aug 1998 16:58:43 +0000 (16:58 +0000)]
cp-tree.h (ENUM_TEMPLATE_INFO): New macro.

* cp-tree.h (ENUM_TEMPLATE_INFO): New macro.
(TYPE_TEMPLATE_INFO): Likewise.
(SET_TYPE_TEMPLATE_INFO): Likewise.
(ENUM_TI_TEMPLATE): Likewise.
(ENUM_TI_ARGS): Likewise.
(lookup_nested_type_by_name): Remove.
* decl.c (maybe_process_template_type_declaration): Handle enums.
(start_enum): Don't check for primary-template enum declarations
here.
(finish_enum): Clean up, document.  Make sure template enum
constants get the correct type.
(build_enumerator): Copy initializers for template enumerations,
too.
(grok_enum_decls): Document.
* lex.c (do_identifier): Document use of LOOKUP_EXPR a bit
better.  Build LOOKUP_EXPRs for local variables, even if they are
TREE_PERMANENT.
* pt.c (tsubst_enum): Remove field_chain parameter.
(template_class_depth): Include the depth of surrounding function
contexts.
(push_template_decl): Check for primary-template enum declarations
here.  Deal with enumeration templates.
(lookup_template_class): Likewise.
(for_each_template_parm): Likewise.
(instantiate_class_template): Don't call tsubst_enum directly,
call tsubst instead, to instantiate enums.  Deal with all
field_chain issues here, not in tsubst_enum.
(lookup_nested_type_by_name): Remove.
(tsubst_aggr_type): Revise handling of enumeration types.
(tsubst): Likewise.
(tsubst_copy): Likewise.
(tsubst_expr): Call tsubst, not tsubst_enum for TAG_DEFNs.

From-SVN: r21622

26 years agoNew test
Mark Mitchell [Thu, 6 Aug 1998 09:56:09 +0000 (09:56 +0000)]
New test

From-SVN: r21621

26 years agoDaily bump.
Jeff Law [Thu, 6 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21619

26 years agocom.c (ffecom_convert_narrow_, [...]): Allow conversion from pointer to same-sized...
Craig Burley [Wed, 5 Aug 1998 11:22:15 +0000 (11:22 +0000)]
com.c (ffecom_convert_narrow_, [...]): Allow conversion from pointer to same-sized integer...

Tue Aug  4 16:59:39 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_convert_narrow_, ffecom_convert_widen_):
Allow conversion from pointer to same-sized integer,
to fix invoking SIGNAL as a function.

From-SVN: r21618

26 years agocom.c (ffecom_convert_narrow_, [...]): Allow conversion from pointer to same-sized...
Craig Burley [Wed, 5 Aug 1998 11:19:05 +0000 (07:19 -0400)]
com.c (ffecom_convert_narrow_, [...]): Allow conversion from pointer to same-sized integer...

Tue Aug  4 16:59:39 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_convert_narrow_, ffecom_convert_widen_):
Allow conversion from pointer to same-sized integer,
to fix invoking SIGNAL as a function.

[[Split portion of a mixed commit.]]

From-SVN: r21617.2

26 years agoUpdate the generated file, too
Bruce Korb [Wed, 5 Aug 1998 10:44:11 +0000 (10:44 +0000)]
Update the generated file, too

From-SVN: r21615

26 years agoChanges to allow bypassing tests for certain machines
Bruce Korb [Wed, 5 Aug 1998 10:20:13 +0000 (10:20 +0000)]
Changes to allow bypassing tests for certain machines

From-SVN: r21614

26 years agoDocument today's changes
Bruce Korb [Wed, 5 Aug 1998 10:18:37 +0000 (10:18 +0000)]
Document today's changes

From-SVN: r21613

26 years agoDaily bump.
Jeff Law [Wed, 5 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21611

26 years agolibioP.h: Use __PMT in typedefs.
Andreas Jaeger [Tue, 4 Aug 1998 15:21:08 +0000 (15:21 +0000)]
libioP.h: Use __PMT in typedefs.

* libioP.h: Use __PMT in typedefs.
* strfile.h: Likewise.

From-SVN: r21610

26 years agodecl.c (pushtag): Don't mangle the name of a TYPE_DECL if it uses template parameters.
Mark Mitchell [Tue, 4 Aug 1998 11:46:41 +0000 (11:46 +0000)]
decl.c (pushtag): Don't mangle the name of a TYPE_DECL if it uses template parameters.

* decl.c (pushtag): Don't mangle the name of a TYPE_DECL if it
uses template parameters.
* method.c (build_template_parm_names): Use the full set of
template arguments for tsubst'ing.
(build_overload_identifier): Pass the full set of template
arguments to build_template_parm_names, not just the
innermost_args.
* pt.c (TMPL_ARGS_DEPTH): Define using
TMPL_ARGS_HAVE_MULTIPLE_LEVELS, for clarity.
(NUM_TMPL_ARGS): New macro.
(add_outermost_template_args): Deal with the case where the outer
args will be completely discarded.
(coerce_template_parms): Use the full set of template arguments
for tsubst'ing.  Simplify.  Add some asserts.  Improve
error messages.
(lookup_template_class): Pass the full set of template arguments
to coerce_template_parms.
(tsubst): Add assertion.
(do_type_instantiation): Don't instantiate member template
classes.
* init.c (build_offset_ref): Deal with a TEMPLATE_ID_EXPR whose
name is a LOOKUP_EXPR, rather than an IDENTIFIER_NODE.

From-SVN: r21609

26 years agoDaily bump.
Jeff Law [Tue, 4 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21554

26 years agomethod.c (set_mangled_name_for_decl): Change return type to void.
Jason Merrill [Mon, 3 Aug 1998 22:11:25 +0000 (22:11 +0000)]
method.c (set_mangled_name_for_decl): Change return type to void.

* method.c (set_mangled_name_for_decl): Change return type to void.
* decl.c (lookup_name_real): A namespace-level decl takes priority
over implicit typename.  Avoid doing the same lookup twice.
* search.c (dependent_base_p): New fn.
(dfs_pushdecls, dfs_compress_decls): Use it.
* typeck.c (get_member_function_from_ptrfunc): Don't try to handle
virtual functions if the type doesn't have any.

From-SVN: r21551

26 years agoAdd myself, as per Jeff Law's request.
Gerald Pfeifer [Mon, 3 Aug 1998 11:22:28 +0000 (11:22 +0000)]
Add myself, as per Jeff Law's request.

From-SVN: r21550

26 years agodecl2.c (grokfield): Don't mangle the name of a TYPE_DECL if it uses template parameters.
Mark Mitchell [Mon, 3 Aug 1998 09:59:39 +0000 (09:59 +0000)]
decl2.c (grokfield): Don't mangle the name of a TYPE_DECL if it uses template parameters.

* decl2.c (grokfield): Don't mangle the name of a TYPE_DECL if it
uses template parameters.

From-SVN: r21549

26 years agodecl2.c (grokfield): Don't mangle the name of a TYPE_DECL is it uses template parameters.
Mark Mitchell [Mon, 3 Aug 1998 09:58:34 +0000 (09:58 +0000)]
decl2.c (grokfield): Don't mangle the name of a TYPE_DECL is it uses template parameters.

* decl2.c (grokfield): Don't mangle the name of a TYPE_DECL is it
uses template parameters.

From-SVN: r21548