platform/upstream/gcc.git
25 years agoDaily bump.
Jeff Law [Mon, 5 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22830

25 years agoMakefile.in (s-libi77): Depend on i77.
H.J. Lu [Mon, 5 Oct 1998 00:17:29 +0000 (00:17 +0000)]
Makefile.in (s-libi77): Depend on i77.

        * Makefile.in (s-libi77): Depend on i77.
        (s-libf77): Depend on i77.
        (s-libu77): Depend on u77.

From-SVN: r22829

25 years agoexpmed.c (expand_divmod): Don't widen for computing remainder if we seem to have...
Torbjorn Granlund [Mon, 5 Oct 1998 00:08:56 +0000 (02:08 +0200)]
expmed.c (expand_divmod): Don't widen for computing remainder if we seem to have a divmod pattern for...

        * expmed.c (expand_divmod): Don't widen for computing remainder
        if we seem to have a divmod pattern for needed mode.

From-SVN: r22828

25 years agocpplib.c (macroexpand): Correct off-by-one error in handling of escapes.
Zack Weinberg [Mon, 5 Oct 1998 00:03:35 +0000 (00:03 +0000)]
cpplib.c (macroexpand): Correct off-by-one error in handling of escapes.

        * cpplib.c (macroexpand): Correct off-by-one error in handling
        of escapes.

From-SVN: r22827

25 years agocombine.c (expand_field_assignment): Don't do bitwise operations on MODE_FLOAT; pun...
Richard Henderson [Sun, 4 Oct 1998 23:59:58 +0000 (16:59 -0700)]
combine.c (expand_field_assignment): Don't do bitwise operations on MODE_FLOAT; pun to MODE_INT if possible.

        * combine.c (expand_field_assignment): Don't do bitwise operations
        on MODE_FLOAT; pun to MODE_INT if possible.

From-SVN: r22826

25 years agoerrfn.c (cp_thing): Print buf as a string not as a printf format to avoid problems...
Theodore Papadopoulo [Sun, 4 Oct 1998 21:12:11 +0000 (23:12 +0200)]
errfn.c (cp_thing): Print buf as a string not as a printf format to avoid problems with the operator%.

* errfn.c (cp_thing): Print buf as a string not as a printf format
to avoid problems with the operator%. Consequently, `%%' sequences
in format are copied as `%' in buf.

From-SVN: r22825

25 years agopt.c (pop_tinst_level): Call extract_interface_info.
Jason Merrill [Sun, 4 Oct 1998 20:10:49 +0000 (20:10 +0000)]
pt.c (pop_tinst_level): Call extract_interface_info.

* pt.c (pop_tinst_level): Call extract_interface_info.
(instantiate_decl): Don't save and restore file position.
* decl.c (cp_finish_decl): Make statics in extern inlines and
templates common, if possible and the target doesn't support weak
symbols.

From-SVN: r22824

25 years agotlink.c (scan_linker_output): Recognize errors from irix 6.2 linker.
Jason Merrill [Sun, 4 Oct 1998 19:37:42 +0000 (19:37 +0000)]
tlink.c (scan_linker_output): Recognize errors from irix 6.2 linker.

* tlink.c (scan_linker_output): Recognize errors from irix 6.2
linker.  Recognize mangled names in quotes.

Co-Authored-By: Scott Snyder <snyder@fnal.gov>
From-SVN: r22823

25 years agoCorrect typo in robertl's most recent entry.
Robert Lipe [Sun, 4 Oct 1998 18:01:59 +0000 (18:01 +0000)]
Correct typo in robertl's most recent entry.

From-SVN: r22822

25 years agoupdate
Jason Merrill [Sun, 4 Oct 1998 16:21:01 +0000 (12:21 -0400)]
update

From-SVN: r22821

25 years agodecl.c (grokdeclarator): Remove redundant calls to build_type_variant and some duplic...
Jason Merrill [Sun, 4 Oct 1998 16:20:59 +0000 (16:20 +0000)]
decl.c (grokdeclarator): Remove redundant calls to build_type_variant and some duplicated code.

* decl.c (grokdeclarator): Remove redundant calls to
build_type_variant and some duplicated code.
* sig.c (build_signature_reference_type): Only take the type parm.
(build_signature_pointer_type): Likewise.
* tree.c (build_cplus_method_type): Adjust.
* cp-tree.h: Update.

From-SVN: r22820

25 years agomark XFAIL where appropriate
Alexandre Oliva [Sun, 4 Oct 1998 15:44:37 +0000 (15:44 +0000)]
mark XFAIL where appropriate

From-SVN: r22819

25 years agooverload5.C: New test...
Alexandre Oliva [Sun, 4 Oct 1998 15:31:58 +0000 (15:31 +0000)]
overload5.C: New test...

* g++.old-deja/g++.pt/overload5.C: New test; initialize variable
  with pointer to template function, for which no argument deduction
  is possible
* g++.old-deja/g++.pt/overload4.C: New test; passing pointer to
specialization of template function as argument to template
function
* g++.old-deja/g++.other/access2.C: New test; Inner class
shouldn't have privileged access to Outer's names

From-SVN: r22818

25 years agocall.c (build_over_call): Make pedwarns about dropped qualifiers into full-fledged...
Mark Mitchell [Sun, 4 Oct 1998 11:36:26 +0000 (11:36 +0000)]
call.c (build_over_call): Make pedwarns about dropped qualifiers into full-fledged errors.

* call.c (build_over_call): Make pedwarns about dropped qualifiers
into full-fledged errors.
* cvt.c (convert_to_reference): Likewise.
* typeck.c (convert_for_assignment): Likewise.

From-SVN: r22809

25 years agosearch.c (expand_upcast_vtables): In addition to unsetting TREE_READONLY, remove...
Mark Mitchell [Sun, 4 Oct 1998 11:17:08 +0000 (11:17 +0000)]
search.c (expand_upcast_vtables): In addition to unsetting TREE_READONLY, remove top-level const type qualifier.

* search.c (expand_upcast_vtables): In addition to unsetting
TREE_READONLY, remove top-level const type qualifier.

From-SVN: r22808

25 years agosparc.md (ashldi3+1): Name it ashldi3_sp64.
Jakub Jelinek [Sun, 4 Oct 1998 04:05:38 +0000 (06:05 +0200)]
sparc.md (ashldi3+1): Name it ashldi3_sp64.

        * config/sparc/sparc.md (ashldi3+1): Name it ashldi3_sp64.
(ashlsi3_const1, ashldi3_const1): New combiner patterns.
(ashrsi3_extend, ashrsi3_extend2): New combiner patterns.
(lshrsi3_extend, lshrsi3_extend2): Ditto.

From-SVN: r22805

25 years agofunction.c (purge_addressof_1): If trying to take a sub-word integral piece of a...
David S. Miller [Sun, 4 Oct 1998 01:29:21 +0000 (01:29 +0000)]
function.c (purge_addressof_1): If trying to take a sub-word integral piece of a floating point mode...

* function.c (purge_addressof_1): If trying to take a sub-word
integral piece of a floating point mode, put it on the stack.

From-SVN: r22804

25 years agoDaily bump.
Jeff Law [Sun, 4 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22803

25 years agoclass.c (current_class_ptr, [...]): Clarify documentation.
Mark Mitchell [Sat, 3 Oct 1998 23:11:19 +0000 (23:11 +0000)]
class.c (current_class_ptr, [...]): Clarify documentation.

* class.c (current_class_ptr, current_class_ref): Clarify
documentation.
* cvt.c (ocp_convert): Don't expect fold to remove all trivial
NOP type conversions.
* decl.c (decls_match): Use comptypes directly; ignore
qualifiers on the DECL.
(duplicate_decls): Remove qualifier checks on DECL.
(grokdeclarator): Make the type built up include top-level
qualifiers.
* decl2.c (do_dtors): Fix spelling error.
* error.c (dump_simple_decl): Don't look at qualifiers on the decl
when printing type information.
* init.c (build_new_1): Add documentation.  Deal with the fact
that type of allocated memory now contains qualifiers.
* lex.c (is_global): Improve error-recovery.
* sig.c (build_member_function_pointer): Don't cast away const
on fields of sigtable_entry_type.
* tree.c (lvalue_type): Don't look at top-level qualifiers on
expressions.
* typeck.c (decay_conversion): Likewise.
(build_component_ref): Make sure the type of the COMPONENT_REF
contains top-level qualifiers, as appropriate.  Improve
error-handling.
(build_indirect_ref): Simplify.  Don't strip top-level qualifiers.
(build_array_ref): Likewise.
(build_unary_op): Improve error-recovery.
(unary_complex_lvalue): Make taking the address a bound member
function an error, not a sorry.
(build_conditional_expr): Look at the type qualifiers, not the
qualifiers on the expression itself.

From-SVN: r22802

25 years agonew
Jason Merrill [Sat, 3 Oct 1998 22:59:10 +0000 (18:59 -0400)]
new

From-SVN: r22801

25 years agodecl2.c (merge_functions): Remove duplicates.
Jason Merrill [Sat, 3 Oct 1998 22:53:37 +0000 (22:53 +0000)]
decl2.c (merge_functions): Remove duplicates.

* decl2.c (merge_functions): Remove duplicates.
* decl2.c: Add -f{no-,}implicit-inline-templates.
(lang_decode_option): Unset it if -frepo.
(import_export_decl): Check it.
* decl.c (lookup_name_real): Template parms also take precedence
over implicit typename.  Only warn if yylex.

From-SVN: r22800

25 years ago* alpha/linux.h (CPP_PREDEFINES): Define __alpha__ for imake.
Richard Henderson [Sat, 3 Oct 1998 19:02:05 +0000 (12:02 -0700)]
* alpha/linux.h (CPP_PREDEFINES): Define __alpha__ for imake.

From-SVN: r22796

25 years agoupdate
Jason Merrill [Sat, 3 Oct 1998 16:49:31 +0000 (12:49 -0400)]
update

From-SVN: r22795

25 years agotypeck.c (build_conditional_expr): Only fold if ifexp is an INTEGER_CST.
Jason Merrill [Sat, 3 Oct 1998 15:56:25 +0000 (15:56 +0000)]
typeck.c (build_conditional_expr): Only fold if ifexp is an INTEGER_CST.

* typeck.c (build_conditional_expr): Only fold if ifexp is an
INTEGER_CST.

From-SVN: r22794

25 years agodecl2.c (finish_vtable_vardecl): Check DECL_INTERFACE_KNOWN instead of linkage.
Jason Merrill [Sat, 3 Oct 1998 15:46:48 +0000 (15:46 +0000)]
decl2.c (finish_vtable_vardecl): Check DECL_INTERFACE_KNOWN instead of linkage.

* decl2.c (finish_vtable_vardecl): Check DECL_INTERFACE_KNOWN
instead of linkage.

From-SVN: r22793

25 years agoPROJECTS: Remove template friends.
Jason Merrill [Sat, 3 Oct 1998 14:47:54 +0000 (14:47 +0000)]
PROJECTS: Remove template friends.

* PROJECTS: Remove template friends.
* collect2.c (sort_ids): Remove unused variable.
* tm.texi (MATH_LIBRARY): Document.
(NEED_MATH_LIBRARY): Remove.

From-SVN: r22792

25 years agovarasm.c (assemble_start_function, [...]): Do ASM_GLOBALIZE_LABEL for weak symbols...
Jason Merrill [Sat, 3 Oct 1998 14:43:47 +0000 (14:43 +0000)]
varasm.c (assemble_start_function, [...]): Do ASM_GLOBALIZE_LABEL for weak symbols, too.

* varasm.c (assemble_start_function, assemble_variable, weak_finish,
assemble_alias): Do ASM_GLOBALIZE_LABEL for weak symbols, too.

From-SVN: r22791

25 years agodwarf2out.c (expand_builtin_dwarf_reg_size): Initialize last_end to 0x7fffffff.
John Carr [Sat, 3 Oct 1998 13:21:10 +0000 (13:21 +0000)]
dwarf2out.c (expand_builtin_dwarf_reg_size): Initialize last_end to 0x7fffffff.

From-SVN: r22790

25 years agomark as crash failure
Alexandre Oliva [Sat, 3 Oct 1998 10:55:59 +0000 (10:55 +0000)]
mark as crash failure

From-SVN: r22773

25 years agofriend34.C: New test...
Alexandre Oliva [Sat, 3 Oct 1998 02:51:23 +0000 (02:51 +0000)]
friend34.C: New test...

* g++.old-deja/g++.pt/friend34.C: New test; name injection of
friend template declared within template class conflicts with
nested class of the same name
* g++.old-deja/g++.other/badopt1.C: New test; post-increment
  is ignored
* g++.old-deja/g++.other/decl1.C: New test; incorrect parsing of
object with direct initializer as function declaration
* g++.old-deja/g++.other/decl2.C: New test; duplicate initializers
* g++.old-deja/g++.other/null2.C: New test; conditional operator
  involving const pointer and NULL produces incorrect result
* g++.old-deja/g++.other/typename1.C: New test; template-dependent
  type name without `typename' should be rejected with -pedantic

From-SVN: r22770

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

From-SVN: r22769

25 years ago* g++.old-deja/g++.other/addrof1.C: New test.
Richard Henderson [Fri, 2 Oct 1998 21:56:53 +0000 (14:56 -0700)]
* g++.old-deja/g++.other/addrof1.C: New test.

From-SVN: r22768

25 years agoupdate
Jason Merrill [Fri, 2 Oct 1998 21:11:34 +0000 (17:11 -0400)]
update

From-SVN: r22767

25 years agofunction.c (purge_addressof_1): Do not perform endianness corrections on bitpos,...
David S. Miller [Fri, 2 Oct 1998 20:17:50 +0000 (20:17 +0000)]
function.c (purge_addressof_1): Do not perform endianness corrections on bitpos, who we call will do it for us.

* function.c (purge_addressof_1): Do not perform endianness
corrections on bitpos, who we call will do it for us.

From-SVN: r22766

25 years agoh8300.c (WORD_REG_USED): Fix typo.
Jeffrey A Law [Fri, 2 Oct 1998 10:54:45 +0000 (10:54 +0000)]
h8300.c (WORD_REG_USED): Fix typo.

        * h8300.c (WORD_REG_USED): Fix typo.
        (initial_offset): Use WORD_REG_USED.
        * h8300.c (handle_pragma): Fix typo.

From-SVN: r22755

25 years agocaller-save.c (insert_save_restore): Break this function up into new functions insert...
Jeff Law [Fri, 2 Oct 1998 10:25:57 +0000 (04:25 -0600)]
caller-save.c (insert_save_restore): Break this function up into new functions insert_restore...


* caller-save.c (insert_save_restore): Break this function up
into new functions insert_restore, insert_save and insert_one_insn.
All callers changed.
(insert_restore): New function, mostly broken out of
insert_save_restore.
(insert_save): Likewise.
(insert_one_insn): Likewise.
(restore_referenced_regs): New argument BLOCK.  All callers changed.
(save_call_clobbered_regs): Don't keep track of basic block boundaries
in this function, do it in insert_one_insn instead.

From-SVN: r22754

25 years agocaller-save.c (insert_save_restore): Break this function up into new functions insert...
Jeff Law [Fri, 2 Oct 1998 10:25:55 +0000 (04:25 -0600)]
caller-save.c (insert_save_restore): Break this function up into new functions insert_restore...

0
* caller-save.c (insert_save_restore): Break this function up
into new functions insert_restore, insert_save and insert_one_insn.
All callers changed.
(insert_restore): New function, mostly broken out of
insert_save_restore.
(insert_save): Likewise.
(insert_one_insn): Likewise.
(restore_referenced_regs): New argument BLOCK.  All callers changed.
(save_call_clobbered_regs): Don't keep track of basic block boundaries
in this function, do it in insert_one_insn instead.

From-SVN: r22753

25 years agoreload1.c (reload): Break out some more pieces into separate functions.
Bernd Schmidt [Fri, 2 Oct 1998 10:23:37 +0000 (04:23 -0600)]
reload1.c (reload): Break out some more pieces into separate functions.

* reload1.c (reload): Break out some more pieces into separate
functions.
(dump_needs): New function, broken out of reload.
(set_initial_elim_offsets): Likewise.
(init_elim_table): Likewise.
(update_eliminables): Likewise.

From-SVN: r22752

25 years agoglobal.c (global_alloc): Delete code to manage the scratch_list.
Bernd Schmidt [Fri, 2 Oct 1998 10:21:20 +0000 (04:21 -0600)]
global.c (global_alloc): Delete code to manage the scratch_list.

* global.c (global_alloc): Delete code to manage the scratch_list.
* local-alloc.c (qty_scratch_rtx): Delete.
(scratch_block): Delete.
(scratch_list): Delete.
(scratch_list_length): Delete.
(scratch_index): Delete.
(alloc_qty_for_scratch): Delete.
(local-alloc): Update initialization of max_qty.
Delete code to manage the scratch list.
Delete code to allocate/initialize qty_scratch_rtx.
(block_alloc): Don't allocate quantities for scratches.
Delete code to manage the scratch list.
* regs.h (scratch_list): Delete declaration.
(scratch_block): Delete declaration.
(scratch_list_length): Delete declaration.
* reload1.c (reload): Delete code to manage the scratch list.
(spill_hard_reg): Likewise.
(mark_scratch_live): Delete.

From-SVN: r22751

25 years ago* Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
H.J. Lu [Fri, 2 Oct 1998 10:18:19 +0000 (10:18 +0000)]
* Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.

From-SVN: r22750

25 years ago* recog.c (alter_subreg): Delete declaration.
Bernd Schmidt [Fri, 2 Oct 1998 09:53:03 +0000 (03:53 -0600)]
* recog.c (alter_subreg): Delete declaration.

From-SVN: r22749

25 years ago* Makefile.in (cccp.o): Fix typo in last patch.
Andreas Jaeger [Fri, 2 Oct 1998 09:50:24 +0000 (09:50 +0000)]
* Makefile.in (cccp.o): Fix typo in last patch.

From-SVN: r22748

25 years agoREADME: Remove installation instructions and refer to the INSTALL directory instead.
Gerald Pfeifer [Fri, 2 Oct 1998 09:22:08 +0000 (11:22 +0200)]
README: Remove installation instructions and refer to the INSTALL directory instead.

* README: Remove installation instructions and refer to the
INSTALL directory instead.

From-SVN: r22747

25 years agot-sh (LIB1ASMFUNCS): Add _set_fpscr .
J"orn Rennecke [Fri, 2 Oct 1998 08:22:31 +0000 (08:22 +0000)]
t-sh (LIB1ASMFUNCS): Add _set_fpscr .

* t-sh (LIB1ASMFUNCS): Add _set_fpscr .
* config/sh/lib1funcs.asm (___set_fpscr): Add.

From-SVN: r22746

25 years agocom.c (ffecom_expr_intrinsic_): Fix return type for RAND.
Dave Love [Fri, 2 Oct 1998 07:55:06 +0000 (07:55 +0000)]
com.c (ffecom_expr_intrinsic_): Fix return type for RAND.

1998-10-02  Dave Love  <d.love@dl.ac.uk>
* com.c (ffecom_expr_intrinsic_): Fix return type for RAND.

From-SVN: r22745

25 years ago(ffecom_expr_intrinsic_): Fix return type for RAND.
Dave Love [Fri, 2 Oct 1998 07:54:36 +0000 (07:54 +0000)]
(ffecom_expr_intrinsic_): Fix return type for RAND.

From-SVN: r22744

25 years agoregclass.c (reg_scan_mark_refs): Return immediately if passed a NULL_RTX as an argument.
Jeff Law [Fri, 2 Oct 1998 01:34:34 +0000 (19:34 -0600)]
regclass.c (reg_scan_mark_refs): Return immediately if passed a NULL_RTX as an argument.

8
        * regclass.c (reg_scan_mark_refs): Return immediately if passed a
        NULL_RTX as an argument.

From-SVN: r22741

25 years agoregclass.c (reg_scan_mark_refs): Return immediately if passed a NULL_RTX as an argument.
Jeff Law [Fri, 2 Oct 1998 01:34:33 +0000 (19:34 -0600)]
regclass.c (reg_scan_mark_refs): Return immediately if passed a NULL_RTX as an argument.

(
        * regclass.c (reg_scan_mark_refs): Return immediately if passed a
        NULL_RTX as an argument.

From-SVN: r22740

25 years ago* gcc.c-torture/compile/981001-4.c: New test.
Jeffrey A Law [Fri, 2 Oct 1998 01:21:18 +0000 (01:21 +0000)]
* gcc.c-torture/compile/981001-4.c: New test.

From-SVN: r22739

25 years agoMakefile.in (unlibsubdir): Define.
Jeffrey A Law [Fri, 2 Oct 1998 01:05:51 +0000 (01:05 +0000)]
Makefile.in (unlibsubdir): Define.

        * Makefile.in (unlibsubdir): Define.
        (DRIVER_DEFINES): Use unlibsubdir.
        (cccp.o, cpplib.o, protoize.o, unprotoize.o): Similarly.
        (stmp-fixinc): Similarly.
The infamous unlibsubdir patch.  Makes it somewhat easier to move toolchains
around.  Helps cygwin folks.

From-SVN: r22737

25 years agoDaily bump.
Jeff Law [Fri, 2 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22736

25 years agoMakefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
Robert Lipe [Thu, 1 Oct 1998 21:35:22 +0000 (21:35 +0000)]
Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.

        * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
        (FLAGS_TO_PASS): Added.
        (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
        * archive.c: Change config.h to tconfig.h.
        * configure.in: Find gcc's object directory even for multilibs.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r22725

25 years agoregmove.c (regmove_optimize): Add variable old_max_uid.
Bernd Schmidt [Thu, 1 Oct 1998 19:00:52 +0000 (13:00 -0600)]
regmove.c (regmove_optimize): Add variable old_max_uid.

        * regmove.c (regmove_optimize): Add variable old_max_uid.
        At the end of the function, update basic_block_end.

From-SVN: r22724

25 years ago981001-2.c: New test.
Jeffrey A Law [Thu, 1 Oct 1998 18:06:54 +0000 (18:06 +0000)]
981001-2.c: New test.

        * gcc.c-torture/compile/981001-2.c: New test.
        * gcc.c-torture/compile/981001-3.c: New test.

From-SVN: r22723

25 years agodwarf2out.c (expand_builtin_dwarf_reg_size): Use FIRST_PSEUDO_REGISTER as upper bound...
David S. Miller [Thu, 1 Oct 1998 18:02:50 +0000 (18:02 +0000)]
dwarf2out.c (expand_builtin_dwarf_reg_size): Use FIRST_PSEUDO_REGISTER as upper bound for last_end, not an arbitrary constant.

* dwarf2out.c (expand_builtin_dwarf_reg_size): Use
FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
arbitrary constant.

From-SVN: r22722

25 years agoImport some interworking support code from devo.
Nick Clifton [Thu, 1 Oct 1998 17:58:46 +0000 (17:58 +0000)]
Import some interworking support code from devo.

From-SVN: r22721

25 years agoreload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was copied from reload_...
J"orn Rennecke [Thu, 1 Oct 1998 17:45:59 +0000 (17:45 +0000)]
reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was copied from reload_out[r] .


        * reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was
        copied from reload_out[r] .

From-SVN: r22720

25 years agoNew test from PR 17544
Nick Clifton [Thu, 1 Oct 1998 17:34:45 +0000 (17:34 +0000)]
New test from PR 17544

From-SVN: r22719

25 years agoNew test from PR 17547
Nick Clifton [Thu, 1 Oct 1998 17:18:07 +0000 (17:18 +0000)]
New test from PR 17547

From-SVN: r22718

25 years agodwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than three size...
John Carr [Thu, 1 Oct 1998 16:47:41 +0000 (16:47 +0000)]
dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than three size ranges.

* dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work
with more than three size ranges.
* flow.c (sbitmap_copy): Use bcopy to copy bitmap.
* rtl.c (mode_name): Add a null string at the end of the array.
(mode_wider_mode): Change type to unsigned char.
(mode_mask_array): New variable.
  (init_rtl): Update for mode_wider_mode type change.
* rtl.h (mode_wider_mode): Change type to unsigned char.
(mode_mask_array): Declare.
(GET_MODE_MASK): Use mode_mask_array.

From-SVN: r22717

25 years agoAdd support for v850 special data areas.
Nick Clifton [Thu, 1 Oct 1998 15:11:18 +0000 (15:11 +0000)]
Add support for v850 special data areas.

From-SVN: r22716

25 years agoRegenerate with autoconf-2.12.1
Kaveh Ghazi [Thu, 1 Oct 1998 14:17:34 +0000 (14:17 +0000)]
Regenerate with autoconf-2.12.1

From-SVN: r22715

25 years agocalls.c (expand_call): Encapsulate code into copy_blkmode_from_reg.
Gavin Romig-Koch [Thu, 1 Oct 1998 13:00:21 +0000 (13:00 +0000)]
calls.c (expand_call): Encapsulate code into copy_blkmode_from_reg.

* calls.c (expand_call) : Encapsulate code into
copy_blkmode_from_reg.
* expr.c (copy_blkmode_from_reg): New function.
* expr.h (copy_blkmode_from_reg): New function.
* integrate.c (function_cannot_inline_p): We can inline
these now.
(expand_inline_function): Use copy_blkmode_from_reg
if needed.  Avoid creating BLKmode REGs.
(copy_rtx_and_substitute): Don't try to SUBREG a BLKmode
object.

From-SVN: r22714

25 years agocp-tree.h (FORMAT_VBASE_NAME): New macro.
Jason Merrill [Thu, 1 Oct 1998 12:31:22 +0000 (12:31 +0000)]
cp-tree.h (FORMAT_VBASE_NAME): New macro.

* cp-tree.h (FORMAT_VBASE_NAME): New macro.
* class.c (build_vbase_pointer): Use it.
* rtti.c (expand_class_desc): Likewise.
* tree.c (build_vbase_pointer_fields): Likewise.

From-SVN: r22713

25 years agoReplace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
Nick Clifton [Thu, 1 Oct 1998 10:53:39 +0000 (10:53 +0000)]
Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.

handle_generic_pragma() New function: Parse generic pragmas.

From-SVN: r22712

25 years agoReplace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
Nick Clifton [Thu, 1 Oct 1998 10:52:36 +0000 (10:52 +0000)]
Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.

From-SVN: r22711

25 years agoAdd support for #pragma pack(push,<n>) and #pragma pack(pop).
Nick Clifton [Thu, 1 Oct 1998 10:50:15 +0000 (10:50 +0000)]
Add support for #pragma pack(push,<n>) and #pragma pack(pop).

From-SVN: r22710

25 years agoAdd invocation of SET_DEFAULT_DECL_ATTRIBUTES, if defined.
Nick Clifton [Thu, 1 Oct 1998 10:44:46 +0000 (10:44 +0000)]
Add invocation of SET_DEFAULT_DECL_ATTRIBUTES, if defined.

From-SVN: r22709

25 years agoobjc.exp (objc_target_compile): Add -L during compiles for multilibbed hosts.
Robert Lipe [Thu, 1 Oct 1998 07:45:56 +0000 (07:45 +0000)]
objc.exp (objc_target_compile): Add -L during compiles for multilibbed hosts.

* lib/objc.exp (objc_target_compile): Add -L during compiles for
multilibbed hosts.   Idea grafted from g77.exp.

From-SVN: r22708

25 years agoAdd robertl as maintainer of sco udk target.
Robert Lipe [Thu, 1 Oct 1998 07:38:06 +0000 (07:38 +0000)]
Add robertl as maintainer of sco udk target.

From-SVN: r22707

25 years agoDaily bump.
Jeff Law [Thu, 1 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22706

25 years agoOh, my.
Robert Lipe [Wed, 30 Sep 1998 21:05:19 +0000 (21:05 +0000)]
Oh, my.

Oh, my.   That'll teach me to rebuild generated files on a 'trusted'
host like egcs.cygnus.com.

From-SVN: r22705

25 years agoRegenerate
Robert Lipe [Wed, 30 Sep 1998 20:44:26 +0000 (20:44 +0000)]
Regenerate

From-SVN: r22703

25 years agoconfig.sub: Recognize i[34567]86-pc-udk as new target.
Robert Lipe [Wed, 30 Sep 1998 20:35:10 +0000 (20:35 +0000)]
config.sub: Recognize i[34567]86-pc-udk as new target.

* config.sub: Recognize i[34567]86-pc-udk as new target.
* configure.in: Likewise.
* config/i386/t-udk: New file.
* config/i386/udk.h: New file.

From-SVN: r22702

25 years agoconfig.sub: Add support for i[34567]86-pc-udk.
Robert Lipe [Wed, 30 Sep 1998 20:25:11 +0000 (20:25 +0000)]
config.sub: Add support for i[34567]86-pc-udk.

* config.sub: Add support for i[34567]86-pc-udk.
* configure.in: Likewise.

From-SVN: r22701

25 years agojcf-write.c (OP2, OP4): Use "_i", not "_I" to avoid problems on FreeBSD.
Jeffrey A Law [Wed, 30 Sep 1998 19:55:42 +0000 (19:55 +0000)]
jcf-write.c (OP2, OP4): Use "_i", not "_I" to avoid problems on FreeBSD.

        * jcf-write.c (OP2, OP4): Use "_i", not "_I" to avoid problems on
        FreeBSD.

From-SVN: r22698

25 years agocpplib.c (macroexpand): If arg->raw_before or arg->raw_after...
Zack Weinberg [Wed, 30 Sep 1998 19:27:28 +0000 (19:27 +0000)]
cpplib.c (macroexpand): If arg->raw_before or arg->raw_after...

        * cpplib.c (macroexpand): If arg->raw_before or
        arg->raw_after, remove any no-reexpansion escape at the
        beginning of the pasted token.  Correct handling of whitespace
        markers and no-reexpand markers at the end if arg->raw_after.

From-SVN: r22695

25 years agoreorg.c (check_annul_list_true_false): Remove unused variables.
Jeffrey A Law [Wed, 30 Sep 1998 18:35:27 +0000 (18:35 +0000)]
reorg.c (check_annul_list_true_false): Remove unused variables.

        * reorg.c (check_annul_list_true_false): Remove unused variables.
        (steal_delay_list_from_target): Add missing "used_annul" variable.
        (try_merge_delay_insns): Close out half formed comment.

From-SVN: r22694

25 years agotoplev.c (documented_lang_options): Recognize -include, -imacros, -iwithprefix, ...
Zack Weinberg [Wed, 30 Sep 1998 18:15:13 +0000 (18:15 +0000)]
toplev.c (documented_lang_options): Recognize -include, -imacros, -iwithprefix, -iwithprefixbefore.

        * toplev.c (documented_lang_options): Recognize -include,
        -imacros, -iwithprefix, -iwithprefixbefore.
        * cpplib.c (cpp_start_read): Process -imacros and -include
        switches at the same time and in command-line order, after
        initializing the dependency-output code.  Emit properly nested
        #line directives for them.  Emit a #line for the main file
        before processing these switches, and don't do it again
        afterward.

From-SVN: r22689

25 years agoregs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.
Michael Hayes [Wed, 30 Sep 1998 18:09:47 +0000 (18:09 +0000)]
regs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.

        * regs.h (HARD_REGNO_CALL_PART_CLOBBERED):  New macro.
        * local-alloc.c (find_free_reg): Use it.
        * global.c (find_reg): Likewise.
        * tm.texi: Document HARD_REGNO_CALL_PART_CLOBBERED.

From-SVN: r22688

25 years agoTypo in last commit.
Richard Henderson [Wed, 30 Sep 1998 18:04:51 +0000 (11:04 -0700)]
Typo in last commit.

From-SVN: r22687

25 years agofunction.c (purge_addressof_1): Use bitfield manipulation routines to handle mem...
Richard Henderson [Wed, 30 Sep 1998 18:03:48 +0000 (11:03 -0700)]
function.c (purge_addressof_1): Use bitfield manipulation routines to handle mem mode < reg mode.

        * function.c (purge_addressof_1): Use bitfield manipulation
        routines to handle mem mode < reg mode.

From-SVN: r22686

25 years agoreorg.c (try_merge_delay_insns): Account for resources referenced in each instruction...
Herman ten Brugge [Wed, 30 Sep 1998 18:01:38 +0000 (20:01 +0200)]
reorg.c (try_merge_delay_insns): Account for resources referenced in each instruction in INSN's delay list...

        * reorg.c (try_merge_delay_insns): Account for resources referenced
        in each instruction in INSN's delay list before trying to eliminate
        useless instructions.  Similarly when looking at a trial insn's delay
        slots.
        * reorg.c (check_annul_list_true_false): New function.
        (steal_delay_list_from_{target,fallthrough}): Call it and also
        refine tests for when we may annul if already filled a slot.
        (fill_slots_from_thread): Likewise.
        (delete_from_delay_slot): Return newly-created thread.
        (try_merge_delay_isns): Use its new return value.

From-SVN: r22685

25 years agoloop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is used to compute...
Jeffrey A Law [Wed, 30 Sep 1998 17:32:15 +0000 (17:32 +0000)]
loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is used to compute a giv or as some...

        * loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is
        used to compute a giv or as some other non-counting use.

From-SVN: r22684

25 years ago* parse.c (emit_label): Fix return-type of prototype.
Kaveh R. Ghazi [Wed, 30 Sep 1998 17:24:36 +0000 (17:24 +0000)]
* parse.c (emit_label): Fix return-type of prototype.

From-SVN: r22683

25 years agoregs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
Jeff Law [Wed, 30 Sep 1998 17:21:12 +0000 (11:21 -0600)]
regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.

        * regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
        * caller-save.c (init_caller_save): Use it.
        * tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE.

From-SVN: r22682

25 years agoconfigure.in: Escape ^ in grep string.
Robert Lipe [Wed, 30 Sep 1998 17:19:00 +0000 (11:19 -0600)]
configure.in: Escape ^ in grep string.

        * configure.in: Escape ^ in grep string.
        * configure: Rebuilt.

From-SVN: r22681

25 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 30 Sep 1998 16:49:55 +0000 (16:49 +0000)]
Warning fixes:

* actions.c (chill_handle_multi_case_label): Always return a value
in function returning non-void.
* except.c: Include OS headers before any local ones.
* typeck.c (layout_chill_range_type): Change type of variable
`negprecision' to int.
(apply_chill_array_layout): Initialize variables `stepsize' and
`start_bit'.
(layout_chill_struct_type): Change type of variable `min_align' to
unsigned int.
(smash_dummy_type): Change name of variable `main' to `main_tree'.

From-SVN: r22680

25 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 30 Sep 1998 16:34:45 +0000 (16:34 +0000)]
Warning fixes:

* actions.c (id_cmp): Do pointer arithmetic as `long' not `int' to
  ensure enough bits for calculation.
* ch-tree.h (check_text_length): Remove unused parameter.
* convert.c (display_int_cst): Cast a HOST_WIDE_INT argument to
function sprintf into the appropriate type for printing.
* decl.c (print_lang_decl): Use HOST_WIDE_INT_PRINT_DEC as the
format specifier.
(print_mode): Likewise.
(init_decl_processing): Cast the arguments of bcopy/bzero to char *.
* grant.c (grant_array_type): Use HOST_WIDE_INT_PRINT_DEC as
the format specifier.
* inout.c (check_text_length): Remove unused parameter `type'.
(build_chill_associate): Initialize variables `arg1', `arg2',
`arg3', `arg4' and `arg5'.
(build_chill_modify): Likewise.
(scanformcont): Change type of variable `curr' to `unsigned char'.
* lex.c (maybe_downcase): Cast the argument of `tolower' to
`unsigned char'.
* satisfy.c (satisfy): Remove unused parameter in call to
`check_text_length'.
* tasking.c (generate_tasking_code_variable): Pass a HOST_WIDE_INT
as a `long' in call to function `error'.
(decl_tasking_code_variable): Likewise.

From-SVN: r22679

25 years agoGrr, fix address.
Kaveh Ghazi [Wed, 30 Sep 1998 16:10:05 +0000 (16:10 +0000)]
Grr, fix address.

From-SVN: r22678

25 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 30 Sep 1998 16:07:19 +0000 (16:07 +0000)]
Warning fixes:

        * grant.c (decode_decl_selective): Cast switch's enum argument to
        an int.
        (really_grant_this): Add default case in switch.
        * typeck.c (chill_resulting_class): Add default cases in switch.
        Also add `break' statements after each case.

From-SVN: r22677

25 years agoconfigure.in: Add --enable-cpplib option which uses cpplib for cpp...
Zack Weinberg [Wed, 30 Sep 1998 11:59:24 +0000 (05:59 -0600)]
configure.in: Add --enable-cpplib option which uses cpplib for cpp...

        * configure.in: Add --enable-cpplib option which uses cpplib
        for cpp, but doesn't link cpplib into cc1.  Make help text
        capitalization consistent.
        * configure: Rebuilt.

From-SVN: r22670

25 years agou77-test.f (main): Excise `hostnm' to avoid losing on systems which need -lsocket.
Dave Love [Wed, 30 Sep 1998 11:51:37 +0000 (11:51 +0000)]
u77-test.f (main): Excise `hostnm' to avoid losing on systems which need -lsocket.

1998-09-30  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f (main): Excise `hostnm' to
avoid losing on systems which need -lsocket.

From-SVN: r22669

25 years agoMakefile.in (f2cext.c): Depend on g2c.h.
Dave Love [Wed, 30 Sep 1998 11:50:08 +0000 (11:50 +0000)]
Makefile.in (f2cext.c): Depend on g2c.h.

1998-09-30  Dave Love  <d.love@dl.ac.uk>
* Makefile.in (f2cext.c): Depend on g2c.h.

From-SVN: r22668

25 years agofunction.c (gen_mem_addressof): If the address REG is REG_USERVAR_P make the new...
Mark Mitchell [Wed, 30 Sep 1998 10:10:02 +0000 (10:10 +0000)]
function.c (gen_mem_addressof): If the address REG is REG_USERVAR_P make the new REG be so also.

* function.c (gen_mem_addressof): If the address REG is
REG_USERVAR_P make the new REG be so also.
* loop.c (scan_loop): Apply DeMorgan's laws and add documentation
in an attempt to clarify slightly.

From-SVN: r22667

25 years agoexpr.c (expand_expr): Handle COMPONENT_REF...
Jeffrey A Law [Wed, 30 Sep 1998 08:59:18 +0000 (08:59 +0000)]
expr.c (expand_expr): Handle COMPONENT_REF...

        * expr.c (expand_expr): Handle COMPONENT_REF, BIT_FIELD_REF ARRAY_REF
        and INDIRECT_REF in code to check MAX_INTEGER_COMPUTATION_MODE.

From-SVN: r22666

25 years agofix bad patch.
Catherine Moore [Wed, 30 Sep 1998 08:26:10 +0000 (08:26 +0000)]
fix bad patch.

From-SVN: r22665

25 years ago* All .h files pushed down into the objc/ subdirectory.
Jeffrey A Law [Wed, 30 Sep 1998 08:17:56 +0000 (08:17 +0000)]
* All .h files pushed down into the objc/ subdirectory.

        * Makefile.in (copy_headers): Corresponding changes.
        * configure.in (AC_INIT): Corresponding changes.
        * configure: Rebuilt.

From-SVN: r22664

25 years agoRebuilt.
Jeff Law [Wed, 30 Sep 1998 08:08:06 +0000 (02:08 -0600)]
Rebuilt.

From-SVN: r22663

25 years agoMakefile.in (all): Correct dependencies do --disable-multilibs works again.
Robert Lipe [Wed, 30 Sep 1998 08:05:57 +0000 (08:05 +0000)]
Makefile.in (all): Correct dependencies do --disable-multilibs works again.

* Makefile.in (all): Correct dependencies do --disable-multilibs
works again.
   (distclean): Correct typo.

From-SVN: r22662