Commit Graph

16510 Commits

Author SHA1 Message Date
Jeff Law 337eb77305 [multiple changes]
Sat Apr 11 22:43:17 1998  J. Kean Johnston  <jkj@sco.com>
        * mh-svsv5: New file - support for SCO UnixWare 7 / SVR5.
Thu Mar 26 01:54:25 1998  Geoffrey Noer  <noer@cygnus.com>
        * mh-cygwin32: stop configuring and building dosrel.
Bring over from devo.

From-SVN: r19685
1998-05-11 16:29:42 -06:00
Jeff Law fc438e2ad0 [multiple changes]
Tue Mar 24 10:13:07 1998  Jason Merrill  <jason@yorick.cygnus.com>
        * std/bastring.cc (basic_string::copy): Mark const here, too.
1998-03-23 15:59  Ulrich Drepper  <drepper@cygnus.com>
        * std/bastring.h (basic_string::copy): Mark copy function as const.
        Reported by Scott Schurr <scotts@ims.com>.
Bring over from devo.

From-SVN: r19684
1998-05-11 16:04:43 -06:00
Jeff Law 881060d07f mips.c: Prototype static functions.
�
        * mips.c: Prototype static functions.

From-SVN: r19681
1998-05-11 13:00:08 -06:00
Jeff Law eace3df1bc mips.c: Prototype static functions.
�
        * mips.c: Prototype static functions.

From-SVN: r19680
1998-05-11 13:00:06 -06:00
Jeff Law 5cc70674e4 Belongs here.
From-SVN: r19679
1998-05-11 12:29:19 -06:00
Jeff Law 1ad35649f8 In the wrong directory.
From-SVN: r19678
1998-05-11 12:29:00 -06:00
Jim Wilson b1a7d59104 Add missing comments pointed out by Andreas Schwab.
* regmove.c (fixup_match_2, find_matches, regmove_profitable):
	Add explanatory comments.

From-SVN: r19677
1998-05-11 11:11:22 -07:00
Richard Henderson 50324922d7 Put the movzr insn back into the comment.
From-SVN: r19676
1998-05-11 10:47:46 -07:00
Jim Wilson a9e9509942 Fix -mflat bug reported by Yamamoto Hirotaka.
* sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.

From-SVN: r19675
1998-05-11 10:44:31 -07:00
Richard Henderson 0f177d7c37 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
From-SVN: r19674
1998-05-11 10:26:37 -07:00
Jim Wilson 28233641fc Fix stabs debug info bug reported by Stu Grossman.
* varasm.c (make_decl_rtl): Disable April 1 change.

From-SVN: r19673
1998-05-11 06:31:35 -07:00
Jason Merrill a4d95b976d new
From-SVN: r19672
1998-05-11 07:57:04 -04:00
Mark Mitchell 4c7d0dff68 update documentation
From-SVN: r19671
1998-05-11 11:46:11 +00:00
Mark Mitchell 08362e16df * ptree.c (lang_print_xnode): Add missing `break'.
From-SVN: r19670
1998-05-11 11:37:13 +00:00
Mark Mitchell 2951e48e8d New test
From-SVN: r19669
1998-05-11 11:02:58 +00:00
Mark Mitchell d861dea192 New test
From-SVN: r19668
1998-05-11 10:59:39 +00:00
Mark Mitchell 9b2e5e2208 * pt.c (tsubst): Remove duplicate check for IDENTIFIER_NODE.
From-SVN: r19667
1998-05-11 10:08:56 +00:00
Richard Henderson dbf783868e Oops, aclocal.m4 wasn't up-to-date for last commit.
From-SVN: r19666
1998-05-11 02:22:09 -07:00
Richard Henderson e55a5ea6f2 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
From-SVN: r19665
1998-05-11 02:16:34 -07:00
Richard Henderson e83015a9b5 alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
* alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
        * alpha.c (print_operand): Handle it.
        * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
        related define_splits.  Also add peepholes for SImode reload
        plus sign_extend lossage.

From-SVN: r19664
1998-05-11 01:31:20 -07:00
Mark Mitchell 830bfa74b0 call.c (add_template_candidate): Adjust for changes to fn_type_unification.
* call.c (add_template_candidate): Adjust for changes to
	fn_type_unification.
	(add_template_candidate_real): Likewise.
	(add_template_conv_candidate): Likewise.
	(build_user_type_conversion_1): Likewise.
	(build_new_function_call): Likewise.
	(build_object_call): Likewise.
	(build_new_op): Likewise.
	(build_new_method_call): Likewise.
	* class.c (instantiate_type): Likewise.
	* cp-tree.h (unification_kind_t): New type.
	(fn_type_unification): Adjust prototype.
	(type_unificaiton): Likewise.
	* pt.c (UNIFY_ALLOW_NONE): New macro.
	(UNIFY_ALLOW_MORE_CV_QUAL): Likewise.
	(UNIFY_ALLOW_LESS_CV_QUAL): Likewise.
	(UNIFY_ALLOW_DERIVED): Likewise.
	(unify): Change prototype.
	(maybe_adjust_types_for_deduction): New function.
	(check_cv_quals_for_unify): Likewise.
	(determine_specialization): Adjust.
	(fn_type_unification): Likewise.
	(type_unification): Likewise.
	(type_unification_real): Likewise.  Use
	maybe_adjust_types_for_deduction.  Fix mishandling of
	back-unification of template functions passed as arguments.  Pass
	appropriate combination of UNIFY_ALLOW_* to unify.
	(unify): Remove unused NTPARMS parameter.  Use
	check_cv_quals_for_unify.  Remove bogus code that allowed
	too-generous unification in order to adhere more closely to standard.
	(get_bindings_real): Adjust.
	(get_class_bindings): Likewise.
	* method.c (build_overload_identifier): Only use the innermost
	template arguments when mangling.
	* pt.c (tsubst_template_argument_vector): New function.
	(complete_template_args): Deal with the situation where the
	extra_args contain more than one level of arguments.
	(lookup_template_class): Deal with member template classes, which
	may have more than one level of arguments.
	(tsubst): Don't tsbust into the TREE_TYPE of an IDENTIFIER_NODE.
	Improve handling of member template classes.  Use
	DECL_PRIMARY_TEMPLATE instead of inline expansion.  Use
	tsubst_template_argument_vector where appropriate.
	(regenerate_decl_from_template): Break out from ...
	(instantiate_decl): Here.

From-SVN: r19663
1998-05-11 07:25:25 +00:00
Mark Mitchell 89ad74a33f lex.c (yyprint): Remove TYPENAME_ELLIPSIS.
Mon May 11 07:16:30 1998  Mark Mitchell  <mmitchell@usa.net>
	* lex.c (yyprint): Remove TYPENAME_ELLIPSIS.
	* parse.h: Regenerated.
	* parse.c: Really regenerated.

From-SVN: r19662
1998-05-11 07:18:46 +00:00
Kaveh R. Ghazi 320e7c40e7 genattr.c: Include stdarg.h/varargs.h.
* genattr.c: Include stdarg.h/varargs.h.  Change function
        `fatal' to use variable arguments instead of faking it with
        integer parameters.  Provide a prototype which also
        checks the format specifiers using ATTRIBUTE_PRINTF_1.
        * genattrtab.c: Likewise.
        * gencodes.c: Likewise.
        * genconfig.c: Likewise.
        * genemit.c: Likewise.
        * genextract.c: Likewise.
        * genflags.c: Likewise.
        * genopinit.c: Likewise.
        * genpeep.c: Likewise.
        * genrecog.c: Likewise.
        * genoutput.c: Likewise.  Similarly for function `error'.

From-SVN: r19661
1998-05-11 06:50:51 +00:00
Mark Mitchell ce4a03916c cp-tree.h (finish_unary_op_expr): New function.
* cp-tree.h (finish_unary_op_expr): New function.
	(finish_id_expr): Likewise.
	(begin_new_placement): Likewise.
	(finish_new_placement): Likewise.
	(finish_declarator): Likewise.
	(finish_translation_unit): Likewise.
	(finish_parmlist): Likewise.
	(begin_class_definition): Likewise.
	(finish_class_definition): Likewise.
	(finish_default_args): Likewise.
	(finish_inline_definitions): Likewise.
	* parse.y (GCC_ASM_KEYWORD): Remove.
	(TYPENAME_ELLIPSIS): Likewise.
	* parse.c: Regenerated.
	Use new functions in semantics.c in the actions for many rules.
	* gxx.gperf (GCC_ASM_KEYWORD): Just use ASM_KEYWORD.
	* hash.h: Regenerated.
	* semantics.c (finish_expr_stmt): Allow NULL expr.
	(finish_unary_op_expr): New function, containing
	code previously in parse.y.
	(finish_id_expr): Likewise.
	(begin_new_placement): Likewise.
	(finish_new_placement): Likewise.
	(finish_declarator): Likewise.
	(finish_translation_unit): Likewise.
	(finish_parmlist): Likewise.
	(begin_class_definition): Likewise.
	(finish_class_definition): Likewise.
	(finish_default_args): Likewise.
	(finish_inline_definitions): Likewise.

From-SVN: r19660
1998-05-11 00:07:25 +00:00
Mark Mitchell 4785faf117 typeck.c (build_c_cast): Don't decay arrays and functions to pointer type when converting to a class type.
* typeck.c (build_c_cast): Don't decay arrays and functions to
	pointer type when converting to a class type.

From-SVN: r19659
1998-05-10 23:46:36 +00:00
Jeff Law e1b1668d45 Another new test.
From-SVN: r19658
1998-05-10 17:00:31 -06:00
Jason Merrill b3854d0e82 document
From-SVN: r19657
1998-05-10 18:54:14 -04:00
Jason Merrill 42c7b8075d class.c (finish_struct_1): Use OVL_CURRENT on TREE_VEC_ELT.
* class.c (finish_struct_1): Use OVL_CURRENT on TREE_VEC_ELT.
	* decl2.c (constructor_name_full): Likewise.
	* tree.c (mapcar): Add OVERLOAD support.
	* init.c (resolve_offset_ref): We must use basetype_path before we
	destroy it with a call to convert_pointer_to.

From-SVN: r19656
1998-05-10 18:53:45 -04:00
Jeff Law e9b4fabf5c acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
* acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
        * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
        * configure.in: Use GCC_C_VOLATILE.
        * system.h (volatile): Define as empty if no volatile support is
        available.
        * genemit.c (output_add_clobbers): Removed unused variable 'i' from
        generated fucntion.

From-SVN: r19653
1998-05-09 19:27:49 -06:00
Jeff Law 846522cbe7 Point folks to wwwdocs since those are the official versions.
From-SVN: r19651
1998-05-09 16:50:47 -06:00
Jason Merrill b9082e8adb class.c (currently_open_class): New fn.
* class.c (currently_open_class): New fn.
	* decl.c (lookup_name_real): Use it.
	* search.c (lookup_field): Likewise.

From-SVN: r19650
1998-05-09 14:10:28 -04:00
Jason Merrill 6e940d05f4 new, update
From-SVN: r19649
1998-05-09 14:08:52 -04:00
Richard Henderson f283421d4a loop.c (get_condition): Don't combine when either compare is MODE_CC.
* loop.c (get_condition): Don't combine when either compare is MODE_CC.
* alpha.c (alpha_emit_conditional_branch): New function.  Taken from
the body of beq; additionally set the mode of the branch to CCmode for
FP compares and not fast_math.
(alpha_emit_conditional_move): Always use a compare insn for FP
when not fast_math, as well as setting CCmode on the cmov.
* alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.

From-SVN: r19645
1998-05-08 19:03:07 -07:00
Richard Henderson 7608016912 * machmode.h (COMPLEX_MODE_P): New macro.
From-SVN: r19644
1998-05-08 19:01:55 -07:00
Richard Henderson 53c0919dd9 * haifa-sched.c (print_exp): Fix typo.
From-SVN: r19643
1998-05-08 18:53:01 -07:00
Jeffrey A Law 23d297abc0 Bump for snapshot
From-SVN: r19638
1998-05-08 15:48:53 -06:00
Jeff Law 1553e85aee Remove previous dwarf2out.c change. It was incorrect according to Jim.
From-SVN: r19637
1998-05-08 11:34:01 -06:00
Michael Meissner 5b8ae21fa8 Hunk of m32r changes
From-SVN: r19636
1998-05-08 15:46:05 +00:00
Michael Meissner cf879efaf4 Call fatal_insn instead of abort
From-SVN: r19635
1998-05-08 15:24:08 +00:00
H.J. Lu d7c2e385ea reload1.c (emit_reload_insns): When performing expensive optimizations...
* reload1.c (emit_reload_insns): When performing expensive
        optimizations, do not output the last reload insn if OLD is
        not the dest of NSN and is in the src and is clobbered by INSN.

From-SVN: r19634
1998-05-08 07:14:32 -06:00
Paul Eggert 507c117699 dwarf2out.c: Don't assume that `.section ".text"' causes the assembler to treat .text as a...
* dwarf2out.c: Don't assume that `.section ".text"' causes the
        assembler to treat .text as a label for the start of that section,
        as this assumption is false for Solaris 2.x `as'.  Instead, output
        `.section ".text"; .LLtext0:' and use .LLtext0 in label contexts.
        (ABBREV_LABEL, DEBUG_INFO_LABEL, DEBUG_LINE_LABEL, TEXT_LABEL):
        New macros.
        (abbrev_label, debug_info_label, debug_line_label, text_label):
        New vars.
        (dwarf2out_init): Initialize the vars.  Output defn for text_label.
        (dwarf2out_finish): Output defns for the other 3 vars.
        (dw_val_node): Rename val_section to val_section_label, as it's
        now a label, not a section.
        (add_AT_section_offset): Arg is now a label, not a section.
        (print_die, output_die, output_compilation_unit_header,
        output_pubnames, output_aranges, output_line_info,
        dwarf2out_finish): In label contexts, output the section label,
        not the section.

From-SVN: r19633
1998-05-08 06:59:23 -06:00
Kaveh R. Ghazi 560bd19e94 Another minor system.h cutover:
* Makefile.in (genrtl.o): Depend on system.h.
        * gengenrtl.c (gencode): When creating genrtl.c, have it
        include system.h.

From-SVN: r19632
1998-05-08 06:51:04 +00:00
Martin v. Löwis 2c73f9f57a massive namespace patch
From-SVN: r19631
1998-05-07 22:06:26 -04:00
Andreas Schwab 0d33d22e9f t-linux: Remove extra stuff already included in config/t-linux.
* config/m68k/t-linux: Remove extra stuff already included in
	config/t-linux.

From-SVN: r19630
1998-05-08 02:01:41 +00:00
Manfred Hollstein 32f65aa0fc fixinc.wrap: Renamed from fixinc.math.
d
	* fixinc.wrap: Renamed from fixinc.math.  Put wrapper around
	curses.h if it contains `typedef char bool;', as suggested by
	Manfred Hollstein <manfred@s-direktnet.de>.
	* configure.in: Rename fixinc.math to fixinc.wrap.

From-SVN: r19629
1998-05-08 01:18:40 +00:00
Manfred Hollstein dea4ae0d8a fixinc.wrap: Renamed from fixinc.math.
�
	* fixinc.wrap: Renamed from fixinc.math.  Put wrapper around
	curses.h if it contains `typedef char bool;', as suggested by
	Manfred Hollstein <manfred@s-direktnet.de>.
	* configure.in: Rename fixinc.math to fixinc.wrap.

From-SVN: r19628
1998-05-08 01:18:37 +00:00
Manfred Hollstein 85c262ac41 Renamed fixinc.math to fixinc.wrap
From-SVN: r19627
1998-05-08 01:17:24 +00:00
Jason Merrill 749adefd03 call.c (build_user_type_conversion_1): Handle second_conv properly for templates.
* call.c (build_user_type_conversion_1): Handle second_conv
	properly for templates.

From-SVN: r19626
1998-05-07 20:51:27 -04:00
Jim Wilson bbeb7b6556 Fix specs file problem reported by Nathan Myers.
* gcc.c (read_specs): Handle missing blank line at end of specs file.

From-SVN: r19622
1998-05-07 13:49:41 -07:00
Jim Wilson 02e5620274 Disable remaining conditional move patterns.
* i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
	movdfcc_1): Disable.

From-SVN: r19621
1998-05-07 12:32:12 -07:00