Commit Graph

16120 Commits

Author SHA1 Message Date
Dave Brolley 7ef3af7613 Forgot to commit.
From-SVN: r19080
1998-04-10 03:40:22 -06:00
Jason Merrill dc26f4715d sig.c (build_signature_pointer_constructor): Don't set TREE_HAS_CONSTRUCTOR for a signature pointer.
* sig.c (build_signature_pointer_constructor): Don't set
	TREE_HAS_CONSTRUCTOR for a signature pointer.
	* cvt.c (ocp_convert): Don't force a temporary for internal structs.
	* init.c (resolve_offset_ref): Warn about implicit & on pmfs
	here, too.
	* typeck.c (build_unary_op): Only allow taking the address of a
	real constructor.
	* typeck2.c (digest_init): Simplify.
	(store_init_value): Don't pedwarn about using { } for pmfs.

From-SVN: r19079
1998-04-09 23:38:27 -04:00
Jeff Law 34a4c46602 Fix minor bugs in previous change.
From-SVN: r19078
1998-04-09 18:57:57 -06:00
Jeffrey A Law 9ee02b5c40 * cplus-dem.c: Sync with gcc.
From-SVN: r19077
1998-04-09 18:45:43 -06:00
Jim Wilson 963686319f Makefile.am (SUBDIRS): Redefine to exclude info, po, util and doc.
* Makefile.am (SUBDIRS): Redefine to exclude info, po, util and doc.
        * Makefile.in: Rebuild.

From-SVN: r19076
1998-04-09 18:37:58 -06:00
Jeffrey A Law 4b104d6e5c configure.in: Handle --with-fast-fixincludes.
* configure.in: Handle --with-fast-fixincludes.
        (fixincludes): If --with-fast-fixincludes, then use a different
        fixincludes program by default.
        * Makefile.in (fixinc.sh): New rule.

From-SVN: r19075
1998-04-09 18:31:10 -06:00
Jeff Law e57a83107d new test from HJ.
From-SVN: r19074
1998-04-09 18:14:42 -06:00
H.J. Lu b76c90cf74 i386.md (movqi+1): Handle invalid QI register.
* i386.md (movqi+1): Handle invalid QI register.
        (movsf_push-1): Likewise.

From-SVN: r19073
1998-04-09 17:38:47 -06:00
Benjamin Kosnik fcad5cf5e8 cp-tree.h (start_decl): Update prototype.
a
Thu Apr  9 22:16:57 1998  Per Bothner  <bothner@cygnus.com>
        * cp-tree.h (start_decl):  Update prototype.
        * decl.c (start_decl):  Like the C version, new parameters
        for the attributes.  Call cplus_decl_attributes here,
        (pushdecl):  Like C version, do build_type_copy if TYPE_DECL,
        (grokdeclarator):  Pass NULL for new start_decl arguments.
        * pt.c (tsubst_expr):  Likewise.
        * parse.y:  Merge cplus_decl_attribute calls into start_decl calls.
	* typeck.c (common_type): Check TYPE_MAIN_VARIANT.
	* lex.c (build_lang_decl): Add lang_name_java.
	* class.c (push_lang_context): Add lang_name_java.
	* method.c (build_mangled_name): Check for is_java_type.
Thu Apr  9 22:16:57 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* decl.c (grokdeclarator): Check TYPE_MAIN_VARIANT.
	* call.c (build_scoped_method_call): Check for TREE_CODE for
	VOID_TYPE instead of type ==  void_type_node.
	(build_method_call): Ditto.
	* decl.c (lookup_name_real): Ditto.
	(grokdeclarator): Ditto.
	(start_decl): Ditto.
	(grokparms): Ditto.
	(start_function): Ditto.
	(finish_function): Ditto.
	(start_method): Ditto.
also fixes g++/15415

From-SVN: r19072
1998-04-09 20:36:49 +00:00
Benjamin Kosnik a177473334 cp-tree.h (start_decl): Update prototype.
d
Thu Apr  9 22:16:57 1998  Per Bothner  <bothner@cygnus.com>
        * cp-tree.h (start_decl):  Update prototype.
        * decl.c (start_decl):  Like the C version, new parameters
        for the attributes.  Call cplus_decl_attributes here,
        (pushdecl):  Like C version, do build_type_copy if TYPE_DECL,
        (grokdeclarator):  Pass NULL for new start_decl arguments.
        * pt.c (tsubst_expr):  Likewise.
        * parse.y:  Merge cplus_decl_attribute calls into start_decl calls.
	* typeck.c (common_type): Check TYPE_MAIN_VARIANT.
	* lex.c (build_lang_decl): Add lang_name_java.
	* class.c (push_lang_context): Add lang_name_java.
	* method.c (build_mangled_name): Check for is_java_type.
Thu Apr  9 22:16:57 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* decl.c (grokdeclarator): Check TYPE_MAIN_VARIANT.
	* call.c (build_scoped_method_call): Check for TREE_CODE for
	VOID_TYPE instead of type ==  void_type_node.
	(build_method_call): Ditto.
	* decl.c (lookup_name_real): Ditto.
	(grokdeclarator): Ditto.
	(start_decl): Ditto.
	(grokparms): Ditto.
	(start_function): Ditto.
	(finish_function): Ditto.
	(start_method): Ditto.
also fixes g++/15415

From-SVN: r19071
1998-04-09 20:36:47 +00:00
Nick Clifton 2e076ddffc Removed unused functions.
Changed call_address_operand() to only accept symbolic addresses.

From-SVN: r19070
1998-04-09 16:58:50 +00:00
Jeff Law 5a5732cf8c Change from Dave.
From-SVN: r19069
1998-04-09 04:55:36 -06:00
Jeff Law d0f9021ae3 calls.c (expand_call): Fix typo.
8
        * calls.c (expand_call): Fix typo.

From-SVN: r19068
1998-04-08 18:44:41 -06:00
Jeff Law b1d6ccb81b calls.c (expand_call): Fix typo.
�
        * calls.c (expand_call): Fix typo.

From-SVN: r19067
1998-04-08 18:44:39 -06:00
Jeff Law 4c43cd29de Tweak for init_lex/init_parse changes.
From-SVN: r19066
1998-04-08 17:36:52 -06:00
Dave Brolley 2b2a353188 lex.c (finput): New variable.
* lex.c (finput): New variable.
        (init_cpp_parse):  Renamed from init_parse.
        (init_parse): Handle !USE_CPPLIB.  Call init_cpp_parse when finished.
        (finish_parse): New function.
        * cp-tree.h (init_lex, init_parse): Remove declarations.

From-SVN: r19065
1998-04-08 17:30:28 -06:00
Dave Brolley 77f77701a5 com.c (finput): New variable.
* com.c (finput): New variable.
        (init_parse): Handle !USE_CPPLIB.
        (finish_parse): New function.
        (lang_init): No longer declare finput.

From-SVN: r19064
1998-04-08 17:30:08 -06:00
Dave Brolley e56e519de8 c-lex.c (finput): New global.
* c-lex.c (finput): New global.
        (init_parse): Always included.  Handle !USE_CPPLIB using
        code originally in compile_file.
        (finish_parse): Update for CPPLIB.
        * toplev.c (init_parse, finish_parse): Declare.
        (finput): Delete variable.  Now in front-ends.
        (compile_file): Remove code which is now handled by init_parse
        which is unconditionally called.  Similarly for finish_parse.

From-SVN: r19063
1998-04-08 17:29:09 -06:00
Jeffrey A Law 62db76ee5f configure.in (v850): Use t-v850.
* configure.in (v850): Use t-v850.
        (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.

From-SVN: r19062
1998-04-08 17:10:27 -06:00
Jeffrey A Law 10a998b0c2 * protoize.c (creat, read, write): Do not declare.
From-SVN: r19061
1998-04-08 16:55:33 -06:00
Jeffrey A Law e105f02cd8 jump.c (mark_jump_label): Record REG_LABEL notes for insns which refer to the CODE_LABEL before a...
* jump.c (mark_jump_label): Record REG_LABEL notes for insns which
        refer to the CODE_LABEL before a dispatch table.

From-SVN: r19060
1998-04-08 16:47:50 -06:00
Jeffrey A Law 56b2d7a733 * invoke.texi: Add ARC options.
From-SVN: r19059
1998-04-08 16:44:13 -06:00
Jeffrey A Law c74c0cff2d gcc.c (proces_command): Improve error message for -o with either -c or -S.
* gcc.c (proces_command): Improve error message for -o with
        either -c or -S.

From-SVN: r19058
1998-04-08 16:39:36 -06:00
Gavin Koch 85d7aed950 r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK, [...]): Add.
* config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
        ASM_WEAKEN_LABEL): Add.

From-SVN: r19057
1998-04-08 16:14:57 -06:00
Jeff Law 36fd92a52d Update copyright.
From-SVN: r19056
1998-04-08 16:09:33 -06:00
Jeffrey A Law 2d58da1592 x-cygwin32 (CLIB): Link in advapi32.
* i386/x-cygwin32 (CLIB): Link in advapi32.
Easier to build with older version of gcc.

From-SVN: r19055
1998-04-08 16:08:11 -06:00
Jeffrey A Law 40ef2fc551 alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
* alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
        (ASM_IDENTIFY_LANGUAGE): Likewise.
Bring over from devo.

From-SVN: r19054
1998-04-08 16:04:32 -06:00
Jeff Law 22575c97ed Bring over changes from devo.
From-SVN: r19053
1998-04-08 15:12:07 -06:00
Richard Henderson 54a4fa0755 Support recursive calls to exit.
From-SVN: r19052
1998-04-08 11:30:32 -07:00
Richard Henderson 574badbc83 crtbegin.asm, [...]: New files.
* alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
* configure.in (alpha-*-linux*): Use them.

From-SVN: r19051
1998-04-08 11:22:54 -07:00
Jeffrey A Law df89b5e780 i386.md (movqi recognizer): Don't perfom byte increment into a NON_QI_REG_P.
* i386.md (movqi recognizer): Don't perfom byte increment into
        a NON_QI_REG_P.

From-SVN: r19050
1998-04-08 11:24:27 -06:00
Alexandre Petit-Bianco bf1e5319c3 tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
d
Fri Apr  3 17:02:13 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 	* tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
 	* tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
 	COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
 	(build_expr_wfl): New prototype declaration.
 	* tree.c (build_expr_wfl): New function, to build
  	EXPR_WITH_FILE_LOCATION nodes.
 	(copy_node): Don't zero TREE_CHAIN if copying a
  	EXPR_WITH_FILE_LOCATION node.
 	* print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
 	* expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.

From-SVN: r19049
1998-04-08 07:03:48 -07:00
Jim Wilson 1382bac6e8 Delete duplicate test.
From-SVN: r19048
1998-04-08 06:22:56 -07:00
Jeff Law 9590eb1bc6 configure.in (x86-dg-dgux): Run fixinc.dgux.
8
        * configure.in (x86-dg-dgux): Run fixinc.dgux.

From-SVN: r19047
1998-04-08 05:56:17 -06:00
Jeff Law f09ff19933 configure.in (x86-dg-dgux): Run fixinc.dgux.
�
        * configure.in (x86-dg-dgux): Run fixinc.dgux.

From-SVN: r19046
1998-04-08 05:56:15 -06:00
Jeffrey A Law f962b99f1c * i386.h: Fix typo in GEN_INT changes.
From-SVN: r19045
1998-04-08 05:55:10 -06:00
Jeffrey A Law c3709629ed bitmap.c (bitmap_element_allocate): Use "void" for arglist instead of an empty arglist in prototype.
* bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
        of an empty arglist in prototype.

From-SVN: r19044
1998-04-08 05:54:19 -06:00
Jeffrey A Law ee5254ffe2 Makefile.in: Remove bytecode crud that crept back in after the gcc2 merge.
* Makefile.in: Remove bytecode crud that crept back in after the
        gcc2 merge.

From-SVN: r19043
1998-04-08 05:51:57 -06:00
Jeff Law f36c0c095f Note lang_print_xnode change.
From-SVN: r19042
1998-04-08 05:40:54 -06:00
Jeff Law 4a00b81561 Change from tege.
From-SVN: r19041
1998-04-08 05:39:39 -06:00
Brendan Kehoe 0806342bc1 c-lex.h (is_class_name): Fix arg type to be tree, not void.
* c-lex.h (is_class_name): Fix arg type to be tree, not void.
	(make_pointer_declarator, reinit_parse_for_function): Fix typo.

From-SVN: r19040
1998-04-08 05:57:52 -04:00
Richard Earnshaw 6f7349082d * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
From-SVN: r19039
1998-04-08 06:19:00 +00:00
Bernd Schmidt 56c0e996b8 c-lex.c (is_class_name): Delete declaration.
* c-lex.c (is_class_name): Delete declaration.
        (whitespace_cr): Make static and add prototype.
        * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
        yylex, get_directive_line): Turn declarations into prototypes.
        (position_after_whitespace, check_newline, yyerror,, is_class_name,
        forget_protocol_qualifiers, remember_protocol_qualifiers): Add
        prototypes.
        * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
        prototypes.
        * gencodes.c (gen_insn): Add prototype.
        * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
        gen_peephole): Add prototypes.
        * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
        prototypes.
        * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
        special_format, find_formats, gendecl, genmacro, gendef, genlegend,
        genheader, gencode): Add prototypes.
        * genopinit.c (gen_insn): Add prototype.
        * genoutput.c (output_prologue, output_epilogue, scan_operands,
        process_template, validate_insn_alternatives, gen_insn, gen_peephole,
        gen_expand, gen_split, n_occurrences): Add prototypes.
        * genpeep.c (gen_peephole): Add prototype.
        * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
        reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
        labels_in_range_p, count_loop_regs_set, note_addr_stored,
        loop_reg_used_before_p, scan_loop, replace_call_address,
        skip_consec_insns, libcall_benefit, ignore_some_movables,
        force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
        strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
        check_final_value, record_giv, update_giv_derive, basic_induction_var,
        simplify_giv_expr, general_induction_var, consec_sets_giv,
        check_dbra_loop, express_from, combine_givs_p, combine_givs,
        product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
        last_use_this_basic_block, record_initial, update_reg_last_use,
        iteration_info, analyze_loop_iterations, insert_bct,
        instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
        into prototypes.

From-SVN: r19038
1998-04-07 17:47:11 -06:00
Jeff Law 8a63cdfc10 New test from Joern.
From-SVN: r19037
1998-04-07 17:30:05 -06:00
Jeffrey A Law cc46ae8e68 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
From-SVN: r19036
1998-04-07 14:51:37 -06:00
Jeff Law 0b3d64d2d1 Forgot to commit (duh).
From-SVN: r19035
1998-04-07 12:44:08 -06:00
Ulrich Drepper 5f5f6cb7ca (__stl_prime_list): Mark last two numbers as unsigned long since they are...
(__stl_prime_list): Mark last two numbers as
unsigned long since they are otherwise too large for long int on
32bit machines.

From-SVN: r19034
1998-04-07 18:39:16 +00:00
Ken Raeburn e7d075bfb3 Remove SIGINFO handling from mips.c.
From-SVN: r19033
1998-04-07 13:29:03 +00:00
Ken Raeburn 473fe49b1e Sync up MEMORY_MOVE_COST changes with FSF.
From-SVN: r19032
1998-04-07 13:24:41 +00:00
Jim Wilson d6a007a2ab Testcase for loop reversal (check_dbra_loop) bug.
From-SVN: r19031
1998-04-07 05:02:08 -07:00