Tom Tromey [Wed, 7 Apr 1999 08:01:42 +0000 (08:01 +0000)]
Cygnus/libgcj changes to Boehm GC.
From-SVN: r26257
Tom Tromey [Wed, 7 Apr 1999 08:01:41 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26256
Tom Tromey [Wed, 7 Apr 1999 08:01:40 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26255
Tom Tromey [Wed, 7 Apr 1999 08:01:39 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26254
Tom Tromey [Wed, 7 Apr 1999 08:01:38 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26253
Tom Tromey [Wed, 7 Apr 1999 08:01:37 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26252
Tom Tromey [Wed, 7 Apr 1999 08:01:36 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26251
Tom Tromey [Wed, 7 Apr 1999 08:01:35 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26250
Tom Tromey [Wed, 7 Apr 1999 08:01:34 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26249
Tom Tromey [Wed, 7 Apr 1999 08:01:32 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26248
Tom Tromey [Wed, 7 Apr 1999 08:01:31 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26247
Tom Tromey [Wed, 7 Apr 1999 08:01:30 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26246
Tom Tromey [Wed, 7 Apr 1999 08:01:29 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26245
Tom Tromey [Wed, 7 Apr 1999 08:01:27 +0000 (08:01 +0000)]
Initial revision
From-SVN: r26244
Kaveh R. Ghazi [Wed, 7 Apr 1999 06:48:36 +0000 (06:48 +0000)]
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
Jeff Law [Wed, 7 Apr 1999 04:46:54 +0000 (22:46 -0600)]
Fix copyright date.
From-SVN: r26242
Jeff Law [Wed, 7 Apr 1999 04:42:42 +0000 (22:42 -0600)]
Fix trivial formatting buglet in each file.
From-SVN: r26241
Jeff Law [Wed, 7 Apr 1999 04:32:04 +0000 (22:32 -0600)]
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
Jeff Law [Wed, 7 Apr 1999 04:29:03 +0000 (22:29 -0600)]
Add new tests.
From-SVN: r26239
Jeff Law [Wed, 7 Apr 1999 04:24:20 +0000 (22:24 -0600)]
Sync
* Add symcat file.
* libiberty.h expose basename prototype on more systems
From-SVN: r26238
Christopher Faylor [Wed, 7 Apr 1999 03:36:42 +0000 (03:36 +0000)]
Resync
* mh-windows disappears
* Build more stuff on cygwin. Use default CFLAGS/CXXFLAGS
From-SVN: r26237
Jeff Law [Wed, 7 Apr 1999 03:31:24 +0000 (21:31 -0600)]
Changes from official libiberty sources.
* Missing ChangeLog entries.
* Some java demangling stuff
* More cygwin32->cygwin related changes.
From-SVN: r26236
Geoffrey Noer [Wed, 7 Apr 1999 03:27:25 +0000 (03:27 +0000)]
* configure.in: Check cygwin*, not cygwin32*.
From-SVN: r26235
Ulrich Drepper [Wed, 7 Apr 1999 03:20:00 +0000 (03:20 +0000)]
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
Richard Henderson [Wed, 7 Apr 1999 03:19:35 +0000 (20:19 -0700)]
* alpha.c (alpha_end_function): Don't flag weak functions.
From-SVN: r26233
Richard Henderson [Wed, 7 Apr 1999 03:18:52 +0000 (20:18 -0700)]
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
Richard Henderson [Wed, 7 Apr 1999 02:14:06 +0000 (19:14 -0700)]
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
Jeff Law [Wed, 7 Apr 1999 00:45:32 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26230
Richard Henderson [Tue, 6 Apr 1999 22:56:16 +0000 (15:56 -0700)]
* toplev.c (compile_file): Typo flow_dump -> flow2_dump.
From-SVN: r26229
Jeffrey A Law [Tue, 6 Apr 1999 22:22:07 +0000 (22:22 +0000)]
Makefile.in (TREE_H): Add tree-check.h.
* Makefile.in (TREE_H): Add tree-check.h.
(RTL_H): Add genrtl.h.
From-SVN: r26228
Joseph Myers [Tue, 6 Apr 1999 22:13:57 +0000 (16:13 -0600)]
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
Richard Henderson [Tue, 6 Apr 1999 22:10:53 +0000 (15:10 -0700)]
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
Richard Henderson [Tue, 6 Apr 1999 22:10:24 +0000 (15:10 -0700)]
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
Zack Weinberg [Tue, 6 Apr 1999 21:31:13 +0000 (21:31 +0000)]
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
Zack Weinberg [Tue, 6 Apr 1999 18:11:08 +0000 (18:11 +0000)]
YA spurious-uninitialized-variable-warning test
From-SVN: r26223
Jan Hubicka [Tue, 6 Apr 1999 16:21:09 +0000 (18:21 +0200)]
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
Richard Henderson [Tue, 6 Apr 1999 15:49:17 +0000 (08:49 -0700)]
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
Richard Henderson [Tue, 6 Apr 1999 15:45:55 +0000 (08:45 -0700)]
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
Mark Mitchell [Tue, 6 Apr 1999 14:38:08 +0000 (14:38 +0000)]
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
Per Bothner [Tue, 6 Apr 1999 14:28:39 +0000 (14:28 +0000)]
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
Per Bothner [Tue, 6 Apr 1999 14:28:37 +0000 (07:28 -0700)]
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
Per Bothner [Tue, 6 Apr 1999 14:27:22 +0000 (07:27 -0700)]
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
Per Bothner [Tue, 6 Apr 1999 14:27:19 +0000 (07:27 -0700)]
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
Per Bothner [Tue, 6 Apr 1999 14:27:17 +0000 (07:27 -0700)]
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
Zack Weinberg [Tue, 6 Apr 1999 10:04:10 +0000 (10:04 +0000)]
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
Zack Weinberg [Tue, 6 Apr 1999 09:54:30 +0000 (09:54 +0000)]
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
Jeff Law [Tue, 6 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26211
Mark Mitchell [Mon, 5 Apr 1999 23:09:51 +0000 (23:09 +0000)]
decl.c (lookup_name_current_level): Tweak, and improve documentation.
* decl.c (lookup_name_current_level): Tweak, and improve
documentation.
From-SVN: r26210
Tom Tromey [Mon, 5 Apr 1999 14:28:59 +0000 (14:28 +0000)]
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
Kaveh R. Ghazi [Mon, 5 Apr 1999 13:09:45 +0000 (13:09 +0000)]
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
Kaveh R. Ghazi [Mon, 5 Apr 1999 13:04:38 +0000 (13:04 +0000)]
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
Mark Mitchell [Mon, 5 Apr 1999 12:34:20 +0000 (12:34 +0000)]
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
Alexandre Petit-Bianco [Mon, 5 Apr 1999 12:00:08 +0000 (12:00 +0000)]
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
Donn Terry [Mon, 5 Apr 1999 11:03:57 +0000 (11:03 +0000)]
* Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.
From-SVN: r26200
Donn Terry [Mon, 5 Apr 1999 11:02:52 +0000 (11:02 +0000)]
* Make-lang.in (HOST_CFLAGS): compute dynamically.
From-SVN: r26199
Jeffrey A Law [Mon, 5 Apr 1999 10:57:09 +0000 (10:57 +0000)]
* m68k.md (movdf): Hide GPR sources & destinations from regclass.
From-SVN: r26198
Nick Clifton [Mon, 5 Apr 1999 10:34:51 +0000 (10:34 +0000)]
Oops - fixed typo in previous delta
From-SVN: r26197
Jeffrey A Law [Mon, 5 Apr 1999 09:54:47 +0000 (03:54 -0600)]
Bump for snapshot
From-SVN: r26195
Bruce Korb [Mon, 5 Apr 1999 06:59:28 +0000 (06:59 +0000)]
Named wrong file :)
From-SVN: r26194
Bruce Korb [Mon, 5 Apr 1999 06:58:30 +0000 (06:58 +0000)]
Ensure that the server shell is _NOT_ csh
From-SVN: r26193
Bruce Korb [Mon, 5 Apr 1999 06:57:09 +0000 (06:57 +0000)]
Separate sed -e flag from its argument
From-SVN: r26192
Bruce Korb [Mon, 5 Apr 1999 06:56:23 +0000 (06:56 +0000)]
sed command formatting and no CSH as server shell
From-SVN: r26191
Jeffrey A Law [Mon, 5 Apr 1999 03:52:34 +0000 (21:52 -0600)]
Bump for snapshot
From-SVN: r26190
Jeffrey A Law [Mon, 5 Apr 1999 03:52:19 +0000 (03:52 +0000)]
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
Mark Mitchell [Mon, 5 Apr 1999 01:34:46 +0000 (01:34 +0000)]
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
Jeff Law [Mon, 5 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26182
Craig Burley [Sun, 4 Apr 1999 23:16:21 +0000 (23:16 +0000)]
fix bugs exposed by --enable-checking
From-SVN: r26181
Jeffrey A Law [Sun, 4 Apr 1999 03:06:17 +0000 (03:06 +0000)]
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
Jeffrey A Law [Sun, 4 Apr 1999 03:03:27 +0000 (03:03 +0000)]
* gcc.c-torture/execute/990404-1.c: New test.
From-SVN: r26170
Jeffrey A Law [Sun, 4 Apr 1999 01:15:41 +0000 (18:15 -0700)]
Bump for snapshot
From-SVN: r26168
Jeff Law [Sun, 4 Apr 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r26167
Jeffrey A Law [Sat, 3 Apr 1999 23:36:22 +0000 (23:36 +0000)]
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
David Edelsohn [Sat, 3 Apr 1999 22:45:55 +0000 (22:45 +0000)]
rs6000.md (addsi3, [...]): Use no_new_pseudos.
* rs6000.md (addsi3, iorsi3, xorsi3, adddi3, iordi3, xordi3,
movsi_got, movsi, movsf): Use no_new_pseudos.
* rs6000.c (rs6000_got_register): Likewise.
(offsettable_mem_opereand): Use || not |.
From-SVN: r26165
Craig Burley [Sat, 3 Apr 1999 21:12:24 +0000 (16:12 -0500)]
Update BUGS, NEWS derived files
From-SVN: r26164
Jeffrey A Law [Sat, 3 Apr 1999 21:10:23 +0000 (21:10 +0000)]
acconfig.h (ENABLE_CHECKING): Remove redundant #undef.
* acconfig.h (ENABLE_CHECKING): Remove redundant #undef.
* config.in: Rebuilt.
From-SVN: r26163
Craig Burley [Sat, 3 Apr 1999 21:03:32 +0000 (21:03 +0000)]
Clean up -fset-g77-defaults and -fversion docs
From-SVN: r26162
Craig Burley [Sat, 3 Apr 1999 20:34:35 +0000 (20:34 +0000)]
Make -fno-emulate-complex the default
From-SVN: r26161
Toshiyasu Morita [Sat, 3 Apr 1999 15:29:41 +0000 (15:29 +0000)]
* gcc.texi: Add info on regmove pass
From-SVN: r26160
Toshiyasu Morita [Sat, 3 Apr 1999 15:27:53 +0000 (15:27 +0000)]
regmove.c (fixup_match_1): Consistently evaluate HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.
* regmove.c (fixup_match_1): Consistently evaluate
HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.
From-SVN: r26159
Alexandre Oliva [Sat, 3 Apr 1999 14:52:07 +0000 (14:52 +0000)]
configure.in (DEFAULT_LINKER, [...]): Use grep instead of test and sed to check whether they're GNU programs.
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER): Use grep
instead of test and sed to check whether they're GNU programs.
* configure: Rebuilt.
From-SVN: r26158
Alexandre Oliva [Sat, 3 Apr 1999 13:01:48 +0000 (13:01 +0000)]
Makefile.in (install-headers-tar, [...]): avoid problems with CDPATH Reported by Ralf Canis <canis@bigfoot.com>
* Makefile.in (install-headers-tar, install-headers-cpio): avoid
problems with CDPATH
Reported by Ralf Canis <canis@bigfoot.com>
From-SVN: r26157
Jeffrey A Law [Sat, 3 Apr 1999 12:51:38 +0000 (12:51 +0000)]
* fixinc.x86-linux-gnu: Deleted.
From-SVN: r26156
Alexandre Oliva [Sat, 3 Apr 1999 12:19:19 +0000 (12:19 +0000)]
inclhack.tpl: insert spaces between `sed -e' and '...' Reported by Kaveh R.
* inclhack.tpl: insert spaces between `sed -e' and '...'
Reported by Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fixinc/fixincl.sh, fixinc/fixincl.x, fixinc/inclhack.sh: regen
From-SVN: r26155
Mark Mitchell [Sat, 3 Apr 1999 12:16:18 +0000 (12:16 +0000)]
Per Jason's instructions, add myself (Mark Mitchell) as a co-maintainer
of the C++ front-end.
From-SVN: r26154
Craig Burley [Sat, 3 Apr 1999 11:58:12 +0000 (11:58 +0000)]
fix typo in tree.def
From-SVN: r26153
Zack Weinberg [Sat, 3 Apr 1999 07:40:32 +0000 (07:40 +0000)]
cpp-if1.c: Adjust regexps to accommodate cccp.
1999-04-03 10:35 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.dg/cpp-if1.c: Adjust regexps to accommodate cccp.
* gcc.dg/cpp-if3.c: Don't use -pedantic.
* gcc.misc-tests/m-un-2.c: Adjust regexps for new format of
missing initializer warnings.
From-SVN: r26150
Jason Merrill [Sat, 3 Apr 1999 01:23:24 +0000 (01:23 +0000)]
class.c (maybe_fixup_vptrs, [...]): Lose.
* class.c (maybe_fixup_vptrs, build_class_init_list): Lose.
(finish_struct_1): Don't call build_class_init_list.
From-SVN: r26147
Jeff Law [Sat, 3 Apr 1999 00:46:04 +0000 (17:46 -0700)]
Daily bump.
From-SVN: r26146
John Wehle [Fri, 2 Apr 1999 21:58:42 +0000 (21:58 +0000)]
i386.md (floatsisf2, [...]): Rewrite using a splitter.
* i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
floatsixf2, floatdixf2): Rewrite using a splitter.
From-SVN: r26145
Nick Clifton [Fri, 2 Apr 1999 17:37:22 +0000 (17:37 +0000)]
print large constants in hex not dec.
From-SVN: r26142
Nick Clifton [Fri, 2 Apr 1999 17:25:41 +0000 (17:25 +0000)]
Display constants as both decimal and hex values
From-SVN: r26141
Zack Weinberg [Fri, 2 Apr 1999 17:20:12 +0000 (17:20 +0000)]
i386.h: Document all TARGET_SWITCHES or add explicit null initializer.
1999-04-02 20:16 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* config/i386/i386.h: Document all TARGET_SWITCHES or add
explicit null initializer.
* config/i386/cygwin.h: Document all SUBTARGET_SWITCHES.
* config/i386/dgux.h: Likewise.
* config/i386/osf1elf.h: Likewise.
* config/i386/win32.h: Likewise.
* config/i386/osfrose.h: Likewise. Drop obsolete -mno-ident option.
From-SVN: r26140
Toshiyasu Morita [Fri, 2 Apr 1999 16:58:20 +0000 (16:58 +0000)]
* regmove.c (fixup_match_1): Remove now useless if (0).
From-SVN: r26139
Michael Hayes [Fri, 2 Apr 1999 15:39:55 +0000 (15:39 +0000)]
tm.texi (USE_LOAD_POST_DECREMENT, [...]): Document.
* tm.texi (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT): Document.
(USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Fix documentation.
* rtl.h (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT,
USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Provide default
definition.
* expr.c: (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Delete default
definition.
From-SVN: r26134
Mark Mitchell [Fri, 2 Apr 1999 15:36:57 +0000 (15:36 +0000)]
tinfo.h (__class_type_info): Fix illegal declaration.
1999-04-02 Mark Mitchell <mark@codesourcery.com>
* tinfo.h (__class_type_info): Fix illegal declaration.
* cp-tree.def (TEMPLATE_ID_EXPR): Update comment.
* cp-tree.h (INHERITED_VALUE_BINDING_P): New macro.
(IDENTIFIER_CLASS_VALUE): Improve documentation.
(is_properly_derived_from): Declare.
(invalidate_class_lookup_cache): Likewise.
(maybe_maybe_note_name_used_in_class): Likewise.
(note_name_declared_in_class): Likewise.
(push_using_decl): Remove duplicate declaration.
(id_in_current_class): Remove declaration.
(push_class_binding): Change prototype.
(clear_identitifer_class_values): Declare.
* call.c (is_properly_derived_from): Make it global.
(build_new_function_call): Be careful about updating candidates.
(build_new_method_call): Handle COMPONENT_REFs. Don't crash when
asked to make illegal calls.
* class.c: Include splay-tree.h.
(class_stack_node): Add names_used slot.
(check_member_decl_is_same_in_complete_scope): Remove.
(add_method): Fix comment. Push the declaration into class
scope.
(finish_struct_1): When popping the class, pop the bindings too.
Remove check for data member/function member conflict.
(finish_struct): Remove calls to
check_member_decl_is_same_in_complete_scope. Change calls to
popclass.
(pushclass): Clear names_used in the class stack entry.
Use invalidate_class_lookup_cache to remove cached entries, rather
than magic values with popclass. Clear IDENTIFIER_CLASS_VALUE
before entering a new class. Remove dead code. Don't mess with
current_function_decl when pushing declarations.
(invalidate_class_lookup_cache): New function, split out from ...
(popclass): Here. Clean up names_used on our way out.
(instantiate_type): Adjust.
(build_self_reference): Don't push the declaration here.
(maybe_note_name_used_in_class): New function.
(note_name_declared_in_class): Likewise.
* decl.c (add_binding): Change prototype.
(find_class_binding_level): New function.
(innermost_nonclass_level): Likewise.
(current_binding_level): Update documentation.
(inner_binding_level): Remove. Replace with current_binding_level
throughout.
(push_binding_level): Remove special handling of
class_binding_level.
(pop_binding_level): Likewise. Use find_class_binding_level.
(suspend_binding_level): Likewise.
(global_bindings_p): Use innermost_nonclass_level.
(toplevel_bindings_p): Likewise.
(namespace_bindings_p): Likewise.
(pseudo_global_level_p): Likewise.
(push_binding): Clear INHERITED_VALUE_BINDING_P.
(add_binding): Check for illegal multiple declarations. Return a
value indicating whether or not the new binding was legal.
(push_local_binding): Skip over class binding levels. Check
return value from add_binding.
(push_class_binding): Set INHERITED_VALUE_BINDING_P. Call
note_name_declared_in_class.
(pushlevel_class): Remove "fake out the rest of the compiler"
code.
(poplevel_class): Reset IDENTIFIER_CLASS_VALUEs.
(clear_identifier_class_values): New function.
(pop_from_top_level): Use it.
(pop_everything): Tweak.
(maybe_process_template_type_declaration): Don't push the
declaration for the template here.
(pushtag): Don't push tag declarations into class scope here.
(pushdecl): Apply DeMorgan's law for readability.
(pushdecl_class_level): Remove special-case code for
TYPE_BEING_DEFINED. Handle OVERLOADs and anonymous unions.
(push_class_level_bindng): Deal with inherited bindings.
(lookup_name_real): Remove special-case code for
TYPE_BEING_DEFINED, and some implicit typename magic.
(grokdeclarator): Handle COMPONENT_REF for a template function.
(build_enumerator): Don't call pushdecl_class_level here.
(id_in_current_class): Remove.
* decl2.c (grokfield): Don't call pushdecl_class_level or
check_template_shadow.
* errfn.c (cp_file_of): Don't declare.
(cp_line_of): Likewise.
* error.c (dump_decl): Handle an OVERLOAD.
(cp_file_of): Likewise.
(cp_line_of): Likewise.
* init.c (build_member_call): Handle a COMPONENT_REF.
* lex.c (do_identifier): Call maybe_note_name_used_in_class, not
pushdecl_class_level.
* method.c (hack_identifier): Build COMPONENT_REFs for references
to member templates as well as member functions. Remove dead
code.
* parse.y (left_curly): Remove.
(nonnested_type): Call maybe_note_name_used_in_class, not
pushdecl_class_level.
* parse.c: Regenerated.
(nested_name_specifier_1): Likewise.
* pt.c (check_explicit_specialization): Adjust, for robustness.
(check_template_shadow): Handle OVERLOADs.
(build_template_decl): Set DECL_CONSTRUCTOR_P on the
TEMPLATE_DECL, if appropriate.
* search.c (envelope_add_decl): Remove.
(dfs_pushdecls): Likewise.
(dfs_compress_decls): Likewise.
(dfs_push_decls): New function.
(dfs_push_type_decls): Likewise.
(setup_class_bindings): Likewise.
(template_self_reference_p): Likewise.
(lookup_field_r): Use it.
(looup_member): Remove old comment. Deal with ambiguity.
(push_class_decls): Use dfs_push_decls and dfs_push_type_decls,
and remove envelope processing.
* semantics.c (begin_class_definition): Let pushclass push
declarations for base classes.
(finish_member_declaration): Push declarations into class scope.
* typeck.c (build_component_ref): Just put an OVERLOAD into the
COMPONENT_REF, not a TREE_LIST of an OVERLOAD.
(build_x_function_call): Deal with OVERLOAD. Handle template-ids.
* Makefile.in (class.o): Depend on splay-tree.h.
From-SVN: r26133
Mark Mitchell [Fri, 2 Apr 1999 15:18:06 +0000 (15:18 +0000)]
splay-tree.h (splay_tree_compare_pointers): Declare.
1999-04-02 Mark Mitchell <mark@codesourcery.com>
* splay-tree.h (splay_tree_compare_pointers): Declare.
1999-04-02 Mark Mitchell <mark@codesourcery.com>
* splay-tree.h (splay_tree_compare_pointers): Define.
From-SVN: r26132
Jeffrey A Law [Fri, 2 Apr 1999 15:13:30 +0000 (15:13 +0000)]
* fixinc/*: Delete obsolete files.
From-SVN: r26131
Jeffrey A Law [Fri, 2 Apr 1999 15:08:57 +0000 (15:08 +0000)]
fixinc.dgux, [...]: Deleted.
* fixinc.dgux, fixinc.interix, fixinc.irix, fixinc.ptx: Deleted.
* fixinc.sco, fixinc.svr4, fixinc.winnt, fixinc.wrap: Likewise.
From-SVN: r26130
Donn Terry [Fri, 2 Apr 1999 14:56:49 +0000 (14:56 +0000)]
configure.in: Set and substitute quoted_cc_set_by_configure.
* configure.in: Set and substitute quoted_cc_set_by_configure.
* configure: Rebuilt.
* Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.
From-SVN: r26129
Jeffrey A Law [Fri, 2 Apr 1999 14:56:11 +0000 (14:56 +0000)]
* Make-lang.in (CHILL_FLAGS_TO_PASS): Do not pass $(CC).
From-SVN: r26128