Commit Graph

21521 Commits

Author SHA1 Message Date
Tom Tromey
73ffefd017 Initial revision
From-SVN: r26246
1999-04-07 08:01:30 +00:00
Tom Tromey
c46bb2fd3d Initial revision
From-SVN: r26245
1999-04-07 08:01:29 +00:00
Tom Tromey
6ad7c37da5 Initial revision
From-SVN: r26244
1999-04-07 08:01:27 +00:00
Kaveh R. Ghazi
62218b2827 ansify.c (die): Specify void argument.
* ansify.c (die): Specify void argument.
        * intdoc.c (family_name, dumpgen, dumpspec, dumpimp,
        argument_info_ptr, argument_info_string, argument_name_ptr,
        argument_name_string, elaborate_if_complex,
        elaborate_if_maybe_complex, elaborate_if_real, print_type_string):
        Const-ify a char*.
        (main): Mark parameter `argv' with ATTRIBUTE_UNUSED.
        (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
        _ffeintrin_imp_, cc_pair, descriptions, summaries): Const-ify a char*.

From-SVN: r26243
1999-04-07 06:48:36 +00:00
Jeff Law
b9e4169910 Fix copyright date.
From-SVN: r26242
1999-04-06 22:46:54 -06:00
Jeff Law
bbf9d88cd7 Fix trivial formatting buglet in each file.
From-SVN: r26241
1999-04-06 22:42:42 -06:00
Jeff Law
3af6481778 gcc.exp (proc gcc_target_compile): Add support for timeout specified by target.
* lib/gcc.exp (proc gcc_target_compile): Add support for timeout
       specified by target.
Also add missing ChangeLog entries for changes that we installed long ago...

From-SVN: r26240
1999-04-06 22:32:04 -06:00
Jeff Law
76c9b2fec8 Add new tests.
From-SVN: r26239
1999-04-06 22:29:03 -06:00
Jeff Law
64f62168ef Sync
* Add symcat file.
	* libiberty.h expose basename prototype on more systems

From-SVN: r26238
1999-04-06 22:24:20 -06:00
Christopher Faylor
9c0225173d Resync
* mh-windows disappears
	* Build more stuff on cygwin.  Use default CFLAGS/CXXFLAGS

From-SVN: r26237
1999-04-06 21:36:42 -06:00
Jeff Law
3510075c6d Changes from official libiberty sources.
* Missing ChangeLog entries.
	* Some java demangling stuff
	* More cygwin32->cygwin related changes.

From-SVN: r26236
1999-04-06 21:31:24 -06:00
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