green [Sat, 2 Oct 1999 15:44:24 +0000 (15:44 +0000)]
The following patches include a couple of fixes for cross toolchains,
and endian bits for the picojava port. I am committing this (and the
rebuilt Makefile.in/configure files).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29765
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 2 Oct 1999 08:52:17 +0000 (08:52 +0000)]
* tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
for non-trees.
(build1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29764
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 2 Oct 1999 07:45:08 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29763
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 2 Oct 1999 01:09:54 +0000 (01:09 +0000)]
* typeck.c (decay_conversion): Strip cv-quals from non-class rvalues.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29762
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 2 Oct 1999 00:41:00 +0000 (00:41 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29761
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 2 Oct 1999 00:39:04 +0000 (00:39 +0000)]
* libjava.lang/PR56.out: New file.
* libjava.lang/PR56.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29760
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 2 Oct 1999 00:19:01 +0000 (00:19 +0000)]
* configure: Rebuilt.
* configure.in: Set classpath when invoking gcj. Use changequote
around sed invocation.
* java/net/natPlainSocketImpl.cc: Stub native functions if
DISABLE_JAVA_NET is defined.
* java/net/natPlainDatagramSocketImpl.cc (setTimeToLive): Fixed
typo in exception string.
(getTimeToLive): Likewise.
Stub native functions if DISABLE_JAVA_NET is defined.
* java/net/natInetAddress.cc: Stub native functions if
DISABLE_JAVA_NET is defined.
* configure.host: Disable java.net for mips-tx39.
* configure, include/config.h.in: Rebuilt.
* acconfig.h (DISABLE_JAVA_NET): Undefine.
* configure.in: Added --disable-java-net and new define
`DISABLE_JAVA_NET'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29759
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 1 Oct 1999 22:44:51 +0000 (22:44 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29758
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 1 Oct 1999 17:25:05 +0000 (17:25 +0000)]
* pt.c (tsubst_decl): If the type of a template instantiation is
bogus, so is the whole instantiation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29757
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Fri, 1 Oct 1999 17:02:21 +0000 (17:02 +0000)]
Fix i386elf bug
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29756
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Fri, 1 Oct 1999 10:44:28 +0000 (10:44 +0000)]
* config/m68k/m68k.c (use_return_insn): Return false if the pic
register is in use.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29755
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Fri, 1 Oct 1999 10:26:46 +0000 (10:26 +0000)]
Delete !REGISTER_CONSTRAINTS code
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29754
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Fri, 1 Oct 1999 10:00:33 +0000 (10:00 +0000)]
Delete !REGISTER_CONSTRAINTS code
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29753
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 1 Oct 1999 07:45:14 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29752
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 1 Oct 1999 07:03:06 +0000 (07:03 +0000)]
* iris6.h (BUILD_VA_LIST_TYPE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29751
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 1 Oct 1999 06:55:49 +0000 (06:55 +0000)]
* lib/file-format.exp (gcc_target_object_format): Don't
crash if objdump is unavailable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29750
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 1 Oct 1999 04:45:10 +0000 (04:45 +0000)]
* decl.c (initialize_local_var): Handle static variables here.
(cp_finish_decl): Tweak handling of function-scope static
variables.
* semantics.c (expand_stmt): Handle DECL_STMTs for static
variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29749
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 1 Oct 1999 04:34:24 +0000 (04:34 +0000)]
* method.c (emit_thunk): Don't crash when -fsyntax-only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29748
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 1 Oct 1999 04:31:00 +0000 (04:31 +0000)]
Fix typo in comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29747
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Oct 1999 01:46:41 +0000 (01:46 +0000)]
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
for the va_list record.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29746
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Oct 1999 01:35:37 +0000 (01:35 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
prologues.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29745
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Oct 1999 01:32:18 +0000 (01:32 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* alias.c: Include insn-flags.h.
* Makefile.in (alias.o): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29744
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Oct 1999 01:22:24 +0000 (01:22 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
to LTU and GEU. Handle more cases using sbb.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29743
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Oct 1999 01:19:16 +0000 (01:19 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* i386.md (truncatexfdf splitters): Do not use subreg.
(fop XFmode patterns): Fix mode in operand testing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29742
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Oct 1999 01:13:51 +0000 (01:13 +0000)]
* jump.c (jump_optimize_1): Amend last change to test only the
form of the operand, not the insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29741
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Oct 1999 01:06:14 +0000 (01:06 +0000)]
* jump.c (jump_optimize_1) [conditional_move]: Use general_operand
not register_operand to determine when B may need preloading.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29740
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 1 Oct 1999 00:45:07 +0000 (00:45 +0000)]
* alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
(ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
(call-value patterns): Move to end of file.
(*): Remove mode from label_ref in (pc) context.
(movstrqi): Use memory not general_operand for BLKmode operands.
(prologue_stack_probe_loop, builtin_longjmp): Add missing mode
to register_operand operands.
(peep2 patterns): Convert from commented-out peephole patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29739
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 1 Oct 1999 00:43:27 +0000 (00:43 +0000)]
* cp-tree.h (lang_decl_flags): Add global_ctor_p and
global_dtor_p. Add init_priority.
(DECL_ACCESS): Adjust accordingly.
(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
(GLOBAL_INIT_PRIORITY): Likewise.
* decl.c (lang_mark_tree): Adjust accordingly.
(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
and GLOBAL_INIT_PRIORITY.
* dump.c (dequeue_and_dump): Print them.
* ir.texi: Document them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29738
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 30 Sep 1999 22:20:29 +0000 (22:20 +0000)]
* java/net/natPlainDatagramSocketImpl.cc: Indentation fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29737
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 22:08:56 +0000 (22:08 +0000)]
Update copyright dates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29736
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 18:50:56 +0000 (18:50 +0000)]
* h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
generating RTL directly.
* mips.h (INIT_TARGET_OPTABS): Likewise.
* mn10200.h (INIT_TARGET_OPTABS): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29734
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 30 Sep 1999 17:43:44 +0000 (17:43 +0000)]
* cp-tree.h (lang_decl_flags): Add global_ctor_p and
global_dtor_p. Add init_priority.
(DECL_ACCESS): Adjust accordingly.
(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
(GLOBAL_INIT_PRIORITY): Likewise.
* decl.c (lang_mark_tree): Adjust accordingly.
(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
and GLOBAL_INIT_PRIORITY.
* dump.c (dequeue_and_dump): Print them.
* ir.texi: Document them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29733
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 17:21:30 +0000 (17:21 +0000)]
Move -Wfloat-equal into the correct location.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29732
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 30 Sep 1999 15:48:19 +0000 (15:48 +0000)]
* decl2.c (struct priority_info_s): Remove initialization_sequence
and destruction_sequence.
(start_static_storage_duration_function): Return the body of the
function. Convert for function-at-a-time mode.
(generate_inits_for_priority): Remove.
(finish_static_storage_duration_function): Change prototype.
Adjust for function-at-a-time mode.
(do_static_initialization): Likewise.
(do_static_destruction): Likewise.
(do_static_initialization_and_destruction): Remove.
(start_static_initialization_or_destruction): New function.
(finish_static_initialization_or_destruction): Likewise.
(get_priority_info): Don't manipulation initialization_sequence or
destruction_sequence.
(prune_vars_needing_no_initialization): New function.
(write_out_vars): Likewise.
(finish_file): Use the various new functions instead of the old.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29731
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Thu, 30 Sep 1999 13:40:41 +0000 (13:40 +0000)]
Use lookup table to get register sizes in dwarf2 eh
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29730
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 30 Sep 1999 09:46:08 +0000 (09:46 +0000)]
* c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
Correctly build argument list to constructor and destructor functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29728
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 07:45:12 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29727
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 07:14:18 +0000 (07:14 +0000)]
* expr.h (init_mov_optab): Delete declaration
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29726
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 07:10:07 +0000 (07:10 +0000)]
* editbuf.cc, parsestream.cc, pfstream.cc: Include string.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29725
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 07:00:53 +0000 (07:00 +0000)]
* h8300.c (WORD_REG_USED): Update to avoid useless register
saves in interrupt functions and functions which never return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29724
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 06:22:45 +0000 (06:22 +0000)]
* invoke.texi: Add docs for -Wfloat-equal warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29723
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 06:19:54 +0000 (06:19 +0000)]
* c-tree.h (warn_float_equal): Declare.
* c-decl.c (warn_float_equal): Define.
(c_decode_option): Recognize -W[no-]float-equal.
* c-typeck.c (build_binary_op): Conditionally warn
about equality tests of floating point types.
* toplev.c (documented_lan_options): Add -W[no-]float-equal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29722
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 06:15:53 +0000 (06:15 +0000)]
* cp-tree.h (warn_float_equal): Declare.
* decl2.c (warn_float_equal): Define.
(lang_decode_option): Recognize -W[no-]float-equal.
* typeck.c (build_binary_op_nodefault): Conditionally warn
about equality tests of floating point types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29721
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 05:50:28 +0000 (05:50 +0000)]
* gcc.misc-tests/mg.exp: delete extraneous redirection.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29720
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 Sep 1999 05:43:58 +0000 (05:43 +0000)]
* cse.c (struct set): Delete inner_dest_loc field.
(cse_insn): Remove assignments to inner_dest_loc field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29719
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 30 Sep 1999 02:17:36 +0000 (02:17 +0000)]
1999-09-29 Bryce McKinlay <bryce@albatross.co.nz>
* README: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29717
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 30 Sep 1999 00:50:37 +0000 (00:50 +0000)]
update -fno-rtti
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29716
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 30 Sep 1999 00:50:29 +0000 (00:50 +0000)]
Support normal type_info-based EH mechanisms with -fno-rtti.
* except.c (build_eh_type_type): Remove special -fno-rtti handling.
(build_eh_type_type_ref): Likewise.
(build_eh_type): Remove.
(expand_throw): Call build_eh_type_type, not build_eh_type.
* decl2.c (import_export_decl): Don't associate the tinfo fn with
the vtable if -fno-rtti.
* decl.c (init_decl_processing): Always init_rtti_processing.
* rtti.c (get_typeid): Don't complain about -fno-rtti.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29715
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 29 Sep 1999 23:10:11 +0000 (23:10 +0000)]
* libjava.lang/PR55.out: New file.
* libjava.lang/PR55.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29714
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 Sep 1999 23:08:11 +0000 (23:08 +0000)]
* ggc-page.c: Don't include <unistd.h> etc taken care of
by "system.h". Include <sys/mman.h> afterward.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29713
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 Sep 1999 23:05:46 +0000 (23:05 +0000)]
* rs6000.c (rs6000_encode_section_info): If ggc_p, use
ggc_alloc_string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29712
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 29 Sep 1999 22:52:57 +0000 (22:52 +0000)]
* class.c (class_cache_obstack, class_obstack): Remove.
(init_class_processing): Don't initialize class_obstack.
(push_cache_obstack): Remove.
(pushclass): Don't call it.
* cp-tree.h: Remove prototype for push_cache_obstack.
* decl.c (decl_obstack, decl_stack, push_decl_level): Remove.
(pushlevel_class): Don't push_decl_level.
(poplevel_class): Don't pop_stack_level.
(push_class_level_binding): Don't push_cache_obstack.
(init_decl_processing): Don't intialize decl_obstack.
* search.c (push_class_decls): Don't push_cache_obstack.
* tree.c (list_hash_add): Put hash node on permanent_obstack.
(hash_tree_cons): Don't mess with obstacks.
(print_lang_statistics): Don't print stats for class_obstack and
decl_obstack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29711
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 29 Sep 1999 20:07:56 +0000 (20:07 +0000)]
* dump.c (dequeue_and_dump): Dump DECL_EXTERNAL.
* ir.texi: Document DECL_EXTERNAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29710
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 29 Sep 1999 19:00:46 +0000 (19:00 +0000)]
* dump.c (dequeue_and_dump): Improve support for dumping THUNK_DECLs.
* ir.texi: Document THUNK_DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29709
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 29 Sep 1999 17:24:21 +0000 (17:24 +0000)]
* cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Move here from pt.c.
(TMPL_ARGS_DEPTH, TMPL_ARGS_LEVEL, SET_TMPL_ARGS_LEVEL): Likewise.
(TMPL_ARG, SET_TMPL_ARG, NUM_TMPL_ARGS, TMPL_PARMS_DEPTH): Likewise.
* error.c (dump_template_bindings): Remove unused parameter.
Handle multiple levels of template parameters.
(dump_template_decl): Use `parms', not `args', for template
parameters. Fix thinko.
(dump_function_decl): Use DECL_TEMPLATE_INSTANTIATION. Don't pass
flags to dump_template_bindings.
* pt.c (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Move to cp-tree.h.
(TMPL_ARGS_DEPTH, TMPL_ARGS_LEVEL, SET_TMPL_ARGS_LEVEL): Likewise.
(TMPL_ARG, SET_TMPL_ARG, NUM_TMPL_ARGS, TMPL_PARMS_DEPTH): Likewise.
(tsubst_copy): Clarify variable name.
(most_general_template): Robustify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29708
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 29 Sep 1999 14:59:56 +0000 (14:59 +0000)]
* error.c (dump_template_parms): Don't use TS_PEDANTIC_NAME
to change primary template rendering.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29707
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 29 Sep 1999 08:16:38 +0000 (08:16 +0000)]
* cp-tree.h (UPT_TEMPLATE): Remove.
(UPT_PARMS): Likewise.
(DECL_NEEDED_P): New macro.
* decl2.c (finish_vtable_vardecl): Use it.
(finish_objects): Don't crash with -fsyntax-only.
(finish_file): Use DECL_NEEDED_P. Don't prune vtables when
-fsyntax-only.
* pt.c (tsubst_friend_function): Remove FIXME that talks about
obstacks.
(tsubst_expr): Correct handling of function try-blocks.
* semantics.c: Include flags.h.
(expand_body): Don't do RTL generation if -fsyntax-only.
* Makefile.in (semantics.o): Depends on flags.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29706
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 29 Sep 1999 08:06:21 +0000 (08:06 +0000)]
* cp-tree.h (UPT_TEMPLATE): Remove.
(UPT_PARMS): Likewise.
(DECL_NEEDED_P): New macro.
* decl2.c (finish_vtable_vardecl): Use it.
(finish_objects): Don't crash with -fsyntax-only.
(finish_file): Use DECL_NEEDED_P. Don't prune vtables when
-fsyntax-only.
* pt.c (tsubst_friend_function): Remove FIXME that talks about
obstacks.
(tsubst_expr): Correct handling of function try-blocks.
* semantics.c: Include flags.h.
(expand_body): Don't do RTL generation if -fsyntax-only.
* Makefile.in (semantics.o): Depends on flags.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29705
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 Sep 1999 07:45:09 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29704
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 Sep 1999 03:40:50 +0000 (03:40 +0000)]
Copyright tweaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29703
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Wed, 29 Sep 1999 01:10:44 +0000 (01:10 +0000)]
1999-09-28 Gabriel Dos Reis <gdr@codesourcery.com>
Implement function template instantiation pretty printing.
* pt.c (most_general_template): Adjust declaration.
* cp-tree.h: (most_general_template): Declare.
* error.c (dump_template_value): Rename to ...
(dump_template_argument): This.
(dump_template_argument_list): New function.
(dump_type): Use it.
(dump_template_parameter): New function.
(dump_template_decl): Use it.
(dump_template_bindings): New function.
(dump_function_decl): Use it. Pretty print function template
instantiations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29702
138bc75d-0d04-0410-961f-
82ee72b054a4
ovidiu [Wed, 29 Sep 1999 00:37:49 +0000 (00:37 +0000)]
Fixed deallocation of a mutex in thr-single.c (patch from Chris Ball <cball@fmco.com>).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29701
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 28 Sep 1999 22:16:57 +0000 (22:16 +0000)]
* configure: Rebuilt.
* configure.in (PROCESS): In POSIX case, only set if not already
set.
* configure.host (PROCESS): Set in mips-tx39 case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29700
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 28 Sep 1999 20:37:20 +0000 (20:37 +0000)]
* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (LIB_AC_PROG_CC): Provide appropriate AC_PROG_ symbol.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29699
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 28 Sep 1999 20:14:11 +0000 (20:14 +0000)]
* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29698
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 28 Sep 1999 18:13:58 +0000 (18:13 +0000)]
* xcoffout.c (xcoffout_declare_function): Add documentation.
* rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
TARGET_64BIT. Compare constant to -1, not bit pattern.
(easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
(expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
gen_movsi typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29697
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 28 Sep 1999 17:26:01 +0000 (17:26 +0000)]
New test: check ability to generate debug information for incomplete types in
inline functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29696
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 28 Sep 1999 17:11:44 +0000 (17:11 +0000)]
Fix the handling of inline, unresolved type references.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29695
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Tue, 28 Sep 1999 13:43:34 +0000 (13:43 +0000)]
* c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
call it.
* reg-stack.c (straighten_stack): Copy hard reg set with
COPY_HARD_REG_SET.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29694
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 28 Sep 1999 12:46:10 +0000 (12:46 +0000)]
* g++.old-deja/g++.other/decl6.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29693
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 28 Sep 1999 12:30:22 +0000 (12:30 +0000)]
* decl.c (grokdeclarator): Distinguish parameter context for
diagnostics. Tidy up missing type diagnostic.
Diagnose `explicit' in one place. Diagnose `mutable' in one place.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29692
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 Sep 1999 08:20:28 +0000 (08:20 +0000)]
* gcc.c-torture/execute/va-arg-10.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29691
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 Sep 1999 08:15:38 +0000 (08:15 +0000)]
* builtins.c (stabilize_va_list): Stabilize array type va_list
to a pointer type, not the base record type.
(expand_builtin_va_copy): Dereference the pointers explicitly;
use the correct size for the copy.
* rs6000.c (rs6000_va_start): Dereference valist to get to the record.
(rs6000_va_arg): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29690
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 28 Sep 1999 07:45:12 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29689
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 28 Sep 1999 07:40:15 +0000 (07:40 +0000)]
* ir.texi: Improve documentation for TARGET_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29688
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 Sep 1999 06:28:33 +0000 (06:28 +0000)]
* rtl.h (struct rtx_def): Move gc_mark to align mode field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29687
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 28 Sep 1999 06:18:11 +0000 (06:18 +0000)]
* tree.h (struct tree_decl): Use `bclass', not `class', in name of
field.
(DECL_BUILT_IN_CLASS): Adjust accordingly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29686
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 Sep 1999 06:05:53 +0000 (06:05 +0000)]
* ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
(init_ggc): Use it instead of a constant.
(ggc_collect): Bound allocated_last_gc by it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29685
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 28 Sep 1999 01:11:08 +0000 (01:11 +0000)]
* fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
with va_list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29683
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 27 Sep 1999 21:16:40 +0000 (21:16 +0000)]
* include/sparc-signal.h (SIGNAL_HANDLER): Third argument now a
`void *'.
(MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29682
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Mon, 27 Sep 1999 20:02:46 +0000 (20:02 +0000)]
* configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
(mips*-*-openbsd*): Let big endian configuration be a fragment.
* configure: Regen.
* config/mips/openbsd.h: New, OpenBSD little endian target.
* config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
* config/mips/xm-openbsd.h: New, OpenBSD host.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29681
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 27 Sep 1999 17:45:52 +0000 (17:45 +0000)]
* alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
or <alloca.h>.
* clock.c (GNU_HZ): New definition.
(clock): Use it.
* getruntime.c: Likewise.
* config.table: Use mh-beos.
* config/mh-beos: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29680
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 27 Sep 1999 17:39:43 +0000 (17:39 +0000)]
* configure.in: Recognize target *vxworks* and add fragment vxworks.mt.
* config/vxworks.mt: New file.
* gen-params: Let configure override HAVE_PRINTF_FP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29679
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 27 Sep 1999 17:36:14 +0000 (17:36 +0000)]
Kill RCSid strings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29678
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 27 Sep 1999 17:33:09 +0000 (17:33 +0000)]
Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29677
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Mon, 27 Sep 1999 08:43:01 +0000 (08:43 +0000)]
* config/m68k/m68k.c (output_function_prologue,
output_function_epilogue): Use
current_function_uses_pic_offset_table instead of regs_ever_live
to decide whether to save/restore pic register.
(legitimize_pic_address): Don't modify regs_ever_live any more.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29676
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 27 Sep 1999 08:34:37 +0000 (08:34 +0000)]
Reformat ChangeLog 1999-09-27 Nathan Sidwell <nathan@acm.org>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29675
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 27 Sep 1999 08:28:19 +0000 (08:28 +0000)]
* g++.old-deja/g++.pt/memtemp77.C: Adjust expected
__PRETTY_FUNCTION__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29674
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 27 Sep 1999 08:26:00 +0000 (08:26 +0000)]
Augment stringification of trees.
* cp-tree.h (tree_string_flags): New error stringifying enumeration.
(fndecl_as_string, type_as_string_real, args_as_string,
code_as_string, language_as_string, parm_as_string,
op_as_string, assop_as_string, cv_as_string): Remove.
(type_as_string, decl_as_string, expr_as_string): Adjust prototype.
(context_as_string): Declare new function.
* error.c (cp_printers): Move definition.
(OB_UNPUT): Remove.
(OB_END_TEMPLATE_ID): Adjust.
(interesting_scope_p): Remove.
(dump_scope): New static function.
(dump_qualifiers): Adjust prototype, reimplement.
(dump_template_value): Use tree_string_flags.
(dump_type_real): Move back to dump_type.
(dump_type): Adjust prototype. Use tree_string_flags.
(dump_aggr_type): Likewise. Use dump_template_parms.
(dump_type_prefix): Adjust prototype. Use tree_string_flags. Return pad flag.
(dump_type_suffix): Adjust prototype. Use tree_string_flags.
(dump_simple_decl): Likewise.
(dump_decl): Likewise. Use dump_template_decl.
(dump_template_decl): New static function broken out of dump_decl.
(dump_function_decl): Adjust prototype. Use tree_string_flags.
(dump_parameters): Likewise. Prefix space.
(dump_exception_spec): Adjust prototype. Use tree_string_flags.
(dump_function_name): Likewise. Use dump_template_parms.
(dump_template_parms): New static function broken out of
dump_function_name.
(dump_expr_list): Adjust prototype. Use tree_string_flags.
(dump_expr): Likewise.
(fndecl_as_string): Removed
(type_as_string_real): Removed
(dump_binary_op): Adjust prototype. Use tree_string_flags.
(dump_unary_op): Likewise.
(type_as_string): Likewise.
(expr_as_string): Likewise.
(decl_as_string): Likewise.
(context_as_string): New function.
(lang_decl_name): Adjust.
(decl_to_string): New static print callback.
(expr_to_string): Likewise.
(fndecl_to_string): Likewise.
(code_as_string): Renamed to ...
(code_to_string): ... here. Adjust.
(language_as_string): Renamed to ...
(language_to_string): ... here. Adjust.
(parm_as_string): Renamed to ...
(parm_to_string): ... here.
(op_as_string): Renamed to ...
(op_to_string): ... here.
(assop_as_string): Renamed to ...
(assop_to_string): ... here.
(type_to_string): New static print callback.
(args_as_string): Renamed to ...
(args_to_string): ... here. Adjust.
(cv_as_string): Renamed to ...
(cv_to_string): ... here. Adjust.
* pt.c (mangle_class_name_for_template): Use tree_string_flags.
(print_template_context): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29673
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 27 Sep 1999 07:45:12 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29672
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 27 Sep 1999 01:27:18 +0000 (01:27 +0000)]
* cp-tree.h (expand_throw): Remove prototype.
* except.c (expand_throw): Make it static. Use tree-generation
functions, rather than RTL-generation functions.
(build_throw): Use it.
* expr.c: Include except.h.
(cplus_expand_expr): Don't call expand_throw here.
* Makefile.in (expr.o): Depend on except.h.
* ir.texi: Update documentation for THROW_EXPR.
* decl.c (start_function): Set x_dont_save_pending_sizes rather
than calling get_pending_sizes.
* init.c (build_new): Don't save and restore
immediate_size_expand; instead, assert that it has the expected
value already.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29671
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Sun, 26 Sep 1999 21:43:48 +0000 (21:43 +0000)]
* config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
for symbolic_operand().
* config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29670
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 26 Sep 1999 18:16:47 +0000 (18:16 +0000)]
* decl.c (start_function): Set x_dont_save_pending_sizes rather
than calling get_pending_sizes.
* init.c (build_new): Don't save and restore
immediate_size_expand; instead, assert that it has the expected
value already.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29669
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 26 Sep 1999 18:13:28 +0000 (18:13 +0000)]
* function.h (struct function): Add x_dont_save_pending_sizes_p.
* stor-layout.c (variable_size): Don't add sizes to the pending
sizes list if x_dont_save_pending_sizes_p is set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29668
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 26 Sep 1999 11:40:53 +0000 (11:40 +0000)]
* combine.c (gen_rtx_combine): Add missing call to va_end().
* final.c (asm_fprintf): Likewise.
* genattrtab.c (attr_rtx): Likewise.
cp:
* lex.c (compiler_error): Add missing call to va_end().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29667
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 26 Sep 1999 07:45:09 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29666
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 25 Sep 1999 19:13:18 +0000 (19:13 +0000)]
* cse.c: Update comments.
(cse_insn): When converting a conditional/computed jump into
an unconditional jump, always make sure a BARRIER immediately
follows the converted jump. Do not delete unreachable code.
(cse_basic_block): Do not delete unreachable code.
* toplev.c (rest_of_compilation): Move call to
delete_trivially_dead_insns after the conditional call to
jump_optimize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29665
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 25 Sep 1999 18:16:08 +0000 (18:16 +0000)]
* dump.c (dequeue_and_dump): Handle RESULT_DECL.
* ir.texi: Document RESULT_DECL and DECL_RESULT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29664
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 25 Sep 1999 18:10:04 +0000 (18:10 +0000)]
* cp-tree.h (check_return_expr): New function.
* decl.c (finish_constructor_body): New function.
(pushdecl): Put global friend functions in namespace binding
level, not the class binding level.
(finish_destructor_body): Make sure the dtor_label is always
defined. Fix typo in comment.
(finish_function): Move generation of constructor-termination code
to semantic-analysis time. Move generation of implicit `main'
return value to semantic-analysis time.
* semantics.c (finish_return_stmt): Generate goto's to
ctor_label/dtor_label here. Use check_return_expr to do semantic
analysis on the returned expression.
* typeck.c (maybe_warn_about_returning_address_of_local): New
function split out from c_expand_return.
(check_return_expr): Likewise.
(c_expand_return): Just generate the RTL for the return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29663
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 25 Sep 1999 13:11:17 +0000 (13:11 +0000)]
include:
* libiberty.h (make_temp_file): Add a prototype.
libiberty:
* choose-temp.c: Remove obsolete comment about gcc.
(make_temp_file): Constify a char*.
gcc:
* collect2.c (make_temp_file): Don't prototype.
* gcc.c (make_temp_file): Likewise.
* mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29662
138bc75d-0d04-0410-961f-
82ee72b054a4