Commit Graph

26525 Commits

Author SHA1 Message Date
Kaveh R. Ghazi
ad3ffa443a fix-header.c (recognized_function): Also fix prototypes for functions taking "void".
* fix-header.c (recognized_function): Also fix prototypes for
	functions taking "void".

From-SVN: r32206
2000-02-27 02:25:05 +00:00
Richard Kenner
363e6541e3 * lang-options.h (-fmessage-length=): Add missing option.
From-SVN: r32205
2000-02-26 19:57:13 -05:00
Richard Kenner
ca888935f5 * Make-lang.in (CXX_SRCS): Add .h files and sort list.
From-SVN: r32204
2000-02-26 19:52:00 -05:00
Richard Kenner
1c303a1117 Restore missing data
From-SVN: r32203
2000-02-26 19:50:08 -05:00
Richard Kenner
eeafa66d58 attrib5.C: XFAIL on Alpha since no link alias.
* g++.old-deja/g++.ext/attrib5.C: XFAIL on Alpha since no link alias.
	* g++.old-deja/g++.pt/static3.C: Generalize system name for Alpha.

From-SVN: r32202
2000-02-26 19:37:58 -05:00
Geoff Keating
60ef417d84 reload1.c (do_output_reload): Check reg_reloaded_valid before looking at reg_reloaded_contents.
* reload1.c (do_output_reload): Check reg_reloaded_valid before
looking at reg_reloaded_contents.

From-SVN: r32201
2000-02-27 00:23:28 +00:00
Zack Weinberg
f95e46b994 Makefile.in (STMP_FIXINC): New toggle.
* Makefile.in (STMP_FIXINC): New toggle.
	(LIBGCC2_DEPS): Delete all references.
	(stmp-headers): Delete target.  All references either deleted
	or changed to stmp-int-headers.
	(all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
	(LIBCPP_OBJS): Take out cppalloc.o.
	(cppalloc.o): Delete target.
	(stmp-int-hdrs): Depend on $(STMP_FIXINC).
	(gen-protos, fix-header): Link with libiberty.a.
	* build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
	to empty.
	* cp/Make-lang.in: Delete refs to LIBGCC2_DEPS.

	* configure.in: Remove refs to strerror.
	* acconfig.h: Take out NEED_DECLARATION_STRERROR.
	* system.h: Take out strerror stanza.

	* cpperror.c (my_strerror): Delete function.
	(cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
	* cppmain.c (main): Call xmalloc_set_program_name first thing.
	* cppalloc.c: Delete file.
	* gen-protos.c: Don't provide xrealloc.

	* fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
	xstrerror throughout.

From-SVN: r32200
2000-02-27 00:10:15 +00:00
Bruce Korb
42a2c30e1b the undefine_null bypass pattern needs to match for DOS headers
From-SVN: r32199
2000-02-26 23:16:59 +00:00
Jeff Law
4592bdcbb8 Fix copyrights.
From-SVN: r32198
2000-02-26 14:44:42 -07:00
Jeff Law
214be03f82 fix copyrights
From-SVN: r32197
2000-02-26 14:35:46 -07:00
Anthony Green
e1b1511329 Minor clean up and bug fix.
From-SVN: r32196
2000-02-26 21:12:54 +00:00
Jeff Law
701a26019c Fix copyrights.
From-SVN: r32195
2000-02-26 14:05:38 -07:00
Jeff Law
c4777027c6 Fix copyrights
From-SVN: r32194
2000-02-26 14:01:24 -07:00
Jeff Law
cfb857f14b Fix copyright.
From-SVN: r32193
2000-02-26 13:56:03 -07:00
Jeff Law
2ee7f8b328 Fix copyrights.
From-SVN: r32192
2000-02-26 13:55:02 -07:00
Jeff Law
ae1f640f58 Fix copyrights
From-SVN: r32191
2000-02-26 13:49:44 -07:00
Jeff Law
9ddd9abd30 Fix copyrights.
From-SVN: r32190
2000-02-26 13:46:13 -07:00
Jeff Law
7fe5be1866 Fix copyright
From-SVN: r32189
2000-02-26 13:41:07 -07:00
Jeff Law
b92c25ec15 Fix copyright.
From-SVN: r32188
2000-02-26 13:40:23 -07:00
Jeff Law
286ef3df76 Fix copyrights
From-SVN: r32187
2000-02-26 13:34:57 -07:00
Jeff Law
75c6d5148b Fix copyrights
From-SVN: r32186
2000-02-26 13:24:45 -07:00
Jeff Law
d6a8bdff52 Fix copyrights
From-SVN: r32185
2000-02-26 13:16:12 -07:00
Christopher Faylor
1ebe758fd2 Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L library search.
* Makefile.in (CC_FOR_TARGET): Add new winsup directory
	structure stuff to -L library search.
	(CXX_FOR_TARGET): Ditto.
	(CROSS_CHECK_MODULES): Fix spelling mistake.

From-SVN: r32184
2000-02-26 13:04:50 -07:00
Geoff Keating
42235f853e elfos.h (ASM_OUTPUT_LABELREF): Don't define.
* config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
is right for most ELF targets.
* config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
Let the default file use %U properly.
* config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
default.

* config/fp-bit.c (pack_d): Properly handle rounding of denormal
numbers.

From-SVN: r32183
2000-02-26 20:03:11 +00:00
Jeff Law
3852e8afcc Fix copyrights
From-SVN: r32182
2000-02-26 13:02:01 -07:00
Richard Kenner
4dbba8765d toplev.c (documented_lang_options): Correct spelling error.
* toplev.c (documented_lang_options): Correct spelling error.
	(decode_d_option, decode_f_option, main): Likewise.

	* toplev.c (print_time): Avoid SIGFPE when all_time is zero.

From-SVN: r32181
2000-02-26 09:39:36 -05:00
Richard Kenner
2eecbd3f08 alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at to tell assembler it is permitted to expand large constants.
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
	to tell assembler it is permitted to expand large constants.

From-SVN: r32180
2000-02-26 09:31:14 -05:00
Jeff Law
af841dbdcc Fix copyrights.
From-SVN: r32179
2000-02-26 07:26:24 -07:00
Jeff Law
d050d723e0 Fix copyrights.
From-SVN: r32178
2000-02-26 06:55:09 -07:00
Jeff Law
3e5940a9c1 Fix copyrights
From-SVN: r32177
2000-02-26 06:51:58 -07:00
Jeff Law
fee9dc3e9e Daily bump.
From-SVN: r32176
2000-02-26 01:45:07 -07:00
Jeff Law
3b708058ed Fix copyrights.
From-SVN: r32175
2000-02-25 23:23:30 -07:00
Jeff Law
ef58a5234d Copyright fixes.
From-SVN: r32174
2000-02-25 23:04:48 -07:00
Jeff Law
5e7b4e2509 Fix copyrights.
From-SVN: r32173
2000-02-25 22:59:31 -07:00
Jeff Law
3c71940faf Copyright fixes
From-SVN: r32172
2000-02-25 22:54:31 -07:00
Jeff Law
517cbe13c4 Copyright fixes.
From-SVN: r32171
2000-02-25 22:45:17 -07:00
Mumit Khan
a7db8bbb21 protoize.c: (AUX_INFO_SUFFIX): New macro.
* protoize.c: (AUX_INFO_SUFFIX): New macro.
        (aux_info_suffix): Use.
        (SAVE_SUFFIX): New macro.
        (save_suffix): Use.
        (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
        (gen_aux_info_file): Use aux_info_suffix instead of ".X".
        (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.

        * invoke.texi (Running Protoize): Update documentation.

From-SVN: r32170
2000-02-25 22:39:13 -07:00
Jim Wilson
3431f196c0 Fix 3 ia64 g++ testsuite failures, and groff miscompilation.
* optimize.c (expand_call_inline): Emit the return label before
	evaluating the return value.

From-SVN: r32169
2000-02-25 21:32:24 -08:00
Mark Elbrecht
0268c50107 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
From-SVN: r32168
2000-02-25 22:23:20 -07:00
Graham Stott
0cb5d81cf1 resource.c (mark_referenced_resources): Changed use SET_DEST (...) to XEXP (......
* resource.c (mark_referenced_resources): Changed use SET_DEST (...)
        to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.

From-SVN: r32167
2000-02-25 22:19:35 -07:00
Anthony Green
3ff9925ce0 expr.c (build_class_init): Mark the decl to be ignored by check_init.
2000-02-25  Anthony Green  <green@cygnus.com>

	* expr.c (build_class_init): Mark the decl to be ignored by
	check_init.
	* java-tree.h (DECL_BIT_INDEX): Move definition from check-init.c
	* check-init.c: Move DECL_BIT_INDEX to java-tree.h
	* class.c (init_test_hash_newfunc): New function.
	(decl_hash): New function.
	(decl_compare): New function.
	* decl.c (emit_init_test_initialization): New function.
	(complete_start_java_method): Traverse the init test hashtable,
	calling emit_init_test_initialization.
	(always_initialize_class_p): Define.
	* expr.c (build_class_init): Use initialization tests when
	emitting class initialization code.
	(always_initialize_class_p): Declare.
	* jcf-parse.c (parse_class_file): Set always_initialize_class_p to
	1.
	* java-tree.h: Include hash.h.
	(DECL_FUNCTION_INIT_TEST_TABLE): Define.
	(struct lang_decl): Add init_test_table field.
	(init_test_hash_entry): Define.

From-SVN: r32166
2000-02-26 05:12:27 +00:00
Jeffrey A Law
985dae7cdd * gcc.c-torture/execute/20000225-1.c: New test.
From-SVN: r32165
2000-02-25 21:46:00 -07:00
Alexandre Petit-Bianco
3c9ef12753 gjavah.c (main): Avoid using `argi' to report unimplemented options.
* gjavah.c (main): Avoid using `argi' to report unimplemented
	options.

From-SVN: r32164
2000-02-26 04:32:08 +00:00
John Wehle
63be01fb11 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
From-SVN: r32163
2000-02-25 19:58:08 -07:00
Anthony Green
44a76fc856 toplev.c (rest_of_compilation): Rebuild jump labels if combine_instructions has created a new direct jump.
* toplev.c (rest_of_compilation): Rebuild jump labels if
	combine_instructions has created a new direct jump.
	* combine.c (try_combine): Add new_direct_jump_p argument.  Set it
	when appropriate.
	(combine_instructions): Call try_combine with new argument.
	Return non-null value when new direct jump instruction is created.
	* rtl.h: combine_instructions returns an int.

From-SVN: r32162
2000-02-25 19:54:36 -07:00
Alexandre Petit-Bianco
0e9137bb1f jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR: initialize locals to avoid warnings.
Fri Feb 25 18:47:25 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR:
 	initialize locals to avoid warnings. Local `exception_type' moved
	into if statement.

From-SVN: r32161
2000-02-25 18:50:37 -08:00
Jeffrey A Law
602c4c0d71 cse.c (cse_insn): Replace the PATTERN of the insn with an new jump when...
* cse.c (cse_insn): Replace the PATTERN of the insn with an new
	jump when changing a computed jump into a jump to a known
	target.

From-SVN: r32160
2000-02-25 19:50:12 -07:00
Graham Stott
4a92092ae6 *** empty log message ***
From-SVN: r32159
2000-02-25 19:24:11 -07:00
Alexandre Petit-Bianco
98f3c1dbd3 parse.y (resolve_expression_name): Use `orig' as a second argument to resolve_field_access.
Fri Feb 25 18:00:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (resolve_expression_name): Use `orig' as a second
 	argument to resolve_field_access.
	(resolve_field_access): Removed unecessary code when dealing with
 	static fields.

From-SVN: r32158
2000-02-25 18:05:35 -08:00
K. Richard Pixley
3924a5783b * rtl.texi: Fix typo.
From-SVN: r32157
2000-02-25 18:50:50 -07:00