Jeff Law [Mon, 11 May 1998 18:29:00 +0000 (12:29 -0600)]
In the wrong directory.
From-SVN: r19678
Jim Wilson [Mon, 11 May 1998 18:11:22 +0000 (18:11 +0000)]
Add missing comments pointed out by Andreas Schwab.
* regmove.c (fixup_match_2, find_matches, regmove_profitable):
Add explanatory comments.
From-SVN: r19677
Richard Henderson [Mon, 11 May 1998 17:47:46 +0000 (10:47 -0700)]
Put the movzr insn back into the comment.
From-SVN: r19676
Jim Wilson [Mon, 11 May 1998 17:44:31 +0000 (17:44 +0000)]
Fix -mflat bug reported by Yamamoto Hirotaka.
* sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
From-SVN: r19675
Richard Henderson [Mon, 11 May 1998 17:26:37 +0000 (10:26 -0700)]
* sparc.md (ffsdi2): Disable. Simplify the expression as well.
From-SVN: r19674
Jim Wilson [Mon, 11 May 1998 13:31:35 +0000 (13:31 +0000)]
Fix stabs debug info bug reported by Stu Grossman.
* varasm.c (make_decl_rtl): Disable April 1 change.
From-SVN: r19673
Jason Merrill [Mon, 11 May 1998 11:57:04 +0000 (07:57 -0400)]
new
From-SVN: r19672
Mark Mitchell [Mon, 11 May 1998 11:46:11 +0000 (11:46 +0000)]
update documentation
From-SVN: r19671
Mark Mitchell [Mon, 11 May 1998 11:37:13 +0000 (11:37 +0000)]
* ptree.c (lang_print_xnode): Add missing `break'.
From-SVN: r19670
Mark Mitchell [Mon, 11 May 1998 11:02:58 +0000 (11:02 +0000)]
New test
From-SVN: r19669
Mark Mitchell [Mon, 11 May 1998 10:59:39 +0000 (10:59 +0000)]
New test
From-SVN: r19668
Mark Mitchell [Mon, 11 May 1998 10:08:56 +0000 (10:08 +0000)]
* pt.c (tsubst): Remove duplicate check for IDENTIFIER_NODE.
From-SVN: r19667
Richard Henderson [Mon, 11 May 1998 09:22:09 +0000 (02:22 -0700)]
Oops, aclocal.m4 wasn't up-to-date for last commit.
From-SVN: r19666
Richard Henderson [Mon, 11 May 1998 09:16:34 +0000 (02:16 -0700)]
* configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
From-SVN: r19665
Richard Henderson [Mon, 11 May 1998 08:31:20 +0000 (01:31 -0700)]
alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
* alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
* alpha.c (print_operand): Handle it.
* alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
related define_splits. Also add peepholes for SImode reload
plus sign_extend lossage.
From-SVN: r19664
Mark Mitchell [Mon, 11 May 1998 07:25:25 +0000 (07:25 +0000)]
call.c (add_template_candidate): Adjust for changes to fn_type_unification.
* call.c (add_template_candidate): Adjust for changes to
fn_type_unification.
(add_template_candidate_real): Likewise.
(add_template_conv_candidate): Likewise.
(build_user_type_conversion_1): Likewise.
(build_new_function_call): Likewise.
(build_object_call): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
* class.c (instantiate_type): Likewise.
* cp-tree.h (unification_kind_t): New type.
(fn_type_unification): Adjust prototype.
(type_unificaiton): Likewise.
* pt.c (UNIFY_ALLOW_NONE): New macro.
(UNIFY_ALLOW_MORE_CV_QUAL): Likewise.
(UNIFY_ALLOW_LESS_CV_QUAL): Likewise.
(UNIFY_ALLOW_DERIVED): Likewise.
(unify): Change prototype.
(maybe_adjust_types_for_deduction): New function.
(check_cv_quals_for_unify): Likewise.
(determine_specialization): Adjust.
(fn_type_unification): Likewise.
(type_unification): Likewise.
(type_unification_real): Likewise. Use
maybe_adjust_types_for_deduction. Fix mishandling of
back-unification of template functions passed as arguments. Pass
appropriate combination of UNIFY_ALLOW_* to unify.
(unify): Remove unused NTPARMS parameter. Use
check_cv_quals_for_unify. Remove bogus code that allowed
too-generous unification in order to adhere more closely to standard.
(get_bindings_real): Adjust.
(get_class_bindings): Likewise.
* method.c (build_overload_identifier): Only use the innermost
template arguments when mangling.
* pt.c (tsubst_template_argument_vector): New function.
(complete_template_args): Deal with the situation where the
extra_args contain more than one level of arguments.
(lookup_template_class): Deal with member template classes, which
may have more than one level of arguments.
(tsubst): Don't tsbust into the TREE_TYPE of an IDENTIFIER_NODE.
Improve handling of member template classes. Use
DECL_PRIMARY_TEMPLATE instead of inline expansion. Use
tsubst_template_argument_vector where appropriate.
(regenerate_decl_from_template): Break out from ...
(instantiate_decl): Here.
From-SVN: r19663
Mark Mitchell [Mon, 11 May 1998 07:18:46 +0000 (07:18 +0000)]
lex.c (yyprint): Remove TYPENAME_ELLIPSIS.
Mon May 11 07:16:30 1998 Mark Mitchell <mmitchell@usa.net>
* lex.c (yyprint): Remove TYPENAME_ELLIPSIS.
* parse.h: Regenerated.
* parse.c: Really regenerated.
From-SVN: r19662
Kaveh R. Ghazi [Mon, 11 May 1998 06:50:51 +0000 (06:50 +0000)]
genattr.c: Include stdarg.h/varargs.h.
* genattr.c: Include stdarg.h/varargs.h. Change function
`fatal' to use variable arguments instead of faking it with
integer parameters. Provide a prototype which also
checks the format specifiers using ATTRIBUTE_PRINTF_1.
* genattrtab.c: Likewise.
* gencodes.c: Likewise.
* genconfig.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* genflags.c: Likewise.
* genopinit.c: Likewise.
* genpeep.c: Likewise.
* genrecog.c: Likewise.
* genoutput.c: Likewise. Similarly for function `error'.
From-SVN: r19661
Mark Mitchell [Mon, 11 May 1998 00:07:25 +0000 (00:07 +0000)]
cp-tree.h (finish_unary_op_expr): New function.
* cp-tree.h (finish_unary_op_expr): New function.
(finish_id_expr): Likewise.
(begin_new_placement): Likewise.
(finish_new_placement): Likewise.
(finish_declarator): Likewise.
(finish_translation_unit): Likewise.
(finish_parmlist): Likewise.
(begin_class_definition): Likewise.
(finish_class_definition): Likewise.
(finish_default_args): Likewise.
(finish_inline_definitions): Likewise.
* parse.y (GCC_ASM_KEYWORD): Remove.
(TYPENAME_ELLIPSIS): Likewise.
* parse.c: Regenerated.
Use new functions in semantics.c in the actions for many rules.
* gxx.gperf (GCC_ASM_KEYWORD): Just use ASM_KEYWORD.
* hash.h: Regenerated.
* semantics.c (finish_expr_stmt): Allow NULL expr.
(finish_unary_op_expr): New function, containing
code previously in parse.y.
(finish_id_expr): Likewise.
(begin_new_placement): Likewise.
(finish_new_placement): Likewise.
(finish_declarator): Likewise.
(finish_translation_unit): Likewise.
(finish_parmlist): Likewise.
(begin_class_definition): Likewise.
(finish_class_definition): Likewise.
(finish_default_args): Likewise.
(finish_inline_definitions): Likewise.
From-SVN: r19660
Mark Mitchell [Sun, 10 May 1998 23:46:36 +0000 (23:46 +0000)]
typeck.c (build_c_cast): Don't decay arrays and functions to pointer type when converting to a class type.
* typeck.c (build_c_cast): Don't decay arrays and functions to
pointer type when converting to a class type.
From-SVN: r19659
Jeff Law [Sun, 10 May 1998 23:00:31 +0000 (17:00 -0600)]
Another new test.
From-SVN: r19658
Jason Merrill [Sun, 10 May 1998 22:54:14 +0000 (18:54 -0400)]
document
From-SVN: r19657
Jason Merrill [Sun, 10 May 1998 22:53:45 +0000 (18:53 -0400)]
class.c (finish_struct_1): Use OVL_CURRENT on TREE_VEC_ELT.
* class.c (finish_struct_1): Use OVL_CURRENT on TREE_VEC_ELT.
* decl2.c (constructor_name_full): Likewise.
* tree.c (mapcar): Add OVERLOAD support.
* init.c (resolve_offset_ref): We must use basetype_path before we
destroy it with a call to convert_pointer_to.
From-SVN: r19656
Jeff Law [Sun, 10 May 1998 01:27:49 +0000 (19:27 -0600)]
acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
* acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
* alocal.m4 (GCC_C_VOLATILE): New autoconf test.
* configure.in: Use GCC_C_VOLATILE.
* system.h (volatile): Define as empty if no volatile support is
available.
* genemit.c (output_add_clobbers): Removed unused variable 'i' from
generated fucntion.
From-SVN: r19653
Jeff Law [Sat, 9 May 1998 22:50:47 +0000 (16:50 -0600)]
Point folks to wwwdocs since those are the official versions.
From-SVN: r19651
Jason Merrill [Sat, 9 May 1998 18:10:28 +0000 (14:10 -0400)]
class.c (currently_open_class): New fn.
* class.c (currently_open_class): New fn.
* decl.c (lookup_name_real): Use it.
* search.c (lookup_field): Likewise.
From-SVN: r19650
Jason Merrill [Sat, 9 May 1998 18:08:52 +0000 (14:08 -0400)]
new, update
From-SVN: r19649
Richard Henderson [Sat, 9 May 1998 02:03:07 +0000 (19:03 -0700)]
loop.c (get_condition): Don't combine when either compare is MODE_CC.
* loop.c (get_condition): Don't combine when either compare is MODE_CC.
* alpha.c (alpha_emit_conditional_branch): New function. Taken from
the body of beq; additionally set the mode of the branch to CCmode for
FP compares and not fast_math.
(alpha_emit_conditional_move): Always use a compare insn for FP
when not fast_math, as well as setting CCmode on the cmov.
* alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
From-SVN: r19645
Richard Henderson [Sat, 9 May 1998 02:01:55 +0000 (19:01 -0700)]
* machmode.h (COMPLEX_MODE_P): New macro.
From-SVN: r19644
Richard Henderson [Sat, 9 May 1998 01:53:01 +0000 (18:53 -0700)]
* haifa-sched.c (print_exp): Fix typo.
From-SVN: r19643
Jeffrey A Law [Fri, 8 May 1998 21:48:53 +0000 (15:48 -0600)]
Bump for snapshot
From-SVN: r19638
Jeff Law [Fri, 8 May 1998 17:34:01 +0000 (11:34 -0600)]
Remove previous dwarf2out.c change. It was incorrect according to Jim.
From-SVN: r19637
Michael Meissner [Fri, 8 May 1998 15:46:05 +0000 (15:46 +0000)]
Hunk of m32r changes
From-SVN: r19636
Michael Meissner [Fri, 8 May 1998 15:24:08 +0000 (15:24 +0000)]
Call fatal_insn instead of abort
From-SVN: r19635
H.J. Lu [Fri, 8 May 1998 13:14:32 +0000 (13:14 +0000)]
reload1.c (emit_reload_insns): When performing expensive optimizations...
* reload1.c (emit_reload_insns): When performing expensive
optimizations, do not output the last reload insn if OLD is
not the dest of NSN and is in the src and is clobbered by INSN.
From-SVN: r19634
Paul Eggert [Fri, 8 May 1998 12:59:23 +0000 (12:59 +0000)]
dwarf2out.c: Don't assume that `.section ".text"' causes the assembler to treat .text as a...
* dwarf2out.c: Don't assume that `.section ".text"' causes the
assembler to treat .text as a label for the start of that section,
as this assumption is false for Solaris 2.x `as'. Instead, output
`.section ".text"; .LLtext0:' and use .LLtext0 in label contexts.
(ABBREV_LABEL, DEBUG_INFO_LABEL, DEBUG_LINE_LABEL, TEXT_LABEL):
New macros.
(abbrev_label, debug_info_label, debug_line_label, text_label):
New vars.
(dwarf2out_init): Initialize the vars. Output defn for text_label.
(dwarf2out_finish): Output defns for the other 3 vars.
(dw_val_node): Rename val_section to val_section_label, as it's
now a label, not a section.
(add_AT_section_offset): Arg is now a label, not a section.
(print_die, output_die, output_compilation_unit_header,
output_pubnames, output_aranges, output_line_info,
dwarf2out_finish): In label contexts, output the section label,
not the section.
From-SVN: r19633
Kaveh R. Ghazi [Fri, 8 May 1998 06:51:04 +0000 (06:51 +0000)]
Another minor system.h cutover:
* Makefile.in (genrtl.o): Depend on system.h.
* gengenrtl.c (gencode): When creating genrtl.c, have it
include system.h.
From-SVN: r19632
Martin v. Löwis [Fri, 8 May 1998 02:06:26 +0000 (22:06 -0400)]
massive namespace patch
From-SVN: r19631
Andreas Schwab [Fri, 8 May 1998 02:01:41 +0000 (02:01 +0000)]
t-linux: Remove extra stuff already included in config/t-linux.
* config/m68k/t-linux: Remove extra stuff already included in
config/t-linux.
From-SVN: r19630
Manfred Hollstein [Fri, 8 May 1998 01:18:40 +0000 (01:18 +0000)]
fixinc.wrap: Renamed from fixinc.math.
d
* fixinc.wrap: Renamed from fixinc.math. Put wrapper around
curses.h if it contains `typedef char bool;', as suggested by
Manfred Hollstein <manfred@s-direktnet.de>.
* configure.in: Rename fixinc.math to fixinc.wrap.
From-SVN: r19629
Manfred Hollstein [Fri, 8 May 1998 01:18:37 +0000 (01:18 +0000)]
fixinc.wrap: Renamed from fixinc.math.
�
* fixinc.wrap: Renamed from fixinc.math. Put wrapper around
curses.h if it contains `typedef char bool;', as suggested by
Manfred Hollstein <manfred@s-direktnet.de>.
* configure.in: Rename fixinc.math to fixinc.wrap.
From-SVN: r19628
Manfred Hollstein [Fri, 8 May 1998 01:17:24 +0000 (01:17 +0000)]
Renamed fixinc.math to fixinc.wrap
From-SVN: r19627
Jason Merrill [Fri, 8 May 1998 00:51:27 +0000 (00:51 +0000)]
call.c (build_user_type_conversion_1): Handle second_conv properly for templates.
* call.c (build_user_type_conversion_1): Handle second_conv
properly for templates.
From-SVN: r19626
Jim Wilson [Thu, 7 May 1998 20:49:41 +0000 (20:49 +0000)]
Fix specs file problem reported by Nathan Myers.
* gcc.c (read_specs): Handle missing blank line at end of specs file.
From-SVN: r19622
Jim Wilson [Thu, 7 May 1998 19:32:12 +0000 (19:32 +0000)]
Disable remaining conditional move patterns.
* i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
movdfcc_1): Disable.
From-SVN: r19621
Jim Wilson [Thu, 7 May 1998 16:13:16 +0000 (16:13 +0000)]
Fix host/target confusion with enable_threads, reported by Brendan Kehoe.
* configure.in (enable_threads): Rename to enable_threads_flag before
main loop. Set enable_threads to enable_threads_flag inside main
loop.
From-SVN: r19615
Jim Wilson [Thu, 7 May 1998 15:07:43 +0000 (08:07 -0700)]
More toplev.h cleanup, regnerate c-parse.c.
From-SVN: r19614
Michael Meissner [Thu, 7 May 1998 14:41:36 +0000 (14:41 +0000)]
Update copyright
From-SVN: r19613
Michael Meissner [Thu, 7 May 1998 14:39:02 +0000 (14:39 +0000)]
Restore LR in case __eabi was called multiple times
From-SVN: r19612
Andrew MacLeod [Thu, 7 May 1998 14:30:53 +0000 (14:30 +0000)]
clear TREE_USED f;ag for build_type_variant types as well
From-SVN: r19611
Kaveh R. Ghazi [Thu, 7 May 1998 11:44:09 +0000 (11:44 +0000)]
Handle missing vfprintf() & _doprnt() functions with linked in modules,
plus do some general cleanup of variable argument handling.
* aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
* configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
(AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
(AC_CHECK_FUNCS): Remove unused check for vprintf.
* Makefile.in: Add support for linking in vfprintf.c and doprint.c.
(cccp.o): Depend on gansidecl.h.
(cexp.o): Likewise.
* cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
per the rest of gcc source.
* cexp.y: Likewise. Include gansidecl.h and remove all code made
redundant.
* cccp.c: Remove checks for HAVE_VPRINTF and the associated code
used when vfprintf is missing.
* cexp.y: Likewise.
* gcc.c: Likewise.
* genattrtab.c: Likewise.
* mips-tfile.c: Likewise.
* toplev.c: Likewise.
* vfprintf.c: New file.
* doprint.c: Likewise.
From-SVN: r19610
Jeffrey A Law [Thu, 7 May 1998 09:21:51 +0000 (09:21 +0000)]
linux.h (ASM_COMMENT_START): Remove from here,
* config/linux.h (ASM_COMMENT_START): Remove from here,
* config/linux-aout.h (ASM_COMMENT_START): and here,
* config/i386/linux.h (ASM_COMMENT_START): to here,
* config/i386/linux-aout.h (ASM_COMMENT_START): and here.
* config/i386/linux-oldld.h (ASM_COMMENT_START): Define
here as '#' too.
From-SVN: r19609
Jason Merrill [Thu, 7 May 1998 02:18:59 +0000 (02:18 +0000)]
* pt.c (tsubst): Don't tsubst the type of an IDENTIFIER_NODE.
From-SVN: r19608
Andreas Schwab [Thu, 7 May 1998 01:59:07 +0000 (01:59 +0000)]
m68k.md (adddi3, subdi3): Properly negate the DImode constant.
* config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
constant.
From-SVN: r19607
Jeff Law [Wed, 6 May 1998 22:51:38 +0000 (16:51 -0600)]
Fix typo.
From-SVN: r19606
Jeffrey A Law [Wed, 6 May 1998 22:22:14 +0000 (22:22 +0000)]
expr.h (mark_seen_cases): Add declaration, but only when tree.h has been included.
* expr.h (mark_seen_cases): Add declaration, but only when tree.h
has been included.
From-SVN: r19605
Jeff Law [Wed, 6 May 1998 22:06:44 +0000 (16:06 -0600)]
Another test.
From-SVN: r19604
Jeffrey A Law [Wed, 6 May 1998 22:03:21 +0000 (22:03 +0000)]
stmt.c (mark_seen_cases): Make it have external linkage again.
* stmt.c (mark_seen_cases): Make it have external linkage again.
* expr.h (mark_seen_cases): Add declaration.
Chill wants to use mark_seen_cases....
From-SVN: r19603
Joern Rennecke [Wed, 6 May 1998 21:31:16 +0000 (22:31 +0100)]
Typo fix.
From-SVN: r19602
Jeff Law [Wed, 6 May 1998 21:09:07 +0000 (15:09 -0600)]
typo typo fixes fixes
From-SVN: r19601
Robert Lipe [Wed, 6 May 1998 20:53:58 +0000 (20:53 +0000)]
Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
* Makefile.in (dwarfout.o) Add toplev.h dependency.
* dwarfout.c, i386.c: Include toplev.h
* toplev.h: (pfatal_with_name) Add prototype.
From-SVN: r19600
Jeff Law [Wed, 6 May 1998 20:19:15 +0000 (14:19 -0600)]
New test.
From-SVN: r19599
Jeff Law [Wed, 6 May 1998 20:11:03 +0000 (14:11 -0600)]
Fix braces right this time.
From-SVN: r19598
Jason Merrill [Wed, 6 May 1998 19:03:14 +0000 (19:03 +0000)]
* Makefile.in: Fix .SUFFIXES.
From-SVN: r19597
Jason Merrill [Wed, 6 May 1998 19:01:05 +0000 (15:01 -0400)]
update
From-SVN: r19596
Alan Modra [Wed, 6 May 1998 18:31:37 +0000 (12:31 -0600)]
linux.h (ASM_COMMENT_START): Define as "#".
* config/linux.h (ASM_COMMENT_START): Define as "#".
* config/linux-aout.h (ASM_COMMENT_START): Likewise.
From-SVN: r19595
Jeff Law [Wed, 6 May 1998 18:18:03 +0000 (12:18 -0600)]
New test (alias problems).
From-SVN: r19594
Jeffrey A Law [Wed, 6 May 1998 18:00:20 +0000 (18:00 +0000)]
* haifa-sched.c (print_value, case SUBREG): Fix typo.
From-SVN: r19593
Jeffrey A Law [Wed, 6 May 1998 17:53:18 +0000 (17:53 +0000)]
i386.c (output_387_binary_op): Add some braces to avoid warnings.
* i386.c (output_387_binary_op): Add some braces to avoid warnings.
* i386.h (REG_CLASS_CONTENTS): Similarly.
From-SVN: r19592
Jim Wilson [Wed, 6 May 1998 17:05:41 +0000 (17:05 +0000)]
toplev.h cleanups...
* objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
* objc/objc-parse.y, objc/objc-parse.c: Regenerate.
From-SVN: r19591
Jim Wilson [Wed, 6 May 1998 16:52:21 +0000 (16:52 +0000)]
toplev.h cleanup...
* Makefile.in (call.o, class.o, decl.o, decl2.o, errfn.o, error.o,
except.o, expr.o, friend.o, init.o, lex.o, method.o, pt.o, repo.o,
rtti.o, search.o, semantics.o, sig.o, tree.o, typeck.o, typeck2.o,
xref.o): Add toplev.h dependencies.
From-SVN: r19590
Jim Wilson [Wed, 6 May 1998 16:43:15 +0000 (16:43 +0000)]
toplev.h cleanups...
* toplev.c: Include toplev.h.
* Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
toplev.h dependency.
From-SVN: r19589
Jeff Law [Wed, 6 May 1998 16:36:26 +0000 (10:36 -0600)]
Another new test.
From-SVN: r19588
Jeff Law [Wed, 6 May 1998 16:35:35 +0000 (10:35 -0600)]
New test.
From-SVN: r19587
Jeffrey A Law [Wed, 6 May 1998 16:32:40 +0000 (16:32 +0000)]
toplev.c (-fsched-max): Delete flag.
* toplev.c (-fsched-max): Delete flag.
(-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
* haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
conditionals.
* haifa-sched.c (find_rgns): Correctly handle reducible loops with
inner loops which are not reducible.
From-SVN: r19586
Jim Wilson [Wed, 6 May 1998 16:21:01 +0000 (16:21 +0000)]
Fix minor merge error in mips port.
* mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
HARD_FRAME_POINTER_REGNUM.
From-SVN: r19585
Jim Wilson [Wed, 6 May 1998 15:55:26 +0000 (15:55 +0000)]
Fix irix6 linker warning, multiply defined target_temp_slot_level.
* expr.c (target_temp_slot_level): Delete duplicate definition.
From-SVN: r19584
Jeffrey A Law [Wed, 6 May 1998 15:51:37 +0000 (15:51 +0000)]
* loop.c (regs_match_p): Fix typo in prototype.
From-SVN: r19583
Jeffrey A Law [Wed, 6 May 1998 15:47:37 +0000 (15:47 +0000)]
regmove.c (try_auto_increment): Wrap declaration inside an #ifdef AUTO_INC_DEC.
* regmove.c (try_auto_increment): Wrap declaration inside an
#ifdef AUTO_INC_DEC.
From-SVN: r19582
Jeffrey A Law [Wed, 6 May 1998 15:46:18 +0000 (15:46 +0000)]
errfn.c (cp_error, cp_warning): Remove declarations for error and warning respectively.
* errfn.c (cp_error, cp_warning): Remove declarations for
error and warning respectively.
From-SVN: r19581
Michael Meissner [Wed, 6 May 1998 14:21:02 +0000 (14:21 +0000)]
Make output_operand_lossage report the real error, do not just call abort
From-SVN: r19580
Kaveh R. Ghazi [Wed, 6 May 1998 12:56:58 +0000 (12:56 +0000)]
c-common.c: Convert to using ctype macros defined in system.h.
* c-common.c: Convert to using ctype macros defined in system.h.
* c-lex.c: Likewise.
* cccp.c: Likewise.
* collect2.c: Likewise.
* rs6000.c: Likewise.
* cpplib.c: Likewise.
* fix-header.c: Likewise.
* gcc.c: Likewise.
* gen-protos.c: Likewise.
* pexecute.c: Likewise.
* protoize.c: Likewise.
* rtl.c: Likewise.
* scan.c: Likewise.
* stmt.c: Likewise.
* tlink.c: Likewise.
* toplev.c: Likewise.
From-SVN: r19579
Gavin Koch [Wed, 6 May 1998 11:45:22 +0000 (11:45 +0000)]
r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC): Replace -gdwarf-2 with -g0.
* config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
Replace -gdwarf-2 with -g0.
From-SVN: r19578
Kaveh R. Ghazi [Wed, 6 May 1998 11:41:58 +0000 (11:41 +0000)]
error.c: Convert to using ctype macros defined in system.h.
* error.c: Convert to using ctype macros defined in system.h.
* method.c: Likewise.
* xref.c: Likewise.
* lex.c: Likewise. Also remove redundant system header stuff.
From-SVN: r19577
Craig Burley [Wed, 6 May 1998 09:06:36 +0000 (05:06 -0400)]
Fix 980427-0.f:
Tue Apr 28 09:23:10 1998 Craig Burley <burley@gnu.org>
Fix 980427-0.f:
* global.c (ffeglobal_ref_progunit_): When transitioning
from EXT to FUNC, discard hook, since the decl, if any, is
probably wrong.
From-SVN: r19574
Kaveh R. Ghazi [Wed, 6 May 1998 08:57:18 +0000 (08:57 +0000)]
More system.h cutover...
* Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
* mips-tdump.c: Include system.h, remove redundant headers.
* mips-tfile.c: Likewise. Convert all ctype function calls to
macro versions defined in system.h.
* objc/Make-lang.in (objc-act.o): Depend on system.h.
* objc/objc-act.c: Include system.h, remove redundant headers.
From-SVN: r19573
Kaveh R. Ghazi [Wed, 6 May 1998 08:36:04 +0000 (08:36 +0000)]
The isascii check is needed by system.h.
* configure.in (AC_CHECK_FUNCS): Add isascii.
(GCC_NEED_DECLARATIONS): Add atof.
* system.h: Provide prototypes for abort, atof, atol and sbrk here.
* rtl.c, rtl.h, toplev.c, tree.h: Not here.
From-SVN: r19572
Kaveh R. Ghazi [Wed, 6 May 1998 07:58:27 +0000 (07:58 +0000)]
Be more careful when including <time.h> and <sys/file.h> in system.h.
Consolidate O_RDONLY/O_WRONLY fallback definitions from various files
into system.h.
* system.h: Wrap time.h and sys/file.h in autoconf checks.
Provide default definitions for O_RDONLY and O_WRONLY here.
* cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
From-SVN: r19571
Dave Love [Wed, 6 May 1998 06:57:39 +0000 (06:57 +0000)]
Comment on fix.
From-SVN: r19570
Mark Mitchell [Wed, 6 May 1998 06:38:15 +0000 (06:38 +0000)]
tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
1998-05-05 Mark Mitchell <mmitchell@usa.net>
* tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
From-SVN: r19569
Robert Lipe [Wed, 6 May 1998 05:12:21 +0000 (05:12 +0000)]
toplev.h: New file.
Mon May 4 01:32:20 1998 Robert Lipe <robertl@dgii.com>
* toplev.h: New file. Protypes for functions in toplev.c.
* tree.h, rtl.h: Deleted protos for functions in toplev.c.
* c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
varasm.c: include it.
From-SVN: r19568
Robert Lipe [Wed, 6 May 1998 05:05:11 +0000 (05:05 +0000)]
call.c, [...]: Add include of toplev.h.
Wed May 6 06:36:41 1998 Robert Lipe <robertl@dgii.com>
* call.c, class.c, decl.c, decl2.c, errfn.c, error.c, except.c,
expr.c, friend.c, init.c, lex.c, method.c, pt.c, repo.c, rtti.c,
search.c, semantics.c, sig.c, tree.c, typeck.c, typeck2.c,
xref.c: Add include of toplev.h.
From-SVN: r19567
Robert Lipe [Wed, 6 May 1998 05:03:22 +0000 (05:03 +0000)]
Correct ChangeLog entry for my last cp/ChangeLog fix.
Correct ChangeLog entry for my last cp/ChangeLog fix. The "cp/" is
implicit. No need to call it out.
From-SVN: r19566
Robert Lipe [Wed, 6 May 1998 05:01:35 +0000 (05:01 +0000)]
call.c, [...]: Add include of toplev.h.
Wed May 6 06:36:41 1998 Robert Lipe <robertl@dgii.com>
* cp/call.c, cp/class.c, cp/decl.c, cp/decl2.c,
cp/errfn.c, cp/error.c, cp/except.c, cp/expr.c,
cp/friend.c, cp/init.c, cp/lex.c, cp/method.c,
cp/pt.c, cp/repo.c, cp/rtti.c, cp/search.c,
cp/semantics.c, cp/sig.c, cp/tree.c, cp/typeck.c,
cp/typeck2.c, cp/xref.c: Add include of toplev.h.
From-SVN: r19565
Robert Lipe [Wed, 6 May 1998 04:54:01 +0000 (04:54 +0000)]
toplev.h: New file.
Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
* toplev.h: New file. Protypes for functions in toplev.c.
* tree.h, rtl.h: Deleted protos for functions in toplev.c.
* c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
varasm.c: include it.
From-SVN: r19564
Robert Lipe [Wed, 6 May 1998 04:45:47 +0000 (04:45 +0000)]
toplev.h: New file.
Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
* toplev.h: New file. Protypes for functions in toplev.c.
* tree.h, rtl.h: Deleted protos for functions in toplev.c.
* c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
varasm.c: include it.
From-SVN: r19563
Robert Lipe [Wed, 6 May 1998 04:40:48 +0000 (04:40 +0000)]
call.c, [...]: Add include of toplev.h.
�
* cp/call.c, cp/class.c, cp/decl.c, cp/decl2.c,
cp/errfn.c, cp/error.c, cp/except.c, cp/expr.c,
cp/friend.c, cp/init.c, cp/lex.c, cp/method.c,
cp/pt.c, cp/repo.c, cp/rtti.c, cp/search.c,
cp/semantics.c, cp/sig.c, cp/tree.c, cp/typeck.c,
cp/typeck2.c, cp/xref.c: Add include of toplev.h.
From-SVN: r19562
Robert Lipe [Wed, 6 May 1998 04:39:57 +0000 (04:39 +0000)]
toplev.h: New file.
* toplev.h: New file. Protypes for functions in toplev.c.
* tree.h, rtl.h: Deleted protos for functions in toplev.c.
* c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
varasm.c: include it.
From-SVN: r19561
Jason Merrill [Wed, 6 May 1998 02:40:36 +0000 (02:40 +0000)]
tree.c (perm_manip): Also regenerate the RTL of an extern.
* tree.c (perm_manip): Also regenerate the RTL of an extern.
(copy_to_permanent): Use end_temporary_allocation.
From-SVN: r19560
Jeffrey A Law [Wed, 6 May 1998 00:12:15 +0000 (00:12 +0000)]
haifa-sched.c (find_rgns): In no_loops case, fix test for leaf blocks.
* haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
blocks. Check for 1 successor which is the EXIT_BLOCK.
* haifa-sched.c (find_rgns): Detect unreachable blocks, including
unreachable loops with more than one block.
Co-Authored-By: Jim Wilson <wilson@cygnus.com>
From-SVN: r19558