dje [Sat, 29 Aug 1998 15:41:49 +0000 (15:41 +0000)]
really commit configure.in
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22087
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 29 Aug 1998 14:01:47 +0000 (14:01 +0000)]
0
* i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
.linkonce directive after the first time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22086
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 29 Aug 1998 14:01:45 +0000 (14:01 +0000)]
(
* i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
.linkonce directive after the first time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22085
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 29 Aug 1998 13:54:24 +0000 (13:54 +0000)]
* m68k.md (beq0_di): Generate correct (and more efficient) code when
the clobbered operand overlaps with an input.
(bne0_di): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22082
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 29 Aug 1998 11:41:40 +0000 (11:41 +0000)]
* Makefile.in (INSTALL): Remove "--no-header" argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22080
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 29 Aug 1998 11:40:49 +0000 (11:40 +0000)]
* NEWS: Various updates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22079
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 29 Aug 1998 11:38:06 +0000 (11:38 +0000)]
Add and use mh-aix43 to set AR_FOR_TARGET.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22077
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 29 Aug 1998 10:37:48 +0000 (10:37 +0000)]
Bring version # and generated files updates over from the branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22076
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 29 Aug 1998 09:54:08 +0000 (09:54 +0000)]
�
fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22075
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 29 Aug 1998 01:17:36 +0000 (01:17 +0000)]
�
more tests
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22073
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 29 Aug 1998 01:15:24 +0000 (01:15 +0000)]
�
1998-08-28 Benjamin Kosnik <bkoz@loony.cygnus.com>
* pt.c (decl_template_parm_p): Add checks for
TEMPLATE_TEMPLATE_PARM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22072
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 29 Aug 1998 01:15:22 +0000 (01:15 +0000)]
�
1998-08-28 Benjamin Kosnik <bkoz@loony.cygnus.com>
* pt.c (decl_template_parm_p): Add checks for
TEMPLATE_TEMPLATE_PARM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22071
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 29 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22069
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Fri, 28 Aug 1998 20:13:45 +0000 (20:13 +0000)]
* config/sparc/sparc.c (arith_operand, const64_operand,
const64_high_operand, arith_double_4096_operand): Mark mode as
unused.
(create_simple_focus_bits): Remove unused arg highest_bit_set, all
callers changed.
(sparc_emit_set_const64): Remove unused variable i.
(sparc_splitdi_legitimate): Likewise for addr_part.
(ultra_code_from_mask): Likewise for mask.
(ultra_cmove_results_ready_p): Fixup entry modulo calc.
(ultra_flush_pipeline): Likewise.
(ultra_fpmode_conflict_exists): Likewise, remove unused variable
this_type, and allow loads and stores of differing FP modes as
they do not create a conflict.
(ultra_find_type): Initialize fpmode to SFmode, fix
parenthesization thinkos in large conditional.
(ultrasparc_sched_init): Mark dump and sched_verbose as unused.
Init free_slot_mask after ultra_cur_hist is reset, not before.
(ultrasparc_rescan_pipeline_state): Remove unused variable ucode.
(ultrasparc_sched_reorder): Don't bzero current pipeline state,
use ultra_flush_pipeline instead, then re-init group pointer.
Fix statement with no effect. If no progress made in, and no
instructions scheduled at all, advance to new pipeline cycle else
we get into an endless loop.
(ultrasparc_adjust_cost): Remove previous arg.
* config/sparc/sparc.h (ADJUST_COST): Update to reflect that.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22068
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 28 Aug 1998 18:11:36 +0000 (18:11 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22067
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 28 Aug 1998 18:06:38 +0000 (18:06 +0000)]
Tweak
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22066
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 28 Aug 1998 18:00:56 +0000 (18:00 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22065
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 28 Aug 1998 17:36:09 +0000 (17:36 +0000)]
* lex.c (do_identifier): Fix thinko in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22064
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 28 Aug 1998 17:02:44 +0000 (17:02 +0000)]
* cp-tree.h (build_enumerator): Take the enumeration type as a
paramter.
* decl.c (finish_enum): Don't set the TREE_TYPE for the
enumeration constant values if we're processing_template_decls.
Don't set the type for the CONST_DECLs either; that's done in
build_enumerator. (
(build_enumerator): Take the enumeration type as a
paramter.
* lex.c (do_identifier): Don't resolve enumeration constants while
processing template declarations, even if they happen to be
TEMPLATE_PARM_INDEXs.
* parse.y (current_enum_type): New variable.
(primary): Don't allow statement-expression in local classes just
as we don't in global classes.
(structsp): Use current_enum_type.
(enum_list): Likewise.
* pt.c (tsubst_enum): Don't check for NOP_EXPRs introduced by
finish_enum; they no longer occur.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22063
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 28 Aug 1998 16:48:44 +0000 (16:48 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22062
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 28 Aug 1998 16:11:35 +0000 (16:11 +0000)]
Add support for discarding unused virtual functions.
* search.c (dfs_search, binfo_for_vtable, dfs_bfv_helper): New fns.
* decl2.c (output_vtable_inherit): Call binfo_for_vtable.
* lang-options.h: Add -fvtable-gc.
* cp-tree.h: Add flag_vtable_gc.
* decl2.c (output_vtable_inherit): New fn.
(finish_vtable_vardecl): Call it.
* class.c (build_vtable_entry_ref): New fn.
(build_vtbl_ref): Call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22061
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 28 Aug 1998 15:43:58 +0000 (15:43 +0000)]
* cp-tree.h (build_enumerator): Take the enumeration type as a
paramter.
* decl.c (finish_enum): Don't set the TREE_TYPE for the
enumeration constant values if we're processing_template_decls.
Don't set the type for the CONST_DECLs either; that's done in
build_enumerator. (
(build_enumerator): Take the enumeration type as a
paramter.
* lex.c (do_identifier): Don't resolve enumeration constants while
processing template declarations, even if they happen to be
TEMPLATE_PARM_INDEXs.
* parse.y (current_enum_type): New variable.
(primary): Don't allow statement-expression in local classes just
as we don't in global classes.
(structsp): Use current_enum_type.
(enum_list): Likewise.
* pt.c (tsubst_enum): Don't check for NOP_EXPRs introduced by
finish_enum; they no longer occur.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22060
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Fri, 28 Aug 1998 15:43:10 +0000 (15:43 +0000)]
fix XCRASH setup
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22059
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Fri, 28 Aug 1998 15:40:44 +0000 (15:40 +0000)]
dd `_eb91_' in front of the typenames, to avoid linux hiccups
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22058
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Fri, 28 Aug 1998 14:57:55 +0000 (14:57 +0000)]
* sparc.md (DImode, DFmode, TFmode splits): Delete self_reference
code. Use reg_overlap_mentioned_p to detect when source and
destination overlap.
(negtf2_notv9+1): Use DFmode instead of SFmode in last two operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22057
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 28 Aug 1998 12:06:56 +0000 (12:06 +0000)]
* cp-tree.h (finish_base_specifier): New function.
* parse.y (base_class): Use it.
* semantics.c (finish_base_specifier): Define it.
* parse.y (structsp): Warn on use of typename outside of template
declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22055
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Fri, 28 Aug 1998 11:23:35 +0000 (11:23 +0000)]
* loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not
COMPARISON_VAL, into invariant_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22054
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Fri, 28 Aug 1998 09:39:38 +0000 (09:39 +0000)]
mark as xfail for now, since we have the test but don't have a fix yet
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22053
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 28 Aug 1998 07:18:52 +0000 (07:18 +0000)]
* regmove.c (regclass_compatible_p): New function.
(regmove_optimize): Use it.
Use NREGS parameter insted of calling max_reg_num.
(fixup_match_1): Don't use code = MINUS when later tieing with
a hard register is likely.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22052
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 28 Aug 1998 07:05:20 +0000 (07:05 +0000)]
* loop.c (check_dbra_loop): Fix calculation of FINAL_VALUE when
COMPARISON_VAL was normalized.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22051
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Fri, 28 Aug 1998 02:43:24 +0000 (02:43 +0000)]
Update reference to standard.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22050
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 28 Aug 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22048
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 28 Aug 1998 00:10:42 +0000 (00:10 +0000)]
* loop.c (check_dbra_loop): The loop ending comparison value
must be an invariant or we can not reverse the loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22045
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 27 Aug 1998 23:19:47 +0000 (23:19 +0000)]
* loop.c (scan_loop): Count down from max_reg_num - 1 to
FIRST_PSEUDO_REGISTER to avoid calling max_reg_num each iteration
of the loop.
(load_mems_and_recount_loop_regs_set): Likewise.
Forgot second AVOID_CCMODE_COPIES loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22044
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 27 Aug 1998 23:11:32 +0000 (23:11 +0000)]
* loop.c (scan_loop): Count down from max_reg_num - 1 to
FIRST_PSEUDO_REGISTER to avoid calilng max_reg_num each iteration
of the loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22043
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 27 Aug 1998 23:01:28 +0000 (23:01 +0000)]
* gcc.dg/980827-1.c: New test.
New test from Geoff Keating
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22042
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:52:38 +0000 (20:52 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22040
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:39 +0000 (20:51 +0000)]
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22039
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:39 +0000 (20:51 +0000)]
�
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22038
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:39 +0000 (20:51 +0000)]
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22037
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:39 +0000 (20:51 +0000)]
�
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22036
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:39 +0000 (20:51 +0000)]
�
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22035
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:39 +0000 (20:51 +0000)]
�
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22034
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:38 +0000 (20:51 +0000)]
d
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22033
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:38 +0000 (20:51 +0000)]
�
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22032
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:38 +0000 (20:51 +0000)]
�
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22031
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 27 Aug 1998 20:51:37 +0000 (20:51 +0000)]
(
Migrate from devo/gcc/ch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22030
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Thu, 27 Aug 1998 20:02:34 +0000 (20:02 +0000)]
add missing typedefs
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22029
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 27 Aug 1998 19:12:08 +0000 (19:12 +0000)]
* i386.c (print_operand): Remove obsolete 'c' docs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22028
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 27 Aug 1998 19:03:59 +0000 (19:03 +0000)]
* lex.c (handle_cp_pragma): Remove #pragma vtable.
* lang-options.h: Remove +e options.
* decl2.c (lang_decode_option): Likewise.
(import_export_vtable): Don't check write_virtuals.
(finish_vtable_vardecl, finish_file): Likewise.
* search.c (dfs_debug_mark): Likewise.
* semantics.c (begin_class_definition): Likewise.
* class.c (build_vtable, finish_vtbls, finish_struct_1): Likewise.
* call.c (build_over_call): Check flag_elide_constructors.
* decl2.c: flag_elide_constructors defaults to 1.
* typeck.c (convert_arguments): Remove return_loc parm.
(build_function_call_real): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22027
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Thu, 27 Aug 1998 18:46:21 +0000 (18:46 +0000)]
fix test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22026
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 27 Aug 1998 17:33:35 +0000 (17:33 +0000)]
* search.c: Tear out all mi_matrix and memoize code.
(lookup_field, lookup_fnfields): Use scratch_tree_cons.
* lang-options.h: Remove documentation for -fhandle-exceptions,
-fmemoize-lookups and -fsave-memoized.
* cp-tree.h: Lose mi_matrix and memoize support.
* decl2.c: Ignore -fmemoize-lookups and -fsave-memoized.
* class.c: Lose struct class_level.
(pushclass, popclass): Lose memoize support.
* init.c (build_offset_ref): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22025
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 27 Aug 1998 15:30:49 +0000 (15:30 +0000)]
Never change BINFO_INHERITANCE_CHAIN.
* init.c (emit_base_init): Change modification of
BINFO_INHERITANCE_CHAIN to an assert.
* search.c (get_base_distance_recursive): Likewise.
(get_base_distance): Likewise.
(lookup_member): Likewise.
(convert_pointer_to_single_level): Likewise.
(lookup_field): Likewise. Lose setting TREE_VIA_* on TREE_LISTs.
(lookup_fnfields): Likewise.
* tree.c (propagate_binfo_offsets): Don't call unshare_base_binfos.
(unshare_base_binfos): Don't call propagate_binfo_offsets.
(layout_basetypes): Call propagate_binfo_offsets instead of
unshare_base_binfos.
* decl.c (xref_basetypes): Call unshare_base_binfos.
* pt.c (instantiate_class_template): Likewise.
* tree.c (reverse_path): Remove 'copy' parm; always make a
temporary copy.
* class.c (build_vbase_path): Just call it.
* search.c (compute_access): Likewise. Don't re-reverse.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22024
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 27 Aug 1998 14:51:55 +0000 (14:51 +0000)]
* gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION.
* frame.c (init_object_mutex): New function.
(init_object_mutex_once): Likewise.
(find_fde): Call it.
(__register_frame_info): Likewise.
(__register_frame_info_table): Likewise.
(__deregister_frame_info): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22023
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 27 Aug 1998 14:15:32 +0000 (14:15 +0000)]
* haifa-sched.c (sched_analyze_insn): Fix thinko in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22022
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 27 Aug 1998 10:17:48 +0000 (10:17 +0000)]
* class.c (build_vbase_path): Use reverse_path.
(finish_base_struct): Move warnings for inaccessible bases to
layout_basetypes.
(modify_one_vtable): Remove check of TREE_USED (binfo).
(fixup_vtable_deltas1): Likewise.
* cp-tree.h (BINFO_INHERITANCE_CHAIN): Document here.
(xref_tag): Remove binfos parameter.
(make_binfo): Remove chain parameter.
(reverse_path): Add copy parameter.
* decl.c (init_decl_processing): Change calls to xref_tag.
(xref_tag): Remove binfos parameter.
(xref_basetypes): Change calls to make_binfo.
* decl2.c (grok_x_components): Change calls to xref_tag.
(handle_class_head): Likewise.
* friend.c (do_friend): Likewise.
* lex.c (make_lang_type): Change calls to make_binfo.
* parse.y (structsp): Change calls to xref_tag.
(named_complex_class_head_sans_basetype): Likewise.
(named_class_head): Likewise.
* rtti.c (init_rtti_processing): Likewise.
* search.c (compute_access): Change calls to reverse_path.
(dfs_get_vbase_types): Change calls to make_binfo.
(get_vbase_types): Remove dead code.
* tree.c (unshare_base_binfos): Change calls to make_binfo.
(layout_basetypes): Warn here about inaccessible bases.
(make_binfo): Remove chain parameter.
(reverse_path): Add copy parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22021
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 27 Aug 1998 10:12:10 +0000 (10:12 +0000)]
Remove comma
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22020
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 27 Aug 1998 08:39:22 +0000 (08:39 +0000)]
* loop.c (check_dbra_loop): Enable code for reversal
of some loops without a known constant loop end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22019
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 27 Aug 1998 02:04:34 +0000 (02:04 +0000)]
* class.c: #if 0 complete_type_p.
* init.c (build_java_class_ref, build_new_1): Remove unused locals.
* method.c (process_overload_item): Likewise.
* typeck.c (comp_target_types): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22018
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 27 Aug 1998 01:41:17 +0000 (01:41 +0000)]
Stop sharing binfos for indirect virtual bases.
* tree.c (propagate_binfo_offsets): Unshare vbases, too.
(layout_basetypes): Likewise.
(unshare_base_binfos): Copy vbases, too.
* cp-tree.h (BINFO_VIA_PUBLIC, BINFO_BASEINIT_MARKED,
BINFO_VBASE_INIT_MARKED): Remove obsolete macros.
(BINFO_PUSHDECLS_MARKED, SET_BINFO_PUSHDECLS_MARKED,
CLEAR_BINFO_PUSHDECLS_MARKED): New macros.
* search.c (lookup_field, lookup_fnfields, lookup_member): Remove
reference to BINFO_VIA_PUBLIC.
(marked_pushdecls_p, unmarked_pushdecls_p): New fns.
(push_class_decls): Use them.
(dfs_pushdecls): Use SET_BINFO_PUSHDECLS_MARKED.
(dfs_compress_decls): Use CLEAR_BINFO_PUSHDECLS_MARKED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22017
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 27 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22015
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 27 Aug 1998 00:14:27 +0000 (00:14 +0000)]
* decl.c (build_enumerator): Set DECL_CONTEXT for the
CONST_DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22014
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 26 Aug 1998 22:20:34 +0000 (22:20 +0000)]
* Makefile.in (FLAGS_TO_PASS): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22012
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 26 Aug 1998 18:49:40 +0000 (18:49 +0000)]
* alpha.h (LABEL_ALIGN_AFTER_BARRIER): Was ALIGN_LABEL_AFTER_BARRIER.
(MD_SCHED_VARIABLE_ISSUE): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22011
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 26 Aug 1998 18:48:21 +0000 (18:48 +0000)]
* alpha.c (alpha_handle_trap_shadows): Remove do-nothing exit.
Tag trapb and next insn with TImode.
(alphaev5_insn_pipe, alphaev5_next_group, alphaev5_align_insns): New.
(alpha_reorg): Add conditional for alpha_handle_trap_shadows.
Invoke alphaev5_align_insns as appropriate.
* alpha.md (attr type): Add multi.
(define_asm_attributes): New.
(prologue_stack_probe_loop, builtin_setjmp_receiver): Set type multi.
(arg_home): Likewise.
(fnop, unop, realign): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22010
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 26 Aug 1998 18:47:42 +0000 (18:47 +0000)]
* haifa-sched.c (last_clock_var): New.
(schedule_block): Initialize it.
(schedule_insn): Use it to fill insn modes with issue information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22009
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 26 Aug 1998 17:06:03 +0000 (17:06 +0000)]
* calls.c (expand_call): Use bitfield instructions to extract/deposit
word sized hunks when loading unaligned args into registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22008
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 26 Aug 1998 17:04:22 +0000 (17:04 +0000)]
Restore -g not supported warning to default irix5 port.
* iris5.h (PREFERRED_DEBUGGING_TYPE): Undef.
* iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22007
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 26 Aug 1998 15:57:20 +0000 (15:57 +0000)]
Make `configure rs6000-ibm-aix4.1' work again.
* configure.in (powerpc-ibm-aix4.[12]*): Change from 4.[12].*.
(rs6000-ibm-aix4.[12]*): Likewise.
* configure: Regnerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22006
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 26 Aug 1998 15:30:58 +0000 (15:30 +0000)]
* haifa-sched.c (sched_analyze_insn): Only create scheduling
barriers for LOOP, EH and SETJMP notes on the loop_notes list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22005
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 26 Aug 1998 13:55:47 +0000 (13:55 +0000)]
* cp-tree.h (finish_enum): Change prototype.
* decl.c (finish_enum): Use TYPE_VALUES, rather than taking a
VALUES parameter. Don't try to compute mins/maxs if
processing_template_decl.
* parse.y (structsp): Use new calling sequence for finish_enum.
* pt.c (tsubst_enum): Likewise. Take the new type as input.
(lookup_template_class): Remove unused variables. Tweak.
Register enums on instantiation list before substituting
enumeration constants.
(tsubst_decl): Remove unused variables.
(regenerate_decl_from_template): Likewise.
* decl.c (duplicate_decls): Don't obliterate the
DECL_TEMPLATE_INFO for a template if we're not replacing it with
anything.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22004
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 26 Aug 1998 12:45:15 +0000 (12:45 +0000)]
* lex.c (do_identifier): Fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22003
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 26 Aug 1998 12:16:54 +0000 (12:16 +0000)]
Do not move register a4 into lr if lr already contains the return address.
CVS: ----------------------------------------------------------------------
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22002
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 26 Aug 1998 11:58:20 +0000 (11:58 +0000)]
* mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22001
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 26 Aug 1998 08:40:47 +0000 (08:40 +0000)]
* loop.c (check_dbra_loop): Add some code that would allow reversal
of some loops without a known constant loop end if it were enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22000
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 26 Aug 1998 08:19:18 +0000 (08:19 +0000)]
Document overflow bug in check_dbra_loop:
* execute/loop-4b.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21999
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Wed, 26 Aug 1998 08:16:23 +0000 (08:16 +0000)]
* mips.md (lshrsi3_internal2+2): Fix type-o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21998
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 26 Aug 1998 08:11:47 +0000 (08:11 +0000)]
* system.h: Include stdarg.h/varargs.h, make sure they are ordered
correctly with regards to stdio.h.
* calls.c: Remove stdarg.h/varargs.h.
* cccp.c: Likewise.
* cexp.y: Likewise.
* combine.c: Likewise.
* cpperror.c: Likewise.
* cpplib.c: Likewise.
* cpplib.h: Likewise.
* doprint.c: Likewise.
* emit-rtl.c: Likewise.
* final.c: Likewise.
* fix-header.c: Likewise.
* gcc.c: Likewise.
* genattr.c: Likewise.
* genattrtab.c: Likewise.
* gencodes.c: Likewise.
* genconfig.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* genflags.c: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* genpeep.c: Likewise.
* genrecog.c: Likewise.
* mips-tfile.c: Likewise.
* prefix.c: Likewise.
* protoize.c: Likewise.
* regmove.c: Likewise.
* toplev.c: Likewise.
* tree.c: Likewise.
* cp/errfn.c: Remove stdarg.h/varargs.h.
* cp/tree.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21997
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Wed, 26 Aug 1998 06:19:46 +0000 (06:19 +0000)]
* config/sparc/sparc.c (sparc_override_options): If not
TARGET_FPU, turn off TARGET_VIS.
* config/sparc/sparc.h (TARGET_SWITCHES): Add no-vis.
(LEGITIMATE_CONSTANT_P): Allow SF/DF mode zero when TARGET_VIS.
* config/sparc/sparc.md (movsi_insn): Use fzeros not fzero.
(movdi_insn_sp64): Add VIS fzero alternative.
(clear_sf, clear_df): New VIS patterns.
(movsf, movdf expanders): Allow fp_zero_operand flat out when
TARGET_VIS.
(one_cmpldi2_sp64): Provide new fnot1 VIS alternative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21996
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Wed, 26 Aug 1998 04:27:57 +0000 (04:27 +0000)]
This change was certainly tested...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21995
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 26 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21993
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:36:47 +0000 (23:36 +0000)]
* g77.texi: Increment `version-g77' and fix a few typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21992
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:36:46 +0000 (23:36 +0000)]
�
* g77.texi: Increment `version-g77' and fix a few typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21991
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:35:58 +0000 (23:35 +0000)]
Split up the ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21990
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:21:02 +0000 (23:21 +0000)]
Reorganize FSF/GCC2 ChangeLogs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21987
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 25 Aug 1998 23:17:35 +0000 (23:17 +0000)]
* loop.c (n_times_set, n_times_used, may_not_optimize,
reg_single_usage): Convert to varrays. All uses changed.
(insert_loop_mem): Return a value.
(scan_loop): Tweak AVOID_CC_MODE_COPIES code.
(load_mems_and_recount_loop_regs_set): Likewise. Grow the arrays, if
necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21986
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 23:07:46 +0000 (23:07 +0000)]
* From Alexandre:
* configure.in: Do not set thread_file to "irix" since no such
support exists yet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21985
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 22:59:06 +0000 (22:59 +0000)]
8
* sparc.md (float abs/neg splits): Check reload_completed before
calling alter_subreg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21983
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 22:59:03 +0000 (22:59 +0000)]
* sparc.md (float abs/neg splits): Check reload_completed before
calling alter_subreg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21982
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 25 Aug 1998 20:25:02 +0000 (20:25 +0000)]
* config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): New
function.
* config/sparc/sparc.h: Declare it.
* config/sparc/sparc.md (float abs/neg splits): Use it.
(all other splits): Handle SUBREGs properly where necessary.
(unnamed (1<<x)-1 V8PLUS pattern): Disable for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21981
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Tue, 25 Aug 1998 18:52:45 +0000 (18:52 +0000)]
* pt.c (tsubst_copy): Only do typename overloading on an
IDENTIFIER_NODE that happens to look like a typename if it actually
has a type for us to use.
avoid problems w/ SGI STL headers that have variables like __opr or __op1
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21978
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 18:50:26 +0000 (18:50 +0000)]
* reorg.c (fill_simple_delay_slots): Do not abort if we encounter
an insn on the unfilled_slots_list that has no delay slots.
(fill_eager_delay_slots): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21977
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Aug 1998 18:43:10 +0000 (18:43 +0000)]
* gcc.c-torture/compile/980825-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21975
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 25 Aug 1998 17:17:51 +0000 (17:17 +0000)]
* typeck.c (comp_cv_target_types): Split out...
(comp_target_types): From here. Don't allow cv-qual changes under
a pointer if nptrs == 0. Fix OFFSET_TYPE handling.
(build_ptrmemfunc): Pass 1 to nptrs.
* cvt.c (perform_qualification_conversions): Use comp_ptr_ttypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21974
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Tue, 25 Aug 1998 14:39:39 +0000 (14:39 +0000)]
(_IO_getline_info): Don't read anything for N==0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21973
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 25 Aug 1998 13:36:14 +0000 (13:36 +0000)]
Fi xexecute/bcp-1.c: Treat CONSTANT_P_RTX as a general operand in movsi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21972
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 25 Aug 1998 13:09:57 +0000 (13:09 +0000)]
* search.c (dependent_base_p): Don't compare a binfo to
current_class_type; use the TREE_TYPE of the binfo instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21971
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 25 Aug 1998 12:55:42 +0000 (12:55 +0000)]
* tree.c (valid_machine_attribute): Don't apply attributes to both
decl and type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21970
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 25 Aug 1998 12:24:31 +0000 (12:24 +0000)]
Oops. forgot to kill the >>> from the conflict.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21969
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 25 Aug 1998 12:23:51 +0000 (12:23 +0000)]
* reload.c (operands_match_p): Handle rtvecs.
* i386.c (legitimate_pic_address_disp_p): New.
(legitimate_address_p): Use it.
(legitimize_pic_address): Use unspecs to represent @GOT and @GOTOFF.
Handle constant pool symbols just like statics.
(emit_pic_move): Use Pmode not SImode for clarity.
(output_pic_addr_const) [SYMBOL_REF]: Remove @GOT and @GOTOFF hacks.
[UNSPEC]: New, handling what we killed above.
[PLUS]: Detect and abort on invalid symbol arithmetic.
* i386.h (CONSTANT_ADDRESS_P): Remove HIGH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21968
138bc75d-0d04-0410-961f-
82ee72b054a4