gcc.git
26 years agoi386.c (output_fp_conditional_move): New function to output floating point conditiona...
H.J. Lu [Fri, 5 Jun 1998 00:13:57 +0000 (00:13 +0000)]
i386.c (output_fp_conditional_move): New function to output floating point conditional move.

        * i386/i386.c (output_fp_conditional_move): New function
        to output floating point conditional move.
        (output_int_conditional_move): New function to output integer
        conditional move.
        * i386/i386.md (movsicci+5, movhicc+5, movdicc+5): Call
        output_int_conditional_move () to output int conditional move.
        (movsfcc+5, movdfcc+5, movxfcc+5): Call
        output_fp_conditional_move () to output floating point
        conditional move.
        * i386/i386.c (put_condition_code): In INT mode, check
        cc_prev_status.flags & CC_NO_OVERFLOW for GE and LT.

From-SVN: r20233

26 years agoCommentary.
Dave Love [Thu, 4 Jun 1998 14:39:01 +0000 (14:39 +0000)]
Commentary.

From-SVN: r20232

26 years agoRegenerated.
Jeff Law [Thu, 4 Jun 1998 13:18:07 +0000 (07:18 -0600)]
Regenerated.

From-SVN: r20231

26 years agodbxout.c (dbxout_type): Output arrays of bits as if they were bitstrings for Chill
Dave Brolley [Thu, 4 Jun 1998 13:15:44 +0000 (13:15 +0000)]
dbxout.c (dbxout_type): Output arrays of bits as if they were bitstrings for Chill

Thu Jun  4 16:09:51 1998  Dave Brolley  <brolley@cygnus.com>
* dbxout.c (dbxout_type): Output arrays of bits as if
they were bitstrings for Chill

From-SVN: r20230

26 years agotree.c (get_inner_array_type): New function.
David Edelsohn [Thu, 4 Jun 1998 11:47:15 +0000 (11:47 +0000)]
tree.c (get_inner_array_type): New function.

Thu Jun  4 14:35:27 1998  David Edelsohn  <edelsohn@mhpcc.edu>
* tree.c (get_inner_array_type): New function.
* tree.h (get_inner_array_type): Prototype.
* expr.h (STACK_SAVEAREA_MODE): New macro.
* expr.c (expand_builtin_setjmp): Initialize sa_mode using
STACK_SAVEAREA_MODE.
(expand_builtin_longjmp): Likewise.
* explow.c (emit_stack_save): Likewise.
(allocate_dynamic_stack_space): Use Pmode not insn_operand_mode.
* rs6000/aix41.h (ASM_CPU_SPEC): Define relative to ASM_DEFAULT_SPEC.
(CPP_CPU_SPEC): Define relative to CPU_DEFAULT_SPEC.
* rs6000/aix43.h: New file.
* rs6000/t-aix43: New file.
* rs6000/x-aix41: New file.
* rs6000/x-aix43: New file.
* configure.in (rs6000-ibm-aix*): Use them.
* rs6000/powerpc.h: Delete.
* rs6000/sysv4.h: Move necessary powerpc.h definitions to here.
* rs6000/netware.h: and here.
* rs6000/win-nt.h: and here.
* rs6000/rs6000.c (processor_target_table, 620): Do not affect
MASK_POWERPC64.
(rs6000_override_options): Ignore flag_pic for AIX.
(rs6000_immed_double_const): Delete.
(u_short_cint_operand): Don't assume 32-bit CONST_INT.
(reg_or_u_short_operand): Don't assume 32-bit CONST_INT.
(num_insns_constant): mask64_operand() is 2 insns.
(logical_operand): Don't assume 32-bit CONST_INT.
(non_logical_cint_operand): Don't assume 32-bit CONST_INT.
(easy_fp_constant): Any CONST_DOUBLE_HIGH is okay for 64-bit.
(mask_constant): HOST_WIDE_INT parameter.
(non_and_cint_operand): Delete.
(mask64_operand): New function.
(and64_operand): New function.
(function_arg_advance): DImode arguments do not need special
alignment when 64-bit.
(function_arg): Likewise.
(setup_incoming_varargs): Reverse reg_size assignment.
(print_operand): HOST_WIDE_INT second parameter.
(print_operand, 'B'): New case.
(print_operand, 'M'): Fix typo in lossage string.
(print_operandm 'S'): New case.
(rs6000_stack_info): Reverse reg_size assignment.  Use total_raw_size
to compute AIX push_p.  Use reg_size to compute {cr,lr}_save_offset.
(rs6000_output_load_toc_table): Reverse init_ptr assignment.  Use
TARGET_64BIT not TARGET_POWERPC64.  Convert fprintf to fputs.
Load GOT highpart, don't add it.  Add lowpart with {cal|la}.
(rs6000_allocate_stack_space): Use {cal|la}.
(output_epilog): Use {cal|la}
(output_function_profiler): Add call glue to mcount call.
Load GOT highpart, don't add it.  Add lowpart with {cal|la}.
* rs6000/rs6000.h (TARGET_SWITCHES): Add powerpc64.
(STACK_BOUNDARY): Depend on TARGET_32BIT.
(ADJUST_FIELD_ALIGN): Calculate array alignment using innermost type.
(CONST_OK_FOR_LETTER_P): Don't assume 32-bit CONST_INT.
(EXTRA_CONSTRAINTS): Remove NT 'S' and 'T'.  Replace 'S' with
64-bit mask operand.
(RS6000_SAVE_TOC): Depend on TARGET_32BIT.
(STACK_SAVEAREA_MODE): New macro.
(LEGITIMATE_CONSTANT_P): DImode okay for 64bit.
(LEGITIMIZE_RELOAD_ADDRESS): New macro.
(RTX_COSTS, AND/IOR/XOR): Reflect current machine description.
(ASM_FILE_START): Emit 64-bit ABI directive.
(ASM_DECLARE_FUNCTION_NAME): Align CSECT on doubleword in 64-bit mode.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY): DImode okay for 64-bit.
(PREDICATE_CODES): Add "and64_operand" and "mask64_operand".
Delete "non_and_cint_operand".  "input_operand" includes CONST_DOUBLE.
* rs6000/rs6000.md (iorsi3, xorsi3): Use HOST_WIDE_INT for mask.
Restore define_splits.
(floatsidf2, floatunssidf2): Remove !TARGET_POWERPC64 final constraint.
(floatsidf2_internal, floatunssidf2_internal2): Likewise.
Do not specify base register operand mode.
(floatsidf2_loadaddr): Do not specify base register operand mode.
(floatsidf2_store1, floatsidf2_store2): Operand 1 must be base
register; do not specify mode.  Remove !TARGET_POWERPC64 final
constraint.
(floatsidf2_load): Do not specify base register operand mode.  Remove
!TARGET_POWERPC64 final constraint.
(fix_truncdfsi2_internal, fix_truncdfsi2_{store,load}): Do not specify
base register operand mode.
(adddi3): Split large constants early.
(absdi3): Shift by 63, not 31.
(*mulsidi3_ppc64): New pattern.
(rotldi3): Add masking combiner patterns.
(anddi3): Add rldic{r,l} masking.  Remove split of large constants
because PPC insns zero-extend.
(iordi3, xordi3): Split large constants early.
(movsi matcher): Remove S and T constraints.
(movsf const_double): create SImode constant from TARGET_DOUBLE.
(movdf_hardfloat32): Add default abort() case.
(movdf easy_fp_const): create DImode constant from TARGET_DOUBLE.
(movdi): Remove 64-bit constant generator.  Try to convert
CONST_DOUBLE to CONST_INT.  Handle TOC memory constants.
(movdi_32): Add default abort() case.
(movdi_64): Add numerous ways to split 64-bit constants.
Make catch-all define_split more optimal and never FAIL.
(movti_ppc64): Add default abort() case.
(allocate_stack): Remove operand modes.  Use Pmode.
(restore_stack_block): Remove operand modes.  Generate Pmode
temporary.
(save_stack_nonlocal, restore_stack_nonlocal):  Generate Pmode
temporary.  Save area is double Pmode.
(call_indirect_aix64, call_value_indirect_aix64): New patterns.
(call, call_value): Do not specify address operand mode.  Choose
appropriate AIX ABI.
(*call_local64, *ret_call_local64): New patterns.
(*call_nonlocal_aix64, *ret_call_nonlocal_aix64): New patterns.
(*ret_call_nonlocal_aix32): Use call_value_indirect for REG.
(compare): Materialize DImode truthvalues.

From-SVN: r20229

26 years agonew
Jason Merrill [Thu, 4 Jun 1998 11:45:42 +0000 (07:45 -0400)]
new

From-SVN: r20228

26 years ago* tree.c (really_overloaded_fn): Only see through one TREE_LIST.
Jason Merrill [Thu, 4 Jun 1998 11:45:17 +0000 (11:45 +0000)]
* tree.c (really_overloaded_fn): Only see through one TREE_LIST.

From-SVN: r20227

26 years agonew
Jason Merrill [Thu, 4 Jun 1998 11:16:03 +0000 (07:16 -0400)]
new

From-SVN: r20226

26 years agocom.c (ffecom_init_0): Fix setup of INTEGER(KIND=7) pointer type.
Craig Burley [Thu, 4 Jun 1998 10:41:23 +0000 (06:41 -0400)]
com.c (ffecom_init_0): Fix setup of INTEGER(KIND=7) pointer type.

Mon Jun  1 19:37:42 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_init_0): Fix setup of INTEGER(KIND=7)
pointer type.
* info.c (ffeinfo_type): Don't crash on null type.
* expr.c (ffeexpr_fulfill_call_): Don't special-case
%LOC(expr) or LOC(expr).
Delete FFEGLOBAL_argsummaryPTR.
* global.c, global.h: Delete FFEGLOBAL_argsummaryPTR.

From-SVN: r20225

26 years agortti5.C float1.C were duplicated as 980310-2.C, 980310-C.
Robert Lipe [Thu, 4 Jun 1998 08:29:07 +0000 (08:29 +0000)]
rtti5.C float1.C were duplicated as 980310-2.C, 980310-C.

rtti5.C float1.C were duplicated as 980310-2.C, 980310-C.   Deleted
the former.

From-SVN: r20224

26 years agotweak
Jason Merrill [Thu, 4 Jun 1998 02:27:45 +0000 (22:27 -0400)]
tweak

From-SVN: r20223

26 years agorestore
Jason Merrill [Thu, 4 Jun 1998 02:26:15 +0000 (22:26 -0400)]
restore

From-SVN: r20222

26 years agodecl2.c (do_toplevel_using_decl): When decl is a TYPE_DECL, treat it as using ::decl.
Martin v. Löwis [Thu, 4 Jun 1998 02:13:29 +0000 (22:13 -0400)]
decl2.c (do_toplevel_using_decl): When decl is a TYPE_DECL, treat it as using ::decl.

* decl2.c (do_toplevel_using_decl): When decl is a TYPE_DECL,
treat it as using ::decl.

From-SVN: r20221

26 years agoupdate
Jason Merrill [Thu, 4 Jun 1998 01:49:32 +0000 (21:49 -0400)]
update

From-SVN: r20220

26 years ago* decl2.c (arg_assoc_type): Process unknown_type_node and OFFSET_TYPE.
Martin v. Löwis [Thu, 4 Jun 1998 01:35:57 +0000 (21:35 -0400)]
* decl2.c (arg_assoc_type): Process unknown_type_node and OFFSET_TYPE.

From-SVN: r20219

26 years agoerror.c (dump_expr): Clean up NEW_EXPR case.
Jason Merrill [Thu, 4 Jun 1998 01:33:03 +0000 (21:33 -0400)]
error.c (dump_expr): Clean up NEW_EXPR case.

* error.c (dump_expr): Clean up NEW_EXPR case.
* tree.c (mapcar): Support NEW_EXPR.
* error.c (dump_expr): Support NEW_EXPR.
* decl2.c (arg_assoc_type): Return 0 for LANG_TYPE.

From-SVN: r20218

26 years agoDaily bump.
Jeff Law [Thu, 4 Jun 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20217

26 years ago* gcc.c-torture/execute/980604-1.c: New test.
Jeffrey A Law [Thu, 4 Jun 1998 00:40:23 +0000 (00:40 +0000)]
* gcc.c-torture/execute/980604-1.c: New test.

From-SVN: r20216

26 years agomethod.c (make_thunk): Use overload machinery to make name.
Jason Merrill [Thu, 4 Jun 1998 00:34:57 +0000 (00:34 +0000)]
method.c (make_thunk): Use overload machinery to make name.

* method.c (make_thunk): Use overload machinery to make name.
* search.c (covariant_return_p): New fn.
(get_matching_virtual): Use it.
* init.c (build_new_1): Fix check for void.

From-SVN: r20215

26 years agoexpr.c (safe_from_p): Avoid combinatorial explosion over duplicate SAVE_EXPRs by...
Craig Burley [Thu, 4 Jun 1998 00:30:40 +0000 (20:30 -0400)]
expr.c (safe_from_p): Avoid combinatorial explosion over duplicate SAVE_EXPRs by ensuring we never...

        * expr.c (safe_from_p): Avoid combinatorial explosion
        over duplicate SAVE_EXPRs by ensuring we never recurse
        on one that has already been visited.

From-SVN: r20214

26 years agoloop.c (check_dbra_loop): Initialise final_value before normalizing the loop.
Graham Stott [Thu, 4 Jun 1998 00:01:28 +0000 (18:01 -0600)]
loop.c (check_dbra_loop): Initialise final_value before normalizing the loop.

        * loop.c (check_dbra_loop): Initialise final_value before
        normalizing the loop.

From-SVN: r20213

26 years agocom.c (ffecom_expr_): Fix D**I and Z**I cases to not convert (DOUBLE PRECISION) D...
Craig Burley [Wed, 3 Jun 1998 14:13:06 +0000 (14:13 +0000)]
com.c (ffecom_expr_): Fix D**I and Z**I cases to not convert (DOUBLE PRECISION) D and (DOUBLE...

Mon May 25 03:34:42 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_expr_): Fix D**I and Z**I cases to
not convert (DOUBLE PRECISION) D and (DOUBLE COMPLEX) Z
to INTEGER.  (This is dead code here anyway.)

From-SVN: r20212

26 years ago(ffecom_expr_): Fix D**I and Z**I cases to not convert (DOUBLE PRECISION) D and ...
Craig Burley [Wed, 3 Jun 1998 14:12:26 +0000 (14:12 +0000)]
(ffecom_expr_): Fix D**I and Z**I cases to not convert (DOUBLE PRECISION) D and (DOUBLE COMPLEX) Z to INTEGER.

(ffecom_expr_): Fix D**I and Z**I cases to
not convert (DOUBLE PRECISION) D and (DOUBLE COMPLEX) Z
to INTEGER.  (This is dead code here anyway.)

From-SVN: r20211

26 years agoreload1.c (reload_reg_free_for_value_p): New arguments out and reloadnum.
J"orn Rennecke [Wed, 3 Jun 1998 12:03:35 +0000 (12:03 +0000)]
reload1.c (reload_reg_free_for_value_p): New arguments out and reloadnum.

* reload1.c (reload_reg_free_for_value_p): New arguments out and
reloadnum.  Changed all callers.

From-SVN: r20210

26 years agoAdd _() and N_() macros.
Ulrich Drepper [Wed, 3 Jun 1998 09:14:21 +0000 (09:14 +0000)]
Add _() and N_() macros.

From-SVN: r20209

26 years agoThis is a more workable makefile
Bruce Korb [Wed, 3 Jun 1998 07:29:13 +0000 (07:29 +0000)]
This is a more workable makefile

From-SVN: r20208

26 years agoc-common.c (check_format_info): Put back check for C9x `hh' length modifier.
Andreas Schwab [Wed, 3 Jun 1998 02:13:21 +0000 (02:13 +0000)]
c-common.c (check_format_info): Put back check for C9x `hh' length modifier.

* c-common.c (check_format_info): Put back check for C9x `hh'
length modifier.  Warn about %n format writing into const.  Remove
obsolete comment.
(format_char_info): Fix comments.

From-SVN: r20207

26 years agoconfigure.in: Set float_format to m68k for all m68k targets that do not override...
Andreas Schwab [Wed, 3 Jun 1998 02:06:31 +0000 (02:06 +0000)]
configure.in: Set float_format to m68k for all m68k targets that do not override...

* configure.in: Set float_format to m68k for all m68k targets that
do not override LONG_DOUBLE_TYPE_SIZE.
* config/float-m68k.h: New file.

From-SVN: r20206

26 years agoconfigure.in: Set float_format to m68k for all m68k targets that do not override...
Andreas Schwab [Wed, 3 Jun 1998 01:56:57 +0000 (01:56 +0000)]
configure.in: Set float_format to m68k for all m68k targets that do not override...

* configure.in: Set float_format to m68k for all m68k targets that
do not override LONG_DOUBLE_TYPE_SIZE.
* config/float-m68k.h: New file.

From-SVN: r20205

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

From-SVN: r20204

26 years agojump.c (jump_optimize): Remove debug messages accidentally left in with the previous...
Richard Henderson [Tue, 2 Jun 1998 23:12:06 +0000 (16:12 -0700)]
jump.c (jump_optimize): Remove debug messages accidentally left in with the previous change.

* jump.c (jump_optimize): Remove debug messages accidentally left in
with the previous change.

From-SVN: r20203

26 years agoFix typo in last change change.
Jeff Law [Tue, 2 Jun 1998 22:59:45 +0000 (16:59 -0600)]
Fix typo in last change change.

From-SVN: r20202

26 years agoexpr.c (store_expr): Revert stray patch associated with 1998-05-23 commit.
Richard Henderson [Tue, 2 Jun 1998 22:48:51 +0000 (15:48 -0700)]
expr.c (store_expr): Revert stray patch associated with 1998-05-23 commit.

* expr.c (store_expr): Revert stray patch associated with
1998-05-23 commit.

From-SVN: r20201

26 years agojump.c (rtx_unsafe_p): New function.
Richard Henderson [Tue, 2 Jun 1998 22:03:22 +0000 (15:03 -0700)]
jump.c (rtx_unsafe_p): New function.

        * jump.c (rtx_unsafe_p): New function.
        (jump_optimize): Use it on if/then/else transformations and
        conditional move transformations.

From-SVN: r20200

26 years agoNew test.
Jeffrey A Law [Tue, 2 Jun 1998 21:54:22 +0000 (21:54 +0000)]
New test.

From-SVN: r20199

26 years agofold-const.c (fold, [...]): When folding VAR++ == CONST or VAR-- == CONST construct...
Andreas Schwab [Tue, 2 Jun 1998 21:53:37 +0000 (21:53 +0000)]
fold-const.c (fold, [...]): When folding VAR++ == CONST or VAR-- == CONST construct a proper mask if...

        * fold-const.c (fold, case EQ_EXPR): When folding VAR++ == CONST
        or VAR-- == CONST construct a proper mask if VAR is a bitfield.
        Cope with CONST being out of range for the bitfield.

From-SVN: r20198

26 years agoMakefile.in (site.exp): Use the object testsuite directory as the temporary directory.
Jeffrey A Law [Tue, 2 Jun 1998 21:48:43 +0000 (21:48 +0000)]
Makefile.in (site.exp): Use the object testsuite directory as the temporary directory.

        * Makefile.in (site.exp): Use the object testsuite directory as
        the temporary directory.

From-SVN: r20197

26 years agoCorrect typo in "OPtions"
Robert Lipe [Tue, 2 Jun 1998 21:37:21 +0000 (21:37 +0000)]
Correct typo in "OPtions"

From-SVN: r20196

26 years agoexpr.c (emit_move_insn_1): When moving complex values in several steps...
Bernd Schmidt [Tue, 2 Jun 1998 21:30:26 +0000 (21:30 +0000)]
expr.c (emit_move_insn_1): When moving complex values in several steps...

        * expr.c (emit_move_insn_1): When moving complex values in several
        steps, emit a CLOBBER to show the destination dies.
Re-add patch.

From-SVN: r20195

26 years agoRandom tweaks.
Jeff Law [Tue, 2 Jun 1998 21:26:02 +0000 (15:26 -0600)]
Random tweaks.

From-SVN: r20194

26 years agoexpr.c (expand_expr, [...]): Handle taking the address of an ADDRESSOF rtx.
Jeffrey A Law [Tue, 2 Jun 1998 21:16:10 +0000 (21:16 +0000)]
expr.c (expand_expr, [...]): Handle taking the address of an ADDRESSOF rtx.

        * expr.c (expand_expr, case ADDR_EXPR): Handle taking the
        address of an ADDRESSOF rtx.

From-SVN: r20193

26 years agoexpr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE.
Mike Stump [Tue, 2 Jun 1998 20:11:21 +0000 (20:11 +0000)]
expr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE.

        * expr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE.
        * i960.h (SETUP_FRAME_ADDRESSES, BUILTIN_SETJMP_FRAME_VALUE): Define.
        * i960.md (ret, flush_register_windows): Define.
        (nonlocal_goto): Likewise.  Nested function nonlocal gotos don't
        work yet.
        * tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Document new macro.

From-SVN: r20192

26 years agoPer Martin.
Robert Lipe [Tue, 2 Jun 1998 20:10:23 +0000 (20:10 +0000)]
Per Martin.

From-SVN: r20191

26 years agoMore patches from Martin.
Robert Lipe [Tue, 2 Jun 1998 20:01:42 +0000 (20:01 +0000)]
More patches from Martin.

From-SVN: r20190

26 years agoCorrections, per Martin.
Robert Lipe [Tue, 2 Jun 1998 20:00:24 +0000 (20:00 +0000)]
Corrections, per Martin.

From-SVN: r20189

26 years agoRemove syntax error, turns into an ICE.
Robert Lipe [Tue, 2 Jun 1998 19:55:39 +0000 (19:55 +0000)]
Remove syntax error, turns into an ICE.

From-SVN: r20188

26 years ago* gcc.c-torture/execute/980602-1.c: New test.
Jeffrey A Law [Tue, 2 Jun 1998 19:53:46 +0000 (19:53 +0000)]
* gcc.c-torture/execute/980602-1.c: New test.

From-SVN: r20187

26 years agoQuoting Martin:
Robert Lipe [Tue, 2 Jun 1998 19:47:20 +0000 (19:47 +0000)]
Quoting Martin:

The semantics of this test case are implementation-defined, as per
[lib.support.types]/4. Therefore, I propose to delete it.

From-SVN: r20186

26 years agoQuoting Martin:
Robert Lipe [Tue, 2 Jun 1998 19:45:48 +0000 (19:45 +0000)]
Quoting Martin:

[ eb47, eb53, eb89 ] build standard templates from reference types,
which is illegal.
Unfortunately, they all give errors for lines in library headers,
which I can't test for.
Therefore, I suggest to remove all of them, and replace it with
the [eb128.C]

From-SVN: r20185

26 years agoeb47.C eb53.C eb89.C, quoting Martin:
Robert Lipe [Tue, 2 Jun 1998 19:44:07 +0000 (19:44 +0000)]
eb47.C eb53.C eb89.C, quoting Martin:

These three test cases all build standard templates from reference types,
which is illegal.
Unfortunately, they all give errors for lines in library headers,
which I can't test for.
Therefore, I suggest to remove all of them, and replace it with
[eb128.c]

From-SVN: r20184

26 years agoalpha.md (divsi3, [...]): Enable, and work around an OSF/1 library bug wrt sign-exten...
Richard Henderson [Tue, 2 Jun 1998 15:37:34 +0000 (08:37 -0700)]
alpha.md (divsi3, [...]): Enable, and work around an OSF/1 library bug wrt sign-extension of inputs.

        * alpha.md (divsi3, udivsi3, modsi3, umodsi3): Enable, and work
        around an OSF/1 library bug wrt sign-extension of inputs.

From-SVN: r20183

26 years ago* vax/netbsd.h (DWARF2_UNWIND_INFO): Must be undef, not defined 0.
Richard Henderson [Tue, 2 Jun 1998 12:59:23 +0000 (05:59 -0700)]
* vax/netbsd.h (DWARF2_UNWIND_INFO): Must be undef, not defined 0.

From-SVN: r20182

26 years agoupdate generated files
Bruce Korb [Tue, 2 Jun 1998 07:02:02 +0000 (07:02 +0000)]
update generated files

From-SVN: r20181

26 years agoFix variable name to match inclhack shell script
Bruce Korb [Tue, 2 Jun 1998 07:00:13 +0000 (07:00 +0000)]
Fix variable name to match inclhack shell script

From-SVN: r20180

26 years ago970125-0.f: Fix per JCB.
Dave Love [Tue, 2 Jun 1998 02:48:29 +0000 (02:48 +0000)]
970125-0.f: Fix per JCB.

1998-06-02  Dave Love  <d.love@dl.ac.uk>
* 970125-0.f: Fix per JCB.  Add commentary.

From-SVN: r20179

26 years agoFix per JCB. Add commentary.
Dave Love [Tue, 2 Jun 1998 02:44:48 +0000 (02:44 +0000)]
Fix per JCB.  Add commentary.

From-SVN: r20178

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

From-SVN: r20177

26 years agocp-tree.h (TYPE_FOR_JAVA): New macro.
Per Bothner [Mon, 1 Jun 1998 18:25:37 +0000 (11:25 -0700)]
cp-tree.h (TYPE_FOR_JAVA): New macro.


* cp-tree.h (TYPE_FOR_JAVA):  New macro.
* decl.c, cp-tree.h (java_byte_type_node, java_short_type_node,
java_int_type_node, java_long_type_node, java_float_type_node,
java_double_type_node, java_char_type_node, java_boolean_type_node):
New "primitive" types, with predefined names __java_byte etc.
(record_builtin_java_type):  New function.
(init_decl_processing):  Make Java types with record_builtin_java_type.
(pushtag, grokdeclarator):  Set TYPE_FOR_JAVA if in extern "JAVA".
(xref_baseypes):  If base class was TYPE_FOR_JAVA, so is this class.
(grokfndecl):  Call check_java_method for Java classes.
* method.c (is_java_type):  Removed.  Replaced with TYPE_FOR_JAVA.
(process_overload_item):  Match types against specific
java_XX_type_node types, rather than using is_java_type.
* class.c (finish_struct_1):  Don't add default copy constructor
or operator= if TYPE_FOR_JAVA.
(pop_lang_conext):  Restore strict_prototyp proper if Java.
* decl2.c (acceptable_java_type, check_java_method):  New functions.
* pt.c (instantiate_class_template):  Copy TYPE_FOR_JAVA from pattern.
(tsubst):  Move common statement after if statement.
* typeck.c (comptypes):  If strict, TYPE_FOR_JAVA must match.

From-SVN: r20176

26 years agocp-tree.h (TYPE_FOR_JAVA): New macro.
Per Bothner [Mon, 1 Jun 1998 18:25:35 +0000 (11:25 -0700)]
cp-tree.h (TYPE_FOR_JAVA): New macro.

a
* cp-tree.h (TYPE_FOR_JAVA):  New macro.
* decl.c, cp-tree.h (java_byte_type_node, java_short_type_node,
java_int_type_node, java_long_type_node, java_float_type_node,
java_double_type_node, java_char_type_node, java_boolean_type_node):
New "primitive" types, with predefined names __java_byte etc.
(record_builtin_java_type):  New function.
(init_decl_processing):  Make Java types with record_builtin_java_type.
(pushtag, grokdeclarator):  Set TYPE_FOR_JAVA if in extern "JAVA".
(xref_baseypes):  If base class was TYPE_FOR_JAVA, so is this class.
(grokfndecl):  Call check_java_method for Java classes.
* method.c (is_java_type):  Removed.  Replaced with TYPE_FOR_JAVA.
(process_overload_item):  Match types against specific
java_XX_type_node types, rather than using is_java_type.
* class.c (finish_struct_1):  Don't add default copy constructor
or operator= if TYPE_FOR_JAVA.
(pop_lang_conext):  Restore strict_prototyp proper if Java.
* decl2.c (acceptable_java_type, check_java_method):  New functions.
* pt.c (instantiate_class_template):  Copy TYPE_FOR_JAVA from pattern.
(tsubst):  Move common statement after if statement.
* typeck.c (comptypes):  If strict, TYPE_FOR_JAVA must match.

From-SVN: r20175

26 years agocp-tree.h (TYPE_FOR_JAVA): New macro.
Per Bothner [Mon, 1 Jun 1998 18:25:34 +0000 (11:25 -0700)]
cp-tree.h (TYPE_FOR_JAVA): New macro.

d
* cp-tree.h (TYPE_FOR_JAVA):  New macro.
* decl.c, cp-tree.h (java_byte_type_node, java_short_type_node,
java_int_type_node, java_long_type_node, java_float_type_node,
java_double_type_node, java_char_type_node, java_boolean_type_node):
New "primitive" types, with predefined names __java_byte etc.
(record_builtin_java_type):  New function.
(init_decl_processing):  Make Java types with record_builtin_java_type.
(pushtag, grokdeclarator):  Set TYPE_FOR_JAVA if in extern "JAVA".
(xref_baseypes):  If base class was TYPE_FOR_JAVA, so is this class.
(grokfndecl):  Call check_java_method for Java classes.
* method.c (is_java_type):  Removed.  Replaced with TYPE_FOR_JAVA.
(process_overload_item):  Match types against specific
java_XX_type_node types, rather than using is_java_type.
* class.c (finish_struct_1):  Don't add default copy constructor
or operator= if TYPE_FOR_JAVA.
(pop_lang_conext):  Restore strict_prototyp proper if Java.
* decl2.c (acceptable_java_type, check_java_method):  New functions.
* pt.c (instantiate_class_template):  Copy TYPE_FOR_JAVA from pattern.
(tsubst):  Move common statement after if statement.
* typeck.c (comptypes):  If strict, TYPE_FOR_JAVA must match.

From-SVN: r20174

26 years agosh.h (MAX_OFILE_ALIGNMENT): Define.
Catherine Moore [Mon, 1 Jun 1998 14:25:44 +0000 (14:25 +0000)]
sh.h (MAX_OFILE_ALIGNMENT): Define.

        * config/sh/sh.h (MAX_OFILE_ALIGNMENT): Define.
        * varasm.c (assemble_variable): Augment alignment warning.

From-SVN: r20173

26 years agoMuch simplified version from Martin.
Robert Lipe [Mon, 1 Jun 1998 12:01:29 +0000 (12:01 +0000)]
Much simplified version from Martin.

From-SVN: r20172

26 years ago* pt.c (for_each_template_parm): Use first_rtl_op.
Jason Merrill [Mon, 1 Jun 1998 11:09:17 +0000 (11:09 +0000)]
* pt.c (for_each_template_parm): Use first_rtl_op.

From-SVN: r20171

26 years agoAdd better error text.
Robert Lipe [Mon, 1 Jun 1998 10:16:16 +0000 (10:16 +0000)]
Add better error text.

From-SVN: r20170

26 years agoFix IEEE negative zero problems
Michael Meissner [Mon, 1 Jun 1998 09:15:23 +0000 (09:15 +0000)]
Fix IEEE negative zero problems

From-SVN: r20169

26 years agoMore changes from Martin.
Robert Lipe [Mon, 1 Jun 1998 09:10:43 +0000 (09:10 +0000)]
More changes from Martin.

From-SVN: r20168

26 years agoAdditional changes from Martin.
Robert Lipe [Mon, 1 Jun 1998 09:09:55 +0000 (09:09 +0000)]
Additional changes from Martin.

From-SVN: r20167

26 years agoAnother round of improvements from Martin.
Robert Lipe [Mon, 1 Jun 1998 08:24:42 +0000 (08:24 +0000)]
Another round of improvements from Martin.

From-SVN: r20166

26 years agoIdentical to eb56. Removed.
Robert Lipe [Mon, 1 Jun 1998 08:07:33 +0000 (08:07 +0000)]
Identical to eb56.   Removed.

From-SVN: r20165

26 years agotree.c (build_cplus_array_type_1): Also check index_type for template parms.
Jason Merrill [Mon, 1 Jun 1998 02:04:10 +0000 (02:04 +0000)]
tree.c (build_cplus_array_type_1): Also check index_type for template parms.

* tree.c (build_cplus_array_type_1): Also check index_type for
template parms.

From-SVN: r20164

26 years agoDaily bump.
Jeff Law [Mon, 1 Jun 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20163

26 years ago* tlist.cc, tvector.cc, tmap.cc: Remove explicit instantiations.
Jason Merrill [Mon, 1 Jun 1998 00:41:51 +0000 (00:41 +0000)]
* tlist.cc, tvector.cc, tmap.cc: Remove explicit instantiations.

From-SVN: r20162

26 years agowarn_summary: Update to Kaveh's latest version allowing to specify the last stage...
Manfred Hollstein [Mon, 1 Jun 1998 00:26:36 +0000 (00:26 +0000)]
warn_summary: Update to Kaveh's latest version allowing to specify the last stage built.

* warn_summary: Update to Kaveh's latest version allowing to
specify the last stage built.

From-SVN: r20161

26 years agowarn_summary: Update to Kaveh's latest version allowing to specify the last stage...
Manfred Hollstein [Mon, 1 Jun 1998 00:26:35 +0000 (00:26 +0000)]
warn_summary: Update to Kaveh's latest version allowing to specify the last stage built.


* warn_summary: Update to Kaveh's latest version allowing to
specify the last stage built.

From-SVN: r20160

26 years agonew
Jason Merrill [Sun, 31 May 1998 23:57:47 +0000 (19:57 -0400)]
new

From-SVN: r20159

26 years ago* pt.c (tsubst): Always copy BINFO_BASETYPES.
Jason Merrill [Sun, 31 May 1998 23:26:58 +0000 (23:26 +0000)]
* pt.c (tsubst): Always copy BINFO_BASETYPES.

From-SVN: r20158

26 years agoMark call to sort() as error, per Alexandre Oliva.
Robert Lipe [Sun, 31 May 1998 22:21:26 +0000 (22:21 +0000)]
Mark call to sort() as error, per Alexandre Oliva.

From-SVN: r20157

26 years agoMartin said:
Robert Lipe [Sun, 31 May 1998 21:08:03 +0000 (21:08 +0000)]
Martin said:

This is illegal C++, and egcs detects that.

From-SVN: r20156

26 years agoMartin says:
Robert Lipe [Sun, 31 May 1998 21:06:44 +0000 (21:06 +0000)]
Martin says:

AFAIK, g++ does not support array initialization (anymore?).

From-SVN: r20155

26 years agoAdditional changes from Martin.
Robert Lipe [Sun, 31 May 1998 20:47:52 +0000 (20:47 +0000)]
Additional changes from Martin.

From-SVN: r20154

26 years agoAdditional changes from Martin von Loewis.
Robert Lipe [Sun, 31 May 1998 20:47:01 +0000 (20:47 +0000)]
Additional changes from Martin von Loewis.

From-SVN: r20153

26 years agoAdd minus zero test
Michael Meissner [Sun, 31 May 1998 20:31:09 +0000 (20:31 +0000)]
Add minus zero test

From-SVN: r20152

26 years agoreload.c (find_reloads): Record the existing mode if operand_mode == VOIDmode before...
John Wehle [Sun, 31 May 1998 15:13:36 +0000 (15:13 +0000)]
reload.c (find_reloads): Record the existing mode if operand_mode == VOIDmode before replacing a...

        * reload.c (find_reloads): Record the existing mode if
        operand_mode == VOIDmode before replacing a register with
        a constant.
        * i386.md (tstsi, tsthi, tstqi, tstsf, tstdf, tstxf): Set
        i386_compare_op1 to const0_rtx for the benefit of the
        conditional move patterns.
        (movsicc, movhicc, movsfcc, movdfcc, movxfcc, movdicc): Rewrite
        based on suggestions from Jim Wilson.

From-SVN: r20151

26 years agoDaily bump.
Jeff Law [Sun, 31 May 1998 00:45:34 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20150

26 years agoBump for snapshot
Jeffrey A Law [Sun, 31 May 1998 00:44:04 +0000 (18:44 -0600)]
Bump for snapshot

From-SVN: r20148

26 years ago* Makefile.in (fixinc.sh): Update rules again.
Bruce Korb [Sat, 30 May 1998 23:35:55 +0000 (17:35 -0600)]
* Makefile.in (fixinc.sh): Update rules again.

From-SVN: r20147

26 years ago* extend.texi: Bring back reference to trampoline paper.
Jeff Law [Sat, 30 May 1998 23:29:42 +0000 (17:29 -0600)]
* extend.texi: Bring back reference to trampoline paper.

From-SVN: r20146

26 years agoMakefile.in (USER_H): Add stdbool.h.
Jeff Law [Sat, 30 May 1998 23:24:33 +0000 (17:24 -0600)]
Makefile.in (USER_H): Add stdbool.h.

        * Makefile.in (USER_H): Add stdbool.h.
        * ginclude/stdbool.h: New file.

From-SVN: r20145

26 years ago* configure.in (checkfuncs): Add missing "'".
Mumit Khan [Sat, 30 May 1998 23:19:36 +0000 (23:19 +0000)]
* configure.in (checkfuncs): Add missing "'".

From-SVN: r20144

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

From-SVN: r20143

26 years agotree.c (layout_basetypes): If we change TYPE_SIZE, change TYPE_SIZE_UNIT too.
Scott Snyder [Fri, 29 May 1998 23:17:23 +0000 (19:17 -0400)]
tree.c (layout_basetypes): If we change TYPE_SIZE, change TYPE_SIZE_UNIT too.

* tree.c (layout_basetypes): If we change TYPE_SIZE, change
TYPE_SIZE_UNIT too.

From-SVN: r20142

26 years agochanges
Bruce Korb [Fri, 29 May 1998 14:58:40 +0000 (14:58 +0000)]
changes

From-SVN: r20141

26 years agofixes from six months of fixincludes hacking
Bruce Korb [Fri, 29 May 1998 14:54:55 +0000 (14:54 +0000)]
fixes from six months of fixincludes hacking

From-SVN: r20140

26 years agodecl.c (grokdeclarator): Don't complain about in-class initialization of static const...
Mark Mitchell [Fri, 29 May 1998 14:19:11 +0000 (14:19 +0000)]
decl.c (grokdeclarator): Don't complain about in-class initialization of static consts if...

* decl.c (grokdeclarator): Don't complain about in-class
initialization of static consts if we don't really know the type
of the variable.

From-SVN: r20139

26 years agoPick up a few scraggling files that missed my first add/commit cycle.
Robert Lipe [Fri, 29 May 1998 08:10:44 +0000 (08:10 +0000)]
Pick up a few scraggling files that missed my first add/commit cycle.

From-SVN: r20138

26 years agoMove the ERROR lines to where the errors actually are.
Robert Lipe [Fri, 29 May 1998 07:48:37 +0000 (07:48 +0000)]
Move the ERROR lines to where the errors actually are.

From-SVN: r20137

26 years agocp-tree.h (DECL_DESTRUCTOR_P): New macro.
Jason Merrill [Fri, 29 May 1998 02:33:54 +0000 (22:33 -0400)]
cp-tree.h (DECL_DESTRUCTOR_P): New macro.

* cp-tree.h (DECL_DESTRUCTOR_P): New macro.
* method.c (build_destructor_name): New fn.
* decl2.c (maybe_retrofit_in_chrg): Split out...
(grokclassfn): From here.  Reorganize.
* decl.c (grok_ctor_properties): Make sure ctors for types with
vbases have the in_chrg parm.
* pt.c (instantiate_class_template): Update
TYPE_USES_VIRTUAL_BASECLASSES from tsubsted bases.  Don't call
grok_*_properties.
(tsubst): Call grok_ctor_properties and maybe_retrofit_in_chrg.
* pt.c (instantiate_decl): Make test for whether or not static
variables should be instantiated early match its comment.

From-SVN: r20136

26 years agojump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER of a non-note insn.
Jeffrey A Law [Fri, 29 May 1998 01:01:21 +0000 (01:01 +0000)]
jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER of a non-note insn.

        * jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER
        of a non-note insn.

From-SVN: r20135

26 years agogcse.c (pre_delete): Fix code to determine the mode of the reaching pseudo register.
Jeffrey A Law [Fri, 29 May 1998 00:50:16 +0000 (00:50 +0000)]
gcse.c (pre_delete): Fix code to determine the mode of the reaching pseudo register.

        * gcse.c (pre_delete): Fix code to determine the mode of
        the reaching pseudo register.

From-SVN: r20134

26 years agoDaily bump.
Jeff Law [Fri, 29 May 1998 00:45:32 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r20133