Commit Graph

21560 Commits

Author SHA1 Message Date
Geoffrey Noer
8df1d91ab8 * configure.in: Check cygwin*, not cygwin32*.
From-SVN: r26235
1999-04-06 21:27:25 -06:00
Ulrich Drepper
554241c33e Bring over lost changes from Cygnus's directory.
* Missing ChangeLog entries.
	* Whitespace fixes.
	* Enable multilib by default
	* One stl fix (#ifdef -> #if)

From-SVN: r26234
1999-04-06 21:20:00 -06:00
Richard Henderson
5e62dee5a3 * alpha.c (alpha_end_function): Don't flag weak functions.
From-SVN: r26233
1999-04-06 20:19:35 -07:00
Richard Henderson
67070f5c92 alpha.c (reg_no_subreg_operand): New function.
* alpha.c (reg_no_subreg_operand): New function.
        * alpha.h (PREDICATE_CODES): Add it.
        * alpha.md (floatdi?f patterns): Use it for op1.

From-SVN: r26232
1999-04-06 20:18:52 -07:00
Richard Henderson
d22cba0ade expr.c (expand_builtin): Use copy_to_mode_reg; don't force constants into a register.
* expr.c (expand_builtin) [BUILT_IN_RETURN_ADDRESS]: Use
        copy_to_mode_reg; don't force constants into a register.

From-SVN: r26231
1999-04-06 19:14:06 -07:00
Jeff Law
5b7c02b65b Daily bump.
From-SVN: r26230
1999-04-06 18:45:32 -06:00
Richard Henderson
78327a73fd * toplev.c (compile_file): Typo flow_dump -> flow2_dump.
From-SVN: r26229
1999-04-06 15:56:16 -07:00
Jeffrey A Law
0bb07950af Makefile.in (TREE_H): Add tree-check.h.
* Makefile.in (TREE_H): Add tree-check.h.
        (RTL_H): Add genrtl.h.

From-SVN: r26228
1999-04-06 16:22:07 -06:00
Joseph Myers
ed03c6cdbb pdp11.c (simple_memory_operand): Add default case in switch.
* pdp11.c (simple_memory_operand): Add default case in switch.
        * pdp11.h (TARGET_SWITCHES): Add help strings.
        (NOTICE_UPDATE_CC): Don't include excess argument to format.
        (ASM_OUTPUT_DOUBLE_INT): Remove.

From-SVN: r26227
1999-04-06 16:13:57 -06:00
Richard Henderson
34487bf857 flow.c (verify_flow_info): New function.
* flow.c (verify_flow_info): New function.
        (find_basic_blocks): Call it if ENABLE_CHECKING.
        (merge_blocks): Don't merge if there are non-deletable labels.
        * toplev.c (fatal_insn): Allow a printf-style arg list.
        * toplev.h (fatal_insn): Update prototype.

From-SVN: r26226
1999-04-06 15:10:53 -07:00
Richard Henderson
89c846727b expr.c (expand_builtin_setjmp): Put setjmp return label on nonlocal_goto_handler_labels for flow.
* expr.c (expand_builtin_setjmp): Put setjmp return label on
        nonlocal_goto_handler_labels for flow.

From-SVN: r26225
1999-04-06 15:10:24 -07:00
Zack Weinberg
e8f5c18f1a Regression test for current cpplib bug.
Should not fail if you are using cccp.
Expect it to fail if you are using cpplib.

From-SVN: r26224
1999-04-06 21:31:13 +00:00
Zack Weinberg
a458ad1df8 YA spurious-uninitialized-variable-warning test
From-SVN: r26223
1999-04-06 18:11:08 +00:00
Jan Hubicka
1e7d57a3b1 Jan Hubicka <hubicka@paru.cas.cz>
Jan Hubicka  <hubicka@paru.cas.cz>
        * flow.c (split_edge) update correctly flow graph, disable
        EDGE_CRITICAL flag on the split edge, update NUSES for new label.

From-SVN: r26222
1999-04-06 09:21:09 -07:00
Richard Henderson
2454beafba emit-rtl.c (gen_rtx_CONST_DOUBLE): Use XWINT not XINT.
* emit-rtl.c (gen_rtx_CONST_DOUBLE): Use XWINT not XINT.
        Clear third and following slots, if they exist.

From-SVN: r26221
1999-04-06 08:49:17 -07:00
Richard Henderson
eeea333e3b flow.c (create_basic_block): Make sure the bb note is in the block.
* flow.c (create_basic_block): Make sure the bb note is in the block.
        (can_delete_note_p): Rename from delete_note_p.
        (delete_insn_chain): Preserve undeleteable labels too.
        (tidy_fallthru_edge): Use next_real_insn instead of confusing
        inline code.

From-SVN: r26220
1999-04-06 08:45:55 -07:00
Mark Mitchell
4bb0968f4e cp-tree.h (BASELINK_P): New macro.
* cp-tree.h (BASELINK_P): New macro.
	(SET_BASELINK_P): Likewise.
	* init.c (build_member_call): Remove needless assignment in if
	statement.
	* search.c (lookup_field_r): Fix handling when we are looking
	specifically for a type; these are not hidden by functions and
	variables.
	(lookup_member): Use SET_BASELINK_P.
	* tree.c (is_overloaded_fn): Use BASELINK_P.
	(really_overloaed_fn): Likewise.
	(get_first_fn): Likewise.

From-SVN: r26219
1999-04-06 14:38:08 +00:00
Per Bothner
ab45646c4e expr.c (pop_type_0): New function.
�
	* expr.c (pop_type_0):  New function.
	(pop_type):  Use pop_type_0.
	* java-tree.h (pop_type_0):  New declaration.
	* verify.c (verify_jvm_instructions):  Check return instructions.

From-SVN: r26218
1999-04-06 07:28:39 -07:00
Per Bothner
ddcd8199a8 expr.c (pop_type_0): New function.
�
	* expr.c (pop_type_0):  New function.
	(pop_type):  Use pop_type_0.
	* java-tree.h (pop_type_0):  New declaration.
	* verify.c (verify_jvm_instructions):  Check return instructions.

From-SVN: r26217
1999-04-06 07:28:37 -07:00
Per Bothner
b399dcd2cc parse.y (patch_binop): Don't fold if non-constant and emiting class files.
8
	* parse.y (patch_binop):  Don't fold if non-constant and emiting
	class files.

From-SVN: r26216
1999-04-06 07:27:22 -07:00
Per Bothner
7c3f7c03af parse.y (patch_binop): Don't fold if non-constant and emiting class files.
�
	* parse.y (patch_binop):  Don't fold if non-constant and emiting
	class files.

From-SVN: r26215
1999-04-06 07:27:19 -07:00
Per Bothner
d1472141a5 parse.y (patch_binop): Don't fold if non-constant and emiting class files.
h
	* parse.y (patch_binop):  Don't fold if non-constant and emiting
	class files.

From-SVN: r26214
1999-04-06 07:27:17 -07:00
Zack Weinberg
099a9dd0c6 cppexp.c (parse_charconst): Initialize c.
1999-04-06 12:56 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* cppexp.c (parse_charconst): Initialize c.
	(cpp_parse_expr): Initialize rprio.
	* cppfiles.c (merge_include_chains): Initialize prev.
	(finclude) Set fp->line_base to fp->buf before returning.
	* cpphash.c (macroexpand): Initialize token.
	* cppspec.c (lang_specific_driver): Change suff to
	const char *const *.

From-SVN: r26213
1999-04-06 10:04:10 +00:00
Zack Weinberg
507df93940 cppinit.c (install_predefs): Delete function.
1999-04-06 12:51 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* cppinit.c (install_predefs): Delete function.
	(cpp_start_read): Don't call install_predefs.
	(cpp_handle_option): Remove case 'u' and all refs to
	opts->inhibit_predefs.
	(print_help): Don't mention -undef.
	(initialize_builtins): Define __HAVE_BUILTIN_SETJMP__, to
	match cccp.
	* cpplib.h (struct cpp_options): Remove inhibit_predefs
	member.
	* cccp.c (predefs): Delete variable.
	(main): Remove case 'u' in argument parse loop,
	'inhibit_predefs' variable, and the code block that would
	process CPP_PREDEFINES.
	(initialize_builtins): Don't define __OBJC__, the driver will
	do that.
	* gcc.c (default_compilers): Remove -undef from all specs that
	invoke a C preprocessor.
	* ch/lang-specs.h: Likewise.
	* cp/lang-specs.h: Likewise.
	* f/lang-specs.h: Likewise.
	* objc/lang-specs.h: Likewise.

From-SVN: r26212
1999-04-06 09:54:30 +00:00
Jeff Law
0793b35eaa Daily bump.
From-SVN: r26211
1999-04-05 18:45:02 -06:00
Mark Mitchell
a7d2d407f9 decl.c (lookup_name_current_level): Tweak, and improve documentation.
* decl.c (lookup_name_current_level): Tweak, and improve
	documentation.

From-SVN: r26210
1999-04-05 23:09:51 +00:00
Tom Tromey
7c72138aa2 regress-demangle: New file.
* testsuite/regress-demangle: New file.
	* testsuite/demangle-expected: New file.
	* Makefile.in (all, check, installcheck, info, install-info,
	clean-info, dvi, install, etags, tags, mostlyclean, clean,
	distclean, maintainer-clean, realclean): Depend on corresponding
	`-subdir' target.
	(all-subdir check-subdir installcheck-subdir info-subdir
	install-info-subdir clean-info-subdir dvi-subdir
	install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
	distclean-subdir maintainer-clean-subdir): New target.
	* testsuite/Makefile.in: New file.
	* configure: Rebuilt.
	* configure.in: Create testsuite/Makefile.

From-SVN: r26205
1999-04-05 14:28:59 +00:00
Kaveh R. Ghazi
4f65832d5c Makefile.in (gjavah.o): Depend on $(JAVA_TREE_H).
* Makefile.in (gjavah.o): Depend on $(JAVA_TREE_H).
        * gjavah.c: Include math.h earlier.  Include tree.h/java-tree.h.
        (main_jcf): Don't define.
        (process_file): Don't set `main_jcf'.
        * java-tree.h (main_jcf): Don't declare.
        * jcf-parse.c (main_jcf): Add static definition.
        * lang.c (main_jcf): Don't define.

From-SVN: r26204
1999-04-05 13:09:45 +00:00
Kaveh R. Ghazi
4504ead1db class.c (add_method_1): Cast the argument of `bzero' to PTR.
* class.c (add_method_1): Cast the argument of `bzero' to PTR.
        * decl.c (copy_lang_decl): Likewise for `bcopy'.
        * jcf-depend.c: Include "config.h", not <config.h>.
        * jcf-parse.c (jcf_figure_file_type): Cast the arguments of
        `bcopy' to PTR.
        * jcf-path.c: Include "config.h", not <config.h>.
        * lex.c: Don't include various system header files.
        (java_init_lex): Cast the argument of `bzero' to PTR
        * parse-scan.y (java_push_parser_context): Likewise.
        * parse.y (java_push_parser_context): Likewise.
        * xref.c: Don't include <stdio.h>.

From-SVN: r26203
1999-04-05 13:04:38 +00:00
Mark Mitchell
908c4e8316 class.c (maybe_fixup_vptrs): Remove declaration.
* class.c (maybe_fixup_vptrs): Remove declaration.
	(build_class_init_list): Likewise.
	* decl.c (pushdecl_class_level): Call check_template_shadow here
	...
	(push_class_level_binding): ... not here.
	* search.c (dfs_push_type_decls): Only avoid
	template-self-reference TYPE_DECLs if they are from base classes.

From-SVN: r26202
1999-04-05 12:34:20 +00:00
Alexandre Petit-Bianco
d4370213f6 parse.y (struct parser_ctxt *ctxp): Now global.
Mon Apr  5 11:24:19 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (struct parser_ctxt *ctxp): Now global.
	(declare_local_variables): Use WFL compound value for the
 	declaration source line value, when doing cross-referencing.

From-SVN: r26201
1999-04-05 05:00:08 -07:00
Donn Terry
7325ab47d1 * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.
From-SVN: r26200
1999-04-05 05:03:57 -06:00
Donn Terry
f664c40644 * Make-lang.in (HOST_CFLAGS): compute dynamically.
From-SVN: r26199
1999-04-05 05:02:52 -06:00
Jeffrey A Law
9f22acc4e4 * m68k.md (movdf): Hide GPR sources & destinations from regclass.
From-SVN: r26198
1999-04-05 04:57:09 -06:00
Nick Clifton
9aa7ea1805 Oops - fixed typo in previous delta
From-SVN: r26197
1999-04-05 10:34:51 +00:00
Jeffrey A Law
a566f0041f Bump for snapshot
From-SVN: r26195
1999-04-05 03:54:47 -06:00
Bruce Korb
ee8c4259f5 Named wrong file :)
From-SVN: r26194
1999-04-05 06:59:28 +00:00
Bruce Korb
2458e8235b Ensure that the server shell is _NOT_ csh
From-SVN: r26193
1999-04-05 06:58:30 +00:00
Bruce Korb
383316ed62 Separate sed -e flag from its argument
From-SVN: r26192
1999-04-05 06:57:09 +00:00
Bruce Korb
ac95d436b6 sed command formatting and no CSH as server shell
From-SVN: r26191
1999-04-05 06:56:23 +00:00
Jeffrey A Law
788d09baae Bump for snapshot
From-SVN: r26190
1999-04-04 21:52:34 -06:00
Jeffrey A Law
0a726ef13b i386.c (x86_double_with_add): Turn off for Pentium and PPro.
* i386.c (x86_double_with_add): Turn off for Pentium and PPro.
	(small_shift_operand, output_ashlsi3): New functions.
	* i386.h (small_shift_operand, output_ashlsi3): Declare.
	* i386.md (ashlsi3): Simplify ahlsi3 patterns.  Remove splitters
	that are no longer needed.

From-SVN: r26189
1999-04-04 21:52:19 -06:00
Mark Mitchell
b5d9b9ab00 pt.c (check_template_shadow): Don't treat OVERLOADs as _DECL nodes.
* pt.c (check_template_shadow): Don't treat OVERLOADs as _DECL
	nodes.  Tidy.

From-SVN: r26188
1999-04-04 21:34:46 -04:00
Jeff Law
2a97a80018 Daily bump.
From-SVN: r26182
1999-04-04 18:45:02 -06:00
Craig Burley
702edf1d71 fix bugs exposed by --enable-checking
From-SVN: r26181
1999-04-04 19:16:21 -04:00
Jeffrey A Law
f114df2032 stmt.c (expand_loop_end): When copying the loop exit test, do not walk into a nested loop.
* stmt.c (expand_loop_end): When copying the loop exit test,
        do not walk into a nested loop.

From-SVN: r26171
1999-04-03 20:06:17 -07:00
Jeffrey A Law
db488e9ede * gcc.c-torture/execute/990404-1.c: New test.
From-SVN: r26170
1999-04-03 20:03:27 -07:00
Jeffrey A Law
478df796df Bump for snapshot
From-SVN: r26168
1999-04-03 18:15:41 -07:00
Jeff Law
59354f47bd Daily bump.
From-SVN: r26167
1999-04-03 17:45:02 -07:00
Jeffrey A Law
20cc423f21 hackshell.tpl: Skip links to directories, to avoid removing them.
* fixinc/hackshell.tpl: Skip links to directories, to avoid
        removing them.
        * fixinc/inclhack.tpl: Likewise.
        * fixinc/fixinc.sh, fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.

From-SVN: r26166
1999-04-03 16:36:22 -07:00