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
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
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
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
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
Jeff Law [Tue, 5 May 1998 22:31:25 +0000 (16:31 -0600)]
New test from Joern.
From-SVN: r19552
Jeff Law [Tue, 5 May 1998 21:41:24 +0000 (15:41 -0600)]
New test.
From-SVN: r19551
Michael Meissner [Tue, 5 May 1998 16:24:01 +0000 (16:24 +0000)]
Add -Os to torture options
From-SVN: r19546
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
Andrew MacLeod [Tue, 5 May 1998 15:29:06 +0000 (15:29 +0000)]
Call build_type_variant in method.c
From-SVN: r19544
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
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
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
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
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
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
Jeff Law [Tue, 5 May 1998 00:35:14 +0000 (18:35 -0600)]
New test.
From-SVN: r19536
Jeff Law [Tue, 5 May 1998 00:18:36 +0000 (18:18 -0600)]
New test
From-SVN: r19535
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
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
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
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
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
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
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
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
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
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