Commit Graph

19051 Commits

Author SHA1 Message Date
Dave Love
d88c06be2c Add regression test for RAND.
From-SVN: r22843
1998-10-05 11:44:43 +00:00
Dave Love
bd7aa7c3f7 New test.
From-SVN: r22842
1998-10-05 11:44:03 +00:00
Kaveh R. Ghazi
a3225b7a3d 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
1998-10-05 11:27:05 +00:00
Nick Clifton
b75ab88ba3 If errorcount nonzero, don't call abort if the function is already defined.
From-SVN: r22836
1998-10-05 10:12:39 +00:00
Jeff Law
6a99221410 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
1998-10-05 03:05:58 -06:00
Jeff Law
f385990fce 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
1998-10-05 03:05:56 -06:00
Jeffrey A Law
01e6961906 Bump for snapshot
From-SVN: r22832
1998-10-05 03:02:11 -06:00
Jeffrey A Law
d03e855440 Bump for snapshot
From-SVN: r22831
1998-10-05 02:19:58 -06:00
Jeff Law
691a430d48 Daily bump.
From-SVN: r22830
1998-10-04 18:45:02 -06:00
H.J. Lu
3f219cad5d 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
1998-10-04 18:17:29 -06:00
Torbjorn Granlund
32fdf36bb6 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
1998-10-04 18:08:56 -06:00
Zack Weinberg
4284b774e6 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
1998-10-04 18:03:35 -06:00
Richard Henderson
861556b4d9 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
1998-10-04 16:59:58 -07:00
Theodore Papadopoulo
12a27dfc4e 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
1998-10-04 17:12:11 -04:00
Jason Merrill
5f2c99c43b 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
1998-10-04 16:10:49 -04:00
Jason Merrill
b4558b577c 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
1998-10-04 15:37:42 -04:00
Robert Lipe
82872b5cde Correct typo in robertl's most recent entry.
From-SVN: r22822
1998-10-04 18:01:59 +00:00
Jason Merrill
70189f1266 update
From-SVN: r22821
1998-10-04 12:21:01 -04:00
Jason Merrill
14ae7e7d28 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
1998-10-04 12:20:59 -04:00
Alexandre Oliva
710afba434 mark XFAIL where appropriate
From-SVN: r22819
1998-10-04 15:44:37 +00:00
Alexandre Oliva
00f1494939 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
1998-10-04 15:31:58 +00:00
Mark Mitchell
a1b8d8ffae 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
1998-10-04 11:36:26 +00:00
Mark Mitchell
6396c3a579 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
1998-10-04 11:17:08 +00:00
Jakub Jelinek
295c5559cc 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
1998-10-03 21:05:38 -07:00
David S. Miller
ca2636edcd 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
1998-10-03 18:29:21 -07:00
Jeff Law
223bd5493d Daily bump.
From-SVN: r22803
1998-10-03 18:45:02 -06:00
Mark Mitchell
01240200ee 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
1998-10-03 23:11:19 +00:00
Jason Merrill
d5698b0753 new
From-SVN: r22801
1998-10-03 18:59:10 -04:00
Jason Merrill
5eea678fdb 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
1998-10-03 18:53:37 -04:00
Richard Henderson
4d77340e3d * alpha/linux.h (CPP_PREDEFINES): Define __alpha__ for imake.
From-SVN: r22796
1998-10-03 12:02:05 -07:00
Jason Merrill
04682bc777 update
From-SVN: r22795
1998-10-03 12:49:31 -04:00
Jason Merrill
3bbb73169a 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
1998-10-03 11:56:25 -04:00
Jason Merrill
c3437800be 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
1998-10-03 11:46:48 -04:00
Jason Merrill
71d718e0e4 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
1998-10-03 10:47:54 -04:00
Jason Merrill
c20c633782 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
1998-10-03 10:43:47 -04:00
John Carr
69fba03777 dwarf2out.c (expand_builtin_dwarf_reg_size): Initialize last_end to 0x7fffffff.
From-SVN: r22790
1998-10-03 13:21:10 +00:00
Alexandre Oliva
9e5c3ba597 mark as crash failure
From-SVN: r22773
1998-10-03 10:55:59 +00:00
Alexandre Oliva
5e95b7c76d 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
1998-10-03 02:51:23 +00:00
Jeff Law
c30cc19e56 Daily bump.
From-SVN: r22769
1998-10-02 18:45:01 -06:00
Richard Henderson
90d6c53ab8 * g++.old-deja/g++.other/addrof1.C: New test.
From-SVN: r22768
1998-10-02 14:56:53 -07:00
Jason Merrill
70123d8a97 update
From-SVN: r22767
1998-10-02 17:11:34 -04:00
David S. Miller
47401c4d4b 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
1998-10-02 13:17:50 -07:00
Jeffrey A Law
d01d29035e 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
1998-10-02 04:54:45 -06:00
Jeff Law
4554e20d80 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
1998-10-02 04:25:57 -06:00
Jeff Law
f670c074b8 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
1998-10-02 04:25:55 -06:00
Bernd Schmidt
09dd11338a 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
1998-10-02 04:23:37 -06:00
Bernd Schmidt
34f89b5f68 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
1998-10-02 04:21:20 -06:00
H.J. Lu
4afb3646a5 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
From-SVN: r22750
1998-10-02 04:18:19 -06:00
Bernd Schmidt
a330a79ef5 * recog.c (alter_subreg): Delete declaration.
From-SVN: r22749
1998-10-02 03:53:03 -06:00
Andreas Jaeger
8547cf54af * Makefile.in (cccp.o): Fix typo in last patch.
From-SVN: r22748
1998-10-02 03:50:24 -06:00