Neil Booth [Thu, 9 May 2002 22:48:36 +0000 (22:48 +0000)]
Makefile.in: Update.
* Makefile.in: Update.
* c-common.c (flag_iso, flag_undef, cb_register_builtins,
builtin_define_std): New.
(c_common_init): Register CPP builtins callback.
* c-common.h (flag_iso, flag_undef): New.
* c-decl.c (c_decode_option): Set flag_iso and flag_undef.
* c-lex.c: Don't include target.h.
(cb_register_builtins): Move to c-common.c.
(init_c_lex): Don't register hook here.
* c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
(cpp_define, cpp_assert): Remove.
* gcc.c (cc1_options): Pass -undef to front end.
* target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
(TARGET_INITIALIZER): Update.
* target.h (struct cpp_reader): Don't predeclare.
(struct gcc_target): Remove cpp builtin hook.
* tree.c (default_register_cpp_builtins): Remove.
cp:
* cp-tree.h (flag_ansi): Remove.
* decl2.c (flag_ansi): Remove.
(cxx_decode_option): Set flag_iso and flag_undef.
doc:
* tm.texi: Update.
From-SVN: r53349
Neil Booth [Thu, 9 May 2002 22:27:31 +0000 (22:27 +0000)]
* cppexp.c (_cpp_expand_op_stack): Set op_limit.
From-SVN: r53348
Rainer Orth [Thu, 9 May 2002 21:19:10 +0000 (21:19 +0000)]
t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
(SHLIB_LINK, SHLIB_INSTALL): Adjust.
From-SVN: r53347
Jakub Jelinek [Thu, 9 May 2002 21:09:27 +0000 (23:09 +0200)]
t-linux64 (SHLIB_MAPFILES): Set.
* config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
* config/sparc/libgcc-sparc-glibc.ver: New file.
* config/cris/t-linux (SHLIB_MAPFILES): Remove.
* mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
From-SVN: r53346
Jakub Jelinek [Thu, 9 May 2002 21:01:55 +0000 (23:01 +0200)]
re PR target/6429 (libgcc_s problem on dual 32/64-bit arches)
PR target/6429
* Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
* mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
base multilibs.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
* config/i386/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* lib/g77.exp (g77_link_flags): Append all multilib dirs containing
libgcc_s*.so.1 below gcc object dir to LD_LIBRARY_PATH.
* lib/g++.exp (g++_link_flags): Likewise.
* lib/objc.exp (objc_target_compile): Likewise.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
multilib dirs containing libgcc_s*.so.1 below gcc object dir to
LD_LIBRARY_PATH.
* testsuite/lib/libjava.exp (libjava_arguments): Append all
multilib dirs containing libgcc_s*.so.1 below gcc object dir to
LD_LIBRARY_PATH.
From-SVN: r53345
Richard Henderson [Thu, 9 May 2002 20:58:35 +0000 (13:58 -0700)]
ia64.md: Use define_constants for unspec numbers.
* config/ia64/ia64.md: Use define_constants for unspec numbers.
* config/ia64/ia64.c: Likewise.
From-SVN: r53344
Richard Sandiford [Thu, 9 May 2002 20:10:54 +0000 (20:10 +0000)]
mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
* config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
(save_restore_insns): Likewise.
(mips_expand_prologue, mips_expand_epilogue): Update callers.
(highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
From-SVN: r53341
Federico G. Schwindt [Thu, 9 May 2002 19:57:00 +0000 (19:57 +0000)]
* Makefile.in: Honour DESTDIR.
From-SVN: r53340
Jeffrey A Law [Thu, 9 May 2002 17:58:09 +0000 (17:58 +0000)]
i386.md (type attribute): Add "rotate" for rotate insns.
* i386.md (type attribute): Add "rotate" for rotate insns.
(rotate insns): Set type to "rotate".
(various attributes and function units): Treat rotate like shift.
(pent_pair attribute): Only rotates by one bit position are
pairable.
(sbb insns): Explicitly set pent_pair attribute on a couple
that were missing it.
From-SVN: r53338
J"orn Rennecke [Thu, 9 May 2002 17:41:56 +0000 (17:41 +0000)]
sh.c (sh_builtin_saveregs): If starting with an odd fp register...
* sh.c (sh_builtin_saveregs): If starting with an odd fp register,
make sure that buffer starts on odd word address.
(sh_va_arg): Skip odd fp registers when reading a double precision
value.
From-SVN: r53337
Jason Merrill [Thu, 9 May 2002 17:27:37 +0000 (13:27 -0400)]
typeck.c (get_member_function_from_ptrfunc): Reorganize.
* typeck.c (get_member_function_from_ptrfunc): Reorganize.
Use subtraction rather than a bitmask to get the index.
* cvt.c (cp_convert_to_pointer): Bail on an error_mark_node.
* pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P.
From-SVN: r53335
Neil Booth [Thu, 9 May 2002 17:20:33 +0000 (17:20 +0000)]
tree.h (preserve_data, [...]): Remove.
* tree.h (preserve_data, object_permanent_p, type_precision):
Remove.
From-SVN: r53334
Neil Booth [Thu, 9 May 2002 17:14:22 +0000 (17:14 +0000)]
cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
* cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
* cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
doc:
* cpp.texi: Update for removal of obsolete features.
testsuite:
* gcc.dg/cpp/poison.c: Update.
* gcc.dg/cpp/
20000625-2.c: Remove.
* gcc.dg/cpp/direct2s.c: Remove final test.
From-SVN: r53333
Jason Merrill [Thu, 9 May 2002 15:47:50 +0000 (11:47 -0400)]
add PR note
From-SVN: r53332
Jan Hubicka [Thu, 9 May 2002 15:07:00 +0000 (15:07 +0000)]
final.c (end_final): Use C trees to output data structures for profiling.
* final.c (end_final): Use C trees to output data structures for profiling.
* Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
(profile.o): New dependency profile.h
(final.o): New dependency profile.h
* profile.h: New file. New global structure profile_info.
* final.h (count_edges_instrumented_now): Declare.
(current_function_cfg_checksum): Declare.
(function_list): New structure.
(functions_head, functions_tail): New static variables.
(end_final): Emits more data, removed some -ax stuff.
(final): Stores function names and chcksums.
* gcov-io.h (__write_gcov_string): New function.
(__read_gcov_string): New function.
* gcov.c (read_profile): New function.
(create_program_flow_graph): Uses read_profile instead of reading
da_file.
(read_files): Removed da_file checking, it's done by read_profile now.
* libgcc2.c (bb_function_info): New structure.
(bb): New field in structure, removed some -ax stuff.
(__bb_exit_func): Changed structure of da_file.
* profile.c (count_edges_instrumented_now): New global variable.
(current_function_cfg_checksum): New global variable.
(max_counter_in_program): New global variable.
(get_exec_counts): New function.
(compute_checksum): New function.
(instrument_edges): Sets count_edges_instrumented_now.
(compute_branch_probabilities): Uses get_exec_counts instead of
reading da_file.
(branch_prob): Calls compute_checksum and writes extra data to bbg_file.
(init_branch_prob): Removed da_file checking, done in get_exec_counts
now.
(end_branch_prob): Removed da_file checking, done in get_exec_counts
now.
* gcov.texi: Updated information about gcov file format.
From-SVN: r53330
Jan Hubicka [Thu, 9 May 2002 13:45:20 +0000 (15:45 +0200)]
i386.c (ia32_use_dfa_pipeline_interface): New function.
* i386.c (ia32_use_dfa_pipeline_interface): New function. Use
the DFA interface for Pentium processors.
(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
(attr_pent_pair, ix86_pent_find_pair): Remove.
(ix86_sched_reorder_pentium): Remove.
(ix86_sched_reorder): Remove reordering for Pentium.
* i386.md (Pentium scheduling): Rewrite using DFA description.
Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r53329
Jeff Law [Thu, 9 May 2002 13:33:58 +0000 (07:33 -0600)]
re PR rtl-optimization/3311 (GCC-SH: gcc loses result of AND operation due to force_to_mode bug)
Forgot to commit long long ago. See my message to gcc-patches from
Mar 28 :-) Testcase for PR 3311.
From-SVN: r53328
Jan Hubicka [Thu, 9 May 2002 12:56:47 +0000 (14:56 +0200)]
cfganal.c (can_fallthru): Fix fast path.
* cfganal.c (can_fallthru): Fix fast path.
* cfgrtl.c (verify_flow_info): Avoid crash on conditionals
with edges to the next block.
From-SVN: r53327
Jan Hubicka [Thu, 9 May 2002 12:54:19 +0000 (14:54 +0200)]
final.c (end_final): Use C trees to output data structures for profiling.
* final.c (end_final): Use C trees to output data structures for profiling.
* Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
(profile.o): New dependency profile.h
(final.o): New dependency profile.h
* profile.h: New file. New global structure profile_info.
* final.h (count_edges_instrumented_now): Declare.
(current_function_cfg_checksum): Declare.
(function_list): New structure.
(functions_head, functions_tail): New static variables.
(end_final): Emits more data, removed some -ax stuff.
(final): Stores function names and chcksums.
* gcov-io.h (__write_gcov_string): New function.
(__read_gcov_string): New function.
* gcov.c (read_profile): New function.
(create_program_flow_graph): Uses read_profile instead of reading
da_file.
(read_files): Removed da_file checking, it's done by read_profile now.
* libgcc2.c (bb_function_info): New structure.
(bb): New field in structure, removed some -ax stuff.
(__bb_exit_func): Changed structure of da_file.
* profile.c (count_edges_instrumented_now): New global variable.
(current_function_cfg_checksum): New global variable.
(max_counter_in_program): New global variable.
(get_exec_counts): New function.
(compute_checksum): New function.
(instrument_edges): Sets count_edges_instrumented_now.
(compute_branch_probabilities): Uses get_exec_counts instead of
reading da_file.
(branch_prob): Calls compute_checksum and writes extra data to bbg_file.
(init_branch_prob): Removed da_file checking, done in get_exec_counts
now.
(end_branch_prob): Removed da_file checking, done in get_exec_counts
now.
* gcov.texi: Updated information about gcov file format.
Co-Authored-By: Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
From-SVN: r53326
Kazu Hirata [Thu, 9 May 2002 12:02:29 +0000 (12:02 +0000)]
sbitmap.c: Fix formatting.
* sbitmap.c: Fix formatting.
* scan.c: Likewise.
* scan-decls.c: Likewise.
* sched-deps.c: Likewise.
* sched-ebb.c: Likewise.
* sched-rgn.c: Likewise.
* sched-vis.c: Likewise.
* sdbout.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa.c: Likewise.
* ssa-ccp.c: Likewise.
* ssa-dce.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* stringpool.c: Likewise.
From-SVN: r53324
David S. Miller [Thu, 9 May 2002 10:50:22 +0000 (03:50 -0700)]
sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
2002-05-09 David S. Miller <davem@redhat.com>
* config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
From-SVN: r53323
David S. Miller [Thu, 9 May 2002 10:38:44 +0000 (03:38 -0700)]
sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
2002-05-07 David S. Miller <davem@redhat.com>
* config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
* config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
* config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
library implementation clobbers the output before the inputs
are fully consumed, use stack temporary for the output.
From-SVN: r53322
Hassan Aurag [Thu, 9 May 2002 09:11:58 +0000 (09:11 +0000)]
expr.c (ffeexpr_reduced_ugly2log_): Allow logicals-as-integers under -fugly-logint as arguments of .and., .or., .xor.
2002-05-09 Hassan Aurag <aurag@cae.com>
* expr.c (ffeexpr_reduced_ugly2log_): Allow logicals-as-integers
under -fugly-logint as arguments of .and., .or., .xor.
From-SVN: r53321
GCC Administrator [Thu, 9 May 2002 07:16:43 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r53320
Mark Mitchell [Thu, 9 May 2002 05:49:55 +0000 (05:49 +0000)]
* gcc_release: Correct upload handling.
From-SVN: r53315
Jason Thorpe [Thu, 9 May 2002 03:53:58 +0000 (03:53 +0000)]
netbsd.h (CPP_SPEC): Remove.
* config/netbsd.h (CPP_SPEC): Remove.
* config/i386/netbsd-elf.h (CPP_SPEC): Define.
* config/i386/netbsd.h (CPP_SPEC): Define.
* config/ns32k/netbsd.h (CPP_SPEC): Define.
* config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
* config/sparc/netbsd.h (CPP_SPEC): Define.
* config/vax/netbsd.h (CPP_SPEC): Define.
From-SVN: r53314
Kazu Hirata [Thu, 9 May 2002 01:42:28 +0000 (01:42 +0000)]
read-rtl.c: Fix formatting.
* read-rtl.c: Fix formatting.
* real.c: Likewise.
* recog.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* reg-stack.c: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* resource.c: Likewise.
* rtlanal.c: Likewise.
* rtl.c: Likewise.
* rtl-error.c: Likewise.
From-SVN: r53313
John David Anglin [Wed, 8 May 2002 23:10:59 +0000 (23:10 +0000)]
pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
* pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
* pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
From-SVN: r53309
Bernd Schmidt [Wed, 8 May 2002 23:05:41 +0000 (23:05 +0000)]
Define __SSE2__ if -msse2 instead of __SSE2_BUILTINS__
From-SVN: r53308
Janis Johnson [Wed, 8 May 2002 22:37:21 +0000 (22:37 +0000)]
rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name, and use it in all invocations of these macros.
* rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
and use it in all invocations of these macros. Clean up comments.
* rtl.c (rtl_check_failed_flag): Add an argument for the name
of the flag access macro whose check failed.
* doc/rtl.texi (Flags): Document additional flag uses.
From-SVN: r53306
Tom Rix [Wed, 8 May 2002 21:22:06 +0000 (21:22 +0000)]
New tests for rotating.
From-SVN: r53305
Robert Spier [Wed, 8 May 2002 21:21:19 +0000 (21:21 +0000)]
re PR preprocessor/6521 (-MG creates dependency with wrong path)
PR preprocessor/6521
* cppfiles.c (handle_missing_header): Don't do anything
different for <> includes.
doc:
* cppopts.texi: Update documentation for -MG.
Co-Authored-By: Neil Booth <neil@daikokuya.demon.co.uk>
From-SVN: r53304
Neil Booth [Wed, 8 May 2002 21:02:31 +0000 (21:02 +0000)]
cpplex.c (cpp_interpret_charconst): Truncate as well as sign-extend.
* cpplex.c (cpp_interpret_charconst): Truncate as well as
sign-extend.
doc:
* cpp.texi: Clarify multichar charconst valuation.
testsuite:
* gcc.dg/cpp/charconst-4.c: More tests.
From-SVN: r53301
Mark Mitchell [Wed, 8 May 2002 20:26:35 +0000 (20:26 +0000)]
config.guess: Import 2002-03-20 version.
* config.guess: Import 2002-03-20 version.
* config.sub: Import 2002-04-26 version.
From-SVN: r53300
Mark Mitchell [Wed, 8 May 2002 19:33:47 +0000 (19:33 +0000)]
* doc/invoke.texi: Document -mwindiss option.
From-SVN: r53299
Mark Mitchell [Wed, 8 May 2002 19:24:42 +0000 (19:24 +0000)]
jcf-write.c (write_classfile): Write the file to a temporary file and then rename it.
* java/jcf-write.c (write_classfile): Write the file to a
temporary file and then rename it.
* libjava/Makefile.am (all_java_source_files): New variable.
(all_java_class_files): Likewise.
.java.class: New rule.
(CLEANFILES): Remove tmp-list.
* libjava/Makefile.in: Regenerated.
From-SVN: r53298
Rainer Orth [Wed, 8 May 2002 18:26:56 +0000 (18:26 +0000)]
* config-ml.in: Allow for PWDCMD to determine ML_POPDIR.
From-SVN: r53297
Mark Mitchell [Wed, 8 May 2002 18:26:06 +0000 (18:26 +0000)]
Adjust copyright dates
From-SVN: r53296
Jason Merrill [Wed, 8 May 2002 15:33:04 +0000 (11:33 -0400)]
re PR c++/6381 (Missing assembler label)
* dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
* dwarf2out.c (gen_type_die): Abort on broken recursion.
PR c++/6381
* dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
REAL_CST.
From-SVN: r53295
Nick Clifton [Wed, 8 May 2002 15:01:13 +0000 (15:01 +0000)]
Do not allow big-endian/little-endian multilibs to override arm/thumb multilibs.
Do not allow big-endian/little-endian multilibs to override arm/thumb
multilibs.
Do not build hardware floating point multilibs, nor apcs-26 multilibs for
the Thumb.
From-SVN: r53294
Mark Mitchell [Wed, 8 May 2002 14:37:55 +0000 (14:37 +0000)]
re PR target/6569 (sparc-sun-solaris2.7 C testsuite regression in compile/
20011119-2.c)
PR c/6569.
* varasm.c (mark_weak): New function.
(merge_weak): Use it. Do not call declare_weak.
(declare_weak): Use merge_weak.
PR c/6569
* gcc.dg/weak-3.c: Update location of warning messages.
* gcc.dg/weak-5.c: Likewise.
From-SVN: r53293
David Billinghurst [Wed, 8 May 2002 12:38:55 +0000 (12:38 +0000)]
libjava.exp (test_libjava_from_javac): Append .exe to executable names.
2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (test_libjava_from_javac):
Append .exe to executable names. Fix for cygwin.
From-SVN: r53291
Jan Hubicka [Wed, 8 May 2002 11:16:37 +0000 (11:16 +0000)]
Fix merge typos.
From-SVN: r53288
Jan Hubicka [Wed, 8 May 2002 11:13:54 +0000 (13:13 +0200)]
cse.c (dead_libcall_p): Update counts.
* cse.c (dead_libcall_p): Update counts.
(delete_trivially_dead_insns): Update call of dead_libcall_p.
From-SVN: r53287
Jan Hubicka [Wed, 8 May 2002 09:17:27 +0000 (09:17 +0000)]
cfglayout.c (function_tail_eff_head): Rename to ...
* cfglayout.c (function_tail_eff_head): Rename to ...
(function_footer): ... this one.
(unlink_insn_chain): New functions.
(label_for_bb): Only call block_label and emit debug message.
(record_effective_endpoints): Actually unlink the headers and footers.
(fixup_reorder_cahin): Re-insert the unlinked sequences.
(cfg_layout_duplicate_bb): Use duplicate_insn_chain.
* cfglayout.h (struct reorder_block_def): New fields footer/header;
remove eff_head/eff_end.
* rtl.h (set_first_insn): Declare.
* emit-rtl.c (set_first_insn): New function.
* cfglayout.c (fixup_reorder_chain): Dump duplicated
(cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
cfg_layout_duplicate_bb): New global function.
(duplicate_insn_chain): New static function.
* cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
cfg_layout_duplicate_bb): Declare.
(struct reorder_block_def): Add "original" field.
* emit-rtl.c (emit_copy_of_insn_after): New function.
* rtl.h (emit_copy_of_insn_after): Declare.
* cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
(fixup_reorder_chain): properly handle edges to exit block.
Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Jan Hubicka <jh@suse.cz>
* basic-block.h (note_prediction_to_br_prob): declare.
* c-semantics.c: Inlucde predit.h
(expand_stmt): predict GOTO_STMT as not taken.
* cfgcleanup.c: (delete_unreachable_blocks): Make global.
(cleanup_cfg): Do not free tail_recursion_list.
* cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
(flow_delete_block): Kill predictions past end of basic block.
* output.h (delete_unreachable_blocks): Declare.
* predict.c (predicted_by_p, process_note_predictions,
process_note_prediction, last_block_p): New function.
(estimate_probability): Bypass loop on PRED_CONTINUE;
do not handle noreturn heuristics; kill PRED_RETURN; add
PRED_EARLY_RETURN.
* predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
* predict.h (IS_TAKEN): New constant.
* print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
* rtl.c (NOTE_INSN_PREDICTION): New.
* rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
New macro.
(insn_note): add NOTE_INSN_PREDICTION.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
CFG; free tail_recursion_label_list.
* stmt.c: Include predict.h;
(return_prediction): New.
(expand_value_return): Use it.
* toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
From-SVN: r53285
Richard Sandiford [Wed, 8 May 2002 08:01:35 +0000 (08:01 +0000)]
mips.md: Name the unspecs with define_constant.
* config/mips/mips.md: Name the unspecs with define_constant.
(*HILO_delay): Rename to 'hilo_delay' (no star).
(reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
(reload_outdi, reload_outsi): Likewise.
From-SVN: r53284
GCC Administrator [Wed, 8 May 2002 07:17:04 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r53283
Tom Tromey [Wed, 8 May 2002 04:51:50 +0000 (04:51 +0000)]
* gjavah.c (throwable_p): Use xstrdup, not strdup.
From-SVN: r53279
Alexandre Oliva [Wed, 8 May 2002 04:38:00 +0000 (04:38 +0000)]
configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
From-SVN: r53278
Kazu Hirata [Wed, 8 May 2002 02:05:00 +0000 (02:05 +0000)]
* toplev.c: Fix formatting.
From-SVN: r53276
Tom Tromey [Wed, 8 May 2002 01:41:41 +0000 (01:41 +0000)]
re PR java/1200 (gcjh -jni doesn't respect class hierarchy)
Fix for PR java/1200:
* gjavah.c (throwable_p): New function.
(decode_signature_piece): Use it. A `WeakReference' isn't the
same as a `jweak'.
Include hashtab.h.
(gcjh_streq): New function.
From-SVN: r53275
David S. Miller [Wed, 8 May 2002 00:00:17 +0000 (17:00 -0700)]
Add forgotten changelog entry.
From-SVN: r53273
Janis Johnson [Tue, 7 May 2002 22:52:19 +0000 (22:52 +0000)]
config.in (ENABLE_RTL_FLAG_CHECKING): New.
* config.in (ENABLE_RTL_FLAG_CHECKING): New.
* configure.in (ac_rtlflag_checking): New.
* doc/install.texi (--enable-checking): Document RTL flag checking.
* configure: Regenerated.
From-SVN: r53272
Neil Booth [Tue, 7 May 2002 21:07:24 +0000 (21:07 +0000)]
c-common.c (c_common_init): Set options->unsigned_wchar.
* c-common.c (c_common_init): Set options->unsigned_wchar.
* cppinit.c (cpp_create_reader): Default unsigned_wchar,
group target dependencies.
(init_builtins, cpp_handle_option): Update.
* cpplex.c (cpp_interpret_charconst): Update.
* cpplib.h (struct cpp_options): Add unsigned_wchar, rename
signed_char to unsigned_char, group target dependencies.
* defaults.h (WCHAR_UNSIGNED): Remove.
* system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
config:
* freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
doc:
* tm.texi: Remove MAX_CHAR_TYPE_SIZE.
From-SVN: r53271
Mark Mitchell [Tue, 7 May 2002 20:43:10 +0000 (20:43 +0000)]
configure.in: Add support for WindISS.
* configure.in: Add support for WindISS.
* configure: Regenerated.
* configure.target: Add support for WindISS.
* config/os/windiss/bits/ctype_base.h: New file.
* config/os/windiss/bits/ctype_inline.h: Likewise.
* config/os/windiss/bits/ctype_noninline.h: Likewise.
* config/os/windiss/bits/os_defines.h: Likewise.
From-SVN: r53269
Mark Mitchell [Tue, 7 May 2002 20:26:01 +0000 (20:26 +0000)]
*** empty log message ***
From-SVN: r53268
Mark Mitchell [Tue, 7 May 2002 20:17:24 +0000 (20:17 +0000)]
inclhack.def (windiss_math1): New fix.
* fixinc/inclhack.def (windiss_math1): New fix.
(windiss_math2): Likewise.
(windiss_valist): Likewise.
* fixinc/fixincl.x: Regenerated.
From-SVN: r53267
Andreas Jaeger [Tue, 7 May 2002 19:07:46 +0000 (21:07 +0200)]
genautomata.c (output_internal_min_issue_delay_func): Add ATTRIBUTE_UNUSED to avoid warning with empty dfa.
* genautomata.c (output_internal_min_issue_delay_func): Add
ATTRIBUTE_UNUSED to avoid warning with empty dfa.
(output_internal_trans_func): Likewise.
From-SVN: r53266
Tom Tromey [Tue, 7 May 2002 19:07:07 +0000 (19:07 +0000)]
* java/lang/natString.cc (unintern): Fixed typo.
From-SVN: r53265
Mark Mitchell [Tue, 7 May 2002 18:50:53 +0000 (18:50 +0000)]
configure.in (AC_TYPE_PID_T): Use it.
* configure.in (AC_TYPE_PID_T): Use it.
* configure: Regenerated.
* getruntime.c: Include <sys/types.h>.
* waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
From-SVN: r53264
Andreas Jaeger [Tue, 7 May 2002 18:42:50 +0000 (20:42 +0200)]
* parse.y (finish_for_loop): Fix if statement.
From-SVN: r53263
Jeff Law [Tue, 7 May 2002 17:03:37 +0000 (11:03 -0600)]
pa.c (hppa_profile_hook): Use force_reg to get the address of the profile hook into an appropriate pseudo...
* pa.c (hppa_profile_hook): Use force_reg to get the address
of the profile hook into an appropriate pseudo register.
From-SVN: r53260
Jan Hubicka [Tue, 7 May 2002 16:29:02 +0000 (18:29 +0200)]
* target.h (FFETARGET_32bit_longs): Undefine for x86-64.
From-SVN: r53259
Mark Mitchell [Tue, 7 May 2002 14:42:29 +0000 (14:42 +0000)]
sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
* config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
(LINK_START_SPEC): Handle it.
(LINK_OS_SPEC): Likewise.
(CPP_SPEC): Likewise.
(STARTFILE_SPEC): Likewise.
(LIB_SPEC): Likewise.
(ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on
all platforms.
(CRTSAVRES_DEFAULT_SPEC): New macro.
(LIB_WINDISS_SPEC): New macro.
(CPP_OS_WINDISS_SPEC): Likewise.
(STARTFILE_WINDISS_SPEC): Likewise.
(ENDFILE_WINDISS_SPEC): Likewise.
(LINK_START_WINDISS_SPEC): Likewise.
(LINK_OS_WINDISS_SPEC): Likewise.
* config/rs6000/windiss.h: New file.
From-SVN: r53257
Aldy Hernandez [Tue, 7 May 2002 08:04:31 +0000 (08:04 +0000)]
rs6000.c (bdesc_2arg): Fix vmax typos.
2002-05-07 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
From-SVN: r53254
GCC Administrator [Tue, 7 May 2002 07:17:44 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r53253
Richard Henderson [Tue, 7 May 2002 05:44:26 +0000 (22:44 -0700)]
re PR c++/6212 (g++ testsuite EH regressions for irix6 -mabi=64)
PR c++/6212
* expr.c (highest_pow2_factor_for_type): New.
(expand_assignment): Use it.
From-SVN: r53249
Tom Tromey [Tue, 7 May 2002 03:32:01 +0000 (03:32 +0000)]
re PR java/5941 (incorrect "Unreachable statement" error)
Fix for PR java/5941:
* parse.y (finish_for_loop): Set SUPPRESS_UNREACHABLE_ERROR for
loop update expression.
(java_complete_lhs): Use SUPPRESS_UNREACHABLE_ERROR.
* java-tree.h (SUPPRESS_UNREACHABLE_ERROR): New macro.
From-SVN: r53247
Aldy Hernandez [Tue, 7 May 2002 02:48:06 +0000 (02:48 +0000)]
rs6000.md ("altivec_mtvscr"): Change to unspec_volatile.
2002-05-06 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
unspec_volatile.
("altivec_mfvscr"): Same.
From-SVN: r53246
Janis Johnson [Tue, 7 May 2002 00:18:48 +0000 (00:18 +0000)]
rtl.h (struct rtx_def): Update comments.
* rtl.h (struct rtx_def): Update comments.
(RTL_FLAG_CHECK[
12345678]): New. (rtl_check_failed_flag): Declare.
(RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use
RTL_FLAG_CHECK macros with list of expected RTL codes.
* rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
(rtl_check_failed_flag): New.
* reload1.c (reload): Use REG macro before changing rtx to MEM.
(reload_cse_noop_set_p): Check rtx code before using access macro.
* config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
before using access macro.
From-SVN: r53245
Janis Johnson [Mon, 6 May 2002 23:33:10 +0000 (23:33 +0000)]
* doc/rtl.texi (Flags): Update to reflect current usage.
From-SVN: r53242
Roger Sayle [Mon, 6 May 2002 22:59:38 +0000 (22:59 +0000)]
re PR rtl-optimization/3995 (i386 optimisation: joining tests)
PR opt/3995
* fold-const.c (sign_bit_p): New function.
(fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
(A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
Reapply fold when converting (A & C) == C into (A & C) != 0.
(fold_binary_op_with_conditional_arg): Fix typo in comment.
testsuite/
* gcc.c-torture/execute/
20020506-1.c: New test case.
From-SVN: r53241
Neil Booth [Mon, 6 May 2002 22:53:10 +0000 (22:53 +0000)]
c-common.c (warn_multichar): New.
* c-common.c (warn_multichar): New.
(c_common_init): Set CPP's warn_multichar.
* c-common.h (warn_multichar): New.
* c-decl.c (warn_multichar): Remove.
* c-lex.c (lex_charconst): Update.
* c-tree.h (warn_multichar): Remove.
* cppexp.c (eval_token): Sign-extend charconst value.
* cppinit.c (cpp_create_reader): Set warn_multichar.
* cpplex.c (cpp_interpret_charconst): Don't sign-extend
each character. Update prototype. Sign-extend the result.
* cpplib.h: Fix conditions.
(struct cpp_options): Add new warning flag.
(cpp_interpret_charconst): Update prototype.
cp:
* Make-lang.in (decl2.o): Update.
* cp-tree.h (warn_multichar): Remove.
* decl2.c: Include c-common.h.
(warn_multichar): Remove.
doc:
* cpp.texi: Update documentation.
testsuite:
* gcc.dg/cpp/charconst-3.c: Correct tests accordingly.
From-SVN: r53240
Tim Josling [Mon, 6 May 2002 21:57:48 +0000 (21:57 +0000)]
Added Tim Josling to MAINTAINERS file.
Added Tim Josling to MAINTAINERS file. Fixed various treelang copyrights. Fix
broken treelang build resulting from changes to c-common.c.
From-SVN: r53239
David S. Miller [Mon, 6 May 2002 21:31:56 +0000 (14:31 -0700)]
sparc.md (shift insns): Do not mask off second operand...
2002-05-06 David S. Miller <davem@redhat.com>
* config/sparc/sparc.md (shift insns): Do not mask off
second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
take care of it.
From-SVN: r53238
Loren J. Rittle [Mon, 6 May 2002 21:26:49 +0000 (21:26 +0000)]
ltmain.sh: Detect and handle object name conflicts while piecewise linking a static library.
* ltmain.sh: Detect and handle object name conflicts
while piecewise linking a static library.
From-SVN: r53237
Paolo Carlini [Mon, 6 May 2002 21:12:15 +0000 (23:12 +0200)]
Test all the facets for the temporary "C" locale switch issue.
2002-05-06 Paolo Carlini <pcarlini@unitus.it>
Test all the facets for the temporary "C" locale switch issue.
* testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
* testsuite/22_locale/collate_members_char.cc: Add test04.
* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
* testsuite/22_locale/ctype_members_char.cc: Add test05.
* testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
* testsuite/22_locale/messages_members_char.cc: Add test03.
* testsuite/22_locale/money_get_members_char.cc: Add test08.
* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/money_put_members_char.cc: Add test07.
* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/moneypunct_members_char.cc: Add test03.
* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_get_members_char.cc: Add test06.
* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/numpunct_members_char.cc: Add test03.
* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_get_members_char.cc: Add test08.
* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_put_members_char.cc: Add test04.
* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
From-SVN: r53236
Vladimir Makarov [Mon, 6 May 2002 20:14:32 +0000 (20:14 +0000)]
genautomata.c (form_the_same_automaton_unit_lists_from_regexp): Fix typo in usage of allof instead of unit.
2002-05-06 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
Fix typo in usage of allof instead of unit.
From-SVN: r53235
Richard Henderson [Mon, 6 May 2002 20:08:30 +0000 (13:08 -0700)]
recog.c (if_test_bypass_p): Accept multiple set insns for OUT, and any jump or call for IN.
* recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
and any jump or call for IN.
From-SVN: r53234
Bernd Schmidt [Mon, 6 May 2002 18:17:08 +0000 (18:17 +0000)]
Fix problems compiling xmmintrin.h with only -msse.
From-SVN: r53230
Roger Sayle [Mon, 6 May 2002 16:59:18 +0000 (16:59 +0000)]
fold-const.c (lshift-double): Cast the high word to an unsigned HOST_WIDE_INT when...
* fold-const.c (lshift-double): Cast the high word to an unsigned
HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
(div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
avoid compiler warning. (fold): Remove redundant code from
BIT_AND_EXPR as integer operands are canonicalized to be arg1.
From-SVN: r53228
Jeff Law [Mon, 6 May 2002 16:53:34 +0000 (10:53 -0600)]
pa-protos.h (hppa_fpstore_bypass_p): Declare.
* pa-protos.h (hppa_fpstore_bypass_p): Declare.
* pa.c (pa_adjust_cost): Remove all true dependency cost
adjustments. Also remove support for non-DFA scheduling.
* pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
to adjust true dependency costs. Update various comments.
(7100lc, 7200, 7300 scheduling): Simplify by combining the
FP ALU & MPY units into a single unit.
From-SVN: r53227
Catherine Moore [Mon, 6 May 2002 16:41:48 +0000 (16:41 +0000)]
(compute_register_save_size): Make sure
to count all of the registers that will be saved.
From-SVN: r53226
Jan Hubicka [Mon, 6 May 2002 16:07:03 +0000 (18:07 +0200)]
* i386.c (q_regs_operand): Use ANY_QI_REGS_P.
From-SVN: r53224
Kaveh R. Ghazi [Mon, 6 May 2002 14:03:57 +0000 (14:03 +0000)]
os_defines.h (_SGI_SOURCE, [...]): Ensure they are always defined.
* config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
__EXTENSIONS__): Ensure they are always defined.
From-SVN: r53216
Phil Edwards [Mon, 6 May 2002 11:43:56 +0000 (11:43 +0000)]
documentation.html: Fix broken link.
2002-05-06 Phil Edwards <pme@gcc.gnu.org>
* docs/html/documentation.html: Fix broken link.
From-SVN: r53211
David Billinghurst [Mon, 6 May 2002 11:37:34 +0000 (11:37 +0000)]
libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*.
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (libjava_arguments): Don't link
with -no-install on *-*-cygwin*.
From-SVN: r53210
Neil Booth [Mon, 6 May 2002 08:34:57 +0000 (08:34 +0000)]
* gcc.dg/cpp/charconst-3.c: Run, don't compile.
From-SVN: r53209
GCC Administrator [Mon, 6 May 2002 07:16:59 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r53208
David S. Miller [Mon, 6 May 2002 07:09:21 +0000 (00:09 -0700)]
sparc.c (emit_soft_tfmode_libcall): Do not allow result to overlap input operands in memory.
2002-05-06 David S. Miller <davem@redhat.com>
* config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
allow result to overlap input operands in memory.
From-SVN: r53204
Neil Booth [Sun, 5 May 2002 23:45:06 +0000 (23:45 +0000)]
cpp.texi: Update multichar charconst docs.
doc:
* cpp.texi: Update multichar charconst docs.
testsuite:
* gcc.dg/cpp/charconst-3.c: New test.
From-SVN: r53202
David Billinghurst [Sun, 5 May 2002 23:19:06 +0000 (23:19 +0000)]
libjava.exp (test_libjava_from_source): Add comment explaining last patch.
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (test_libjava_from_source):
Add comment explaining last patch.
From-SVN: r53201
Neil Booth [Sun, 5 May 2002 23:13:04 +0000 (23:13 +0000)]
cpplex.c (cpp_interpret_charconst): Sign-extend each character.
* cpplex.c (cpp_interpret_charconst): Sign-extend each
character. Don't ignore excess characters. Treat
multicharacter character constants as signed.
(cpp_parse_escape): Clarify diagnostic.
From-SVN: r53200
Jakub Jelinek [Sun, 5 May 2002 23:08:28 +0000 (01:08 +0200)]
sparc.md (ashlsi3): If shift count is const1_rtx, use add instead of shift.
2002-05-05 Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
use add instead of shift.
(ashldi3_sp64): Likewise.
(ashlsi3_const1, ashldi3_const1): Remove.
* config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
* config/sparc/sparc.c (const1_operand): New.
From-SVN: r53199
Jason Thorpe [Sun, 5 May 2002 22:23:40 +0000 (22:23 +0000)]
* config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
From-SVN: r53198
Jakub Jelinek [Sun, 5 May 2002 22:08:54 +0000 (00:08 +0200)]
re PR target/6561 (sparc-sun-solaris2.7 C testsuite failure w/-mcpu=ultrasparc in execute/950511-1.c)
PR target/6561
* config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
From-SVN: r53197
Richard Henderson [Sun, 5 May 2002 21:54:39 +0000 (14:54 -0700)]
alpha.c (alpha_adjust_cost): Remove everything but memory latency adjustments.
* config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
memory latency adjustments.
(alpha_variable_issue): Remove.
(alpha_use_dfa_pipeline_interface): New.
(alpha_multipass_dfa_lookahead): New.
* config/alpha/alpha.md: Remove define_function_unit scheduling;
include new dfa scheduling.
(attr type): Add none.
(blockage): Use it.
* config/alpha/ev4.md: New.
* config/alpha/ev5.md: New.
* config/alpha/ev6.md: New.
From-SVN: r53196
David S. Miller [Sun, 5 May 2002 21:51:04 +0000 (14:51 -0700)]
recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
2002-05-05 David S. Miller <davem@redhat.com>
* recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
From-SVN: r53195
Jason Merrill [Sun, 5 May 2002 21:46:51 +0000 (17:46 -0400)]
add PR id
From-SVN: r53194
Tim Josling [Sun, 5 May 2002 20:46:03 +0000 (20:46 +0000)]
Adding .csvignore.
From-SVN: r53192