Commit Graph

19586 Commits

Author SHA1 Message Date
Andrew MacLeod 74153f8e01 dwarfout.c (ASM_OUTPUT_DWARF_STRING_NEWLINE): ASM_OUTPUT_DWARF_STRING has been changed to not include a newline.
* dwarfout.c (ASM_OUTPUT_DWARF_STRING_NEWLINE): ASM_OUTPUT_DWARF_STRING
        has been changed to not include a newline. Use this macro instead.
        (output_enumeral_list, const_value_attribute, name_attribute,
        comp_dir_attribute, prototyped_attribute, producer_attribute,
        inline_attribute, pure_or_virtual_attribute, output_inheritance_die,
        dwarfout_file_scope_decl, generate_new_sfname_entry,
        generate_macinfo_entry, dwarfout_init, dwarfout_finish): Use
        ASM_OUTPUT_DWARF_STRING_NEWLINE macro.

From-SVN: r23363
1998-10-27 06:00:53 +00:00
Jason Merrill 21c0d0f5b2 fix
From-SVN: r23362
1998-10-26 21:21:59 -05:00
Jeff Law ac0f1cd216 Daily bump.
From-SVN: r23361
1998-10-26 17:45:03 -07:00
Mark Mitchell 52bf7d5d09 error.c (dump_decl): Deal with TEMPLATE_DECLs that are VAR_DECLs.
* error.c (dump_decl): Deal with TEMPLATE_DECLs that are
	VAR_DECLs.  Handle vtables whose DECL_CONTEXT is not a type.
	* class.c (finish_struct_1): Use build_cplus_array_type to build
	array types.
	* decl.c (init_decl_processing): Likewise.
	* except.c (expand_end_eh_spec): Likewise.
	* search.c (expand_upcast_fixups): Simplify very slightly.

From-SVN: r23359
1998-10-26 23:48:58 +00:00
Mark Mitchell ad3ef78e25 splay-tree.c: Tweak include directives to make sure declarations of xmalloc and free are...
* splay-tree.c: Tweak include directives to make sure declarations of
	xmalloc and free are available.

From-SVN: r23358
1998-10-26 23:24:48 +00:00
Richard Henderson 4f4b36794c combine.c (subst): Process the inputs to a parallel asm_operands only once.
* combine.c (subst): Process the inputs to a parallel asm_operands
        only once.

From-SVN: r23357
1998-10-26 05:35:39 -08:00
Richard Henderson 3fbd5c2cfd * stmt.c (expand_asm_operands): Accept `=' or `+' at any position.
From-SVN: r23356
1998-10-26 05:33:07 -08:00
Jason Merrill 386c8529dd fix
From-SVN: r23355
1998-10-26 07:32:06 -05:00
Jason Merrill 2e15faa2e8 up
From-SVN: r23354
1998-10-26 07:00:51 -05:00
Jason Merrill 1eb0072d90 decl.c (grokdeclarator): Complain about a variable using constructor syntax coming back null from start_decl.
* decl.c (grokdeclarator): Complain about a variable using
	constructor syntax coming back null from start_decl.
Fixes g++.other/decl2.C
	* friend.c (make_friend_class): Complain about trying to make
	a non-class type a friend.
Fixes g++.other/friend5.C
	* decl.c (grokfndecl): Set DECL_INITIAL for a defn here.
	(start_function): Not here.
Fixes g++.law/friend4.C

From-SVN: r23353
1998-10-26 06:59:09 -05:00
Jeffrey A Law 26f63a7785 * tm.texi (ASM_OUTPUT_MAX_SKIP_ALIGN): Document.
From-SVN: r23352
1998-10-26 04:59:07 -07:00
Brendan Kehoe 0fd3de0080 quickie
From-SVN: r23351
1998-10-26 06:47:08 -05:00
Brendan Kehoe cc362a4065 tests usage of explicit in a friend decl
From-SVN: r23350
1998-10-26 06:46:59 -05:00
Brendan Kehoe 7e83af8482 * decl.c (grokdeclarator): Disallow `explicit' in a friend declaration.
From-SVN: r23349
1998-10-26 06:45:05 -05:00
Jason Merrill 6004a083d4 up
From-SVN: r23348
1998-10-25 21:35:31 -05:00
Jason Merrill c8c133cd3b typeck2.c (process_init_constructor): Only skip anonymous fields if they are bitfields.
* typeck2.c (process_init_constructor): Only skip anonymous fields
	if they are bitfields.

From-SVN: r23347
1998-10-25 21:35:21 -05:00
Jason Merrill 813aedae9e bogus
From-SVN: r23346
1998-10-25 21:15:41 -05:00
Jason Merrill 3ae273dc92 up
From-SVN: r23345
1998-10-25 21:09:40 -05:00
Jason Merrill aaa9d731a1 bogus
From-SVN: r23344
1998-10-25 21:09:03 -05:00
Jason Merrill b894fc0596 cp-tree.def (TYPEOF_TYPE): New code.
* cp-tree.def (TYPEOF_TYPE): New code.
	* error.c (dump_type_real): Handle it.
	* pt.c (tsubst): Likewise.
	* tree.c (search_tree): Likewise.
	* semantics.c (finish_typeof): New fn.
	* parse.y (typespec): Use it.
	* cp-tree.h: Declare it.

From-SVN: r23343
1998-10-25 21:07:50 -05:00
Jason Merrill 86910c53b6 typeck2.c (check_for_new_type): Only depend on pedantic for C-style casts.
* typeck2.c (check_for_new_type): Only depend on pedantic for
	C-style casts.

From-SVN: r23342
1998-10-25 21:07:12 -05:00
Jason Merrill a28e148a86 up
From-SVN: r23341
1998-10-25 21:03:08 -05:00
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