Mark Mitchell [Fri, 10 Nov 2000 04:29:45 +0000 (04:29 +0000)]
Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
* Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
(c-dump.o): New target.
* c-common.h (flag_dump_translation_unit): New variable.
(C_TYPE_QUALS): New macro.
(strip_array_types): New function.
(DECL_C_BIT_FIELD): New macro.
(SET_DECL_C_BIT_FIELD): Likewise.
(CLEAR_DECL_C_BIT_FIELD): Likewise.
(dump_info_p): New typedef.
(dump_tree_fn): Likewise.
(lang_dump_tree): New variable.
(dump_node_to_file): New function.
* c-common.c (flag_dump_translation_unit): Define it.
(strip_array_types): New function.
* c-decl.c (c_decode_option): Handle -fdump-translation-unit.
* c-lang.c (finish_file): Call dump_node_to_file if
flag_dump_translation_unit.
* c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
* c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
* c-dump.c: New file.
* Make-lang.in (CXX_C_OBJS): Add c-dump.o.
(dump.o): Update dependency list.
* cp-tree.h (DECL_MAYBE_TEMPLATE): Remove.
(flag_dump_translation_unit): Likewise.
(CP_TYPE_QUALS): Adjust definition.
(DECL_C_BIT_FIELD): Remove.
(SET_DECL_C_BIT_FIELD): Likewise.
(CLEAR_DECL_C_BIT_FIELD): Likewise.
(add_maybe_template): Likewise.
(strip_array_types): Likewise.
(dump_node_to_file): Likewise.
(cp_dump_tree): New function.
* decl.c (init_decl_processing): Set lang_dump_tree.
* decl2.c (flag_dump_translation_unit): Remove.
* dump.c: Move most of it to ../c-dump.c.
(cp_dump_tree): New function.
* pt.c (add_maybe_template): Remove.
* typeck.c (strip_array_types): Likewise.
From-SVN: r37358
Christopher Faylor [Fri, 10 Nov 2000 04:10:04 +0000 (04:10 +0000)]
* config/i386/cygwin.h: Add mingw startfile prefix.
From-SVN: r37357
Richard Henderson [Fri, 10 Nov 2000 02:03:28 +0000 (18:03 -0800)]
flow.c (invalidate_mems_from_set): Split out from ...
* flow.c (invalidate_mems_from_set): Split out from ...
(mark_set_1): ... here.
(try_pre_increment_1): Use it. Use propagate_block_delete_insn
instead of turning insn into a NOTE_INSN_DELETED.
From-SVN: r37356
Joseph Myers [Fri, 10 Nov 2000 01:46:00 +0000 (01:46 +0000)]
extend.texi, [...]: Move documentation of builtin versions of C library functions to one place and...
* extend.texi, invoke.texi: Move documentation of builtin versions
of C library functions to one place and update.
From-SVN: r37355
Richard Henderson [Fri, 10 Nov 2000 00:12:01 +0000 (16:12 -0800)]
fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than the types themselves to discover type...
* fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
the types themselves to discover type equivalence.
From-SVN: r37354
Mike Stump [Fri, 10 Nov 2000 00:09:02 +0000 (00:09 +0000)]
* Makefile.in (distclean): Remove a few extra leftovers.
From-SVN: r37353
Richard Henderson [Fri, 10 Nov 2000 00:07:52 +0000 (16:07 -0800)]
recog.c (validate_replace_rtx_1): Consider subregs when replacing a register with a constant inside a...
* recog.c (validate_replace_rtx_1): Consider subregs when
replacing a register with a constant inside a sign/zero_extend.
From-SVN: r37352
Richard Henderson [Fri, 10 Nov 2000 00:01:29 +0000 (16:01 -0800)]
sequence-pt-1.c: Cast from pointer to integer via size_t instead of int.
* gcc.dg/sequence-pt-1.c: Cast from pointer to integer
via size_t instead of int.
From-SVN: r37351
Richard Henderson [Thu, 9 Nov 2000 23:57:41 +0000 (15:57 -0800)]
* config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
From-SVN: r37350
Richard Henderson [Thu, 9 Nov 2000 23:21:39 +0000 (15:21 -0800)]
string-opt-1.c: Make stub functions static.
* gcc.c-torture/execute/string-opt-1.c: Make stub functions static.
* gcc.c-torture/execute/string-opt-2.c: Likewise.
* gcc.c-torture/execute/string-opt-3.c: Likewise.
* gcc.c-torture/execute/string-opt-4.c: Likewise.
From-SVN: r37349
Eric Christopher [Thu, 9 Nov 2000 23:15:27 +0000 (23:15 +0000)]
decl.c (init_decl_processing): Change definition of __wchar_t to wchar_t.
2000-11-07 Eric Christopher <echristo@redhat.com>
* decl.c (init_decl_processing): Change definition of
__wchar_t to wchar_t. Remove artificial declaration of
wchar_t.
* lex.c: Change instances of __wchar_t to wchar_t.
From-SVN: r37348
David Edelsohn [Thu, 9 Nov 2000 21:41:11 +0000 (21:41 +0000)]
ltcf-c.sh (aix4): Improve shared library configuration; require exporting symbols.
* ltcf-c.sh (aix4): Improve shared library configuration; require
exporting symbols.
* ltcf-cxx.sh (aix4): Define.
* ltconfig (aix4): Define library and soname specs appropriate for
AIX. Define command to create export symbols list.
From-SVN: r37347
Geoffrey Keating [Thu, 9 Nov 2000 21:29:54 +0000 (21:29 +0000)]
In gcc/: 2000-11-09 Geoffrey Keating <geoffk@redhat.com>
In gcc/:
2000-11-09 Geoffrey Keating <geoffk@redhat.com>
* c-decl.c (finish_struct): When a structure is completed,
check all its variant types for completeness.
In gcc/testsuite/:
2000-11-09 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/compile/
20001109-1.c: New test.
* gcc.c-torture/compile/
20001109-2.c: New test.
From-SVN: r37346
Neil Booth [Thu, 9 Nov 2000 21:18:15 +0000 (21:18 +0000)]
cpphash.c: Move cpp_defined here from cpplib.c.
* cpphash.c: Move cpp_defined here from cpplib.c.
* cpplib.c: Update comments, move cpp_defined to cpphash.c.
* cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
* cppmacro.c (cpp_get_token): Update comments, no need now
to catch the CPP_EOF meaning EOL case.
From-SVN: r37345
Geoffrey Keating [Thu, 9 Nov 2000 17:38:20 +0000 (17:38 +0000)]
sparc.c (sparc_va_arg): When the required alignment is more than that provided, copy to a temporary.
* config/sparc/sparc.c (sparc_va_arg): When the required alignment
is more than that provided, copy to a temporary.
From-SVN: r37344
Nathan Sidwell [Thu, 9 Nov 2000 17:09:33 +0000 (17:09 +0000)]
* g++.old-deja/g++.brendan/err-msg8.C: Adjust error line.
From-SVN: r37343
Alexandre Oliva [Thu, 9 Nov 2000 13:56:53 +0000 (13:56 +0000)]
mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from interpreting $out as a macro assignment.
* mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
interpreting $out as a macro assignment.
* Makefile.in (T_TARGET): New auxiliary macro and target.
(all): Add a target right in the beginning, so that we don't build
T_TARGET by default.
From-SVN: r37342
Graham Stott [Thu, 9 Nov 2000 11:30:02 +0000 (11:30 +0000)]
i386.md (mmx_pinsrw): Output operands in correct order for -mintel-syntax.
* config/i386/i386.md (mmx_pinsrw): Output operands in correct
order for -mintel-syntax. Remove comment now that the operand
order has been checked.
(mmx_pextrw): Likewise.
(mmx_pshufw): Likewise.
From-SVN: r37341
Nathan Sidwell [Thu, 9 Nov 2000 09:55:32 +0000 (09:55 +0000)]
lex.c (do_identifier): Don't lookup_name for operators.
gcp/ChangeLog:
* lex.c (do_identifier): Don't lookup_name for operators.
* parse.y (operator): Save looking_for_typename.
(unoperator): Restore it.
* spew.c (frob_opname): Use nth_token for lookahead.
testsuite/ChangeLog:
* g++.old-deja/g++.pt/operator1.C: New test.
From-SVN: r37340
Jakub Jelinek [Thu, 9 Nov 2000 09:31:48 +0000 (10:31 +0100)]
* gcc.dg/
20001108-1.c: New test.
From-SVN: r37339
Jakub Jelinek [Thu, 9 Nov 2000 09:07:44 +0000 (10:07 +0100)]
builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
* builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
(c_getstr): New function.
(expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
If both arguments are constant string, optimize out.
(expand_builtin_strchr, expand_builtin_strrchr): New functions.
(expand_builtin_strpbrk): Use c_getstr, do nothing if
-fcheck-memory-usage.
(expand_builtin_fputs): Likewise.
(expand_builtin_strcmp): Add MODE argument.
Use even if !HAVE_cmpstrsi.
Optimize the case when both arguments are constant strings.
(expand_builtin): Adjust expand_builtin_strcmp caller.
Call expand_builtin_strchr and expand_builtin_strrchr.
* c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
builtins.
* builtins.def (BUILT_IN_STRRCHR): Add.
* gcc.c-torture/execute/string-opt-1.c: Add test for strstr
with both arguments constant strings.
* gcc.c-torture/execute/string-opt-3.c: New test.
* gcc.c-torture/execute/string-opt-4.c: New test.
* gcc.c-torture/execute/string-opt-5.c: New test.
From-SVN: r37338
Gerald Pfeifer [Thu, 9 Nov 2000 08:48:30 +0000 (08:48 +0000)]
* Remove overlooked conflict marker.
From-SVN: r37337
Gerald Pfeifer [Thu, 9 Nov 2000 08:46:02 +0000 (08:46 +0000)]
* fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
From-SVN: r37336
Jeff Law [Thu, 9 Nov 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37335
Joseph Myers [Thu, 9 Nov 2000 07:45:15 +0000 (07:45 +0000)]
calls.c (expand_call, [...]): Use memcpy () instead of bcopy ().
* calls.c (expand_call, emit_library_call_value_1), collect2.c
(scan_prog_file), config/a29k/a29k.c (print_operand),
config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
instead of bcopy ().
* real.h: Use memcmp () instead of bcmp ().
* config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
(split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
ultrasparc_sched_init, ultrasparc_sched_reorder),
config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
instead of bzero ().
* config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
instead of rindex ().
* configure.in: Don't check for bzero, bcmp, index or rindex.
* configure, config.in: Regenerate.
* system.h: Don't include declarations for bzero, bcmp, index or
rindex.
* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
bzero, bcmp, index or rindex.
java:
* parse.y (create_new_parser_context): Use memset () instead of
bzero ().
From-SVN: r37334
Christopher Faylor [Thu, 9 Nov 2000 03:02:33 +0000 (03:02 +0000)]
cygwin.h: Add -no-win32 switch.
* config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin include and
library paths from -mcygwin case. Parameterize some declarations to avoid
warnings. Use standard locations for include and lib dirs.
From-SVN: r37333
Mark Mitchell [Thu, 9 Nov 2000 02:57:23 +0000 (02:57 +0000)]
codecvt.h (codecvt::do_out): Make it const-correct.
* include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
(codecvt::do_in): Likewise.
From-SVN: r37332
Nick Clifton [Thu, 9 Nov 2000 01:26:21 +0000 (01:26 +0000)]
Fix {u}mulsidi3adddi patterns in arm.md and add testcase to check that the
fix stays in place.
From-SVN: r37331
Richard Henderson [Thu, 9 Nov 2000 00:26:34 +0000 (16:26 -0800)]
flow.c (init_propagate_block_info): Protect the rtx stored in mem_set_list from modification by find_auto_inc.
* flow.c (init_propagate_block_info): Protect the rtx stored in
mem_set_list from modification by find_auto_inc.
(mark_set_1): Likewise.
From-SVN: r37330
Neil Booth [Wed, 8 Nov 2000 23:08:07 +0000 (23:08 +0000)]
Move directive handling into the lexer itself.
* cpplex.c (_cpp_lex_token): Handle directives directly.
In the case of a directive interrupting a function-like
macro invocation, use extra_char since read_ahead is
used to store the '#'. Return a CPP_EOF in this case.
* cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
(cpp_get_token): Don't handle directives here.
* cpplib.h: Remove CPP_DHASH token type.
From-SVN: r37329
Jeff Law [Wed, 8 Nov 2000 22:43:50 +0000 (15:43 -0700)]
snapshot: New file.
* snapshot: New file.
Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r37328
Jan van Male [Wed, 8 Nov 2000 21:15:59 +0000 (22:15 +0100)]
README: Fix typo.
* README: Fix typo. Remove incorrect reference to Cygnus.
Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r37327
Jan Hubicka [Wed, 8 Nov 2000 20:59:34 +0000 (21:59 +0100)]
regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes formed using PRE_MODIFY too.
* regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
formed using PRE_MODIFY too.
From-SVN: r37326
Tom Tromey [Wed, 8 Nov 2000 20:33:37 +0000 (20:33 +0000)]
gjavah.c (process_file): Only include gcj/cni.h when generating CNI stubs.
* gjavah.c (process_file): Only include gcj/cni.h when generating
CNI stubs.
From-SVN: r37325
David Edelsohn [Wed, 8 Nov 2000 20:00:36 +0000 (20:00 +0000)]
locale-inst.cc: Add explicit instantiations of _M_fill_insert and fill_n<..., unsigned long,...> .
* src/locale-inst.cc: Add explicit instantiations of
_M_fill_insert and fill_n<..., unsigned long,...> .
From-SVN: r37324
Jeffrey Oldham [Wed, 8 Nov 2000 19:41:19 +0000 (19:41 +0000)]
gcc_build (bootstrap_gcc): New function.
2000-11-08 Jeffrey Oldham <oldham@oz.codesourcery.com>
* gcc_build (bootstrap_gcc): New function.
(configure_gcc): Likewise.
(build_gcc): Rewritten to use configure and bootstrap.
(MAKE_BOOTSTRAP_OPTIONS): Replaced MAKE_OPTIONS.
From-SVN: r37323
Mark Mitchell [Wed, 8 Nov 2000 19:25:36 +0000 (19:25 +0000)]
c-tree.texi (VAR_DECL): Describe representation of GCC's extension for placing variables in particular...
* c-tree.texi (VAR_DECL): Describe representation of GCC's
extension for placing variables in particular registers.
From-SVN: r37322
Mark Mitchell [Wed, 8 Nov 2000 19:05:08 +0000 (19:05 +0000)]
c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for unprototyped C functions with no parameters.
* c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
unprototyped C functions with no parameters.
From-SVN: r37321
Jakub Jelinek [Wed, 8 Nov 2000 17:19:51 +0000 (18:19 +0100)]
sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int before passing to fprintf.
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
before passing to fprintf.
From-SVN: r37320
Nathan Sidwell [Wed, 8 Nov 2000 14:03:32 +0000 (14:03 +0000)]
decl.c (grok_op_properties): Always use coerce_new_type and coerce_delete_type.
cp/ChangeLog
* decl.c (grok_op_properties): Always use coerce_new_type and
coerce_delete_type.
* decl2.c (coerce_new_type): Use c_size_type_node. Preserve
exception specification. Tidy up.
(coerce_delete_type): Preserve exception specification. Tidy up.
testsuite/ChangeLog
* g++.old-deja/g++.other/crash36.C: New test.
From-SVN: r37319
Jakub Jelinek [Wed, 8 Nov 2000 13:18:08 +0000 (14:18 +0100)]
* g++.old-deja/g++.other/init16.C: New test.
From-SVN: r37318
Jakub Jelinek [Wed, 8 Nov 2000 13:13:10 +0000 (14:13 +0100)]
function.c (expand_function_start): Cast GET_MODE_SIZE to HOST_WIDE_INT before negating it.
* function.c (expand_function_start): Cast GET_MODE_SIZE to
HOST_WIDE_INT before negating it.
From-SVN: r37317
Jakub Jelinek [Wed, 8 Nov 2000 13:10:00 +0000 (14:10 +0100)]
expr.c (expand_expr): Handle when op0 is RETURN_DECL passed in multiple non-contiguous locations.
* expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
passed in multiple non-contiguous locations.
From-SVN: r37316
Gerald Pfeifer [Wed, 8 Nov 2000 11:01:22 +0000 (12:01 +0100)]
* README.gnat: Remove file.
From-SVN: r37315
Loren J. Rittle [Wed, 8 Nov 2000 10:08:28 +0000 (10:08 +0000)]
* g++.old-deja/g++.mike/p6610a.C: Update XFAIL.
From-SVN: r37314
Jeff Law [Wed, 8 Nov 2000 08:45:12 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37313
Alexandre Oliva [Wed, 8 Nov 2000 03:51:34 +0000 (03:51 +0000)]
mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts in-place.
* mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
in-place.
From-SVN: r37312
Gabriel Dos Reis [Wed, 8 Nov 2000 03:01:39 +0000 (03:01 +0000)]
* include/bits/std_complex.h (conj): Undo double removal.
From-SVN: r37311
Richard Henderson [Wed, 8 Nov 2000 02:18:00 +0000 (18:18 -0800)]
dwarfout.c (INSN_LABEL_FMT): Remove.
* dwarfout.c (INSN_LABEL_FMT): Remove.
(output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
(dwarfout_label): Remove.
* dwarfout.h: Remove it's prototype.
* dwarf2out.c (INSN_LABEL_FMT): Remove.
(gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
(dwarf2out_label): Remove.
* dwarf2out.h: Remove it's prototype.
* final.c (final_scan_insn): Don't call dwarf[2]out_label.
From-SVN: r37310
Richard Henderson [Wed, 8 Nov 2000 01:59:35 +0000 (17:59 -0800)]
fde-glibc.c (find_fde_for_dso): Do a binary search on the unwind region section.
* config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
search on the unwind region section.
* config/ia64/ia64.md (movbi): Add r/r alternative.
(cmovdi_internal_astep): Describe all combinations of register
classes for sources & destinations; remove matching constraints.
(cmovdi_internal): Likewise.
From-SVN: r37309
Richard Henderson [Wed, 8 Nov 2000 01:34:44 +0000 (17:34 -0800)]
* gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
From-SVN: r37308
Richard Henderson [Wed, 8 Nov 2000 01:31:01 +0000 (17:31 -0800)]
c-lang.c (start_cdtor, [...]): New functions.
* c-lang.c (start_cdtor, finish_cdtor): New functions.
(finish_file): Use them in building constructor/destructor functions.
* config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
LD_FINI_SWITCH): Move ...
* config/alpha/osf.h: ... here.
* config/alpha/alpha-interix.h: Don't undef them.
From-SVN: r37307
Jeffrey Oldham [Wed, 8 Nov 2000 00:36:18 +0000 (00:36 +0000)]
t-iris6 (FPBIT): New.
2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
* config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is
included in libgcc.a.
(DPBIT): Likewise.
(dp-bit.c): Likewise.
(fp-bit.c): Likewise.
From-SVN: r37306
Jeffrey Oldham [Tue, 7 Nov 2000 23:46:09 +0000 (23:46 +0000)]
va-arg-15.x: Changed to mips*-sgi-irix6.*.
2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
* gcc.c-torture/execute/va-arg-15.x: Changed to mips*-sgi-irix6.*.
* gcc.c-torture/execute/va-arg-16.x: Likewise.
* gcc.c-torture/execute/va-arg-17.x: Likewise.
From-SVN: r37305
Nick Clifton [Tue, 7 Nov 2000 23:32:16 +0000 (23:32 +0000)]
m88k.h (GLOBAL_ASM_OP): Add missing tab.
* config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
(INTERNAL_ASM_OP): Add missing tab.
From-SVN: r37304
Joseph Myers [Tue, 7 Nov 2000 22:50:06 +0000 (22:50 +0000)]
alias.c [...] (init_alias_analysis, [...]): Use memset () instead of bzero ().
* alias.c (init_alias_analysis), calls.c (expand_call,
emit_library_call_value_1), combine.c (init_reg_last_arrays),
cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
(init_output_buffer, set_diagnostic_context), dwarf2out.c
(equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
(init_emit_once), fold-const.c (mul_double, div_and_round_double),
function.c (assign_parms), gcse.c (compute_can_copy,
alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
compute_hash_table, compute_set_hash_table,
compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
(global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
clear_units, schedule_block), integrate.c (initialize_for_inline,
expand_inline_function), jump.c (thread_jumps), local-alloc.c
(local_alloc), loop.c (combine_movables, count_loop_regs_set,
load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
regclass.c (init_reg_sets, init_reg_sets_1, regclass,
record_reg_classes, allocate_reg_info), reload.c
(get_secondary_mem, remove_address_replacements, find_reloads),
reload1.c (reload, set_initial_label_offsets, finish_spills,
reload_as_needed, choose_reload_regs_init,
reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
(sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
(rename_registers), stmt.c (expand_end_case), unroll.c
(unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
() instead of bzero ().
ch:
* actions.c (check_missing_cases), typeck.c (build_chill_slice,
build_chill_cast): Use memset () instead of bzero ().
cp:
* class.c (duplicate_tag_error, build_vtbl_initializer), decl.c
(push_binding_level), error.c (cp_tree_printer), pt.c
(process_partial_specialization, tsubst_template_arg_vector),
search.c (lookup_member): Use memset () instead of bzero ().
java:
* expr.c (note_instructions), jcf-io.c (find_class), jcf-parse.c
(init_outgoing_cpool), lex.c (java_init_lex): Use memset ()
instead of bzero ().
From-SVN: r37303
DJ Delorie [Tue, 7 Nov 2000 22:27:26 +0000 (17:27 -0500)]
oops, wrong ChangeLog
From-SVN: r37302
Kaveh R. Ghazi [Tue, 7 Nov 2000 22:13:58 +0000 (22:13 +0000)]
* gcc.c-torture/execute/string-opt-1.c: New test.
From-SVN: r37301
Jeffrey Oldham [Tue, 7 Nov 2000 22:07:55 +0000 (22:07 +0000)]
va-arg-15.x: New file.
2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
* gcc.c-torture/execute/va-arg-15.x: New file. Fails on
mips-sgi-irix6.* because the MIPS ABI passes floating-point
parameters in registers, and there is no way for a varargs
function to know in which order the integer and floating-point
parameters should be interleaved when they are placed on the
stack.
* gcc.c-torture/execute/va-arg-16.x: Likewise.
* gcc.c-torture/execute/va-arg-17.x: Likewise.
From-SVN: r37300
Neil Booth [Tue, 7 Nov 2000 21:35:20 +0000 (21:35 +0000)]
* cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
From-SVN: r37299
Tom Tromey [Tue, 7 Nov 2000 20:48:55 +0000 (20:48 +0000)]
sjis_comment3.java: Removed.
* libjava.compile/sjis_comment3.java: Removed.
* libjava.compile/sjis_comment2.java: Removed.
* libjava.compile/sjis_comment1.java: Removed.
* libjava.compile/euc_comment3.java: Removed.
* libjava.compile/euc_comment2.java: Removed.
* libjava.compile/euc_comment1.java: Removed.
From-SVN: r37298
Kaveh R. Ghazi [Tue, 7 Nov 2000 20:15:19 +0000 (20:15 +0000)]
* c-common.c (combine_strings): Only warn about long strings for C.
From-SVN: r37297
J"orn Rennecke [Tue, 7 Nov 2000 19:46:58 +0000 (19:46 +0000)]
* combine.c (distribute_notes): Fix typo in last change.
From-SVN: r37296
Geoffrey Keating [Tue, 7 Nov 2000 18:51:05 +0000 (18:51 +0000)]
rs6000.md (movdi_internal32+1): Use operand_subreg_force rather than gen_rtx_SUBREG.
* config/rs6000/rs6000.md (movdi_internal32+1): Use
operand_subreg_force rather than gen_rtx_SUBREG.
(movdi_internal32+2): Likewise.
From-SVN: r37295
Philip Blundell [Tue, 7 Nov 2000 18:16:15 +0000 (18:16 +0000)]
Delete arm-linux-aout target
From-SVN: r37294
Philipp Thomas [Tue, 7 Nov 2000 17:45:31 +0000 (17:45 +0000)]
ABOUT-GCC-NLS: Remove the patch for gettext as it has been accepted my the gettext maintainer.
2000-11-07 Philipp Thomas <pthomas@suse.de>
* ABOUT-GCC-NLS: Remove the patch for gettext as it has been
accepted my the gettext maintainer.
From-SVN: r37293
DJ Delorie [Tue, 7 Nov 2000 17:12:59 +0000 (12:12 -0500)]
* testsuite/gcc.dg/
20000614-1.c: Add return so that test can pass.
From-SVN: r37292
Kaveh R. Ghazi [Tue, 7 Nov 2000 16:08:57 +0000 (16:08 +0000)]
builtins.c (expand_builtin_strpbrk): New function.
* builtins.c (expand_builtin_strpbrk): New function.
(expand_builtin): Handle BUILT_IN_STRPBRK.
* builtins.def (BUILT_IN_STRPBRK): New entry.
* c-common.c (c_common_nodes_and_builtins): Declare builtin
strpbrk.
testsuite:
* gcc.c-torture/execute/string-opt-2.c: New test.
From-SVN: r37291
Phil Edwards [Tue, 7 Nov 2000 16:05:41 +0000 (16:05 +0000)]
Add self upon request as libstdc++-v3 maintainer.
From-SVN: r37290
Nathan Sidwell [Tue, 7 Nov 2000 13:58:21 +0000 (13:58 +0000)]
decl.c (build_ptrmemfunc_type): Allow error_mark_node.
cp:
* decl.c (build_ptrmemfunc_type): Allow error_mark_node.
testsuite:
* g++.old-deja/g++.pt/crash60.C: New test.
From-SVN: r37289
Jeff Law [Tue, 7 Nov 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37288
David O'Brien [Tue, 7 Nov 2000 08:44:40 +0000 (08:44 +0000)]
freebsd.h: New file -- FreeBSD/alpha architecture file.
2000-11-07 David O'Brien <obrien@dragon.nuxi.com>
* config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
* POTFILES.in: Add config/alpha/freebsd.h
* configure.in: Add alpha*-freebsd support.
* configure: Regenerate.
Approved by: Richard Henderson <rth@cygnus.com>
Message-ID: <
20001106211421.E14418@cygnus.com>
From-SVN: r37287
Joseph Myers [Tue, 7 Nov 2000 07:40:37 +0000 (07:40 +0000)]
tree.c (build_common_tree_nodes_2): Make va_list_type_node be a copy of ptr_type_node rather than ptr_type_node itself.
* tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
copy of ptr_type_node rather than ptr_type_node itself.
From-SVN: r37286
J"orn Rennecke [Tue, 7 Nov 2000 06:36:12 +0000 (06:36 +0000)]
combine.c (recog_for_combine): Allocate uninitialized vector with rtvec_alloc.
* combine.c (recog_for_combine): Allocate uninitialized vector with
rtvec_alloc.
* recog.c (apply_change_group): Likewise.
From-SVN: r37285
J"orn Rennecke [Tue, 7 Nov 2000 06:28:34 +0000 (06:28 +0000)]
flow.c (verify_local_live_at_start): Back out last change.
* flow.c (verify_local_live_at_start): Back out last change.
* combine.c (distribute_notes): When parts of a hard reg are
neither set nor referenced in PLACE, search backwards for a
place to put a REG_UNUSED note; if none found, ask for flow
info refresh.
From-SVN: r37284
Alexandre Oliva [Tue, 7 Nov 2000 02:00:22 +0000 (02:00 +0000)]
acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of alternatives for CXX_libstdcxx, now that it is useless.
* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
alternatives for CXX_libstdcxx, now that it is useless.
* aclocal.m4, configure: Rebuilt.
From-SVN: r37283
J"orn Rennecke [Mon, 6 Nov 2000 20:09:04 +0000 (20:09 +0000)]
reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL with (clobber (match_scratch...)).
* reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
with (clobber (match_scratch...)).
From-SVN: r37281
Christopher Faylor [Mon, 6 Nov 2000 19:20:24 +0000 (19:20 +0000)]
* config.sub: Add support for Sun Chorus
From-SVN: r37280
Neil Booth [Mon, 6 Nov 2000 19:10:05 +0000 (19:10 +0000)]
c-lex.c (init_c_lex): If cpp_start_read fails, exit with error status.
* c-lex.c (init_c_lex): If cpp_start_read fails, exit with
error status.
From-SVN: r37279
Neil Booth [Mon, 6 Nov 2000 18:58:28 +0000 (18:58 +0000)]
tradcpp.c (special_symbol): Assign an null string rather than writing to an unallocated buffer.
* tradcpp.c (special_symbol): Assign an null string rather
than writing to an unallocated buffer.
From-SVN: r37278
Neil Booth [Mon, 6 Nov 2000 18:47:21 +0000 (18:47 +0000)]
cpplex.c (_cpp_equiv_tokens): Check arg_no in the CPP_MACRO_ARG case.
* cpplex.c (_cpp_equiv_tokens): Check arg_no in the
CPP_MACRO_ARG case.
From-SVN: r37277
Neil Booth [Mon, 6 Nov 2000 18:43:32 +0000 (18:43 +0000)]
c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or tok.val.arg_no as appropriate.
* c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
tok.val.arg_no as appropriate.
* cppexp.c (lex): Similarly.
* cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
* cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
cpp_macro_definition): Similarly.
* cpplib.h (struct cpp_token): Replace aux with c and arg_no.
From-SVN: r37276
Jakub Jelinek [Mon, 6 Nov 2000 12:29:02 +0000 (13:29 +0100)]
crash24.C: New test.
* g++.old-deja/g++.other/crash24.C: New test.
* g++.old-deja/g++.other/crash25.C: New test.
* g++.old-deja/g++.other/crash26.C: New test.
* g++.old-deja/g++.other/crash27.C: New test.
* g++.old-deja/g++.other/crash28.C: New test.
* g++.old-deja/g++.other/crash29.C: New test.
* g++.old-deja/g++.other/crash30.C: New test.
* g++.old-deja/g++.other/crash31.C: New test.
* g++.old-deja/g++.other/crash32.C: New test.
* g++.old-deja/g++.other/crash33.C: New test.
* g++.old-deja/g++.other/crash34.C: New test.
* g++.old-deja/g++.other/crash35.C: New test.
From-SVN: r37275
Jakub Jelinek [Mon, 6 Nov 2000 10:42:20 +0000 (11:42 +0100)]
sparc.md (adddi3): If operands[2] is 4096 and operands[1] is constant...
* config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
operands[1] is constant, calculate the sum and generate movdi.
(addsi3): Similarly. Use SImode in call to arith_4096_operand.
(subsi3): Use SImode in call to arith_4096_operand.
* gcc.c-torture/execute/
20001031-1.c: New test.
From-SVN: r37274
Jakub Jelinek [Mon, 6 Nov 2000 10:36:33 +0000 (11:36 +0100)]
sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to adjust %o1, not %o0 if the return type is large structure.
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
adjust %o1, not %o0 if the return type is large structure.
From-SVN: r37273
Jakub Jelinek [Mon, 6 Nov 2000 10:34:49 +0000 (11:34 +0100)]
sparc.md (smulsi3_highpart_v8plus, [...]): Fix output formatting.
* config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
From-SVN: r37272
Jeff Law [Mon, 6 Nov 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37271
Denis Chertykov [Mon, 6 Nov 2000 08:39:54 +0000 (11:39 +0300)]
expmed.c (expand_divmod): For signed divide by 2, prefer a branch and fewer shifts if branches are very cheap.
* expmed.c (expand_divmod): For signed divide by 2, prefer
a branch and fewer shifts if branches are very cheap.
From-SVN: r37270
Tom Tromey [Mon, 6 Nov 2000 05:35:53 +0000 (05:35 +0000)]
lex.h (JAVA_FLOAT_RANGE_ERROR): Typo fix.
* lex.h (JAVA_FLOAT_RANGE_ERROR): Typo fix.
* lex.c (IS_ZERO): New define.
(java_perform_atof): Error on floating point underflow.
From-SVN: r37269
Tom Tromey [Mon, 6 Nov 2000 00:22:01 +0000 (00:22 +0000)]
libjava.exp (libjava_arguments): Set --tag on libtool invocation.
* lib/libjava.exp (libjava_arguments): Set --tag on libtool
invocation.
From-SVN: r37268
Tom Tromey [Sun, 5 Nov 2000 22:59:56 +0000 (22:59 +0000)]
lex.c (java_parse_escape_sequence): Only read two octal characters if the first one is greater than 3.
* lex.c (java_parse_escape_sequence): Only read two octal
characters if the first one is greater than 3. Don't allow
"octal" numbers to include the digits 8 or 9.
From-SVN: r37267
Toon Moene [Sun, 5 Nov 2000 13:20:46 +0000 (14:20 +0100)]
root.texi, [...]: Remove non-historical references to egcs/EGCS.
2000-11-05 Toon Moene <toon@moene.indiv.nluug.nl>
* root.texi, news.texi, g77install.texi, g77.texi, bugs.texi:
Remove non-historical references to egcs/EGCS.
From-SVN: r37266
Joseph Myers [Sun, 5 Nov 2000 10:35:33 +0000 (10:35 +0000)]
Makefile.in: Remove all targets related to building distributions and diffs, or INSTALL.
* Makefile.in: Remove all targets related to building
distributions and diffs, or INSTALL.
* INSTALL, install1.texi: Remove.
* configure.in: Remove mention of distdir.
* configure: Regenerate.
* objc/Make-lang.in: Remove mention of distdir.
ch:
* Make-lang.in (CHILL.distdir): Remove.
cp:
* Make-lang.in (c++.distdir): Remove.
f:
* Make-lang.in: Remove f77.distdir and f/INSTALL.
* INSTALL, install0.texi: Remove.
java:
* Make-lang.in (java.distdir): Remove.
From-SVN: r37265
Jeff Law [Sun, 5 Nov 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37264
Mark Mitchell [Sun, 5 Nov 2000 02:38:53 +0000 (02:38 +0000)]
acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
* acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
* aclocal.m4: Regenerated.
* configure: Likewise.
From-SVN: r37263
Mark Mitchell [Sat, 4 Nov 2000 23:00:26 +0000 (23:00 +0000)]
use of `test'.
* aclocal.m4: Regenerated.
* configure: Likewise.
From-SVN: r37262
Mark Mitchell [Sat, 4 Nov 2000 20:29:16 +0000 (20:29 +0000)]
misc13.C: Put `strlen' in `std' namespace.
* g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
namespace.
From-SVN: r37260
Mark Mitchell [Sat, 4 Nov 2000 20:13:44 +0000 (20:13 +0000)]
weak.C: Fix uses of iostreams to be standards-conformant.
* g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
standards-conformant.
From-SVN: r37259
Mark Mitchell [Sat, 4 Nov 2000 20:08:18 +0000 (20:08 +0000)]
* g++.old-deja/g++.mike/net5.C: Put `abort' in `std' namespace.
From-SVN: r37258
Mark Mitchell [Sat, 4 Nov 2000 20:00:52 +0000 (20:00 +0000)]
p755.C: Tweak handling of exit.
* g++.old-deja/g++.mike/p755.C: Tweak handling of exit.
* g++.old-deja/g++.mike/p755a.C: Likewise.
* g++.old-deja/g++.mike/p9706.C: Don't assume that the standard
library makes no calls to `operator new' during initialization.
From-SVN: r37257