Commit Graph

16348 Commits

Author SHA1 Message Date
Krister Walfridsson
ec8d6ddc83 configure: Define DEFAULT_M4 by searching PATH.
* configure: Define DEFAULT_M4 by searching PATH.
        * Makfile.in: Use DEFAULT_M4.

From-SVN: r19208
1998-04-14 04:34:37 -06:00
Krister Walfridsson
de2d990f16 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
From-SVN: r19207
1998-04-14 04:33:09 -06:00
Jeffrey A Law
6862dfac62 svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
* svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
        (ASM_FINISH_DECLARE_OBJECT): Likewise.

From-SVN: r19206
1998-04-14 03:53:08 -06:00
Jeffrey A Law
b7cb92adc9 * Idea and part of the patch from HJ.
* Makefile.in: auto-host.h renamed from auto-config.h.  All references
        changed.
        (distclean): Remove auto-build.h too.
        * configure.in: Rename host autoconf generated file to auto-host.h.
        If host != build, then run autoconf to generate auto-build.h for
        the build machine and include it in build_xm_files.
        Check for wait.h and sys/wait.h.

From-SVN: r19205
1998-04-14 02:32:34 -06:00
Jeff Law
80608e2793 combine.c (simplify_rtx, [...]): Respect value of TRULY_NOOP_TRUNCATION.
8
        * combine.c (simplify_rtx, case TRUNCATE): Respect value of
        TRULY_NOOP_TRUNCATION.

From-SVN: r19204
1998-04-14 02:04:21 -06:00
Jeff Law
d5daf0986f combine.c (simplify_rtx, [...]): Respect value of TRULY_NOOP_TRUNCATION.
�
        * combine.c (simplify_rtx, case TRUNCATE): Respect value of
        TRULY_NOOP_TRUNCATION.

From-SVN: r19203
1998-04-14 02:04:17 -06:00
Jason Merrill
7d02bbefd5 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
From-SVN: r19199
1998-04-13 07:38:16 -04:00
Benjamin Kosnik
556ffb6757 decl.c (duplicate_decls): Don't warn for redundant decls if friend: let add_friend take care of it.
x
Fri Apr 10 12:16:49 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* decl.c (duplicate_decls): Don't warn for redundant decls if
 	friend: let add_friend take care of it.
Fixes g++/15307

From-SVN: r19198
1998-04-13 11:13:36 +00:00
Benjamin Kosnik
d74ce43a8b decl.c (duplicate_decls): Don't warn for redundant decls if friend: let add_friend take care of it.
�
Fri Apr 10 12:16:49 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* decl.c (duplicate_decls): Don't warn for redundant decls if
 	friend: let add_friend take care of it.
Fixes g++/15307

From-SVN: r19197
1998-04-13 11:13:34 +00:00
Jason Merrill
72f54004c0 fix merge breakage
From-SVN: r19196
1998-04-13 07:05:58 -04:00
Jeff Law
ef78c24533 Initial revision
From-SVN: r19176
1998-04-12 19:32:01 -06:00
Jeff Law
8dd8e7643a Fix typos.
From-SVN: r19155
1998-04-12 14:31:54 -06:00
Alexandre Oliva
3c0d0dea6a * configure.in: only set HAVE_LIBZ if zlib.h exists
From-SVN: r19154
1998-04-12 14:00:34 -06:00
Jeffrey A Law
547a618398 * Makefile.in (INSTALL_MODULES): Remove texinfo.
From-SVN: r19153
1998-04-12 13:58:53 -06:00
Catherine Moore
4754172c64 * invoke.texi (ld options) Include memset requirements
for options -nodstdlib and -nodefaultlibs.

From-SVN: r19152
1998-04-12 13:55:52 -06:00
Paul Eggert
bb72a0843b This change is from an idea suggested by Arthur David Olson.
* c-common.c (decl_attributes, record_function_format,
	check_format_info, init_function_format_info):
	Add support for strftime format checking.
	(enum format_type): New type.
	(record_function_format): Now static, and takes value of type
	enum format_type instead of int.
	(time_char_table): New constant.
	(struct function_format_info): format_type member renamed from is_scan.
	(check_format_info): Use `warning' rather than sprintf followed by
	`warning', to avoid mishandling `%' in warnings.
	Change `pedwarn' to `warning', since these warnings do not necessarily
	mean the program does not conform to the C Standard, as the code
	need not be executed.
	* c-tree.h (record_function_format): Remove decl; no longer extern.
	* extend.texi: Add documentation for strftime format checking.

From-SVN: r19151
1998-04-12 13:52:16 -06:00
Jeffrey A Law
71922625f3 ecoffl.h: Do not include mips.h.
* mips/ecoffl.h: Do not include mips.h.
        * mips/elf.h: Likewise.

From-SVN: r19150
1998-04-12 13:32:23 -06:00
Jeffrey A Law
1be12a4a7b configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
* configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
        * mips/ecoff.h: Include "mips/mips.h".

From-SVN: r19149
1998-04-12 13:24:39 -06:00
Jeff Law
c0ef7ee37e Initial revision
From-SVN: r19142
1998-04-12 11:04:58 -06:00
Jeff Law
e70bd3dc19 Initial revision
From-SVN: r19141
1998-04-12 11:04:57 -06:00
Jeff Law
7d771bfbb2 Initial revision
From-SVN: r19140
1998-04-12 11:04:55 -06:00
Jeffrey A Law
9fe690778d Bump for snapshot
From-SVN: r19112
1998-04-11 16:42:57 -06:00
Jeffrey A Law
c6a26dc45d cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
* cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
        (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
        * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
        instead of delete_dead_from_cse.  Also call delete_trivially_dead_insns
        between loop optimization passes.
        * rtl.h: Updated appropriately.

From-SVN: r19100
1998-04-10 18:28:07 -06:00
Jeff Law
112bd748e3 Rebuild after recent parse.y change.
From-SVN: r19099
1998-04-10 16:54:42 -06:00
Jeff Law
c86c3e99c4 Reinstall this patch from Jason.
8
        Reinstall this patch from Jason.
        * function.c (push_function_context_to): Don't call init_emit.

From-SVN: r19098
1998-04-10 15:30:30 -06:00
Jeff Law
bbb81923ac Reinstall this patch from Jason.
�
        Reinstall this patch from Jason.
        * function.c (push_function_context_to): Don't call init_emit.

From-SVN: r19097
1998-04-10 15:30:28 -06:00
Nick Clifton
29cb1e1f17 Prevent going into an infinite loop upon encountering an enuterminated comment.
From-SVN: r19082
1998-04-10 13:41:28 +00:00
Jeffrey A Law
3f51802074 emit-rtl.c (operand_subword): Properly handle CONST_INTs for 64x32 cross builds.
* emit-rtl.c (operand_subword): Properly handle CONST_INTs for
        64x32 cross builds.

From-SVN: r19081
1998-04-10 03:44:37 -06:00
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