gcc.git
22 years agobb-reorder.c (make_reorder_chain, [...]): Use FOR_EACH_BB macros to iterate over...
Zdenek Dvorak [Thu, 23 May 2002 19:23:51 +0000 (21:23 +0200)]
bb-reorder.c (make_reorder_chain, [...]): Use FOR_EACH_BB macros to iterate over basic block chain.

* bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
Use FOR_EACH_BB macros to iterate over basic block chain.
* cfg.c (clear_edges, clear_bb_flags, dump_flow_info,
alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges):
Likewise.
* cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add,
find_unreachable_blocks, create_edge_list, verify_edge_list,
remove_fake_edges, add_noreturn_fake_exit_edges,
flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute):
Likewise.
* cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
find_sub_basic_blocks): Likewise.
* cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks):
Likewise.
* cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps):
Likewise.
* cfgloop.c (flow_loops_cfg_dump, flow_loops_find):
Likewise.
* cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges,
commit_edge_insertions, commit_edge_insertions_watch_calls,
print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise.
* combine.c (combine_instructions, reg_dead_at_p): Likewise.
* conflict.c (conflict_graph_compute): Likewise.
* df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
df_modified_p, df_refs_unlink, df_dump): Likewise.
* dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise.
* final.c (compute_alignments): Likewise.
* flow.c (update_life_info, update_life_info_in_dirty_blocks,
delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data,
count_or_remove_death_notes): Likewise.
* gcse.c (oprs_unchanged_p, record_last_reg_set_info,
compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill,
classic_gcse, compute_transp, cprop, compute_pre_data,
compute_transpout, invalidate_nonnull_info,
delete_null_pointer_checks_1, delete_null_pointer_checks,
compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems,
compute_store_table, build_store_vectors, store_motion): Likewise.
* global.c (global_conflicts, mark_elimination): Likewise.
* graph.c (print_rtl_graph_with_bb): Likewise.
* haifa-sched.c (sched_init): Likewise.
* ifcvt.c (if_convert): Likewise.
* lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
compute_available, compute_nearerout, compute_rev_insert_delete,
optimize_mode_switching): Likewise.
* local-alloc.c (local_alloc, update_equiv_regs): Likewise.
* predict.c (estimate_probability, note_prediction_to_br_prob,
propagate_freq, counts_to_freqs, expensive_function_p,
estimate_bb_frequencies): Likewise.
* profile.c (instrument_edges, get_exec_counts,
compute_branch_probabilities, compute_checksum, branch_prob,
find_spanning_tree): Likewise.
* recog.c (split_all_insns, peephole2_optimize): Likewise.
* reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs):
Likewise.
* regclass.c (scan_one_insn, regclass): Likewise.
* regmove.c (mark_flags_life_zones, regmove_optimize,
record_stack_memrefs): Likewise.
* regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise.
* reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise.
* resource.c (find_basic_block): Likewise.
* sched-ebb.c (schedule_ebbs): Likewise.
* sched-rgn.c (is_cfg_nonregular, build_control_flow,
find_single_block_region, find_rgns, schedule_insns)
* sibcall.c (optimize_sibling_and_tail_recursive_call)
* ssa-ccp.c (optimize_unexecutable_edges,
ssa_ccp_df_delete_unreachable_insns): Likewise.
* ssa-dce.c (ssa_eliminate_dead_code): Likewise.
* ssa.c (find_evaluations, compute_dominance_frontiers_1,
rename_block, convert_to_ssa, compute_conservative_reg_partition,
compute_coalesced_reg_partition, rename_equivalent_regs,
convert_from_ssa): Likewise.
* config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue,
process_for_unwind_directive): Likewise.

* df.c (FOR_ALL_BBS): Removed.
* gcse.c (struct null_pointer_info): Type of current_block field
changed.
(struct reg_avail_info): Type of last_bb field changed.
* config/ia64/ia64.c (block_num): Removed.
(need_copy_state): Type changed.
(last_block): New.

From-SVN: r53804

22 years agocppinit.c (mark_named_operators): Split out from init_builtins.
Neil Booth [Thu, 23 May 2002 18:55:27 +0000 (18:55 +0000)]
cppinit.c (mark_named_operators): Split out from init_builtins.

* cppinit.c (mark_named_operators): Split out from init_builtins.
(cpp_finish_options): Call it from here instead.
testsuite:
* gcc.dg/cpp/named_ops.c: New test.

From-SVN: r53803

22 years agobuiltin-attrs.def: Update copyright years.
Jason Thorpe [Thu, 23 May 2002 18:32:12 +0000 (18:32 +0000)]
builtin-attrs.def: Update copyright years.

* builtin-attrs.def: Update copyright years.
(ATTR_NONNULL): New attribute identifier.
(ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New
attribute tree lists.
(DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the
format operand.
(ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use...
(DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg
attribute lists.  Chain the appropriate nonnull attribute.
* c-format.c (check_format_arg): Remove null format string
warning.
* testsuite/gcc.dg/format/null-1.c: New test.

From-SVN: r53801

22 years agoMakefile.in (ADAC): Define.
Rainer Orth [Thu, 23 May 2002 18:13:28 +0000 (18:13 +0000)]
Makefile.in (ADAC): Define.

* Makefile.in (ADAC): Define.
(SYSLIBS): Define.
(.SUFFIXES): Move before language makefile fragments.
(STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC.

ada:
* Make-lang.in (CP, ECHO): Copy from Makefile.in.
(X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
(ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
(ALL_ADA_CFLAGS): Likewise.
(ADA_INCLUDES): Likewise.
Adapt for new working dir.
(GNATBIND): Use Makefile.in version.
(.SUFFIXES): Copy from Makefile.in.
(ada-warn): Define.
(.adb.o, .ads.o): Copy from Makefile.in.
Added $(OUTPUT_OPTION).
(GNAT1_C_OBJS): Moved from Makefile.in.
Prefix with ada subdir.
(GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
(EXTRA_GNAT1_OBJS): Moved from Makefile.in.
Adapt for new working dir.
(EXTRA_GNATBIND_OBJS): Likewise.
(ADA_BACKEND): Moved from Makefile.in.
Renamed to avoid conflict with global BACKEND.
Use that one.
(TARGET_ADA_SRCS): Moved from Makefile.in.
(gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
Use ADA_BACKEND.
(gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
(ada_extra_files): Moved from Makefile.in.
Prefix with ada subdir.
(ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
(ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
(ada/nmake.ads): Likewise.
(update-sources): Moved from Makefile.in.
Prefix with ada subdir.
(ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
(ADA_TREE_H): Likewise.
(ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
(ada/memtrack.o): Likewise.
(ada/adadecode.o): Likewise.
Update dependencies.
(ada/adaint.o): New.
(ada/argv.o): Moved from Makefile.in.
Prefix with ada subdir.
Update dependencies.
(ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
(ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
(ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
Prefix with ada subdir.
(ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
(GNAT DEPENDENCIES): Regenerate.
* Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
toplevel Makefile.in.
(EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
(TARGET_ADA_SRCS): Removed.
(GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
(GNATBIND_OBJS): Likewise.
(ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
(BACKEND): Removed.
(../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
(TREE_H): Likewise.
(ada_extra_files): Likewise.
(b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
(treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
(update-sources): Likewise.
(sdefault.adb, stamp-sdefault, sdefault.o): Likewise
(ADA_TREE_H): Likewise.
(adadecoce.o): Likewise.
(cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
(GNAT DEPENDENCIES): Likewise.

From-SVN: r53800

22 years agovarasm.c (make_decl_rtl): Don't allow weak variables to be placed in common.
Mark Mitchell [Thu, 23 May 2002 18:11:04 +0000 (18:11 +0000)]
varasm.c (make_decl_rtl): Don't allow weak variables to be placed in common.

* varasm.c (make_decl_rtl): Don't allow weak variables to be
placed in common.

* gcc/testsuite/gcc.dg/weak-8.c: New test.

From-SVN: r53798

22 years agocfg.c (dump_flow_info): Print results of maybe_hot/probably_never_executed predicates.
Jan Hubicka [Thu, 23 May 2002 17:46:46 +0000 (19:46 +0200)]
cfg.c (dump_flow_info): Print results of maybe_hot/probably_never_executed predicates.

* cfg.c (dump_flow_info): Print results of
maybe_hot/probably_never_executed predicates.
* toplev.c (open_dump_file): Print function frequency.

From-SVN: r53796

22 years agocse.c (approx_reg_cost_1, [...]): Recode to not use regsets.
David S. Miller [Thu, 23 May 2002 16:37:58 +0000 (09:37 -0700)]
cse.c (approx_reg_cost_1, [...]): Recode to not use regsets.

2002-05-23  David S. Miller  <davem@redhat.com>

* cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use
regsets.

From-SVN: r53793

22 years agoconfigure.in (release_VERSION): Update to 3.1.1.
Benjamin Kosnik [Thu, 23 May 2002 16:08:46 +0000 (16:08 +0000)]
configure.in (release_VERSION): Update to 3.1.1.

2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (release_VERSION): Update to 3.1.1.
(libtool_VERSION): Update to 4:1:0.
* configure: Regenerate.

From-SVN: r53791

22 years agoc-common.c (warn_nonnull): Declare.
Jason Thorpe [Thu, 23 May 2002 15:48:05 +0000 (15:48 +0000)]
c-common.c (warn_nonnull): Declare.

* c-common.c (warn_nonnull): Declare.
(c_common_attribute_table): Add "nonnull" attribute.
(handle_nonnull_attribute, check_function_nonnull, nonnull_check_p,
check_nonnull_arg, get_nonnull_operand, check_function_arguments,
check_function_arguments_recurse): New functions.
* c-common.h (warn_nonnull): Declare extern.
(check_function_arguments, check_function_arguments_recurse): New
prototypes.
* c-decl.c (c_decode_option): Add -Wnonnull option.
* c-format.c (set_Wformat): Set warn_nonnull if enabling
format checking.
(format_check_context): New structure.
(check_format_info_recurse): Remove recursion and rename to...
(check_format_arg): ...this.  Update comment.
(check_format_info): Use check_function_arguments_recurse.
* c-typeck.c (build_function_call): Call check_function_arguments
instead of check_function_format.
* doc/extend.texi: Document "nonnull" attribute.
* doc/invoke.texi: Docuemnt -Wnonnull option.
* testsuite/gcc.dg/nonnull-1.c: New test.
* testsuite/gcc.dg/nonnull-2.c: New test.

From-SVN: r53790

22 years agobasic-block.h (CLEANUP_NO_INSN_DEL): Define it.
David S. Miller [Thu, 23 May 2002 15:22:05 +0000 (08:22 -0700)]
basic-block.h (CLEANUP_NO_INSN_DEL): Define it.

2002-05-23  David S. Miller  <davem@redhat.com>

* basic-block.h (CLEANUP_NO_INSN_DEL): Define it.
* cfgcleanup.c (cleanup_cfg): If it is set do not
attempt to delete trivially dead insns.
* except.c (finish_eh_generation): Pass it to cleanup_cfg.
* toplev.c (rest_of_compilation): Document non-trivial aspect
the RTL before optimize_save_area_alloca is run.

From-SVN: r53789

22 years agoc-lex.c (indent_level): Remove.
Neil Booth [Thu, 23 May 2002 12:05:38 +0000 (12:05 +0000)]
c-lex.c (indent_level): Remove.

* c-lex.c (indent_level): Remove.
(cb_file_change, c_lex): Remove indent level handling.
* c-lex.h (indent_level): Remove.
* input.h (struct file_stack): Remove indent_level.
* toplev.c (push_srcloc): Remove indent_level handling.
cp:
* spew.c (yyungetc, snarf_block): Remove indent_level handling.

From-SVN: r53786

22 years agoweak-2.c: Allow optional leading underscore in scan-assembler symbol name.
J"orn Rennecke [Thu, 23 May 2002 10:19:34 +0000 (10:19 +0000)]
weak-2.c: Allow optional leading underscore in scan-assembler symbol name.

* gcc.dg/weak-2.c: Allow optional leading underscore
in scan-assembler symbol name.
* gcc.dg/weak-3.c: Likewise.
* gcc.dg/weak-4.c: Likewise.
* gcc.dg/weak-5.c: Likewise.

From-SVN: r53785

22 years agore PR target/6753 (gcc 3.1 produces wrong code when optimizing for pentium4)
Jakub Jelinek [Thu, 23 May 2002 09:29:29 +0000 (11:29 +0200)]
re PR target/6753 (gcc 3.1 produces wrong code when optimizing for pentium4)

PR target/6753
* config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
of x in constraints for clarity.
(sse_mov?fcc split): abort if op2 == op3.
(sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
sse_movsfcc_const0_4): Add earlyclobber.
(sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
sse_movdfcc_const0_4): Likewise.  Use DFmode, not SFmode.
Use Y instead of x in constraints.

* gcc.dg/20020523-1.c: New test.

From-SVN: r53784

22 years agoextend.texi (C99 Thread-Local Edits): New subsection.
Richard Henderson [Thu, 23 May 2002 08:21:36 +0000 (01:21 -0700)]
extend.texi (C99 Thread-Local Edits): New subsection.

        * doc/extend.texi (C99 Thread-Local Edits): New subsection.
        (C++98 Thread-Local Edits): New subsection.

From-SVN: r53781

22 years agoi386.c, i386.h: Tidy comments and whitespace.
Richard Henderson [Thu, 23 May 2002 08:17:14 +0000 (01:17 -0700)]
i386.c, i386.h: Tidy comments and whitespace.

        * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace.
        (ix86_arch): Set type to enum processor_type.

From-SVN: r53779

22 years agoi386.md (movsi_1, [...]): Use LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.
Richard Henderson [Thu, 23 May 2002 08:16:13 +0000 (01:16 -0700)]
i386.md (movsi_1, [...]): Use LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.

        * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
        LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.

From-SVN: r53778

22 years agoconfigure.in: Fix as version test for binutils 2.12.1 releases (without dates).
Jakub Jelinek [Thu, 23 May 2002 08:11:50 +0000 (10:11 +0200)]
configure.in: Fix as version test for binutils 2.12.1 releases (without dates).

* configure.in: Fix as version test for binutils 2.12.1 releases
(without dates).
* configure: Rebuilt.

From-SVN: r53775

22 years agoi386.c (get_pic_label_name): New.
Richard Henderson [Thu, 23 May 2002 07:43:13 +0000 (00:43 -0700)]
i386.c (get_pic_label_name): New.

        * config/i386/i386.c (get_pic_label_name): New.
        (load_pic_register): Remove.
        (output_set_got): New.
        (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD.
        * config/i386/i386.md (UNSPEC_SET_GOT): New.
        (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove.
        (prologue_set_got, prologue_get_pc): Remove.
        (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New.
        (builtin_setjmp_receiver): Use gen_set_got.
        * config/i386/i386-protos.h: Update.

From-SVN: r53773

22 years ago* gcse.c (hash_expr): Do not use alias set for hashing.
Jan Hubicka [Thu, 23 May 2002 07:29:30 +0000 (09:29 +0200)]
* gcse.c (hash_expr): Do not use alias set for hashing.

From-SVN: r53772

22 years agoDaily bump.
GCC Administrator [Thu, 23 May 2002 07:18:39 +0000 (07:18 +0000)]
Daily bump.

From-SVN: r53771

22 years agodbxout.c (dbxout_class_name_qualifiers): New function.
Kevin Buettner [Thu, 23 May 2002 06:50:32 +0000 (06:50 +0000)]
dbxout.c (dbxout_class_name_qualifiers): New function.

        * dbxout.c (dbxout_class_name_qualifiers): New function.
        (dbxout_symbol): Output class/struct qualifiers for a .stabs entry.

From-SVN: r53766

22 years agocpperror.c (_cpp_begin_message): No special casing of CPP_FATAL_LIMIT.
Neil Booth [Thu, 23 May 2002 06:07:45 +0000 (06:07 +0000)]
cpperror.c (_cpp_begin_message): No special casing of CPP_FATAL_LIMIT.

* cpperror.c (_cpp_begin_message): No special casing
of CPP_FATAL_LIMIT.
* cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
(output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
* cpplib.c (do_include_common): Use DL_ERROR.
* cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
(DL_ICE): Renumber.
* fix-header.c (read_scan_file): Update.

From-SVN: r53765

22 years agoconst-str-2.m: Update now that we stop after a command line error.
Neil Booth [Thu, 23 May 2002 05:55:38 +0000 (05:55 +0000)]
const-str-2.m: Update now that we stop after a command line error.

testsuite:
* objc.dg/const-str-2.m: Update now that we stop after
a command line error.

From-SVN: r53764

22 years agoi386.c (ix86_expand_call): New function, extracted from md call patterns.
Richard Henderson [Thu, 23 May 2002 05:20:25 +0000 (22:20 -0700)]
i386.c (ix86_expand_call): New function, extracted from md call patterns.

        * config/i386/i386.c (ix86_expand_call): New function, extracted
        from md call patterns.  Add pic_offset_table_rtx to
        CALL_INSN_FUNCTION_USAGE when needed.
        * config/i386/i386.md (call_pop, call): Use ix86_expand_call.
        (call_value_pop, call_value, untyped_call): Likewise.
        (call_exp, call_value_exp): Remove.
        * config/i386/i386-protos.h: Update.

From-SVN: r53763

22 years ago* g++.dg/dg.exp: Fix typo in test pruneing.
Richard Henderson [Thu, 23 May 2002 05:14:20 +0000 (22:14 -0700)]
* g++.dg/dg.exp: Fix typo in test pruneing.

From-SVN: r53762

22 years agovarasm.c (default_section_type_flags): Check for VAR_DECL before using DECL_THREAD_LOCAL.
Richard Henderson [Thu, 23 May 2002 05:14:02 +0000 (22:14 -0700)]
varasm.c (default_section_type_flags): Check for VAR_DECL before using DECL_THREAD_LOCAL.

        * varasm.c (default_section_type_flags): Check for VAR_DECL
        before using DECL_THREAD_LOCAL.

        * decl.c (obscure_complex_init): Check for VAR_DECL
        before using DECL_THREAD_LOCAL.

From-SVN: r53761

22 years agoMakefile.am (all-recursive): Depend on $all_java_class_files so that they build first.
Bryce McKinlay [Thu, 23 May 2002 04:18:35 +0000 (04:18 +0000)]
Makefile.am (all-recursive): Depend on $all_java_class_files so that they build first.

* Makefile.am (all-recursive): Depend on $all_java_class_files so that
they build first.
* Makefile.in: Rebuilt.

From-SVN: r53760

22 years agore PR java/6729 (Compiler error causing break of java.lang.Character.isWhitespace)
Bryce McKinlay [Thu, 23 May 2002 03:32:05 +0000 (03:32 +0000)]
re PR java/6729 (Compiler error causing break of java.lang.Character.isWhitespace)

* libjava.lang/PR6729.java: New file.
* libjava.lang/PR6729.out: New file.

From-SVN: r53759

22 years agoTest case for PR 6729.
Bryce McKinlay [Thu, 23 May 2002 03:30:13 +0000 (03:30 +0000)]
Test case for PR 6729.

From-SVN: r53758

22 years agoaix43.h (LINK_SPEC): Add PE initializer.
David Edelsohn [Thu, 23 May 2002 02:26:47 +0000 (02:26 +0000)]
aix43.h (LINK_SPEC): Add PE initializer.

        * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
        (STARTFILE_SPEC): Delete PE crt0.o.
        * config/rs6000/aix51.h: Same.
        * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
        * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
        function descriptor symbol.  Use RS6000_OUTPUT_BASENAME.
        (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
        * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.

From-SVN: r53756

22 years agomore README clarifications
Bruce Korb [Thu, 23 May 2002 01:44:15 +0000 (01:44 +0000)]
more README clarifications

From-SVN: r53755

22 years agodecl.c (check_tag_decl): Handle RID_THREAD.
Richard Henderson [Wed, 22 May 2002 23:42:57 +0000 (16:42 -0700)]
decl.c (check_tag_decl): Handle RID_THREAD.

        * decl.c (check_tag_decl): Handle RID_THREAD.
        (obscure_complex_init): Reject run-time init of tls.
        (grokvardecl, grokdeclarator): Handle RID_THREAD.
        * lex.c (reswords): Add __thread.
        (rid_to_yy): Map RID_THREAD to SCSPEC.

        * g++.dg/dg.exp: Prune the tls subdirectory.
        * g++.dg/tls/tls.exp, g++.dg/tls/trivial.C: New.
        * g++.dg/tls/diag-1.C, g++.dg/tls/diag-2.C: New.
        * g++.dg/tls/init-1.C: New.

From-SVN: r53754

22 years agovarasm.c (default_section_type_flags): Handle tls data and default sections.
Richard Henderson [Wed, 22 May 2002 23:31:48 +0000 (16:31 -0700)]
varasm.c (default_section_type_flags): Handle tls data and default sections.

        * varasm.c (default_section_type_flags): Handle tls data and
        default sections.
        (default_unique_section): Handle tls sections.

From-SVN: r53753

22 years agoconfigure.in (CROSS): Define NATIVE_CROSS.
Alan Modra [Wed, 22 May 2002 22:09:18 +0000 (22:09 +0000)]
configure.in (CROSS): Define NATIVE_CROSS.

* configure.in (CROSS): Define NATIVE_CROSS.
* configure: Regenerate.
* gcc.c (STARTFILE_PREFIX_SPEC): Define.
(startfile_prefix_spec): New var.
(static_specs): Add startfile_prefix_spec.
(do_spec_2): Split out from..
(do_spec): ..here.
(main): Process startfile_prefix_spec.
* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
dynamic linker.
(STARTFILE_PREFIX_SPEC): Define.
(STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
        absolute paths.

From-SVN: r53752

22 years agocpperror.c: Fix formatting.
Kazu Hirata [Wed, 22 May 2002 22:02:16 +0000 (22:02 +0000)]
cpperror.c: Fix formatting.

* cpperror.c: Fix formatting.
* cppexp.c: Likewise.
* cppfiles.c: Likewise.
* cpphash.c: Likewise.
* cpphash.h: Likewise.
* cppinit.c: Likewise.
* cpplex.c: Likewise.
* cpplib.c: Likewise.
* cppmacro.c: Likewise.
* cppmain.c: Likewise.
* cppspec.c: Likewise.

From-SVN: r53751

22 years agocombine.c (force_to_mode): Use gen_int_mode.
Jakub Jelinek [Wed, 22 May 2002 21:35:56 +0000 (23:35 +0200)]
combine.c (force_to_mode): Use gen_int_mode.

* combine.c (force_to_mode): Use gen_int_mode.
Don't clear CONST_INT bits outside of mode.

* gcc.dg/20020517-1.c: New test.

From-SVN: r53750

22 years agoinclhack.def (thread_keyword): Match __thread as last arg.
Richard Henderson [Wed, 22 May 2002 21:29:38 +0000 (14:29 -0700)]
inclhack.def (thread_keyword): Match __thread as last arg.

        * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
        * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.

From-SVN: r53749

22 years agore PR c/6643 (gcc fails in tree check for assignment to variable sized array)
Jakub Jelinek [Wed, 22 May 2002 21:06:16 +0000 (23:06 +0200)]
re PR c/6643 (gcc fails in tree check for assignment to variable sized array)

PR c/6643
* emit-rtl.c (widen_memory_access): Only call compare_tree_int
if DECL_SIZE_UNIT is INTEGER_CST.

From-SVN: r53748

22 years agoconfigure.in: Fix typo in the code checking for sys_errlist.
Roman Lechtchinsky [Wed, 22 May 2002 20:57:15 +0000 (20:57 +0000)]
configure.in: Fix typo in the code checking for sys_errlist.

* configure.in: Fix typo in the code checking for sys_errlist.
* configure: Regenerated.

From-SVN: r53747

22 years ago* flow.c (life_analysis): Delete broken reg_label check.
Richard Henderson [Wed, 22 May 2002 20:30:31 +0000 (13:30 -0700)]
* flow.c (life_analysis): Delete broken reg_label check.

From-SVN: r53746

22 years agoinclhack.def (thread_keyword): Allow as any prototype arg.
Richard Henderson [Wed, 22 May 2002 20:02:16 +0000 (13:02 -0700)]
inclhack.def (thread_keyword): Allow as any prototype arg.

        * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
        * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.

From-SVN: r53745

22 years agoconfig.guess: Update to 2002-05-22 version.
Jason Thorpe [Wed, 22 May 2002 18:44:13 +0000 (18:44 +0000)]
config.guess: Update to 2002-05-22 version.

* config.guess: Update to 2002-05-22 version.
* config.sub: Likewise.

From-SVN: r53742

22 years ago* t-sh64 (LIB2FUNCS_EXTRA): Don't change.
J"orn Rennecke [Wed, 22 May 2002 17:49:45 +0000 (17:49 +0000)]
* t-sh64 (LIB2FUNCS_EXTRA): Don't change.

From-SVN: r53741

22 years ago* c-common.c (cb_register_builtins): Don't indent '#' of #define.
J"orn Rennecke [Wed, 22 May 2002 17:39:18 +0000 (17:39 +0000)]
* c-common.c (cb_register_builtins): Don't indent '#' of #define.

From-SVN: r53740

22 years agoFix a typo.
Jakub Jelinek [Wed, 22 May 2002 16:42:52 +0000 (18:42 +0200)]
Fix a typo.

From-SVN: r53739

22 years agot-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
J"orn Rennecke [Wed, 22 May 2002 16:24:44 +0000 (16:24 +0000)]
t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.

* t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
(embed-bb.c): New rule.
* config/sh/embed_bb.c: Delete.

From-SVN: r53737

22 years agoadd initial newline
Jason Merrill [Wed, 22 May 2002 16:00:34 +0000 (12:00 -0400)]
add initial newline

From-SVN: r53736

22 years ago* config/h8300/h8300.md (*andorqi3): New.
Kazu Hirata [Wed, 22 May 2002 11:21:31 +0000 (11:21 +0000)]
* config/h8300/h8300.md (*andorqi3): New.

From-SVN: r53732

22 years agoDaily bump.
GCC Administrator [Wed, 22 May 2002 07:19:32 +0000 (07:19 +0000)]
Daily bump.

From-SVN: r53730

22 years agore PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")
Neil Booth [Wed, 22 May 2002 05:40:22 +0000 (05:40 +0000)]
re PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")

PR preprocessor/6517
* Makefile.in: Update.
* c-common.c (c_common_post_options): Add preprocessor
errors to the error count.
* c-lang.c (c_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* hooks.h: Add header guards.
* langhooks-def.h: Include hooks.h.
(LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options.
* toplev.c (parse_options_and_default_flags): Update.
cp:
* cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* cp-tree.h (cxx_post_options): Kill.
* cp-lex.c (cxx_post_options): Kill.
objc:
* objc-lang.c (objc_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.

From-SVN: r53724

22 years agoregen: Use c_fix = format instead of sed
Bruce Korb [Wed, 22 May 2002 03:04:28 +0000 (03:04 +0000)]
regen:  Use c_fix = format instead of sed

From-SVN: r53722

22 years agoUse c_fix = format instead of sed
Bruce Korb [Wed, 22 May 2002 02:59:19 +0000 (02:59 +0000)]
Use c_fix = format instead of sed

From-SVN: r53721

22 years agoadd fix check
Bruce Korb [Wed, 22 May 2002 02:55:06 +0000 (02:55 +0000)]
add fix check

From-SVN: r53720

22 years agodescribe how to fix up the results after adding/changing an inclhack.
Bruce Korb [Wed, 22 May 2002 02:38:27 +0000 (02:38 +0000)]
describe how to fix up the results after adding/changing an inclhack.

From-SVN: r53719

22 years agooptabs.c (expand_binop): For double-word integer multiplies...
Jeff Law [Wed, 22 May 2002 01:54:40 +0000 (19:54 -0600)]
optabs.c (expand_binop): For double-word integer multiplies...

       * optabs.c (expand_binop): For double-word integer multiplies,
        do not compute intermediate results into something that is
        not a register (such as a SUBREG or MEM).

From-SVN: r53718

22 years agocfgbuild.c: Fix formatting.
Kazu Hirata [Wed, 22 May 2002 01:27:34 +0000 (01:27 +0000)]
cfgbuild.c: Fix formatting.

* cfgbuild.c: Fix formatting.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfglayout.c: Likewise.
* cfgloop.c: Likewise.
* cfgrtl.c: Likewise.

From-SVN: r53717

22 years agotls.exp, [...]: New directory and files.
Richard Henderson [Wed, 22 May 2002 01:12:13 +0000 (18:12 -0700)]
tls.exp, [...]: New directory and files.

        * gcc.dg/tls/tls.exp, gcc.dg/tls/trivial.c, gcc.dg/tls/diag-1.c,
        gcc.dg/tls/diag-2.c, gcc.dg/tls/init-1.c: New directory and files.

From-SVN: r53716

22 years agoc-common.h (enum rid): Add RID_THREAD.
Richard Henderson [Wed, 22 May 2002 01:11:29 +0000 (18:11 -0700)]
c-common.h (enum rid): Add RID_THREAD.

        * c-common.h (enum rid): Add RID_THREAD.
        * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
        (grokdeclarator): Grok __thread.
        * c-parse.in (reswords): Add __thread.
        (rid_to_yy): Add RID_THREAD.
        * cp/lex.c (rid_to_yy): Add RID_THREAD.

        * tree.h (DECL_THREAD_LOCAL): New.
        (struct tree_decl): Add thread_local_flag.
        * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
        * tree.c (staticp): TLS variables are not static.

        * target-def.h (TARGET_HAVE_TLS): New.
        * target.h (have_tls): New.
        * output.h (SECTION_TLS): New.
        * varasm.c (assemble_variable): TLS variables can't be common for now.
        (default_section_type_flags): Handle .tdata and .tbss.
        (default_elf_asm_named_section): Handle SECTION_TLS.
        (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.

        * flags.h (flag_tls_default): Declare.
        * toplev.c (flag_tls_default): Define.
        (display_help): Display help for it.
        (decode_f_option): Set it.

        * doc/extend.texi (Thread-Local): New node describing language-level
        thread-local storage.
        * doc/invoke.texi (-ftls-model): Document.

        * fixinc/inclhack.def (thread_keyword): New.
        * fixinc/fixincl.x: Rebuild.

From-SVN: r53715

22 years agoMore verbose changelog entry.
Zdenek Dvorak [Wed, 22 May 2002 00:10:33 +0000 (00:10 +0000)]
More verbose changelog entry.

From-SVN: r53714

22 years agoi386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
Jeff Law [Tue, 21 May 2002 23:51:59 +0000 (17:51 -0600)]
i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.

        * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
        (ix86_sched_reorder): Make sure to initialize scheduling
        data even when there's only one insn in the ready queue.

From-SVN: r53713

22 years agogenautomata.c (reserv_sets_hash_value): Fix a typo.
Vladimir Makarov [Tue, 21 May 2002 23:27:04 +0000 (23:27 +0000)]
genautomata.c (reserv_sets_hash_value): Fix a typo.

2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (reserv_sets_hash_value): Fix a typo.

From-SVN: r53710

22 years agogenautomata.c (reserv_sets_hash_value): Define hash_value as set_el_t.
Vladimir Makarov [Tue, 21 May 2002 23:11:57 +0000 (23:11 +0000)]
genautomata.c (reserv_sets_hash_value): Define hash_value as set_el_t.

2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (reserv_sets_hash_value): Define hash_value as
set_el_t.  Transform the hash value into unsigned.
(output_cycle_reservs): Fix bug with output of repeated `nothing'.
(transform_3): Add code to process `(A,B)+(D,E)'.

From-SVN: r53709

22 years agoreload1.c (do_output_reload): Run delete_output_reload only if optimizing.
NIIBE Yutaka [Tue, 21 May 2002 22:40:53 +0000 (22:40 +0000)]
reload1.c (do_output_reload): Run delete_output_reload only if optimizing.

        * reload1.c (do_output_reload): Run delete_output_reload
        only if optimizing.

From-SVN: r53707

22 years agore PR middle-end/6600 (i960 toolchain hits abort in c_readstr)
Roger Sayle [Tue, 21 May 2002 22:38:00 +0000 (22:38 +0000)]
re PR middle-end/6600 (i960 toolchain hits abort in c_readstr)

PR middle-end/6600
* expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
larger than INTEGER_CST.  (store_by_pieces_1): Use it here...
(can_store_by_pieces): ... and here to limit the largest mode used.
Add a comment to document this function.

From-SVN: r53706

22 years ago* flow.c (life_analysis): Fix test for deleted label.
Richard Henderson [Tue, 21 May 2002 22:35:04 +0000 (15:35 -0700)]
* flow.c (life_analysis): Fix test for deleted label.

From-SVN: r53705

22 years ago* doc/tm.texi: Fix typo.
Neil Booth [Tue, 21 May 2002 22:26:18 +0000 (22:26 +0000)]
* doc/tm.texi: Fix typo.

From-SVN: r53704

22 years agoc-common.c (c_common_init): Set options->unsigned_char from flag_signed_char.
Zack Weinberg [Tue, 21 May 2002 21:55:37 +0000 (21:55 +0000)]
c-common.c (c_common_init): Set options->unsigned_char from flag_signed_char.

* c-common.c (c_common_init): Set options->unsigned_char from
flag_signed_char.
(cb_register_builtins): Define __STRICT_ANSI__ and
__CHAR_UNSIGNED__ here...
* cppinit.c (init_builtins): Not here.
(cpp_create_reader): unsigned_char option defaults to 0, not
!DEFAULT_SIGNED_CHAR.
(COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
and -funsigned-char.

* cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
* cpphash.c (_cpp_init_hashtable): Don't set it.
* cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
directly.  Clarify comment.

From-SVN: r53703

22 years agostl_pair.h: Tweak comment markup.
Phil Edwards [Tue, 21 May 2002 21:09:11 +0000 (21:09 +0000)]
stl_pair.h: Tweak comment markup.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_pair.h:  Tweak comment markup.

From-SVN: r53700

22 years agostdio_filebuf.h: Add header guards.
Phil Edwards [Tue, 21 May 2002 20:53:36 +0000 (20:53 +0000)]
stdio_filebuf.h: Add header guards.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.

From-SVN: r53699

22 years agouser.cfg.in (EXCLUDE): Add 'CVS'.
Phil Edwards [Tue, 21 May 2002 20:45:00 +0000 (20:45 +0000)]
user.cfg.in (EXCLUDE): Add 'CVS'.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.

From-SVN: r53698

22 years agoChangelog entry for my commit.
Zdenek Dvorak [Tue, 21 May 2002 20:41:32 +0000 (20:41 +0000)]
Changelog entry for my commit.

From-SVN: r53697

22 years agostl_vector.h: Reformat to follow C++STYLE.
Phil Edwards [Tue, 21 May 2002 20:41:06 +0000 (20:41 +0000)]
stl_vector.h: Reformat to follow C++STYLE.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_vector.h:  Reformat to follow C++STYLE.
Doxygenate all public members.  Reorder to follow 14882.
(vector::push_back(void)):  Remove previously-deprecated fn.
(vector::insert(iterator), vector::_M_insert_aux(iterator)):
Deprecate for removal in 3.3.

From-SVN: r53696

22 years agobb-reorder.c (make_reorder_chain_1): Modified.
Zdenek Dvorak [Tue, 21 May 2002 20:37:43 +0000 (20:37 +0000)]
bb-reorder.c (make_reorder_chain_1): Modified.

* bb-reorder.c (make_reorder_chain_1): Modified.
* cfganal.c (can_fallthru, flow_call_edges_add,
flow_preorder_transversal_compute): Modified.
* cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
find_sub_basic_blocks): Modified.
* cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Modified.
* cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Modified.
* cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Modified.
* combine.c (this_basic_block): Type changed to basic_block.
(combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
nonzero_bits, num_sign_bit_copies, get_last_value_validate,
get_last_value, distribute_notes, distribute_links): Modified.
* final.c (compute_alignments): Modified.
* flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Modified.
* function.c (thread_prologue_and_epilogue_insns): Modified.
* gcse.c (compute_code_hoist_vbeinout): Modified.
* global.c (build_insn_chain): Modified.
* ifcvt.c (find_if_block, find_cond_trap): Modified.
* predict.c (last_basic_block_p, note_prediction_to_br_prob): Modified.
* regmove.c (regmove_optimize): Modified.
* resource.c (find_basic_block): Modified.
* sched-ebb.c (schedule_ebbs): Modified.
* ssa-dce.c (find_control_dependence, find_pdom): Modified.

From-SVN: r53695

22 years ago* cppinit.c (sanity_checks): Avoid printf mismatch warnings.
Andreas Jaeger [Tue, 21 May 2002 20:09:00 +0000 (22:09 +0200)]
* cppinit.c (sanity_checks): Avoid printf mismatch warnings.

From-SVN: r53694

22 years agoreg-stack.c (swap_rtx_condition, [...]): Use unspec names, not numbers.
Richard Henderson [Tue, 21 May 2002 19:57:39 +0000 (12:57 -0700)]
reg-stack.c (swap_rtx_condition, [...]): Use unspec names, not numbers.

        * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
        unspec names, not numbers.

From-SVN: r53693

22 years ago* g++.dg/other/copy2.C: New test.
Brian R. Gaeke [Tue, 21 May 2002 17:26:50 +0000 (17:26 +0000)]
* g++.dg/other/copy2.C: New test.

From-SVN: r53692

22 years agoinit.c (build_vec_init): Test for trivial copy-assignment when copy-assigning arrays.
Alexandre Oliva [Tue, 21 May 2002 17:26:18 +0000 (17:26 +0000)]
init.c (build_vec_init): Test for trivial copy-assignment when copy-assigning arrays.

* init.c (build_vec_init): Test for trivial copy-assignment when
copy-assigning arrays.

From-SVN: r53691

22 years agosourcebuild.texi: Mention snapshot-README and snapshot-index.html as needing updating...
Joseph Myers [Tue, 21 May 2002 16:51:05 +0000 (17:51 +0100)]
sourcebuild.texi: Mention snapshot-README and snapshot-index.html as needing updating for new...

* doc/sourcebuild.texi: Mention snapshot-README and
snapshot-index.html as needing updating for new front ends.

From-SVN: r53690

22 years ago* gcc_release: Do upload files when local.
Joseph Myers [Tue, 21 May 2002 16:36:11 +0000 (17:36 +0100)]
* gcc_release: Do upload files when local.

From-SVN: r53689

22 years ago* snapshot-README, snapshot-index.html: Remove chill.
Joseph Myers [Tue, 21 May 2002 16:34:01 +0000 (17:34 +0100)]
* snapshot-README, snapshot-index.html: Remove chill.

From-SVN: r53688

22 years agortl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when disabling checking, and...
Kaveh R. Ghazi [Tue, 21 May 2002 15:39:31 +0000 (15:39 +0000)]
rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when disabling checking, and avoid multiple evaluation of RTX.

* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
disabling checking, and avoid multiple evaluation of RTX.

From-SVN: r53687

22 years agobitmap.c (bitmap_find_bit): Return early if we have the correct element cached.
Richard Earnshaw [Tue, 21 May 2002 14:46:01 +0000 (14:46 +0000)]
bitmap.c (bitmap_find_bit): Return early if we have the correct element cached.

* bitmap.c (bitmap_find_bit): Return early if we have the correct
element cached.

From-SVN: r53686

22 years agoprofile.c (gen_edge_profiler): Set alias set before the memory is used.
Jan Hubicka [Tue, 21 May 2002 08:54:21 +0000 (10:54 +0200)]
profile.c (gen_edge_profiler): Set alias set before the memory is used.

* profile.c (gen_edge_profiler):  Set alias set before the memory is
used.

From-SVN: r53685

22 years agocselib.c (max_value_regs): New.
David S. Miller [Tue, 21 May 2002 07:55:22 +0000 (00:55 -0700)]
cselib.c (max_value_regs): New.

2002-05-20  David S. Miller  <davem@redhat.com>

* cselib.c (max_value_regs): New.
(cselib_lookup, cselib_invalidate_regno): Initialize it when
adding new entries to the REG_VALUES table and we are dealing with
a hard register.
(clear_table): Initialize it.
(cselib_invalidate_regno): Use it to determine which hard
registers to scan when mode is not VOIDmode.

From-SVN: r53684

22 years agoDaily bump.
GCC Administrator [Tue, 21 May 2002 07:21:41 +0000 (07:21 +0000)]
Daily bump.

From-SVN: r53683

22 years agotradcpp.c (fixup_newlines): Use old-style function header.
Duraid Madina [Tue, 21 May 2002 06:36:40 +0000 (06:36 +0000)]
tradcpp.c (fixup_newlines): Use old-style function header.

2002-05-20  Duraid Madina   <duraid@fl.net.au>

* tradcpp.c (fixup_newlines): Use old-style function header.

From-SVN: r53677

22 years ago* reload1.c (reload_cse_simplify): Fix typo in rtx code check.
Krister Walfridsson [Tue, 21 May 2002 00:18:23 +0000 (02:18 +0200)]
* reload1.c (reload_cse_simplify): Fix typo in rtx code check.

From-SVN: r53675

22 years agoBase on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
H.J. Lu [Mon, 20 May 2002 22:43:31 +0000 (22:43 +0000)]
Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:

2002-05-20  H.J. Lu  (hjl@gnu.org)

Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:

* config/mips/mips.h (DFMODE_NAN): Defined.
(SFMODE_NAN): Likewise.

From-SVN: r53674

22 years agoBack out my previous patch; causes bootstrap problem for Ada (86 Linux)
Dale Johannesen [Mon, 20 May 2002 18:20:45 +0000 (18:20 +0000)]
Back out my previous patch; causes bootstrap problem for Ada (86 Linux)

From-SVN: r53671

22 years agoparams.c: Fix formatting.
Kazu Hirata [Mon, 20 May 2002 18:06:55 +0000 (18:06 +0000)]
params.c: Fix formatting.

* params.c: Fix formatting.
* params.h: Likewise.
* predict.c: Likewise.
* prefix.c: Likewise.
* print-rtl.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.

From-SVN: r53670

22 years agoindex.html (5.4): Recommend against -I options for finding the ext headers.
Phil Edwards [Mon, 20 May 2002 17:55:14 +0000 (17:55 +0000)]
index.html (5.4): Recommend against -I options for finding the ext headers.

2002-05-20  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html (5.4):  Recommend against -I options for
finding the ext headers.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r53669

22 years agolinux.h (SDB_DEBUGGING_INFO): Undefine.
H.J. Lu [Mon, 20 May 2002 17:11:53 +0000 (17:11 +0000)]
linux.h (SDB_DEBUGGING_INFO): Undefine.

2002-05-20  H.J. Lu  (hjl@gnu.org)

* gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.

From-SVN: r53668

22 years agoarm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march switches straight on to the assemble...
Nick Clifton [Mon, 20 May 2002 17:07:04 +0000 (17:07 +0000)]
arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march switches straight on to the assembler, do not abbreviate them.

    * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
    switches straight on to the assembler, do not abbreviate them.
    * config/arm/elf.h (ASM_SPEC): As above.
    * config/arm/semi.h (ASM_SPEC): As above.
    * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
    * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
    -mcpu=xscale on to the assembler by default.
    * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.

From-SVN: r53667

22 years agoMakefile.in (SHELL): Set to @SHELL@.
Kaveh R. Ghazi [Mon, 20 May 2002 17:05:51 +0000 (17:05 +0000)]
Makefile.in (SHELL): Set to @SHELL@.

* libF77/Makefile.in (SHELL): Set to @SHELL@.
* libI77/Makefile.in (SHELL): Likewise.
* libU77/Makefile.in (SHELL): Likewise.

From-SVN: r53666

22 years agocse.c (canon_hash): Reorder do_not_record test.
Richard Henderson [Mon, 20 May 2002 16:59:03 +0000 (09:59 -0700)]
cse.c (canon_hash): Reorder do_not_record test.

        * cse.c (canon_hash): Reorder do_not_record test.  Always
        allow pic_offset_table_rtx.

From-SVN: r53665

22 years agoMakefile.in (SHELL): Set to @SHELL@.
Kaveh R. Ghazi [Mon, 20 May 2002 16:35:19 +0000 (16:35 +0000)]
Makefile.in (SHELL): Set to @SHELL@.

* Makefile.in (SHELL): Set to @SHELL@.
(WARN_CFLAGS): New.
(ALL_CFLAGS): Add $(WARN_CFLAGS).

From-SVN: r53662

22 years ago* init.c (build_default_init): Remove unused variable.
Andreas Jaeger [Mon, 20 May 2002 14:28:01 +0000 (16:28 +0200)]
* init.c (build_default_init): Remove unused variable.

From-SVN: r53660

22 years agoMakefile.in: Use @SHELL@, not /bin/sh for SHELL definition.
Toon Moene [Mon, 20 May 2002 13:51:34 +0000 (15:51 +0200)]
Makefile.in: Use @SHELL@, not /bin/sh for SHELL definition.

2002-05-20  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Use @SHELL@, not /bin/sh for SHELL
definition.

From-SVN: r53659

22 years agomemcpy-2.c (SEQUENCE_LENGTH): Define.
J"orn Rennecke [Mon, 20 May 2002 10:57:31 +0000 (10:57 +0000)]
memcpy-2.c (SEQUENCE_LENGTH): Define.

* gcc.c-torture/execute/memcpy-2.c (SEQUENCE_LENGTH): Define.
(MAX_COPY): Bump up to 10 times sizeof (long long).
(main): Use a pattern of SEQUENCE_LENGTH different characters to copy.

* gcc.c-torture/execute/memset-1.c (MAX_COPY): Bump up to 10 times
sizeof (long long).

* gcc.c-torture/execute/strcpy-1.c: New test.

From-SVN: r53658

22 years ago* g++.dg/ext/oper1.C: New test.
David Billinghurst [Mon, 20 May 2002 10:33:31 +0000 (10:33 +0000)]
* g++.dg/ext/oper1.C: New test.

From-SVN: r53657