]> gcc.gnu.org Git - gcc.git/log
gcc.git
26 years ago* ptree.c (lang_print_xnode): Add missing `break'.
Mark Mitchell [Mon, 11 May 1998 11:37:13 +0000 (11:37 +0000)]
* ptree.c (lang_print_xnode): Add missing `break'.

From-SVN: r19670

26 years agoNew test
Mark Mitchell [Mon, 11 May 1998 11:02:58 +0000 (11:02 +0000)]
New test

From-SVN: r19669

26 years agoNew test
Mark Mitchell [Mon, 11 May 1998 10:59:39 +0000 (10:59 +0000)]
New test

From-SVN: r19668

26 years ago* pt.c (tsubst): Remove duplicate check for IDENTIFIER_NODE.
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

26 years agoOops, aclocal.m4 wasn't up-to-date for last commit.
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

26 years ago* configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
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

26 years agoalpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
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

26 years agocall.c (add_template_candidate): Adjust for changes to fn_type_unification.
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

26 years agolex.c (yyprint): Remove TYPENAME_ELLIPSIS.
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

26 years agogenattr.c: Include stdarg.h/varargs.h.
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

26 years agocp-tree.h (finish_unary_op_expr): New function.
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

26 years agotypeck.c (build_c_cast): Don't decay arrays and functions to pointer type when conver...
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

26 years agoAnother new test.
Jeff Law [Sun, 10 May 1998 23:00:31 +0000 (17:00 -0600)]
Another new test.

From-SVN: r19658

26 years agodocument
Jason Merrill [Sun, 10 May 1998 22:54:14 +0000 (18:54 -0400)]
document

From-SVN: r19657

26 years agoclass.c (finish_struct_1): Use OVL_CURRENT on TREE_VEC_ELT.
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

26 years agoacconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
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

26 years agoPoint folks to wwwdocs since those are the official versions.
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

26 years agoclass.c (currently_open_class): New fn.
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

26 years agonew, update
Jason Merrill [Sat, 9 May 1998 18:08:52 +0000 (14:08 -0400)]
new, update

From-SVN: r19649

26 years agoloop.c (get_condition): Don't combine when either compare is MODE_CC.
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

26 years ago* machmode.h (COMPLEX_MODE_P): New macro.
Richard Henderson [Sat, 9 May 1998 02:01:55 +0000 (19:01 -0700)]
* machmode.h (COMPLEX_MODE_P): New macro.

From-SVN: r19644

26 years ago* haifa-sched.c (print_exp): Fix typo.
Richard Henderson [Sat, 9 May 1998 01:53:01 +0000 (18:53 -0700)]
* haifa-sched.c (print_exp): Fix typo.

From-SVN: r19643

26 years agoBump for snapshot
Jeffrey A Law [Fri, 8 May 1998 21:48:53 +0000 (15:48 -0600)]
Bump for snapshot

From-SVN: r19638

26 years agoRemove previous dwarf2out.c change. It was incorrect according to Jim.
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

26 years agoHunk of m32r changes
Michael Meissner [Fri, 8 May 1998 15:46:05 +0000 (15:46 +0000)]
Hunk of m32r changes

From-SVN: r19636

26 years agoCall fatal_insn instead of abort
Michael Meissner [Fri, 8 May 1998 15:24:08 +0000 (15:24 +0000)]
Call fatal_insn instead of abort

From-SVN: r19635

26 years agoreload1.c (emit_reload_insns): When performing expensive optimizations...
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

26 years agodwarf2out.c: Don't assume that `.section ".text"' causes the assembler to treat ...
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

26 years agoAnother minor system.h cutover:
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

26 years agomassive namespace patch
Martin v. Löwis [Fri, 8 May 1998 02:06:26 +0000 (22:06 -0400)]
massive namespace patch

From-SVN: r19631

26 years agot-linux: Remove extra stuff already included in config/t-linux.
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

26 years agofixinc.wrap: Renamed from fixinc.math.
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

26 years agofixinc.wrap: Renamed from fixinc.math.
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

26 years agoRenamed fixinc.math to fixinc.wrap
Manfred Hollstein [Fri, 8 May 1998 01:17:24 +0000 (01:17 +0000)]
Renamed fixinc.math to fixinc.wrap

From-SVN: r19627

26 years agocall.c (build_user_type_conversion_1): Handle second_conv properly for templates.
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

26 years agoFix specs file problem reported by Nathan Myers.
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

26 years agoDisable remaining conditional move patterns.
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

26 years agoFix host/target confusion with enable_threads, reported by Brendan Kehoe.
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

26 years agoMore toplev.h cleanup, regnerate c-parse.c.
Jim Wilson [Thu, 7 May 1998 15:07:43 +0000 (08:07 -0700)]
More toplev.h cleanup, regnerate c-parse.c.

From-SVN: r19614

26 years agoUpdate copyright
Michael Meissner [Thu, 7 May 1998 14:41:36 +0000 (14:41 +0000)]
Update copyright

From-SVN: r19613

26 years agoRestore LR in case __eabi was called multiple times
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

26 years agoclear TREE_USED f;ag for build_type_variant types as well
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

26 years agoHandle missing vfprintf() & _doprnt() functions with linked in modules,
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

26 years agolinux.h (ASM_COMMENT_START): Remove from here,
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

26 years ago* pt.c (tsubst): Don't tsubst the type of an IDENTIFIER_NODE.
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

26 years agom68k.md (adddi3, subdi3): Properly negate the DImode constant.
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

26 years agoFix typo.
Jeff Law [Wed, 6 May 1998 22:51:38 +0000 (16:51 -0600)]
Fix typo.

From-SVN: r19606

26 years agoexpr.h (mark_seen_cases): Add declaration, but only when tree.h has been included.
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

26 years agoAnother test.
Jeff Law [Wed, 6 May 1998 22:06:44 +0000 (16:06 -0600)]
Another test.

From-SVN: r19604

26 years agostmt.c (mark_seen_cases): Make it have external linkage again.
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

26 years agoTypo fix.
Joern Rennecke [Wed, 6 May 1998 21:31:16 +0000 (22:31 +0100)]
Typo fix.

From-SVN: r19602

26 years agotypo typo fixes fixes
Jeff Law [Wed, 6 May 1998 21:09:07 +0000 (15:09 -0600)]
typo typo fixes fixes

From-SVN: r19601

26 years agoWed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
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

26 years agoNew test.
Jeff Law [Wed, 6 May 1998 20:19:15 +0000 (14:19 -0600)]
New test.

From-SVN: r19599

26 years agoFix braces right this time.
Jeff Law [Wed, 6 May 1998 20:11:03 +0000 (14:11 -0600)]
Fix braces right this time.

From-SVN: r19598

26 years ago* Makefile.in: Fix .SUFFIXES.
Jason Merrill [Wed, 6 May 1998 19:03:14 +0000 (19:03 +0000)]
* Makefile.in: Fix .SUFFIXES.

From-SVN: r19597

26 years agoupdate
Jason Merrill [Wed, 6 May 1998 19:01:05 +0000 (15:01 -0400)]
update

From-SVN: r19596

26 years agolinux.h (ASM_COMMENT_START): Define as "#".
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

26 years agoNew test (alias problems).
Jeff Law [Wed, 6 May 1998 18:18:03 +0000 (12:18 -0600)]
New test (alias problems).

From-SVN: r19594

26 years ago* haifa-sched.c (print_value, case SUBREG): Fix typo.
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

26 years agoi386.c (output_387_binary_op): Add some braces to avoid warnings.
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

26 years agotoplev.h cleanups...
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

26 years agotoplev.h cleanup...
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

26 years agotoplev.h cleanups...
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

26 years agoAnother new test.
Jeff Law [Wed, 6 May 1998 16:36:26 +0000 (10:36 -0600)]
Another new test.

From-SVN: r19588

26 years agoNew test.
Jeff Law [Wed, 6 May 1998 16:35:35 +0000 (10:35 -0600)]
New test.

From-SVN: r19587

26 years agotoplev.c (-fsched-max): Delete flag.
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

26 years agoFix minor merge error in mips port.
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

26 years agoFix irix6 linker warning, multiply defined target_temp_slot_level.
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

26 years ago* loop.c (regs_match_p): Fix typo in prototype.
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

26 years agoregmove.c (try_auto_increment): Wrap declaration inside an #ifdef AUTO_INC_DEC.
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

26 years agoerrfn.c (cp_error, cp_warning): Remove declarations for error and warning respectively.
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

26 years agoMake output_operand_lossage report the real error, do not just call abort
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

26 years agoc-common.c: Convert to using ctype macros defined in system.h.
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

26 years agor3900.h (SUBTARGET_ASM_DEBUGGING_SPEC): Replace -gdwarf-2 with -g0.
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

26 years agoerror.c: Convert to using ctype macros defined in system.h.
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

26 years agoFix 980427-0.f:
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

26 years agoMore system.h cutover...
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

26 years agoThe isascii check is needed by system.h.
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

26 years agoBe more careful when including <time.h> and <sys/file.h> in system.h.
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

26 years agoComment on fix.
Dave Love [Wed, 6 May 1998 06:57:39 +0000 (06:57 +0000)]
Comment on fix.

From-SVN: r19570

26 years agotree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
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

26 years agotoplev.h: New file.
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

26 years agocall.c, [...]: Add include of toplev.h.
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

26 years agoCorrect ChangeLog entry for my last cp/ChangeLog fix.
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

26 years agocall.c, [...]: Add include of toplev.h.
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

26 years agotoplev.h: New file.
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

26 years agotoplev.h: New file.
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

26 years agocall.c, [...]: Add include of toplev.h.
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

26 years agotoplev.h: New file.
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

26 years agotree.c (perm_manip): Also regenerate the RTL of an extern.
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

26 years agohaifa-sched.c (find_rgns): In no_loops case, fix test for leaf blocks.
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

26 years agoinit.c (expand_vec_init): The initialization of each array element is a full-expression.
Jason Merrill [Tue, 5 May 1998 23:54:18 +0000 (23:54 +0000)]
init.c (expand_vec_init): The initialization of each array element is a full-expression.

* init.c (expand_vec_init): The initialization of each array
element is a full-expression.

From-SVN: r19557

26 years agofix-header.c (write_rbrac): Add "abort" to functions which need to be protected.
Manfred Hollstein [Tue, 5 May 1998 23:23:41 +0000 (23:23 +0000)]
fix-header.c (write_rbrac): Add "abort" to functions which need to be protected.

(
* fix-header.c (write_rbrac): Add "abort" to functions which need to
be protected.

From-SVN: r19556

26 years agofix-header.c (write_rbrac): Add "abort" to functions which need to be protected.
Manfred Hollstein [Tue, 5 May 1998 23:23:39 +0000 (23:23 +0000)]
fix-header.c (write_rbrac): Add "abort" to functions which need to be protected.


* fix-header.c (write_rbrac): Add "abort" to functions which need to
be protected.

From-SVN: r19555

26 years ago* Check in merge from gcc2. See ChangeLog.12 for details.
Jeff Law [Tue, 5 May 1998 23:18:02 +0000 (17:18 -0600)]
* Check in merge from gcc2.  See ChangeLog.12 for details.

From-SVN: r19553

26 years agoNew test from Joern.
Jeff Law [Tue, 5 May 1998 22:31:25 +0000 (16:31 -0600)]
New test from Joern.

From-SVN: r19552

26 years agoNew test.
Jeff Law [Tue, 5 May 1998 21:41:24 +0000 (15:41 -0600)]
New test.

From-SVN: r19551

26 years agoAdd -Os to torture options
Michael Meissner [Tue, 5 May 1998 16:24:01 +0000 (16:24 +0000)]
Add -Os to torture options

From-SVN: r19546

26 years agoFix old -pedantic error I noticed while reviewing patch from Ulrich.
Jim Wilson [Tue, 5 May 1998 15:37:37 +0000 (15:37 +0000)]
Fix old -pedantic error I noticed while reviewing patch from Ulrich.

* c-common.c (scan_char_table): Separate 's' and 'c'.  'c' does not
accept 'a' flag.  'S' does accept 'a' flag.
(check_format_info): When pedantic, warn for m/C/S/a/A formats,
and `a' flag.

From-SVN: r19545

This page took 0.087821 seconds and 5 git commands to generate.