ghazi [Mon, 11 May 1998 06:50:51 +0000 (06:50 +0000)]
* 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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19661
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 11 May 1998 00:07:25 +0000 (00:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19660
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19659
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 10 May 1998 23:00:31 +0000 (23:00 +0000)]
Another new test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19658
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 10 May 1998 22:54:14 +0000 (22:54 +0000)]
document
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19657
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 10 May 1998 22:53:45 +0000 (22:53 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19656
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 10 May 1998 01:27:49 +0000 (01:27 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19653
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 9 May 1998 22:50:47 +0000 (22:50 +0000)]
Point folks to wwwdocs since those are the official versions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19651
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 9 May 1998 18:10:28 +0000 (18:10 +0000)]
* class.c (currently_open_class): New fn.
* decl.c (lookup_name_real): Use it.
* search.c (lookup_field): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19650
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 9 May 1998 18:08:52 +0000 (18:08 +0000)]
new, update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19649
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 9 May 1998 02:03:07 +0000 (02:03 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19645
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 9 May 1998 02:01:55 +0000 (02:01 +0000)]
* machmode.h (COMPLEX_MODE_P): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19644
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 9 May 1998 01:53:01 +0000 (01:53 +0000)]
* haifa-sched.c (print_exp): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19643
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 8 May 1998 21:48:53 +0000 (21:48 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19638
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 8 May 1998 17:34:01 +0000 (17:34 +0000)]
Remove previous dwarf2out.c change. It was incorrect according to Jim.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19637
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 8 May 1998 15:46:05 +0000 (15:46 +0000)]
Hunk of m32r changes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19636
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 8 May 1998 15:24:08 +0000 (15:24 +0000)]
Call fatal_insn instead of abort
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19635
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 8 May 1998 13:14:32 +0000 (13:14 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19634
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19633
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19632
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 8 May 1998 02:06:26 +0000 (02:06 +0000)]
massive namespace patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19631
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Fri, 8 May 1998 02:01:41 +0000 (02:01 +0000)]
* config/m68k/t-linux: Remove extra stuff already included in
config/t-linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19630
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Fri, 8 May 1998 01:18:40 +0000 (01:18 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19629
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Fri, 8 May 1998 01:18:37 +0000 (01:18 +0000)]
�
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19628
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Fri, 8 May 1998 01:17:24 +0000 (01:17 +0000)]
Renamed fixinc.math to fixinc.wrap
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19627
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 8 May 1998 00:51:27 +0000 (00:51 +0000)]
* call.c (build_user_type_conversion_1): Handle second_conv
properly for templates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19626
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19622
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19621
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19615
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 7 May 1998 15:07:43 +0000 (15:07 +0000)]
More toplev.h cleanup, regnerate c-parse.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19614
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Thu, 7 May 1998 14:41:36 +0000 (14:41 +0000)]
Update copyright
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19613
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Thu, 7 May 1998 14:39:02 +0000 (14:39 +0000)]
Restore LR in case __eabi was called multiple times
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19612
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Thu, 7 May 1998 14:30:53 +0000 (14:30 +0000)]
clear TREE_USED f;ag for build_type_variant types as well
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19611
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19610
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 7 May 1998 09:21:51 +0000 (09:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19609
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 7 May 1998 02:18:59 +0000 (02:18 +0000)]
* pt.c (tsubst): Don't tsubst the type of an IDENTIFIER_NODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19608
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Thu, 7 May 1998 01:59:07 +0000 (01:59 +0000)]
* config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19607
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 22:51:38 +0000 (22:51 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19606
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19605
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 22:06:44 +0000 (22:06 +0000)]
Another test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19604
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 22:03:21 +0000 (22:03 +0000)]
* 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....
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19603
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 6 May 1998 21:31:16 +0000 (21:31 +0000)]
Typo fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19602
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 21:09:07 +0000 (21:09 +0000)]
typo typo fixes fixes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19601
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19600
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 20:19:15 +0000 (20:19 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19599
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 20:11:03 +0000 (20:11 +0000)]
Fix braces right this time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19598
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 6 May 1998 19:03:14 +0000 (19:03 +0000)]
* Makefile.in: Fix .SUFFIXES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19597
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 6 May 1998 19:01:05 +0000 (19:01 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19596
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 18:31:37 +0000 (18:31 +0000)]
* config/linux.h (ASM_COMMENT_START): Define as "#".
* config/linux-aout.h (ASM_COMMENT_START): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19595
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 18:18:03 +0000 (18:18 +0000)]
New test (alias problems).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19594
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 18:00:20 +0000 (18:00 +0000)]
* haifa-sched.c (print_value, case SUBREG): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19593
138bc75d-0d04-0410-961f-
82ee72b054a4
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.h (REG_CLASS_CONTENTS): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19592
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19591
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19590
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19589
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 16:36:26 +0000 (16:36 +0000)]
Another new test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19588
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 16:35:35 +0000 (16:35 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19587
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 16:32:40 +0000 (16:32 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19586
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19585
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19584
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 6 May 1998 15:51:37 +0000 (15:51 +0000)]
* loop.c (regs_match_p): Fix typo in prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19583
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19582
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19581
138bc75d-0d04-0410-961f-
82ee72b054a4
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19580
138bc75d-0d04-0410-961f-
82ee72b054a4
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-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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19579
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Wed, 6 May 1998 11:45:22 +0000 (11:45 +0000)]
* config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
Replace -gdwarf-2 with -g0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19578
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 6 May 1998 11:41:58 +0000 (11:41 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19577
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Wed, 6 May 1998 09:06:36 +0000 (09:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19574
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19573
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19572
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19571
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Wed, 6 May 1998 06:57:39 +0000 (06:57 +0000)]
Comment on fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19570
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 6 May 1998 06:38:15 +0000 (06:38 +0000)]
1998-05-05 Mark Mitchell <mmitchell@usa.net>
* tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19569
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 6 May 1998 05:12:21 +0000 (05:12 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19568
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 6 May 1998 05:05:11 +0000 (05:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19567
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 6 May 1998 05:03:22 +0000 (05:03 +0000)]
Correct ChangeLog entry for my last cp/ChangeLog fix. The "cp/" is
implicit. No need to call it out.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19566
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 6 May 1998 05:01:35 +0000 (05:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19565
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 6 May 1998 04:54:01 +0000 (04:54 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19564
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 6 May 1998 04:45:47 +0000 (04:45 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19563
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 6 May 1998 04:40:48 +0000 (04:40 +0000)]
�
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19562
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 6 May 1998 04:39:57 +0000 (04:39 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19561
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 6 May 1998 02:40:36 +0000 (02:40 +0000)]
* tree.c (perm_manip): Also regenerate the RTL of an extern.
(copy_to_permanent): Use end_temporary_allocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19560
138bc75d-0d04-0410-961f-
82ee72b054a4
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. 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19558
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19557
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19556
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19555
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 5 May 1998 23:18:02 +0000 (23:18 +0000)]
* Check in merge from gcc2. See ChangeLog.12 for details.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19553
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 5 May 1998 22:31:25 +0000 (22:31 +0000)]
New test from Joern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19552
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 5 May 1998 21:41:24 +0000 (21:41 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19551
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Tue, 5 May 1998 16:24:01 +0000 (16:24 +0000)]
Add -Os to torture options
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19546
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19545
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 5 May 1998 15:29:06 +0000 (15:29 +0000)]
Call build_type_variant in method.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19544
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19543
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 5 May 1998 09:33:05 +0000 (09:33 +0000)]
* h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19542
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Tue, 5 May 1998 01:54:21 +0000 (01:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19541
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 5 May 1998 01:28:34 +0000 (01:28 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19540
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 5 May 1998 01:27:06 +0000 (01:27 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19539
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 5 May 1998 00:44:36 +0000 (00:44 +0000)]
* i386.c (output_fix_trunc): Add code to emulate non-popping DImode
case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19538
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 5 May 1998 00:35:14 +0000 (00:35 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19536
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 5 May 1998 00:18:36 +0000 (00:18 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19535
138bc75d-0d04-0410-961f-
82ee72b054a4