Bernd Schmidt [Tue, 6 Oct 1998 19:41:52 +0000 (13:41 -0600)]
i386.md (addsidi3_1): Delete unused variable temp.
* i386.md (addsidi3_1): Delete unused variable temp.
(addsidi3_2): Likewise.
(clstrstrsi): Delete unused variable addr1.
From-SVN: r22873
Bernd Schmidt [Tue, 6 Oct 1998 19:39:34 +0000 (13:39 -0600)]
* rtl.h: Don't declare any functions also declared in recog.h.
From-SVN: r22872
Alexandre Oliva [Tue, 6 Oct 1998 19:33:27 +0000 (19:33 +0000)]
* Makefile.in (INCLUDES): Make it multilib-friendly
From-SVN: r22871
Richard Henderson [Tue, 6 Oct 1998 15:43:24 +0000 (08:43 -0700)]
* collect2.c (main): Initialize ld_file_name.
From-SVN: r22870
Mark Mitchell [Tue, 6 Oct 1998 14:20:30 +0000 (14:20 +0000)]
cp-tree.def (PTRMEM_CST): New tree node.
* cp-tree.def (PTRMEM_CST): New tree node.
* cp-tree.h (ptrmem_cst): New type.
(lang_type): Remove local_typedecls.
(dummy): Increase to 12 bits from 11.
(CLASSTYPE_LOCAL_TYPEDECLS): Remove.
(PTRMEM_CST_CLASS): New macro.
(PTRMEM_CST_MEMBER): Likewise.
(current_access_specifier): New variable.
(current_class_type): Remove duplicate declaration.
(finish_struct): Change prototype.
(unreverse_member_declarations): New function.
(pushdecl_class_level): Change prototype.
(grok_enum_decls): Remove.
(fixup_anonymous_union): New function.
(grok_x_components): Change prototype.
(tsubst_chain): Remove.
(finish_member_template_decl): Likewise.
(check_explicit_specialization): Fix indentation.
(finish_class_definition): Change prototype.
(finish_member_class_template): Likewise.
(finish_member_declaration): New function.
(check_multiple_declarators): Likewise.
* class.c (class_stack_node_t): New type.
(current_class_base): Remove.
(current_class_stack): Change type.
(current_access_specifier): New variable.
(grow_method): Remove.
(check_member_decl_is_same_in_complete_scope): Break out from
finish_struct.
(make_method_vec): New function.
(free_method_vec): Likewise.
(add_implicitly_declared_members): Break out from finish_struct_1.
(free_method_vecs): New variable.
(add_method): Rework for direct use from parser.
(handle_using_decl): Watch for NULL_TREE while iterating through
CLASSTYPE_METHOD_VEC.
(finish_struct_methods): Don't build CLASSTYPE_METHOD_VEC here;
just do some error-checking.
(warn_hidden): Change iteration through CLASSTYPE_METHOD_VEC.
(finish_struct_1): Simplify. Use add_implicitly_declared_members.
(finish_struct): Change prototype. Simplify; fields and methods
are already set up at this point.
(init_class_processing): Set up current_class_stack.
(pushclass): Save current_access_specifier.
(popclass): Restore it.
(currently_open_class): Simplify.
(build_self_reference): Remove use of CLASSTYPE_LOCAL_TYPEDECLS.
* decl.c (saved_scope): Add access_specifier.
(maybe_push_to_top_level): Save it.
(pop_from_top_level): Restore it.
(maybe_process_template_type_declaration): Use
finish_member_declaration.
(pushtag): Likewise.
(pushdecl_class_level): Don't return a value.
(fixup_anonymous_union): Break out from grok_x_components.
(shadow_tag): Use it.
(xref_tag): Complain about using an elaborated type specifier to
reference a template type parameter or typedef name.
(xref_basetypes): Don't set CLASSTYPE_LOCAL_TYPEDECLS.
(current_local_enum): Remove.
(build_enumerator): Call finish_member_declaration.
(grok_enum_decls): Remove.
* decl2.c (grok_x_components): Simplify.
(check_classfn): Change iteration through CLASSTYPE_METHOD_VEC.
(grokfield): Don't set CLASSTYPE_LOCAL_TYPEDECLS.
(merge_functions): Add to comment.
(arg_assoc_type): Prototype.
(arg_assoc): Pass as many arguments as there are parameters.
* error.c (dump_expr): Handle PTRMEM_CST. Improve handling of
OFFSET_REF.
* expr.c (cpls_expand_expr): Remove dead code. Handle
PTRMEM_CST.
* friend.c (do_friend): Lookup friends when in nested classes.
Change comments.
* init.c (build_offset_ref): Do lookup even for classes that are
only partially defined.
(decl_constant_value): Remove dead code.
* method.c (build_overload_value): Remove hack where by TYPE was
not a TYPE. Handle PTRMEM_CST.
(build_template_parm_names): Don't pass a PARM_DECL where a TYPE
should go.
* parse.y (components, notype_components, component_decl,
component_decl_1, component_declarator, component_declarator0):
Now all are itype rather than ttype. Rework to add members to
classes on the fly.
(typesqpecqual_reserved): Use check_multiple_declarators.
(structsp): Update class to finish_class_definition.
(do_xref_defn): Unsplit into named_class_head.
(access_specifier): Set current_access_specifier.
* pt.c (set_current_access_from_decl): New function.
(finish_member_template_decl): Don't take the parameters.
(comp_template_args): Make more robust.
(lookup_template_class): Don't use current_local_enum.
(for_each_template_parm): Handle PTRMEM_CST.
(instantiate_class_template): Use set_current_access_from_decl,
finish_member_declaration and unreverse_member_declarations. Set
lineno/input_filename before generating implicit member functions.
(type_unification_real): Don't assume back-unification happens
only for the last argument.
(regenerate_decl_from_template): Call pushclass a bit earlier.
(tsubst_chain): Remove.
(tsubst_enum): Use set_current_access_from_decl.
(set_mangled_name_for_template_decl): Fix indentation.
* search.c (lookup_fnfields_1): Change iteration through
CLASSTYPE_METHOD_VEC.
(dfs_pushdecls): Likewise.
(dfs_compress_decls): Likewise.
(add_conversions): Likewise.
* semantics.c (finish_class_definition): Don't take components.
Change call to finish_struct.
(finish_member_declaration): New function.
(finish_member_class_template): Don't take template parameters.
Change call to grok_x_components. Call finish_member_template_decl.
(check_multiple_declarators): New function.
* sig.c (append_signature_fields): Work from the TYPE_METHODS, not
a passed in fieldlist.
* tree.c (search_tree): Handle PTRMEM_CST.
(mapcar): Likewise.
* typeck.c (unary_complex_lvalue): Build PTRMEM_CSTs, not
INTEGER_CSTs, for pointer-to-data members.
From-SVN: r22869
Catherine Moore [Tue, 6 Oct 1998 13:47:21 +0000 (13:47 +0000)]
sysv4.h (ASM_OUTPUT_SECTION_NAME): Don't check for flag_function_sections.
* config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Don't
check for flag_function_sections.
From-SVN: r22868
Mark Mitchell [Tue, 6 Oct 1998 12:38:05 +0000 (12:38 +0000)]
call.c (resolve_args): Resolve template specializations, if possible.
* call.c (resolve_args): Resolve template specializations, if
possible.
From-SVN: r22867
J"orn Rennecke [Tue, 6 Oct 1998 12:04:55 +0000 (12:04 +0000)]
* cse.c (insert_regs): Fix bug in Sep 24 change.
From-SVN: r22866
J"orn Rennecke [Tue, 6 Oct 1998 09:03:38 +0000 (09:03 +0000)]
Cleanup for -fdump-unnumbered:
* flags.h (flag_dump_unnumbered): Declare.
* toplev.c (flag_dump_unnumbered): Don't declare.
* print-rtl.c (flags.h): Include.
(print_rtl_single): Add return value.
* rtl.h (print_rtl_single): Update declaration.
* flow.c (flag_dump_unnumbered): Don't declare.
(print_rtl_with_bb): Use return value of print_rtl_single.
From-SVN: r22865
Kaveh R. Ghazi [Tue, 6 Oct 1998 05:04:32 +0000 (05:04 +0000)]
Warning fixes:
* Makefile.in (spew.o): Depend on toplev.h.
* call.c (compare_ics): Initialize variables `deref_from_type2',
`deref_to_type1' and `deref_to_type2'.
* except.c (get_eh_type): Hide prototype and definition.
(process_start_catch_block_old): Remove unused static prototype.
* pt.c (tsubst_decl): Initialize variable `argvec'.
* spew.c: Include toplev.h.
From-SVN: r22864
Jeff Law [Tue, 6 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22863
Bernd Schmidt [Tue, 6 Oct 1998 00:39:23 +0000 (18:39 -0600)]
Makefile.in (stupid.o): Update dependencies.
* Makefile.in (stupid.o): Update dependencies.
(global.o): Likewise.
* global.c: Include reload.h
(reg_becomes_live): New function.
(reg_dies): New function.
(build_insn_chain): New function.
(global_alloc): Call build_insn_chain before calling reload.
* reload.h (struct needs): New structure definition.
(struct insn_chain): Likewise.
(reload_insn_chain): Declare variable.
(new_insn_chain): Declare function.
* reload1.c (reload_startobj): New variable.
(reload_insn_chain): New variable.
(unused_insn_chains): New variable.
(new_insn_chain): New function.
(init_reload): Initialize reload_startobj, not reload_firstobj.
(reload): Initialize reload_firstobj.
Before returning, free everything on the reload_obstack.
* stupid.c: Include insn-config.h, reload.h and basic-block.h.
(reg_where_dead_chain, reg_where_born_exact, reg_where_born_clobber,
current_chain): New variables.
(reg_where_born): Delete variable.
(REG_WHERE_BORN): New macro.
(find_clobbered_regs): New function.
(stupid_life_analysis): Don't allocate/free reg_where_born.
Allocate and free reg_where_born_exact, reg_where_born_clobber,
reg_where_dead_chain.
Use REG_WHERE_BORN instead of reg_where_born.
While processing the insns, build the reload_insn_chain with
information about register lifetimes.
(stupid_reg_compare): Use REG_WHERE_BORN instead of reg_where_born.
(stupid_mark_refs): Replace arg INSN with arg CHAIN. All callers
changed.
Compute and information about birth and death of pseudo registers in
reg_where_dead_chain, reg_where_born_exact and reg_where_born_clobber.
Delete code to set elements of reg_where_born.
From-SVN: r22862
Alexandre Oliva [Tue, 6 Oct 1998 00:24:05 +0000 (00:24 +0000)]
friend35.C: New test.
* g++.old-deja/g++.pt/friend35.C: New test. A template function
must be declared before its specializations can be named in friend
declarations.
From-SVN: r22861
Alexandre Petit-Bianco [Mon, 5 Oct 1998 22:36:18 +0000 (15:36 -0700)]
tree.def (GOTO_EXPR): Modified documentation.
0
* tree.def (GOTO_EXPR): Modified documentation.
* expr.c (expand_expr): Expand GOTO_EXPR into a goto or a computed
goto.
From-SVN: r22860
Alexandre Petit-Bianco [Mon, 5 Oct 1998 22:36:16 +0000 (15:36 -0700)]
tree.def (GOTO_EXPR): Modified documentation.
8
* tree.def (GOTO_EXPR): Modified documentation.
* expr.c (expand_expr): Expand GOTO_EXPR into a goto or a computed
goto.
From-SVN: r22859
Jason Merrill [Mon, 5 Oct 1998 22:10:23 +0000 (18:10 -0400)]
pt.c (instantiate_decl): Do save and restore file position.
* pt.c (instantiate_decl): Do save and restore file position.
* method.c (build_decl_overload_real): Clear
numeric_output_need_bar after __.
* call.c (build_new_method_call): Issue 'incomplete type' error,
if class is not defined.
From-SVN: r22856
David Edelsohn [Mon, 5 Oct 1998 22:03:25 +0000 (22:03 +0000)]
unroll.c (loop_iteration_var, [...]): No longer static.
* unroll.c (loop_iteration_var, loop_initial_value, loop_increment
loop_final_value, loop_comparison_code): No longer static.
(unroll_loop): Delete loop_start_value update.
* loop.h (loop_iteration_var, loop_initial_value, loop_increment,
loop_final_value, loop_comparison_code): Extern.
(loop_start_value): Delete extern.
* loop.c (loop_can_insert_bct, loop_increment, loop_start_value,
loop_comparison_value, loop_comparison_code): Delete.
(loop_optimize): Remove initialization for deleted variables.
(strength_reduce): Delete analyze_loop_iterations call. Only call
insert_bct if flag_branch_count_on_reg set.
(analyze_loop_iterations): Delete.
(insert_bct): Remove iteration count calculation. Move checks for
viable BCT optimization to here. Obtain iteration count from
loop_iterations and correct for unrolling. Check for enough
iteration to be beneficial. Comment out runtime iteration count
case.
(insert_bct): Print iteration count in dump file. Remove
loop_var_mode and use word_mode directly.
* rs6000.h (processor_type): Add PROCESSOR_PPC604e.
* rs6000.c (rs6000_override_options): Use it.
(optimization_options): Enable use of flag_branch_on_count_reg.
* rs6000.md (define_function_unit): Describe 604e.
From-SVN: r22852
Kaveh Ghazi [Mon, 5 Oct 1998 21:31:14 +0000 (21:31 +0000)]
call.c (build_object_call): Move declaration of variable `fn' into the scope where it is used.
* call.c (build_object_call): Move declaration of variable
`fn' into the scope where it is used. Don't access variable
`fn' when it is uninitialized, instead use `fns'.
From-SVN: r22850
Kaveh Ghazi [Mon, 5 Oct 1998 21:13:46 +0000 (21:13 +0000)]
call.c (build_object_call): Move declaration of variable `fn' into the scope where it is used.
* call.c (build_object_call): Move declaration of variable
`fn' into the scope where it is used. Don't access variable
`fn' when it is uninitialized, instead use `fns'.
From-SVN: r22849
Herman A.J. ten Brugge [Mon, 5 Oct 1998 20:48:22 +0000 (22:48 +0200)]
loop.c (move_movables): Corrected threshold calculation for moved_once registers.
* loop.c (move_movables): Corrected threshold calculation for
moved_once registers.
From-SVN: r22847
Bernd Schmidt [Mon, 5 Oct 1998 20:20:39 +0000 (14:20 -0600)]
* loop.c (combine_givs_p): Fix test for identical givs.
From-SVN: r22845
Dave Love [Mon, 5 Oct 1998 11:45:31 +0000 (11:45 +0000)]
u77-test.f: Add regression test for RAND.
1998-10-05 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f: Add regression test for RAND.
* g77.f-torture/execute/io1.f: New test.
From-SVN: r22844
Dave Love [Mon, 5 Oct 1998 11:44:43 +0000 (11:44 +0000)]
Add regression test for RAND.
From-SVN: r22843
Dave Love [Mon, 5 Oct 1998 11:44:03 +0000 (11:44 +0000)]
New test.
From-SVN: r22842
Kaveh R. Ghazi [Mon, 5 Oct 1998 11:27:05 +0000 (11:27 +0000)]
warn_summary (subdirectoryFilter): New shell function to optionally filter in/out gcc subdirectories when...
* warn_summary (subdirectoryFilter): New shell function to
optionally filter in/out gcc subdirectories when summarizing
warnings. Add new flags to support subdirectory filtering.
Also, ensure the bootstrap stage is a number. Add some more C
keywords that are preserved in the "warning type" summary and
tighten up the "arg ???" regexp.
From-SVN: r22839
Nick Clifton [Mon, 5 Oct 1998 10:12:39 +0000 (10:12 +0000)]
If errorcount nonzero, don't call abort if the function is already defined.
From-SVN: r22836
Jeff Law [Mon, 5 Oct 1998 09:05:58 +0000 (03:05 -0600)]
combine.c (simplify_rtx): Do not replace TRUNCATE with a SUBREG if truncation is not a no-op.
8
* combine.c (simplify_rtx): Do not replace TRUNCATE with a SUBREG if
truncation is not a no-op.
From-SVN: r22835
Jeff Law [Mon, 5 Oct 1998 09:05:56 +0000 (03:05 -0600)]
combine.c (simplify_rtx): Do not replace TRUNCATE with a SUBREG if truncation is not a no-op.
�
* combine.c (simplify_rtx): Do not replace TRUNCATE with a SUBREG if
truncation is not a no-op.
From-SVN: r22834
Jeffrey A Law [Mon, 5 Oct 1998 09:02:11 +0000 (03:02 -0600)]
Bump for snapshot
From-SVN: r22832
Jeffrey A Law [Mon, 5 Oct 1998 08:19:58 +0000 (02:19 -0600)]
Bump for snapshot
From-SVN: r22831
Jeff Law [Mon, 5 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22830
H.J. Lu [Mon, 5 Oct 1998 00:17:29 +0000 (00:17 +0000)]
Makefile.in (s-libi77): Depend on i77.
* Makefile.in (s-libi77): Depend on i77.
(s-libf77): Depend on i77.
(s-libu77): Depend on u77.
From-SVN: r22829
Torbjorn Granlund [Mon, 5 Oct 1998 00:08:56 +0000 (02:08 +0200)]
expmed.c (expand_divmod): Don't widen for computing remainder if we seem to have a divmod pattern for...
* expmed.c (expand_divmod): Don't widen for computing remainder
if we seem to have a divmod pattern for needed mode.
From-SVN: r22828
Zack Weinberg [Mon, 5 Oct 1998 00:03:35 +0000 (00:03 +0000)]
cpplib.c (macroexpand): Correct off-by-one error in handling of escapes.
* cpplib.c (macroexpand): Correct off-by-one error in handling
of escapes.
From-SVN: r22827
Richard Henderson [Sun, 4 Oct 1998 23:59:58 +0000 (16:59 -0700)]
combine.c (expand_field_assignment): Don't do bitwise operations on MODE_FLOAT; pun to MODE_INT if possible.
* combine.c (expand_field_assignment): Don't do bitwise operations
on MODE_FLOAT; pun to MODE_INT if possible.
From-SVN: r22826
Theodore Papadopoulo [Sun, 4 Oct 1998 21:12:11 +0000 (23:12 +0200)]
errfn.c (cp_thing): Print buf as a string not as a printf format to avoid problems with the operator%.
* errfn.c (cp_thing): Print buf as a string not as a printf format
to avoid problems with the operator%. Consequently, `%%' sequences
in format are copied as `%' in buf.
From-SVN: r22825
Jason Merrill [Sun, 4 Oct 1998 20:10:49 +0000 (20:10 +0000)]
pt.c (pop_tinst_level): Call extract_interface_info.
* pt.c (pop_tinst_level): Call extract_interface_info.
(instantiate_decl): Don't save and restore file position.
* decl.c (cp_finish_decl): Make statics in extern inlines and
templates common, if possible and the target doesn't support weak
symbols.
From-SVN: r22824
Jason Merrill [Sun, 4 Oct 1998 19:37:42 +0000 (19:37 +0000)]
tlink.c (scan_linker_output): Recognize errors from irix 6.2 linker.
* tlink.c (scan_linker_output): Recognize errors from irix 6.2
linker. Recognize mangled names in quotes.
Co-Authored-By: Scott Snyder <snyder@fnal.gov>
From-SVN: r22823
Robert Lipe [Sun, 4 Oct 1998 18:01:59 +0000 (18:01 +0000)]
Correct typo in robertl's most recent entry.
From-SVN: r22822
Jason Merrill [Sun, 4 Oct 1998 16:21:01 +0000 (12:21 -0400)]
update
From-SVN: r22821
Jason Merrill [Sun, 4 Oct 1998 16:20:59 +0000 (16:20 +0000)]
decl.c (grokdeclarator): Remove redundant calls to build_type_variant and some duplicated code.
* decl.c (grokdeclarator): Remove redundant calls to
build_type_variant and some duplicated code.
* sig.c (build_signature_reference_type): Only take the type parm.
(build_signature_pointer_type): Likewise.
* tree.c (build_cplus_method_type): Adjust.
* cp-tree.h: Update.
From-SVN: r22820
Alexandre Oliva [Sun, 4 Oct 1998 15:44:37 +0000 (15:44 +0000)]
mark XFAIL where appropriate
From-SVN: r22819
Alexandre Oliva [Sun, 4 Oct 1998 15:31:58 +0000 (15:31 +0000)]
overload5.C: New test...
* g++.old-deja/g++.pt/overload5.C: New test; initialize variable
with pointer to template function, for which no argument deduction
is possible
* g++.old-deja/g++.pt/overload4.C: New test; passing pointer to
specialization of template function as argument to template
function
* g++.old-deja/g++.other/access2.C: New test; Inner class
shouldn't have privileged access to Outer's names
From-SVN: r22818
Mark Mitchell [Sun, 4 Oct 1998 11:36:26 +0000 (11:36 +0000)]
call.c (build_over_call): Make pedwarns about dropped qualifiers into full-fledged errors.
* call.c (build_over_call): Make pedwarns about dropped qualifiers
into full-fledged errors.
* cvt.c (convert_to_reference): Likewise.
* typeck.c (convert_for_assignment): Likewise.
From-SVN: r22809
Mark Mitchell [Sun, 4 Oct 1998 11:17:08 +0000 (11:17 +0000)]
search.c (expand_upcast_vtables): In addition to unsetting TREE_READONLY, remove top-level const type qualifier.
* search.c (expand_upcast_vtables): In addition to unsetting
TREE_READONLY, remove top-level const type qualifier.
From-SVN: r22808
Jakub Jelinek [Sun, 4 Oct 1998 04:05:38 +0000 (06:05 +0200)]
sparc.md (ashldi3+1): Name it ashldi3_sp64.
* config/sparc/sparc.md (ashldi3+1): Name it ashldi3_sp64.
(ashlsi3_const1, ashldi3_const1): New combiner patterns.
(ashrsi3_extend, ashrsi3_extend2): New combiner patterns.
(lshrsi3_extend, lshrsi3_extend2): Ditto.
From-SVN: r22805
David S. Miller [Sun, 4 Oct 1998 01:29:21 +0000 (01:29 +0000)]
function.c (purge_addressof_1): If trying to take a sub-word integral piece of a floating point mode...
* function.c (purge_addressof_1): If trying to take a sub-word
integral piece of a floating point mode, put it on the stack.
From-SVN: r22804
Jeff Law [Sun, 4 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22803
Mark Mitchell [Sat, 3 Oct 1998 23:11:19 +0000 (23:11 +0000)]
class.c (current_class_ptr, [...]): Clarify documentation.
* class.c (current_class_ptr, current_class_ref): Clarify
documentation.
* cvt.c (ocp_convert): Don't expect fold to remove all trivial
NOP type conversions.
* decl.c (decls_match): Use comptypes directly; ignore
qualifiers on the DECL.
(duplicate_decls): Remove qualifier checks on DECL.
(grokdeclarator): Make the type built up include top-level
qualifiers.
* decl2.c (do_dtors): Fix spelling error.
* error.c (dump_simple_decl): Don't look at qualifiers on the decl
when printing type information.
* init.c (build_new_1): Add documentation. Deal with the fact
that type of allocated memory now contains qualifiers.
* lex.c (is_global): Improve error-recovery.
* sig.c (build_member_function_pointer): Don't cast away const
on fields of sigtable_entry_type.
* tree.c (lvalue_type): Don't look at top-level qualifiers on
expressions.
* typeck.c (decay_conversion): Likewise.
(build_component_ref): Make sure the type of the COMPONENT_REF
contains top-level qualifiers, as appropriate. Improve
error-handling.
(build_indirect_ref): Simplify. Don't strip top-level qualifiers.
(build_array_ref): Likewise.
(build_unary_op): Improve error-recovery.
(unary_complex_lvalue): Make taking the address a bound member
function an error, not a sorry.
(build_conditional_expr): Look at the type qualifiers, not the
qualifiers on the expression itself.
From-SVN: r22802
Jason Merrill [Sat, 3 Oct 1998 22:59:10 +0000 (18:59 -0400)]
new
From-SVN: r22801
Jason Merrill [Sat, 3 Oct 1998 22:53:37 +0000 (22:53 +0000)]
decl2.c (merge_functions): Remove duplicates.
* decl2.c (merge_functions): Remove duplicates.
* decl2.c: Add -f{no-,}implicit-inline-templates.
(lang_decode_option): Unset it if -frepo.
(import_export_decl): Check it.
* decl.c (lookup_name_real): Template parms also take precedence
over implicit typename. Only warn if yylex.
From-SVN: r22800
Richard Henderson [Sat, 3 Oct 1998 19:02:05 +0000 (12:02 -0700)]
* alpha/linux.h (CPP_PREDEFINES): Define __alpha__ for imake.
From-SVN: r22796
Jason Merrill [Sat, 3 Oct 1998 16:49:31 +0000 (12:49 -0400)]
update
From-SVN: r22795
Jason Merrill [Sat, 3 Oct 1998 15:56:25 +0000 (15:56 +0000)]
typeck.c (build_conditional_expr): Only fold if ifexp is an INTEGER_CST.
* typeck.c (build_conditional_expr): Only fold if ifexp is an
INTEGER_CST.
From-SVN: r22794
Jason Merrill [Sat, 3 Oct 1998 15:46:48 +0000 (15:46 +0000)]
decl2.c (finish_vtable_vardecl): Check DECL_INTERFACE_KNOWN instead of linkage.
* decl2.c (finish_vtable_vardecl): Check DECL_INTERFACE_KNOWN
instead of linkage.
From-SVN: r22793
Jason Merrill [Sat, 3 Oct 1998 14:47:54 +0000 (14:47 +0000)]
PROJECTS: Remove template friends.
* PROJECTS: Remove template friends.
* collect2.c (sort_ids): Remove unused variable.
* tm.texi (MATH_LIBRARY): Document.
(NEED_MATH_LIBRARY): Remove.
From-SVN: r22792
Jason Merrill [Sat, 3 Oct 1998 14:43:47 +0000 (14:43 +0000)]
varasm.c (assemble_start_function, [...]): Do ASM_GLOBALIZE_LABEL for weak symbols, too.
* varasm.c (assemble_start_function, assemble_variable, weak_finish,
assemble_alias): Do ASM_GLOBALIZE_LABEL for weak symbols, too.
From-SVN: r22791
John Carr [Sat, 3 Oct 1998 13:21:10 +0000 (13:21 +0000)]
dwarf2out.c (expand_builtin_dwarf_reg_size): Initialize last_end to 0x7fffffff.
From-SVN: r22790
Alexandre Oliva [Sat, 3 Oct 1998 10:55:59 +0000 (10:55 +0000)]
mark as crash failure
From-SVN: r22773
Alexandre Oliva [Sat, 3 Oct 1998 02:51:23 +0000 (02:51 +0000)]
friend34.C: New test...
* g++.old-deja/g++.pt/friend34.C: New test; name injection of
friend template declared within template class conflicts with
nested class of the same name
* g++.old-deja/g++.other/badopt1.C: New test; post-increment
is ignored
* g++.old-deja/g++.other/decl1.C: New test; incorrect parsing of
object with direct initializer as function declaration
* g++.old-deja/g++.other/decl2.C: New test; duplicate initializers
* g++.old-deja/g++.other/null2.C: New test; conditional operator
involving const pointer and NULL produces incorrect result
* g++.old-deja/g++.other/typename1.C: New test; template-dependent
type name without `typename' should be rejected with -pedantic
From-SVN: r22770
Jeff Law [Sat, 3 Oct 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22769
Richard Henderson [Fri, 2 Oct 1998 21:56:53 +0000 (14:56 -0700)]
* g++.old-deja/g++.other/addrof1.C: New test.
From-SVN: r22768
Jason Merrill [Fri, 2 Oct 1998 21:11:34 +0000 (17:11 -0400)]
update
From-SVN: r22767
David S. Miller [Fri, 2 Oct 1998 20:17:50 +0000 (20:17 +0000)]
function.c (purge_addressof_1): Do not perform endianness corrections on bitpos, who we call will do it for us.
* function.c (purge_addressof_1): Do not perform endianness
corrections on bitpos, who we call will do it for us.
From-SVN: r22766
Jeffrey A Law [Fri, 2 Oct 1998 10:54:45 +0000 (10:54 +0000)]
h8300.c (WORD_REG_USED): Fix typo.
* h8300.c (WORD_REG_USED): Fix typo.
(initial_offset): Use WORD_REG_USED.
* h8300.c (handle_pragma): Fix typo.
From-SVN: r22755
Jeff Law [Fri, 2 Oct 1998 10:25:57 +0000 (04:25 -0600)]
caller-save.c (insert_save_restore): Break this function up into new functions insert_restore...
�
* caller-save.c (insert_save_restore): Break this function up
into new functions insert_restore, insert_save and insert_one_insn.
All callers changed.
(insert_restore): New function, mostly broken out of
insert_save_restore.
(insert_save): Likewise.
(insert_one_insn): Likewise.
(restore_referenced_regs): New argument BLOCK. All callers changed.
(save_call_clobbered_regs): Don't keep track of basic block boundaries
in this function, do it in insert_one_insn instead.
From-SVN: r22754
Jeff Law [Fri, 2 Oct 1998 10:25:55 +0000 (04:25 -0600)]
caller-save.c (insert_save_restore): Break this function up into new functions insert_restore...
0
* caller-save.c (insert_save_restore): Break this function up
into new functions insert_restore, insert_save and insert_one_insn.
All callers changed.
(insert_restore): New function, mostly broken out of
insert_save_restore.
(insert_save): Likewise.
(insert_one_insn): Likewise.
(restore_referenced_regs): New argument BLOCK. All callers changed.
(save_call_clobbered_regs): Don't keep track of basic block boundaries
in this function, do it in insert_one_insn instead.
From-SVN: r22753
Bernd Schmidt [Fri, 2 Oct 1998 10:23:37 +0000 (04:23 -0600)]
reload1.c (reload): Break out some more pieces into separate functions.
* reload1.c (reload): Break out some more pieces into separate
functions.
(dump_needs): New function, broken out of reload.
(set_initial_elim_offsets): Likewise.
(init_elim_table): Likewise.
(update_eliminables): Likewise.
From-SVN: r22752
Bernd Schmidt [Fri, 2 Oct 1998 10:21:20 +0000 (04:21 -0600)]
global.c (global_alloc): Delete code to manage the scratch_list.
* global.c (global_alloc): Delete code to manage the scratch_list.
* local-alloc.c (qty_scratch_rtx): Delete.
(scratch_block): Delete.
(scratch_list): Delete.
(scratch_list_length): Delete.
(scratch_index): Delete.
(alloc_qty_for_scratch): Delete.
(local-alloc): Update initialization of max_qty.
Delete code to manage the scratch list.
Delete code to allocate/initialize qty_scratch_rtx.
(block_alloc): Don't allocate quantities for scratches.
Delete code to manage the scratch list.
* regs.h (scratch_list): Delete declaration.
(scratch_block): Delete declaration.
(scratch_list_length): Delete declaration.
* reload1.c (reload): Delete code to manage the scratch list.
(spill_hard_reg): Likewise.
(mark_scratch_live): Delete.
From-SVN: r22751
H.J. Lu [Fri, 2 Oct 1998 10:18:19 +0000 (10:18 +0000)]
* Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
From-SVN: r22750
Bernd Schmidt [Fri, 2 Oct 1998 09:53:03 +0000 (03:53 -0600)]
* recog.c (alter_subreg): Delete declaration.
From-SVN: r22749
Andreas Jaeger [Fri, 2 Oct 1998 09:50:24 +0000 (09:50 +0000)]
* Makefile.in (cccp.o): Fix typo in last patch.
From-SVN: r22748
Gerald Pfeifer [Fri, 2 Oct 1998 09:22:08 +0000 (11:22 +0200)]
README: Remove installation instructions and refer to the INSTALL directory instead.
* README: Remove installation instructions and refer to the
INSTALL directory instead.
From-SVN: r22747
J"orn Rennecke [Fri, 2 Oct 1998 08:22:31 +0000 (08:22 +0000)]
t-sh (LIB1ASMFUNCS): Add _set_fpscr .
* t-sh (LIB1ASMFUNCS): Add _set_fpscr .
* config/sh/lib1funcs.asm (___set_fpscr): Add.
From-SVN: r22746
Dave Love [Fri, 2 Oct 1998 07:55:06 +0000 (07:55 +0000)]
com.c (ffecom_expr_intrinsic_): Fix return type for RAND.
1998-10-02 Dave Love <d.love@dl.ac.uk>
* com.c (ffecom_expr_intrinsic_): Fix return type for RAND.
From-SVN: r22745
Dave Love [Fri, 2 Oct 1998 07:54:36 +0000 (07:54 +0000)]
(ffecom_expr_intrinsic_): Fix return type for RAND.
From-SVN: r22744
Jeff Law [Fri, 2 Oct 1998 01:34:34 +0000 (19:34 -0600)]
regclass.c (reg_scan_mark_refs): Return immediately if passed a NULL_RTX as an argument.
8
* regclass.c (reg_scan_mark_refs): Return immediately if passed a
NULL_RTX as an argument.
From-SVN: r22741
Jeff Law [Fri, 2 Oct 1998 01:34:33 +0000 (19:34 -0600)]
regclass.c (reg_scan_mark_refs): Return immediately if passed a NULL_RTX as an argument.
(
* regclass.c (reg_scan_mark_refs): Return immediately if passed a
NULL_RTX as an argument.
From-SVN: r22740
Jeffrey A Law [Fri, 2 Oct 1998 01:21:18 +0000 (01:21 +0000)]
* gcc.c-torture/compile/981001-4.c: New test.
From-SVN: r22739
Jeffrey A Law [Fri, 2 Oct 1998 01:05:51 +0000 (01:05 +0000)]
Makefile.in (unlibsubdir): Define.
* Makefile.in (unlibsubdir): Define.
(DRIVER_DEFINES): Use unlibsubdir.
(cccp.o, cpplib.o, protoize.o, unprotoize.o): Similarly.
(stmp-fixinc): Similarly.
The infamous unlibsubdir patch. Makes it somewhat easier to move toolchains
around. Helps cygwin folks.
From-SVN: r22737
Jeff Law [Fri, 2 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22736
Robert Lipe [Thu, 1 Oct 1998 21:35:22 +0000 (21:35 +0000)]
Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
* Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
(FLAGS_TO_PASS): Added.
(runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
* archive.c: Change config.h to tconfig.h.
* configure.in: Find gcc's object directory even for multilibs.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r22725
Bernd Schmidt [Thu, 1 Oct 1998 19:00:52 +0000 (13:00 -0600)]
regmove.c (regmove_optimize): Add variable old_max_uid.
* regmove.c (regmove_optimize): Add variable old_max_uid.
At the end of the function, update basic_block_end.
From-SVN: r22724
Jeffrey A Law [Thu, 1 Oct 1998 18:06:54 +0000 (18:06 +0000)]
981001-2.c: New test.
* gcc.c-torture/compile/981001-2.c: New test.
* gcc.c-torture/compile/981001-3.c: New test.
From-SVN: r22723
David S. Miller [Thu, 1 Oct 1998 18:02:50 +0000 (18:02 +0000)]
dwarf2out.c (expand_builtin_dwarf_reg_size): Use FIRST_PSEUDO_REGISTER as upper bound for last_end, not an arbitrary constant.
* dwarf2out.c (expand_builtin_dwarf_reg_size): Use
FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
arbitrary constant.
From-SVN: r22722
Nick Clifton [Thu, 1 Oct 1998 17:58:46 +0000 (17:58 +0000)]
Import some interworking support code from devo.
From-SVN: r22721
J"orn Rennecke [Thu, 1 Oct 1998 17:45:59 +0000 (17:45 +0000)]
reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was copied from reload_out[r] .
�
* reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was
copied from reload_out[r] .
From-SVN: r22720
Nick Clifton [Thu, 1 Oct 1998 17:34:45 +0000 (17:34 +0000)]
New test from PR 17544
From-SVN: r22719
Nick Clifton [Thu, 1 Oct 1998 17:18:07 +0000 (17:18 +0000)]
New test from PR 17547
From-SVN: r22718
John Carr [Thu, 1 Oct 1998 16:47:41 +0000 (16:47 +0000)]
dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than three size ranges.
* dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work
with more than three size ranges.
* flow.c (sbitmap_copy): Use bcopy to copy bitmap.
* rtl.c (mode_name): Add a null string at the end of the array.
(mode_wider_mode): Change type to unsigned char.
(mode_mask_array): New variable.
(init_rtl): Update for mode_wider_mode type change.
* rtl.h (mode_wider_mode): Change type to unsigned char.
(mode_mask_array): Declare.
(GET_MODE_MASK): Use mode_mask_array.
From-SVN: r22717
Nick Clifton [Thu, 1 Oct 1998 15:11:18 +0000 (15:11 +0000)]
Add support for v850 special data areas.
From-SVN: r22716
Kaveh Ghazi [Thu, 1 Oct 1998 14:17:34 +0000 (14:17 +0000)]
Regenerate with autoconf-2.12.1
From-SVN: r22715
Gavin Romig-Koch [Thu, 1 Oct 1998 13:00:21 +0000 (13:00 +0000)]
calls.c (expand_call): Encapsulate code into copy_blkmode_from_reg.
* calls.c (expand_call) : Encapsulate code into
copy_blkmode_from_reg.
* expr.c (copy_blkmode_from_reg): New function.
* expr.h (copy_blkmode_from_reg): New function.
* integrate.c (function_cannot_inline_p): We can inline
these now.
(expand_inline_function): Use copy_blkmode_from_reg
if needed. Avoid creating BLKmode REGs.
(copy_rtx_and_substitute): Don't try to SUBREG a BLKmode
object.
From-SVN: r22714
Jason Merrill [Thu, 1 Oct 1998 12:31:22 +0000 (12:31 +0000)]
cp-tree.h (FORMAT_VBASE_NAME): New macro.
* cp-tree.h (FORMAT_VBASE_NAME): New macro.
* class.c (build_vbase_pointer): Use it.
* rtti.c (expand_class_desc): Likewise.
* tree.c (build_vbase_pointer_fields): Likewise.
From-SVN: r22713
Nick Clifton [Thu, 1 Oct 1998 10:53:39 +0000 (10:53 +0000)]
Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
handle_generic_pragma() New function: Parse generic pragmas.
From-SVN: r22712
Nick Clifton [Thu, 1 Oct 1998 10:52:36 +0000 (10:52 +0000)]
Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
From-SVN: r22711
Nick Clifton [Thu, 1 Oct 1998 10:50:15 +0000 (10:50 +0000)]
Add support for #pragma pack(push,<n>) and #pragma pack(pop).
From-SVN: r22710
Nick Clifton [Thu, 1 Oct 1998 10:44:46 +0000 (10:44 +0000)]
Add invocation of SET_DEFAULT_DECL_ATTRIBUTES, if defined.
From-SVN: r22709
Robert Lipe [Thu, 1 Oct 1998 07:45:56 +0000 (07:45 +0000)]
objc.exp (objc_target_compile): Add -L during compiles for multilibbed hosts.
* lib/objc.exp (objc_target_compile): Add -L during compiles for
multilibbed hosts. Idea grafted from g77.exp.
From-SVN: r22708
Robert Lipe [Thu, 1 Oct 1998 07:38:06 +0000 (07:38 +0000)]
Add robertl as maintainer of sco udk target.
From-SVN: r22707