Commit Graph

19214 Commits

Author SHA1 Message Date
Manfred Hollstein
c8298f617a cp-tree.h (FORMAT_VBASE_NAME): Make definition unconditional.
�
	* cp-tree.h (FORMAT_VBASE_NAME): Make definition unconditional.

From-SVN: r23340
1998-10-26 01:46:53 +00:00
Jason Merrill
5a87b0e8f0 up
From-SVN: r23339
1998-10-25 19:50:05 -05:00
Jason Merrill
879fb1de5c typeck.c (convert_arguments): Don't handle pmf references specially.
* typeck.c (convert_arguments): Don't handle pmf references
	specially.
	* init.c (build_member_call): Don't try to convert to the base type
	if it's ambiguous.
	* typeck2.c (check_for_new_type): Don't depend on pedantic.

From-SVN: r23338
1998-10-25 19:48:20 -05:00
Jeff Law
083c24ed00 Daily bump.
From-SVN: r23337
1998-10-25 17:45:02 -07:00
Jason Merrill
c654a67ead update
From-SVN: r23336
1998-10-25 19:42:53 -05:00
Jeffrey A Law
ff08e6b52e Bump for snapshot
From-SVN: r23334
1998-10-25 17:38:03 -07:00
Jason Merrill
79df667088 update
From-SVN: r23333
1998-10-25 19:17:06 -05:00
Jason Merrill
0679e3fcb6 stmt.c (expand_fixup): Set fixup->before_jump to a NOTE_INSN_DELETED instead of a NOTE_INSN_BLOCK_BEG.
8
	* stmt.c (expand_fixup): Set fixup->before_jump to a
	NOTE_INSN_DELETED instead of a NOTE_INSN_BLOCK_BEG.

From-SVN: r23330
1998-10-25 16:56:23 -07:00
Jason Merrill
e17f9bc098 stmt.c (expand_fixup): Set fixup->before_jump to a NOTE_INSN_DELETED instead of a NOTE_INSN_BLOCK_BEG.
�
	* stmt.c (expand_fixup): Set fixup->before_jump to a
	NOTE_INSN_DELETED instead of a NOTE_INSN_BLOCK_BEG.

From-SVN: r23329
1998-10-25 16:56:22 -07:00
Mark Mitchell
cc804e5114 decl.c (grokdeclarator): Set DECL_NONCONVERTING_P for all non-converting constructors.
* decl.c (grokdeclarator): Set DECL_NONCONVERTING_P for all
	non-converting constructors.

From-SVN: r23325
1998-10-25 23:15:00 +00:00
Mark Mitchell
224301c1b9 cplus-dem.c (gnu_special): Fix handling of virtual tables in anonymous namespaces.
* cplus-dem.c (gnu_special): Fix handling of virtual tables in
	anonymous namespaces.

From-SVN: r23324
1998-10-25 23:10:09 +00:00
H.J. Lu
0b8054a77c Make-lang.in (jv-scan$(exeext)): Add stamp-objlist to dependency.
�
        * Make-lang.in (jv-scan$(exeext)): Add stamp-objlist to
        dependency.

From-SVN: r23318
1998-10-25 06:59:25 -07:00
H.J. Lu
937293e9cc Make-lang.in (jv-scan$(exeext)): Add stamp-objlist to dependency.
�
        * Make-lang.in (jv-scan$(exeext)): Add stamp-objlist to
        dependency.

From-SVN: r23317
1998-10-25 06:59:23 -07:00
Kaveh R. Ghazi
7f7f8214d8 Warning fixes:
* Makefile.in (recog.o): Depend on toplev.h.
        (insn-emit.o): Depend on recog.h.
        (insn-peep.o): Depend on recog.h and insn-config.h.
        * combine.c (simplify_set): Remove unused variable `scratches'.
        * final.c (final_scan_insn): Wrap declaration of variables `vlen'
        and `idx' in macro conditional controlling their use.
        * genemit.c (main): Make the generated output file include
        recog.h.  Don't have it declare `insn_operand_constraint', since
        we get it from recog.h.
        * genpeep.c (main): Make the generated output file include
        insn-config.h and recog.h.
        * recog.c: Include toplev.h.
        (extract_insn): Remove unused variable `p'.
        * regclass.c (fix_register): Add missing braces around initializer
        for `what_option'.
        (allocate_reg_info): Move variable `i' into the scope where it is
        used.  Change its type to `size_t'.

From-SVN: r23307
1998-10-25 12:56:39 +00:00
Bernd Schmidt
506b3b3ac9 reload.c (push_reload): When merging reloads...
�
        * reload.c (push_reload): When merging reloads, make sure
        that reload_in_reg and reload_in are from the same reload in
        all cases.

From-SVN: r23303
1998-10-25 05:13:14 -07:00
Bernd Schmidt
9ff16ff2fc reload.c (push_reload): When merging reloads...
�
        * reload.c (push_reload): When merging reloads, make sure
        that reload_in_reg and reload_in are from the same reload in
        all cases.

From-SVN: r23302
1998-10-25 05:13:12 -07:00
Mumit Khan
de3a09679f crtdll.h (CPP_PREDEFINES): Fix typo.
* i386/crtdll.h (CPP_PREDEFINES): Fix typo.
        * i386/mingw32.h (CPP_PREDEFINES): Likewise.

From-SVN: r23292
1998-10-25 04:08:59 -07:00
Jeff Law
ad8a52d430 Daily bump.
From-SVN: r23287
1998-10-24 18:45:02 -06:00
David Edelsohn
7405d9a163 - update record_reg_classes change to be consistent with
Kenner's change to gcc.

From-SVN: r23275
1998-10-24 10:19:32 -04:00
Dave Love
c60f1599b1 Regenerated.
From-SVN: r23272
1998-10-24 09:04:09 +00:00
Dave Love
a8ae89a5e4 configure.in: Touch g2c.h in AC_OUTPUT after multilib disturbance.
1998-10-24  Dave Love  <d.love@dl.ac.uk>
	* configure.in: Touch g2c.h in AC_OUTPUT after multilib
	disturbance.

From-SVN: r23271
1998-10-24 09:03:07 +00:00
Dave Love
e7294982f3 Touch g2c.h in AC_OUTPUT after multilib disturbance.
From-SVN: r23270
1998-10-24 09:01:49 +00:00
Martin v. Löwis
08bb3b69c4 * gxxint.texi: Correct documentation for n, N, Q, and B.
From-SVN: r23269
1998-10-24 03:05:35 +00:00
Jeff Law
2b2ea9100a Daily bump.
From-SVN: r23268
1998-10-23 18:45:01 -06:00
Martin v. Löwis
3a2cbef7a4 parse.y (condition): Convert VAR_DECL from reference to indirect reference.
* parse.y (condition): Convert VAR_DECL from reference to indirect
	reference.

From-SVN: r23267
1998-10-24 00:35:31 +00:00
David Edelsohn
8c368ee218 loop.c (loop_has_tablejump): New variable.
* loop.c (loop_has_tablejump): New variable.
        (prescan_loop): Scan for it.
        (insert_bct): Replace explicit scan with use of it.
        * regclass.c (regclass): Restore loop variable j.
        (record_reg_classes): Deterine op_types modifiers and initialize
        classes[i] before matching constraints.  Handle matching
        constraints 5-9.

From-SVN: r23263
1998-10-23 16:51:02 -04:00
Jeffrey A Law
b590bbfd11 flow.c (life_analysis_1): Enable "rescan" code after reload.
* flow.c (life_analysis_1): Enable "rescan" code after reload.
        (propagate_block): Delete dead code after reload.

From-SVN: r23262
1998-10-23 14:34:52 -06:00
Jeffrey A Law
a1ef0af4d2 sched.c (update_flow_info): Revert Oct 19, 1998 change.
* sched.c (update_flow_info): Revert Oct 19, 1998 change.  Brings
        back Oct 15, 1998 change.
        * haifa-sched.c (update_flow_info): Likewise.
        * flow.c (life_analysis_1): Delete CLOBBER insns after reload.
Real fix was in flow.c...

From-SVN: r23261
1998-10-23 14:25:09 -06:00
Mark Mitchell
d9db46fd48 cplus-dem.c (work_stuff): Replace const_type and volatile_type with type_quals.
* cplus-dem.c (work_stuff): Replace const_type and volatile_type
	with type_quals.
	(TYPE_UNQUALIFIED): New macro.
	(TYPE_QUAL_CONST): Likewise.
	(TYPE_QUAL_VOLATILE): Likewise.
	(TYPE_QUAL_RESTRICT): Likewise.
	(code_for_qualifier): New function.
	(qualifier_string): Likewise.
	(demangle_qualifier): Likewise.
	(internal_cplus_demangle): Use them.
	(demangle_signature): Likewise.
	(demangle_template_value_parm): Likewise.
	(do_type): Likewise.
	(demangle_fund_type)): Likewise.

From-SVN: r23260
1998-10-23 16:36:15 +00:00
Andrew MacLeod
943767e30c exception.cc (__cp_pop_exception): Free the original exception value, not the potentially coerced one.
1998-10-23  Andrew MacLeod  <amacleod@cygnus.com>
      * exception.cc (__cp_pop_exception): Free the original exception
      value, not the potentially coerced one.

From-SVN: r23259
1998-10-23 16:26:19 +00:00
Mark Mitchell
91063b5138 cplus-dem.c (work_stuff): Replace const_type and volatile_type with type_quals.
* cplus-dem.c (work_stuff): Replace const_type and volatile_type
	with type_quals.
	(TYPE_UNQUALIFIED): New macro.
	(TYPE_QUAL_CONST): Likewise.
	(TYPE_QUAL_VOLATILE): Likewise.
	(TYPE_QUAL_RESTRICT): Likewise.
	(code_for_qualifier): New function.
	(qualifier_string): Likewise.
	(demangle_qualifier): Likewise.
	(internal_cplus_demangle): Use them.
	(demangle_signature): Likewise.
	(demangle_template_value_parm): Likewise.
	(do_type): Likewise.
	(demangle_fund_type)): Likewise.
	* Makefile.in (hash.h): Run gperf when necessary.
	* cp-tree.h (CP_TYPE_READONLY): Remove.
	(CP_TYPE_VOLATILE): Likewise.
	(CP_TYPE_QUALS): New macro.
	(CP_TYPE_CONST_P): Likewise.
	(CP_TYPE_VOLATILE_P): Likewise.
	(CP_TYPE_RESTRICT_P): Likewise.
	(CP_TYPE_CONST_NON_VOLATILE_P): Likewise.
	(cp_build_type_variant): Rename to ...
	(cp_build_qualified_type): New function.
	(c_apply_type_quals_to_decl): Declare.
	(SIGNATURE_POINTER_NAME_FORMAT): Modify to allow `restrict'.
	(SIGNATURE_REFERENCE_NAME_FORMAT): Likewise.
	(cp_type_qual_from_rid): New function.
	(compparms): Remove unused parameter.  All callers changed.
	(cp_type_quals): New function.
	(at_least_as_qualified_p): Likewise.
	(more_qualified_p): Likewise.
	* call.c (standard_conversion): Replace calls to
	cp_build_type_variant with cp_build_qualified_type.  Use
	CP_TYPE_QUALS to get qualifiers and at_least_as_qualified_p to
	compare them.  Use CP_TYPE_* macros to check qualifiers.
	(reference_binding): Likewise.
	(implicit_conversion): Likewise.
	(add_builtin_candidates): Likewise.
	(build_over_call): Likewise.
	* class.c (overrides): Compare all qualifiers, not just `const',
	on method declarations.
	* cvt.c (convert_to_reference): More CP_TYPE_QUALS conversion, etc.
	(convert_pointer_to_real): Likewise.
	(type_promotes_to): Likewise.
	* decl.c (check_for_uninitialized_const_var): New function.
	(init_decl_processing): More CP_TYPE_QUALS conversion, etc.
	(cp_finish_decl): Use check_for_uninitialized_const_var.
	(grokdeclarator): More CP_TYPE_QUALS conversion, etc.  Update to
	handle `restrict'.
	(grok_ctor_properties): Likewise.
	(grok_op_properties): Likewise.
	(start_function): Likewise.
	(rever_static_member_fn): Likewise.
	* decl2.c (grok_method_quals): Likewise.
	(grokfield): Likewise.
	* error.c (dump_readonly_or_volatile): Rename to ...
	(dump_qualifiers): New function.  Handle `restrict'.
	(dump_type_real): Use it.
	(dump_aggr_type): Likewise.
	(dump_type_prefix): Likewise.
	(dump_type_suffix): Likewise.
	(dump_function_decl): Likewise.
	(cv_as_string): Likewise.
	* gxx.gperf: Add __restrict and __restrict__.
	* gxxint.texi: Document `u' as used for `__restrict', and a few
	other previously undocumented codes.
	* hash.h: Regenerated.
	* init.c (expand_aggr_init): More CP_TYPE_QUALS conversion, etc.
	(build_member_call): Likewise.
	(build_new_1): Likewise.
	* lex.c (init_parse): Add entry for RID_RESTRICT.
	(cons_up_default_function): More CP_TYPE_QUALS conversion, etc.
	(cp_type_qual_from_rid): Define.
	* lex.h (enum rid): Add RID_RESTRICT.
	* method.c (process_modifiers): Deal with `restrict'.
	* parse.y (primary): More CP_TYPE_QUALS conversion, etc.
	* parse.c: Regenerated.
	* pt.c (convert_nontype_argument): More CP_TYPE_QUALS conversion, etc.
	(tsubst_aggr_type): Likewise.
	(tsubst): Likewise.
	(check_cv_quals_for_unify): Likewise.
	(unify): Likewise.
	* rtti.c (init_rtti_processing): Likewise.
	(build_headof): Likewise.
	(get_tinfo_var): Likewise.
	(buidl_dynamic_cast_1): Likewise.  Fix `volatile' handling.
	(expand_class_desc): Likewise.
	(expand_attr_desc): Likewise.
	(synthesize_tinfo_fn): Likewise.
	* search.c (covariant_return_p): Likewise.  Fix `volatile' handling.
	(get_matching_virtual): Likewise.
	(expand_upcast_fixups): Likewise.
	* sig.c (build_signature_pointer_or_reference_name): Take
	type_quals, not constp and volatilep.
	(build_signature_pointer_or_reference_type): Likewise.
	(match_method_types): More CP_TYPE_QUALS conversion, etc.
	(build_signature_pointer_constructor): Likewise.
	(build_signature_method_call): Likewise.
	* tree.c (build_cplus_array_type): Likewise.
	(cp_build_type_variant): Rename to ...
	(cp_build_qualified_type): New function.  Deal with `__restrict'.
	(canonical_type_variant): More CP_TYPE_QUALS conversion, etc.
	(build_exception_variant): Likewise.
	(mapcar): Likewise.
	* typeck.c (qualif_type): Likewise.
	(common_type): Likewise.
	(comptypes): Likewise.
	(comp_cv_target_types): Likewise.
	(at_least_as_qualified_p): Define.
	(more_qualified_p): Likewise.
	(comp_cv_qualification): More CP_TYPE_QUALS conversion, etc.
	(compparms): Likewise.
	(inline_conversion): Likewise.
	(string_conv_p): Likewise.
	(build_component_ref): Likewise.
	(build_indirect_ref): Likewise.
	(build_array_ref): Likewise.
	(build_unary_op): Likewise.
	(build_conditional_expr): Likewise.
	(build_static_cast): Likewise.
	(build_c_cast): Likewise.
	(build_modify_expr): Likewise.
	(convert_For_assignment): Likewise.
	(comp_ptr_ttypes_real): Likewise.
	(cp_type_quals): New function.

From-SVN: r23258
1998-10-23 14:53:28 +00:00
Jeffrey A Law
7b16da78b1 * flow.c (life_analysis_1): Delete CLOBBER insns after reload.
From-SVN: r23257
1998-10-23 08:33:35 -06:00
Jim Wilson
ca3bf2b5db Fix m32r build failure, (SUBREG (MEM)) problem from Joern's reload patches.
* m32r/m32r.c (gen_split_move_double): Call alter_subreg.  Delete
	subreg support.

From-SVN: r23256
1998-10-23 07:00:08 -07:00
Kaveh R. Ghazi
e1ba7da73f Warning fixes:
* mips.h (EXTRA_SPECS): Add missing initializers.

From-SVN: r23255
1998-10-23 13:23:39 +00:00
Kaveh R. Ghazi
df4f7565fe Warning fixes:
* sparc.h (EXTRA_SPECS): Add missing initializers.
        (sparc_defer_case_vector): Provide a prototype.
        * svr4.h (ASM_OUTPUT_ASCII): Cast STRING_LIMIT to (long) when
        comparing it to the result of a pointer subtraction.

From-SVN: r23254
1998-10-23 13:12:09 +00:00
Kaveh R. Ghazi
d1e6b55b7a Warning fixes:
* alpha.c (override_options): Use ISDIGIT(), not isdigit().  Cast
        the argument to (unsigned char).
        * alpha.h (EXTRA_SPECS): Add missing initializers.
        (ASM_GENERATE_INTERNAL_LABEL): Ensure the argument matches the
        format specifier.

From-SVN: r23253
1998-10-23 12:39:18 +00:00
Jeffrey A Law
c4214310ab * mn10200.md (truncated shift): Accept constant inputs too.
From-SVN: r23252
1998-10-23 06:15:31 -06:00
Dave Love
9cfb030f28 f2cext.c: Include math.h.
1998-10-23  Dave Love  <d.love@dl.ac.uk>
	* f2cext.c: Include math.h.

From-SVN: r23251
1998-10-23 11:39:24 +00:00
Dave Love
87e6e875b3 Include math.h.
From-SVN: r23250
1998-10-23 11:38:34 +00:00
Tom Tromey
45ae5597eb * lang-specs.h: `.zip' files are input to jc1.
From-SVN: r23247
1998-10-23 08:54:10 +00:00
Martin v. Löwis
1d5f42ab2b New test case.
From-SVN: r23246
1998-10-23 08:53:32 +00:00
Richard Earnshaw
abef87891c machmode.h (mode_mask_array): No longer const.
* machmode.h (mode_mask_array): No longer const.
* rtl.c (init_rtl): Fully initialize it if EXTRA_CC_MODES defined.

From-SVN: r23245
1998-10-23 04:09:58 +00:00
Jason Merrill
0aaa908966 cp-tree.h (CP_TYPE_READONLY): New macro to handle arrays.
* cp-tree.h (CP_TYPE_READONLY): New macro to handle arrays.
	(CP_TYPE_VOLATILE): Likewise.
	* decl.c (grokdeclarator): Use them.
	* tree.c (canonical_type_variant): Likewise.

From-SVN: r23244
1998-10-22 22:26:32 -04:00
Martin v. Löwis
ccb5954fea frame.c: Somewhat explain `FDE'.
* frame.c: Somewhat explain `FDE'.
        Suggested by Brendan Kehoe

From-SVN: r23243
1998-10-23 02:25:09 +00:00
Jason Merrill
8d3f83d25c up
From-SVN: r23242
1998-10-22 22:21:02 -04:00
Jason Merrill
fdc46fbe65 expr.c (pending_chain): Move up.
* expr.c (pending_chain): Move up.
	(save_expr_status): Do save pending_chain.
	(restore_expr_status): And restore it.
	* function.h (struct function): Add pending_chain.

From-SVN: r23241
1998-10-22 22:18:53 -04:00
Jeff Law
5581627cef Daily bump.
From-SVN: r23240
1998-10-22 18:45:02 -06:00
Herman A.J. ten Brugge
6f20793d6f reorg.c (relax_delay_slots): Fixed test for mostly_true_jump.
* reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. The
        did not match the code.

From-SVN: r23239
1998-10-22 17:34:56 -06:00
Per Bothner
1938bea67e jvspecs.c: Add (but don't enable) support for combining multiple .class and .java input...
�
	* jvspecs.c:  Add (but don't enable) support for combining multiple
	.class and .java input filenames to a single jc1 invocation.
	Add support for -C flag (copile to .class files).
	Translate -classpath and -CLASSPATH arguments.
	* lang-specs.h:  Don't set %2 spec.

From-SVN: r23238
1998-10-22 16:11:53 -07:00
Per Bothner
172b2240e2 jvspecs.c: Add (but don't enable) support for combining multiple .class and .java input...
* jvspecs.c:  Add (but don't enable) support for combining multiple
	.class and .java input filenames to a single jc1 invocation.
	Add support for -C flag (copile to .class files).
	Translate -classpath and -CLASSPATH arguments.
	* lang-specs.h:  Don't set %2 spec.

From-SVN: r23237
1998-10-22 16:11:51 -07:00