gcc.git
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

26 years agoCall build_type_variant in method.c
Andrew MacLeod [Tue, 5 May 1998 15:29:06 +0000 (15:29 +0000)]
Call build_type_variant in method.c

From-SVN: r19544

26 years agoFix bug reported by Ian Taylor, mips64-elf multilibs are wrong.
Jim Wilson [Tue, 5 May 1998 14:35:14 +0000 (14:35 +0000)]
Fix bug reported by Ian Taylor, mips64-elf multilibs are wrong.

* elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.

From-SVN: r19543

26 years ago* h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
Jeffrey A Law [Tue, 5 May 1998 09:33:05 +0000 (09:33 +0000)]
* h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.

From-SVN: r19542

26 years agom68k.h: Declare functions from m68k.c used in macros and machine description.
Andreas Schwab [Tue, 5 May 1998 01:54:21 +0000 (01:54 +0000)]
m68k.h: Declare functions from m68k.c used in macros and machine description.

* config/m68k/m68k.h: Declare functions from m68k.c used in
macros and machine description.
(ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
long values.
(ASM_OUTPUT_FLOAT): Likewise.
(ASM_OUTPUT_FLOAT_OPERAND): Likewise.

From-SVN: r19541

26 years agotree.def: Add NAMESPACE_DECL.
Jason Merrill [Tue, 5 May 1998 01:28:34 +0000 (21:28 -0400)]
tree.def: Add NAMESPACE_DECL.

* tree.def: Add NAMESPACE_DECL.
* dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
* dwarf2out.c (push_decl_scope): Likewise.
(scope_die_for): Likewise.
* tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
how to get next context level.

From-SVN: r19540

26 years agotree.def: Add NAMESPACE_DECL.
Jason Merrill [Tue, 5 May 1998 01:27:06 +0000 (01:27 +0000)]
tree.def: Add NAMESPACE_DECL.

* tree.def: Add NAMESPACE_DECL.
* dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
* dwarf2out.c (push_decl_scope): Likewise.
(scope_die_for): Likewise.
* tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
how to get next context level.
* cp-tree.def: Remove NAMESPACE_DECL.
* cp/Makefile.in: Add .SUFFIXES.

From-SVN: r19539

26 years agoi386.c (output_fix_trunc): Add code to emulate non-popping DImode case.
Jim Wilson [Tue, 5 May 1998 00:44:36 +0000 (00:44 +0000)]
i386.c (output_fix_trunc): Add code to emulate non-popping DImode case.

        * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
        case.

From-SVN: r19538

26 years agoNew test.
Jeff Law [Tue, 5 May 1998 00:35:14 +0000 (18:35 -0600)]
New test.

From-SVN: r19536

26 years agoNew test
Jeff Law [Tue, 5 May 1998 00:18:36 +0000 (18:18 -0600)]
New test

From-SVN: r19535

26 years agoreorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes for any insns...
Jeffrey A Law [Tue, 5 May 1998 00:15:50 +0000 (00:15 +0000)]
reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes for any insns skipped at the start of a block...

        * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
        for any insns skipped at the start of a block because they were
        redundant.

From-SVN: r19534

26 years agoFix mips-tfile failure on alpha, from Holger Bauer.
Jim Wilson [Mon, 4 May 1998 20:24:46 +0000 (20:24 +0000)]
Fix mips-tfile failure on alpha, from Holger Bauer.

* alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.

From-SVN: r19533

26 years ago(format_char_info): Add new field hhlen.
Ulrich Drepper [Mon, 4 May 1998 20:19:33 +0000 (20:19 +0000)]
(format_char_info): Add new field hhlen.

(print_char_table, scan_char_table, time_char_table): Initialize
hhlen field appropriately.
(char_format_info): Recognize hh modifier and lookup correct char
table entry.

From-SVN: r19532

26 years agoFix bug where storing into const string gives core dump, from Kamil Iskra.
Jim Wilson [Mon, 4 May 1998 19:16:35 +0000 (19:16 +0000)]
Fix bug where storing into const string gives core dump, from Kamil Iskra.

* expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
reference if this is a store.

From-SVN: r19531

26 years ago* sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
Richard Henderson [Mon, 4 May 1998 17:26:14 +0000 (10:26 -0700)]
* sparc.c (output_move_quad): Fix typo in mov_by_64 argument.

From-SVN: r19530

26 years agoMake UnixWare 7 bootstrap support work with final shipping product.
Robert Lipe [Sun, 3 May 1998 22:15:49 +0000 (22:15 +0000)]
Make UnixWare 7 bootstrap support work with final shipping product.

d
        Make UnixWare 7 bootstrap support work with final shipping product.
        * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
        Pick up xm-siglist and xm-alloca.
        (xm_defines): Add USG so dbxout will build.
        * configure: Regenerate.

From-SVN: r19529

26 years agoMake UnixWare 7 bootstrap support work with final shipping product.
Robert Lipe [Sun, 3 May 1998 22:15:48 +0000 (22:15 +0000)]
Make UnixWare 7 bootstrap support work with final shipping product.

a
        Make UnixWare 7 bootstrap support work with final shipping product.
        * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
        Pick up xm-siglist and xm-alloca.
        (xm_defines): Add USG so dbxout will build.
        * configure: Regenerate.

From-SVN: r19528

26 years agoMake UnixWare 7 bootstrap support work with final shipping product.
Robert Lipe [Sun, 3 May 1998 22:15:46 +0000 (22:15 +0000)]
Make UnixWare 7 bootstrap support work with final shipping product.


        Make UnixWare 7 bootstrap support work with final shipping product.
        * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
        Pick up xm-siglist and xm-alloca.
        (xm_defines): Add USG so dbxout will build.
        * configure: Regenerate.

From-SVN: r19527

26 years agoSupport for official Sparc V9 ABI:
Richard Henderson [Sun, 3 May 1998 14:19:46 +0000 (07:19 -0700)]
Support for official Sparc V9 ABI:

        * sparc.c (sparc_override_options): Force stack bias off for !arch64.
        Care for flag_pcc_struct_return default.
        (output_move_quad): Rewrite to move by halves on v9 and in the
        proper direction.
        (move_quad_direction): New function.
        (output_fp_move_quad): Use it to determine the direction of copy.
        (function_arg_slotno): Return -1 for FP reg overflow as well.
        (function_arg_record_value*): New functions.
        (function_arg): Use them.  Streamline unprototyped parameter passing.
        (function_arg_pass_by_reference): Pass TCmode by reference.
        (function_value): New function.
        * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
        long long in 64-bit mode.
        (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
        (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
        (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
        (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
        (BASE_INCOMING_ARG_REG): Likewise.
        (FUNCTION_VALUE): Call function_value.
        (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
        * sparc.md (movdi_sp32_v9): Disable for arch64.
        (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
        (call_value_address_sp64): Remove register class constraints.
        (call_value_symbolic_sp64): Likewise.
        (nonlocal_goto): Pass label reg directly to goto_handlers.  Constrain
        v9 case to 32-bit constants.
        (goto_handler_and_restore_v9): Provide a version for arch64.
        * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
        * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
        (CPP_PREDEFINES): New.
        * sparc/sp64-elf.h: Likewise.
        (PREFERRED_DEBUGGING_TYPE): Dwarf2.
        (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
        * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.

From-SVN: r19526

26 years agocall.c (build_over_call): Do evaluate arg even if it has empty class type.
Jason Merrill [Sun, 3 May 1998 02:30:57 +0000 (02:30 +0000)]
call.c (build_over_call): Do evaluate arg even if it has empty class type.

* call.c (build_over_call): Do evaluate arg even if it has empty
class type.
* decl.c (start_function): Don't push a member function.

From-SVN: r19525

26 years agoBump for snapshot
Jeffrey A Law [Sat, 2 May 1998 17:47:21 +0000 (11:47 -0600)]
Bump for snapshot

From-SVN: r19520

26 years agoreload.c (find_reloads): Emit USEs to mark where a pseudo is reloaced with the MEM...
J"orn Rennecke [Fri, 1 May 1998 17:40:53 +0000 (17:40 +0000)]
reload.c (find_reloads): Emit USEs to mark where a pseudo is reloaced with the MEM of its stack slot.

* reload.c (find_reloads): Emit USEs to mark where a pseudo
is reloaced with the MEM of its stack slot.
* reload1.c (cannot_omit_stores): Delete.
(reload): Don't initialize it.
Don't apply avoid_return_reg logic to USEs.
When done, remove USEs that have a REG_EQUAL note on them.
(emit_reload_insns): Handle case where we have inherited a MEM.
(delete_output_reload): Don't use cannot_omit_stores.

From-SVN: r19508

26 years agoInitial revision
Jeff Law [Fri, 1 May 1998 06:05:05 +0000 (00:05 -0600)]
Initial revision

From-SVN: r19505

26 years agoFix build failure when POSIXLY_CORRECT set, reported by B. James Phillippe.
Jim Wilson [Thu, 30 Apr 1998 19:01:09 +0000 (19:01 +0000)]
Fix build failure when POSIXLY_CORRECT set, reported by B. James Phillippe.

* Makefile.in (cpp.info, gcc.info): Put -o option before input file.
* cp/Makefile.in (g++FAQ.info): Put -o option before input file.
* f/Make-lang.in (g77.info, g77.dvi, BUGS, INSTALL, NEWS): Put -o
option before input file.

From-SVN: r19504

26 years agoPrevent buffer overrun in debug output; Make alloc_{INSN,EXPR}_LIST static
Michael Meissner [Thu, 30 Apr 1998 16:25:19 +0000 (16:25 +0000)]
Prevent buffer overrun in debug output; Make alloc_{INSN,EXPR}_LIST static

From-SVN: r19503

26 years agoUpdate gxxint.texi to include squangling info
Andrew MacLeod [Thu, 30 Apr 1998 10:11:45 +0000 (10:11 +0000)]
Update gxxint.texi to include squangling info

From-SVN: r19502

26 years agoInitial revision
Jeff Law [Wed, 29 Apr 1998 16:43:13 +0000 (10:43 -0600)]
Initial revision

From-SVN: r19499

26 years agoInitial revision
Jeff Law [Wed, 29 Apr 1998 16:42:41 +0000 (10:42 -0600)]
Initial revision

From-SVN: r19498

26 years agoInitial revision
Jeff Law [Wed, 29 Apr 1998 16:40:21 +0000 (10:40 -0600)]
Initial revision

From-SVN: r19497