Sebastian Pop
f3e3b4762b
Script to check patches violating the GNU style.
...
2010-07-02 Sebastian Pop <sebastian.pop@amd.com>
* check_GNU_style.sh: New.
From-SVN: r161729
2010-07-02 16:34:55 +00:00
Rainer Orth
c18dc5ccea
gc++filt.m4: New file.
...
config:
* gc++filt.m4: New file.
contrib:
* make_sunver.pl: New file.
libstdc++v3:
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle sun style.
Require GCC_PROG_GNU_CXXFILT.
(_GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define
unless targetting solaris2*.
Include ../config/gc++filt.m4.
* configure.host (i?86-*-solaris2*): Set abi_baseline_pair.
(sparc-*-solaris2*): Likewise.
* src/Makefile.am [ENABLE_SYMVERS_SUN] (version_dep, version_arg):
New variables.
(libstdc++-symbols.ver-sun): New target.
* configure: Regenerate.
* config.h.in: Regenerate.
* Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* python/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* src/atomic.cc: Only define/use _GLIBCXX_ASM_SYMVER if
_GLIBCXX_HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
* src/compatibility.cc: Likewise.
* testsuite/Makefile.am (baseline_subdir): Define.
(baseline_symbols): Use it.
(new-abi-baseline): Likewise.
* testsuite/Makefile.in: Regenerate.
* config/abi/pre/gnu.ver (GLIBCXX_3.4.5): Enclose duplicates in
#ifdef HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
(GLIBCXX_3.4.6): Likewise.
* doc/xml/manual/configure.xml (--enable-symvers): Document sun
style.
* doc/xml/manual/abi.xml: Fix grammar.
(Symbol versioning on the libstdc++.so binary): Fix mapfile path.
(Incremental bumping of a library pre-defined macro): Fix
c++config path.
(Incremental bumping of a library pre-defined macro,
_GLIBCPP_VERSION): Likewise.
(Matching each specific C++ compiler release to a specific set of
C++ include files): Fix acinclude.m4 path.
(Prerequisites): Allow for Sun linker on Solaris 2.5+.
Use proper link to Configuring.
Fix acinclude.m4 path.
(Checking Active): Allow for additional symbol versioning styles.
Provide Solaris 2 example with pvs -r.
(Bibliography): Update Linker and Libraries Guide, C++ Migration
Guide entries.
gcc:
* doc/install.texi (Prerequisites): Document Perl requirement on
Solaris 2.
(Specific, *-*-solaris2*): Document GNU c++filt requirement.
From-SVN: r161696
2010-07-02 10:05:49 +00:00
Iain Sandoe
9a082684df
fix darwin8 bootstrap issue
...
* compare-debug (Darwin): Remove '-x' flag from ld-based object
stripping. Add a comment as to why we do it this way.
From-SVN: r161686
2010-07-02 08:56:04 +00:00
Alexandre Oliva
339325b303
compare-debug: Drop LTO sections.
...
contrib/ChangeLog:
* compare-debug: Drop LTO sections.
config/ChangeLog:
* bootstrap-lto.mk: New.
gcc/ChangeLog:
* doc/install.texi: Document bootstrap-lto.
From-SVN: r161061
2010-06-21 00:23:06 +00:00
Bernhard Reutner-Fischer
e31a6dc2db
gcc_update: Support updating a git clone.
...
2010-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* gcc_update: Support updating a git clone.
From-SVN: r160774
2010-06-15 10:35:25 +02:00
Rainer Orth
fb340c3c7f
check_jni_methods.sh.in: Don't use diff -U.
...
libjava/classpath:
* scripts/check_jni_methods.sh.in: Don't use diff -U.
Adapt grep regex, ignore file and problem message.
contrib:
* test_summary: Don't use diff -u.
Adapt egrep regex.
From-SVN: r160264
2010-06-04 14:01:22 +00:00
Andrew Haley
69baf0a35d
download_prerequisites: New script.
...
2010-06-02 Andrew Haley <aph@redhat.com>
* download_prerequisites: New script.
From-SVN: r160146
2010-06-02 11:14:19 +00:00
Rainer Orth
bc492e47c8
configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q.
...
libjava:
* configure.ac: Redirect grep stdout, stderr to /dev/null instead
of grep -q.
Use -- instead of grep -e.
* configure: Regenerate.
gcc:
* configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout,
stderr to /dev/null instead of grep -q.
* configure: Regenerate.
contrib:
* dg-extract-results.sh: Redirect grep output to /dev/null instead
of grep -q.
From-SVN: r159840
2010-05-25 18:50:01 +00:00
Basile Starynkevitch
c334c130bd
gcc_update: Sets the locale to C.
...
2010-04-22 Basile Starynkevitch <basile@starynkevitch.net>
* gcc_update: Sets the locale to C.
From-SVN: r158629
2010-04-22 06:15:07 +00:00
Joseph Myers
02e698d776
* gennews (files): Add files for GCC 4.5.
...
From-SVN: r157998
2010-04-06 15:06:04 +01:00
Jan Kratochvil
fccff34135
Fix *.log tests output containing "===".
...
contrib/
Fix *.log tests output containing "===".
* dg-extract-results.sh (/\===/): Rename to ...
(/^\t\t=== .* ===$/): ... this pattern.
From-SVN: r157645
2010-03-22 17:36:49 +00:00
Rainer Orth
54bceaf397
* dg-extract-results.sh: Fix result order to match sequential case.
...
From-SVN: r157175
2010-03-02 20:28:55 +00:00
Ralf Wildenhues
2fdb618d66
Avoid tr '\n', for Solaris /usr/bin/tr.
...
contrib/
* check_warning_flags.sh: Use \012 instead of \n with tr.
gcc/:
PR gcc/42525
* Makefile.in (write_entries_to_file, install-plugin):
Use \012 instead of \n with tr.
libjava/:
* Makefile.am (write_entries_to_file): Use \012 instead of \n
with tr.
* scripts/makemake.tcl: Likewise.
* sources.am: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r155963
2010-01-16 14:42:32 +00:00
Rainer Orth
5392f6be70
* dg-extract-results.sh: Don't use tail -n.
...
From-SVN: r155655
2010-01-05 18:29:48 +00:00
Diego Novillo
d7f09764d7
Merge lto branch into trunk.
...
From-SVN: r152434
2009-10-03 17:10:11 -04:00
Iain Sandoe
bb59df5289
re PR bootstrap/41245 (Bootstrap broken on I386-apple-darwin9 at revision 151373)
...
PR bootstrap/41245
* compare-debug: Handle stripping of dwarf debug sections from darwin
mach-o objects.
From-SVN: r151594
2009-09-10 16:32:51 +02:00
Alexandre Oliva
c45ae2c8db
* compare-debug: Grep for blank before dash to avoid grep -e.
...
From-SVN: r151436
2009-09-04 18:59:15 +00:00
Alexandre Oliva
9a2e0bd181
Move misplaced contrib/ChangeLog entry to config/.
...
From-SVN: r151392
2009-09-03 20:11:24 +00:00
Alexandre Oliva
e12c409449
configure.ac (--with-build-config): New.
...
ChangeLog:
* configure.ac (--with-build-config): New. Set BUILD_CONFIG.
Default to bootstrap-debug only if compare-debug works.
* configure: Rebuilt.
* Makefile.tpl: Make BUILD_CONFIG configure-configurable.
* Makefile.in: Rebuilt.
contrib/ChangeLog:
* bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle.
* bootstrap-debug-lean.mk: Update comments.
(STAGE2_CFLAGS): Likewise.
(do-compare): Don't override.
gcc/ChangeLog:
* doc/invoke.texi (BUILD_CONFIG): Document --with-build-config.
(bootstrap-debug): Explain conditions in which it becomes default.
(bootstrap-debug-big): Rather than duplicate bootstrap-debug,
make it add to it.
From-SVN: r151367
2009-09-03 05:55:57 +00:00
Alexandre Oliva
8fc68cba09
invoke.texi (-fvar-tracking-assignments): New.
...
gcc/ChangeLog:
* doc/invoke.texi (-fvar-tracking-assignments): New.
(-fvar-tracking-assignments-toggle): New.
(-fdump-final-insns=file): Mark filename as optional.
(--param min-nondebug-insn-uid): New.
(-gdwarf-@{version}): Mention version 4.
* opts.c (common_handle_option): Accept it.
* tree-vrp.c (find_assert_locations_1): Skip debug stmts.
* regrename.c (regrename_optimize): Drop last. Don't count debug
insns as uses. Don't reject change because of debug insn.
(do_replace): Reject DEBUG_INSN as chain starter. Take base_regno
from the chain starter, and check for inexact matches in
DEBUG_INSNS.
(scan_rtx_reg): Accept inexact matches in DEBUG_INSNs.
(build_def_use): Simplify and fix the marking of DEBUG_INSNs.
* sched-ebb.c (schedule_ebbs): Skip boundary debug insns.
* fwprop.c (forward_propagate_and_simplify): ...into debug insns.
* doc/gimple.texi (is_gimple_debug): New.
(gimple_debug_bind_p): New.
(is_gimple_call, gimple_assign_cast_p): End sentence with period.
* doc/install.texi (bootstrap-debug): More details.
(bootstrap-debug-big, bootstrap-debug-lean): Document.
(bootstrap-debug-lib): More details.
(bootstrap-debug-ckovw): Update.
(bootstrap-time): New.
* tree-into-ssa.c (mark_def_sites): Skip debug stmts.
(insert_phi_nodes_for): Insert debug stmts.
(rewrite_stmt): Take iterator. Insert debug stmts.
(rewrite_enter_block): Adjust.
(maybe_replace_use_in_debug_stmt): New.
(rewrite_update_stmt): Use it.
(mark_use_interesting): Return early for debug stmts.
* tree-ssa-loop-im.c (rewrite_bittest): Propagate DEFs into debug
stmts before replacing stmt.
(move_computations_stmt): Likewise.
* ira-conflicts.c (add_copies): Skip debug insns.
* regstat.c (regstat_init_n_sets_and_refs): Discount debug insns.
(regstat_bb_compute_ri): Skip debug insns.
* tree-ssa-threadupdate.c (redirection_block_p): Skip debug stmts.
* tree-ssa-loop-manip.c (find_uses_to_rename_stmt,
check_loop_closed_ssa_stmt): Skip debug stmts.
* tree-tailcall.c (find_tail_calls): Likewise.
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise.
* tree.h (MAY_HAVE_DEBUG_STMTS): New.
(build_var_debug_value_stat): Declare.
(build_var_debug_value): Define.
(target_for_debug_bind): Declare.
* reload.c (find_equiv_reg): Skip debug insns.
* rtlanal.c (reg_used_between_p): Skip debug insns.
(side_effects_p): Likewise.
(canonicalize_condition): Likewise.
* ddg.c (create_ddg_dep_from_intra_loop_link): Check that non-debug
insns never depend on debug insns.
(create_ddg_dep_no_link): Likewise.
(add_cross_iteration_register_deps): Use ANTI_DEP for debug insns.
Don't add inter-loop dependencies for debug insns.
(build_intra_loop_deps): Likewise.
(create_ddg): Count debug insns.
* ddg.h (struct ddg::num_debug): New.
(num_backargs): Pair up with previous int field.
* diagnostic.c (diagnostic_report_diagnostic): Skip notes on
-fcompare-debug-second.
* final.c (get_attr_length_1): Skip debug insns.
(rest_of_clean-state): Don't dump CFA_RESTORE_STATE.
* gcc.c (invoke_as): Call compare-debug-dump-opt.
(driver_self_specs): Map -fdump-final-insns to
-fdump-final-insns=..
(get_local_tick): New.
(compare_debug_dump_opt_spec_function): Test for . argument and
compute output name. Compute temp output spec without flag name.
Compute -frandom-seed.
(OPT): Undef after use.
* cfgloopanal.c (num_loop_insns): Skip debug insns.
(average_num_loop_insns): Likewise.
* params.h (MIN_NONDEBUG_INSN_UID): New.
* gimple.def (GIMPLE_DEBUG): New.
* ipa-reference.c (scan_stmt_for_static_refs): Skip debug stmts.
* auto-inc-dec.c (merge_in_block): Skip debug insns.
(merge_in_block): Fix whitespace.
* toplev.c (flag_var_tracking): Update comment.
(flag_var_tracking_assignments): New.
(flag_var_tracking_assignments_toggle): New.
(process_options): Don't open final insns dump file if we're not
going to write to it. Compute defaults for var_tracking.
* df-scan.c (df_insn_rescan_debug_internal): New.
(df_uses_record): Handle debug insns.
* haifa-sched.c (ready): Initialize n_debug.
(contributes_to_priority): Skip debug insns.
(dep_list_size): New.
(priority): Use it.
(rank_for_schedule): Likewise. Schedule debug insns as soon as
they're ready. Disregard previous debug insns to make decisions.
(queue_insn): Never queue debug insns.
(ready_add, ready_remove_first, ready_remove): Count debug insns.
(schedule_insn): Don't reject debug insns because of issue rate.
(get_ebb_head_tail, no_real_insns_p): Skip boundary debug insns.
(queue_to_ready): Skip and discount debug insns.
(choose_ready): Let debug insns through.
(schedule_block): Check boundary debug insns. Discount debug
insns, schedule them early. Adjust whitespace.
(set_priorities): Check for boundary debug insns.
(add_jump_dependencies): Use dep_list_size.
(prev_non_location_insn): New.
(check_cfg): Use it.
* tree-ssa-loop-ivopts.c (find-interesting_users): Skip debug
stmts.
(remove_unused_ivs): Reset debug stmts.
* modulo-sched.c (const_iteration_count): Skip debug insns.
(res_MII): Discount debug insns.
(loop_single_full_bb_p): Skip debug insns.
(sms_schedule): Likewise.
(sms_schedule_by_order): Likewise.
(ps_has_conflicts): Likewise.
* caller-save.c (refmarker_fn): New.
(save_call_clobbered_regs): Replace regs with saved mem in
debug insns.
(mark_referenced_regs): Take pointer, mark and arg. Adjust.
Call refmarker_fn mark for hardregnos.
(mark_reg_as_referenced): New.
(replace_reg_with_saved_mem): New.
* ipa-pure-const.c (check_stmt): Skip debug stmts.
* cse.c (cse_insn): Canonicalize debug insns. Skip them when
searching back.
(cse_extended_basic_block): Skip debug insns.
(count_reg_usage): Likewise.
(is_dead_reg): New, split out of...
(set_live_p): ... here.
(insn_live_p): Use it for debug insns.
* tree-stdarg.c (check_all_va_list_escapes): Skip debug stmts.
(execute_optimize_stdarg): Likewise.
* tree-ssa-dom.c (propagate_rhs_into_lhs): Likewise.
* tree-ssa-propagate.c (substitute_and_fold): Don't regard
changes in debug stmts as changes.
* sel-sched.c (moving_insn_creates_bookkeeping_block_p): New.
(moveup_expr): Don't move across debug insns. Don't move
debug insn if it would create a bookkeeping block.
(moveup_expr_cached): Don't use cache for debug insns that
are heads of blocks.
(compute_av_set_inside_bb): Skip debug insns.
(sel_rank_for_schedule): Schedule debug insns first. Remove
dead code.
(block_valid_for_bookkeeping_p); Support lax searches.
(create_block_for_bookkeeping): Adjust block numbers when
encountering debug-only blocks.
(find_place_for_bookkeeping): Deal with debug-only blocks.
(generate_bookkeeping_insn): Accept no place to insert.
(remove_temp_moveop_nops): New argument full_tidying.
(prepare_place_to_insert): Deal with debug insns.
(advance_state_on_fence): Debug insns don't start cycles.
(update_boundaries): Take fence as argument. Deal with
debug insns.
(schedule_expr_on_boundary): No full_tidying on debug insns.
(fill_insns): Deal with debug insns.
(track_scheduled_insns_and_blocks): Don't count debug insns.
(need_nop_to_preserve_insn_bb): New, split out of...
(remove_insn_from_stream): ... this.
(fur_orig_expr_not_found): Skip debug insns.
* rtl.def (VALUE): Move up.
(DEBUG_INSN): New.
* tree-ssa-sink.c (all_immediate_uses_same_place): Skip debug
stmts.
(nearest_common_dominator_of_uses): Take debug_stmts argument.
Set it if debug stmts are found.
(statement_sink_location): Skip debug stmts. Propagate
moving defs into debug stmts.
* ifcvt.c (first_active_insn): Skip debug insns.
(last_active_insns): Likewise.
(cond_exec_process_insns): Likewise.
(noce_process_if_block): Likewise.
(check_cond_move_block): Likewise.
(cond_move_convert_if_block): Likewise.
(block_jumps_and_fallthru_p): Likewise.
(dead_or_predicable): Likewise.
* dwarf2out.c (debug_str_hash_forced): New.
(find_AT_string): Add comment.
(gen_label_for_indirect_string): New.
(get_debug_string_label): New.
(AT_string_form): Use it.
(mem_loc_descriptor): Handle non-TLS symbols. Handle MINUS , DIV,
MOD, AND, IOR, XOR, NOT, ABS, NEG, and CONST_STRING. Accept but
discard COMPARE, IF_THEN_ELSE, ROTATE, ROTATERT, TRUNCATE and
several operations that cannot be represented with DWARF opcodes.
(loc_descriptor): Ignore SIGN_EXTEND and ZERO_EXTEND. Require
dwarf_version 4 for DW_OP_implicit_value and DW_OP_stack_value.
(dwarf2out_var_location): Take during-call mark into account.
(output_indirect_string): Update comment. Output if there are
label and references.
(prune_indirect_string): New.
(prune_unused_types): Call it if debug_str_hash_forced.
More in dwarf2out.c, from Jakub Jelinek <jakub@redhat.com>:
(dw_long_long_const): Remove.
(struct dw_val_struct): Change val_long_long type to rtx.
(print_die, attr_checksum, same_dw_val_p, loc_descriptor): Adjust for
val_long_long change to CONST_DOUBLE rtx from a long hi/lo pair.
(output_die): Likewise. Use HOST_BITS_PER_WIDE_INT size of each
component instead of HOST_BITS_PER_LONG.
(output_loc_operands): Likewise. For const8* assert
HOST_BITS_PER_WIDE_INT rather than HOST_BITS_PER_LONG is >= 64.
(output_loc_operands_raw): For const8* assert HOST_BITS_PER_WIDE_INT
rather than HOST_BITS_PER_LONG is >= 64.
(add_AT_long_long): Remove val_hi and val_lo arguments, add
val_const_double.
(size_of_die): Use HOST_BITS_PER_WIDE_INT size multiplier instead of
HOST_BITS_PER_LONG for dw_val_class_long_long.
(add_const_value_attribute): Adjust add_AT_long_long caller. Don't
handle TLS SYMBOL_REFs. If CONST wraps a constant, tail recurse.
(dwarf_stack_op_name): Handle DW_OP_implicit_value and
DW_OP_stack_value.
(size_of_loc_descr, output_loc_operands, output_loc_operands_raw):
Handle DW_OP_implicit_value.
(extract_int): Move prototype earlier.
(mem_loc_descriptor): For SUBREG punt if inner
mode size is wider than DWARF2_ADDR_SIZE. Handle SIGN_EXTEND
and ZERO_EXTEND by DW_OP_shl and DW_OP_shr{a,}. Handle
EQ, NE, GT, GE, LT, LE, GTU, GEU, LTU, LEU, SMIN, SMAX, UMIN,
UMAX, SIGN_EXTRACT, ZERO_EXTRACT.
(loc_descriptor): Compare mode size with DWARF2_ADDR_SIZE
instead of Pmode size.
(loc_descriptor): Add MODE argument. Handle CONST_INT, CONST_DOUBLE,
CONST_VECTOR, CONST, LABEL_REF and SYMBOL_REF if mode != VOIDmode,
attempt to handle other expressions. Don't handle TLS SYMBOL_REFs.
(concat_loc_descriptor, concatn_loc_descriptor,
loc_descriptor_from_tree_1): Adjust loc_descriptor callers.
(add_location_or_const_value_attribute): Likewise. For single
location loc_lists attempt to use add_const_value_attribute
for constant decls. Add DW_AT_const_value even if
NOTE_VAR_LOCATION is VAR_LOCATION with CONSTANT_P or CONST_STRING
in its expression.
* cfgbuild.c (inside_basic_block_p): Handle debug insns.
(control_flow_insn_p): Likewise.
* tree-parloops.c (eliminate_local_variables_stmt): Handle debug
stmt.
(separate_decls_in_region_debug_bind): New.
(separate_decls_in_region): Process debug bind stmts afterwards.
* recog.c (verify_changes): Handle debug insns.
(extract_insn): Likewise.
(peephole2_optimize): Skip debug insns.
* dse.c (scan_insn): Skip debug insns.
* sel-sched-ir.c (return_nop_to_pool): Take full_tidying argument.
Pass it on.
(setup_id_for_insn): Handle debug insns.
(maybe_tidy_empty_bb): Adjust whitespace.
(tidy_control_flow): Skip debug insns.
(sel_remove_insn): Adjust for debug insns.
(sel_estimate_number_of_insns): Skip debug insns.
(create_insn_rtx_from_pattern): Handle debug insns.
(create_copy_of_insn_rtx): Likewise.
* sel-sched-.h (sel_bb_end): Declare.
(sel_bb_empty_or_nop_p): New.
(get_all_loop_exits): Use it.
(_eligible_successor_edge_p): Likewise.
(return_nop_to_pool): Adjust.
* tree-eh.c (tre_empty_eh_handler_p): Skip debug stmts.
* ira-lives.c (process_bb_node_lives): Skip debug insns.
* gimple-pretty-print.c (dump_gimple_debug): New.
(dump_gimple_stmt): Use it.
(dump_bb_header): Skip gimple debug stmts.
* regmove.c (optimize_reg_copy_1): Discount debug insns.
(fixup_match_2): Likewise.
(regmove_backward_pass): Likewise. Simplify combined
replacement. Handle debug insns.
* function.c (instantiate_virtual_regs): Handle debug insns.
* function.h (struct emit_status): Add x_cur_debug_insn_uid.
* print-rtl.h: Include cselib.h.
(print_rtx): Print VALUEs. Split out and recurse for
VAR_LOCATIONs.
* df.h (df_inns_rescan_debug_internal): Declare.
* gcse.c (alloc_hash_table): Estimate n_insns.
(cprop_insn): Don't regard debug insns as changes.
(bypass_conditional_jumps): Skip debug insns.
(one_pre_gcse_pass): Adjust.
(one_code_hoisting_pass): Likewise.
(compute_ld_motion_mems): Skip debug insns.
(one_cprop_pass): Adjust.
* tree-if-conv.c (tree_if_convert_stmt): Reset debug stmts.
(if_convertible_stmt_p): Handle debug stmts.
* init-regs.c (initialize_uninitialized_regs): Skip debug insns.
* tree-vect-loop.c (vect_is_simple_reduction): Skip debug stmts.
* ira-build.c (create_bb_allocnos): Skip debug insns.
* tree-flow-inline.h (has_zero_uses): Discount debug stmts.
(has_single_use): Likewise.
(single_imm_use): Likewise.
(num_imm_uses): Likewise.
* tree-ssa-phiopt.c (empty_block_p): Skip debug stmts.
* tree-ssa-coalesce.c (build_ssa_conflict_graph): Skip debug stmts.
(create_outofssa_var_map): Likewise.
* lower-subreg.c (adjust_decomposed_uses): New.
(resolve_debug): New.
(decompose_multiword_subregs): Use it.
* tree-dfa.c (find_referenced_vars): Skip debug stmts.
* emit-rtl.c: Include params.h.
(cur_debug_insn_uid): Define.
(set_new_first_and_last_insn): Set cur_debug_insn_uid too.
(copy_rtx_if_shared_1): Handle debug insns.
(reset_used_flags): Likewise.
(set_used_flags): LIkewise.
(get_max_insn_count): New.
(next_nondebug_insn): New.
(prev_nondebug_insn): New.
(make_debug_insn_raw): New.
(emit_insn_before_noloc): Handle debug insns.
(emit_jump_insn_before_noloc): Likewise.
(emit_call_insn_before_noloc): Likewise.
(emit_debug_insn_before_noloc): New.
(emit_insn_after_noloc): Handle debug insns.
(emit_jump_insn_after_noloc): Likewise.
(emit_call_insn_after_noloc): Likewise.
(emit_debug_insn_after_noloc): Likewise.
(emit_insn_after): Take loc from earlier non-debug insn.
(emit_jump_insn_after): Likewise.
(emit_call_insn_after): Likewise.
(emit_debug_insn_after_setloc): New.
(emit_debug_insn_after): New.
(emit_insn_before): Take loc from later non-debug insn.
(emit_jump_insn_before): Likewise.
(emit_call_insn_before): Likewise.
(emit_debug_insn_before_setloc): New.
(emit_debug_insn_before): New.
(emit_insn): Handle debug insns.
(emit_debug_insn): New.
(emit_jump_insn): Handle debug insns.
(emit_call_insn): Likewise.
(emit): Likewise.
(init_emit): Take min-nondebug-insn-uid into account.
Initialize cur_debug_insn_uid.
(emit_copy_of_insn_after): Handle debug insns.
* cfgexpand.c (gimple_assign_rhs_to_tree): Do not overwrite
location of single rhs in place.
(maybe_dump_rtl_for_gimple_stmt): Dump lineno.
(floor_sdiv_adjust): New.
(cell_sdiv_adjust): New.
(cell_udiv_adjust): New.
(round_sdiv_adjust): New.
(round_udiv_adjust): New.
(wrap_constant): Moved from cselib.
(unwrap_constant): New.
(expand_debug_expr): New.
(expand_debug_locations): New.
(expand_gimple_basic_block): Drop hiding redeclaration. Expand
debug bind stmts.
(gimple_expand_cfg): Expand debug locations.
* cselib.c: Include tree-pass.h.
(struct expand_value_data): New.
(cselib_record_sets_hook): New.
(PRESERVED_VALUE_P, LONG_TERM_PRESERVED_VALUE_P): New.
(cselib_clear_table): Move, and implemnet in terms of...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_unknown_value): New.
(discard_useless_locs): Don't discard preserved values.
(cselib_preserve_value): New.
(cselib_preserved_value_p): New.
(cselib_preserve_definitely): New.
(cselib_clear_preserve): New.
(cselib_preserve_only_values): New.
(new_cselib_val): Take rtx argument. Dump it in details.
(cselib_lookup_mem): Adjust.
(expand_loc): Take regs_active in struct. Adjust. Silence
dumps unless details are requested.
(cselib_expand_value_rtx_cb): New.
(cselib_expand_value_rtx): Rename and reimplment in terms of...
(cselib_expand_value_rtx_1): ... this. Adjust. Silence dumps
without details. Copy more subregs. Try to resolve values
using a callback. Wrap constants.
(cselib_subst_to_values): Adjust.
(cselib_log_lookup): New.
(cselib_lookup): Call it.
(cselib_invalidate_regno): Don't count preserved values as
useless.
(cselib_invalidate_mem): Likewise.
(cselib_record_set): Likewise.
(struct set): Renamed to cselib_set, moved to cselib.h.
(cselib_record_sets): Adjust. Call hook.
(cselib_process_insn): Reset table when it would be cleared.
(dump_cselib_val): New.
(dump_cselib_table): New.
* tree-cfgcleanup.c (tree_forwarded_block_p): Skip debug stmts.
(remove_forwarder_block): Support moving debug stmts.
* cselib.h (cselib_record_sets_hook): Declare.
(cselib_expand_callback): New type.
(cselib_expand_value_rtx_cb): Declare.
(cselib_reset_table_with_next_value): Declare.
(cselib_get_next_unknown_value): Declare.
(cselib_preserve_value): Declare.
(cselib_preserved_value_p): Declare.
(cselib_preserve_only_values): Declare.
(dump_cselib_table): Declare.
* cfgcleanup.c (flow_find_cross_jump): Skip debug insns.
(try_crossjump_to_edge): Likewise.
(delete_unreachable_blocks): Remove dominant GIMPLE blocks after
dominated blocks when debug stmts are present.
* simplify-rtx.c (delegitimize_mem_from_attrs): New.
* tree-ssa-live.c (remove_unused_locals): Skip debug stmts.
(set_var_live_on_entry): Likewise.
* loop-invariant.c (find_invariants_bb): Skip debug insns.
* cfglayout.c (curr_location, last_location): Make static.
(set_curr_insn_source_location): Don't avoid bouncing.
(get_curr_insn_source_location): New.
(get_curr_insn_block): New.
(duplicate_insn_chain): Handle debug insns.
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Propagate
into debug stmts.
* common.opt (fcompare-debug): Move to sort order.
(fdump-unnumbered-links): Likewise.
(fvar-tracking-assignments): New.
(fvar-tracking-assignments-toggle): New.
* tree-ssa-dce.c (mark_stmt_necessary): Don't mark blocks
because of debug stmts.
(mark_stmt_if_obviously_necessary): Mark debug stmts.
(eliminate_unnecessary_stmts): Walk dominated blocks before
dominators.
* tree-ssa-ter.c (find_replaceable_in_bb): Skip debug stmts.
* ira.c (memref_used_between_p): Skip debug insns.
(update_equiv_regs): Likewise.
* sched-deps.c (sd_lists_size): Accept empty list.
(sd_init_insn): Mark debug insns.
(sd_finish_insn): Unmark them.
(sd_add_dep): Reject non-debug deps on debug insns.
(fixup_sched_groups): Give debug insns group treatment.
Skip debug insns.
(sched_analyze_reg): Don't mark debug insns for sched before call.
(sched_analyze_2): Handle debug insns.
(sched_analyze_insn): Compute next non-debug insn. Handle debug
insns.
(deps_analyze_insn): Handle debug insns.
(deps_start_bb): Skip debug insns.
(init_deps): Initialize last_debug_insn.
* tree-ssa.c (target_for_debug_bind): New.
(find_released_ssa_name): New.
(propagate_var_def_into_debug_stmts): New.
(propagate_defs_into_debug_stmts): New.
(verify_ssa): Skip debug bind stmts without values.
(warn_uninialized_vars): Skip debug stmts.
* target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Set default.
* rtl.c (rtx_equal_p_cb): Handle VALUEs.
(rtx_equal_p): Likewise.
* ira-costs.c (scan_one_insn): Skip debug insns.
(process_bb_node_for_hard_reg_moves): Likewise.
* rtl.h (DEBUG_INSN_P): New.
(NONDEBUG_INSN_P): New.
(MAY_HAVE_DEBUG_INSNS): New.
(INSN_P): Accept debug insns.
(RTX_FRAME_RELATED_P): Likewise.
(INSN_DELETED_P): Likewise
(PAT_VAR_LOCATION_DECL): New.
(PAT_VAR_LOCATION_LOC): New.
(PAT_VAR_OCATION_STATUS): New.
(NOTE_VAR_LOCATION_DECL): Reimplement.
(NOTE_VAR_LOCATION_LOC): Likewise.
(NOTE_VAR_LOCATION_STATUS): Likewise.
(INSN_VAR_LOCATION): New.
(INSN_VAR_LOCATION_DECL): New.
(INSN_VAR_LOCATION_LOC): New.
(INSN_VAR_LOCATION_STATUS): New.
(gen_rtx_UNKNOWN_VAR_LOC): New.
(VAR_LOC_UNKNOWN_P): New.
(NOTE_DURING_CALL_P): New.
(SCHED_GROUP_P): Accept debug insns.
(emit_debug_insn_before): Declare.
(emit_debug_insn_before_noloc): Declare.
(emit_debug_insn_beore_setloc): Declare.
(emit_debug_insn_after): Declare.
(emit_debug_insn_after_noloc): Declare.
(emit_debug_insn_after_setloc): Declare.
(emit_debug_insn): Declare.
(make_debug_insn_raw): Declare.
(prev_nondebug_insn): Declare.
(next_nondebug_insn): Declare.
(delegitimize_mem_from_attrs): Declare.
(get_max_insn_count): Declare.
(wrap_constant): Declare.
(unwrap_constant): Declare.
(get_curr_insn_source_location): Declare.
(get_curr_insn_block): Declare.
* tree-inline.c (insert_debug_decl_map): New.
(processing_debug_stmt): New.
(remap_decl): Don't create new mappings in debug stmts.
(remap_gimple_op_r): Don't add references in debug stmts.
(copy_tree_body_r): Likewise.
(remap_gimple_stmt): Handle debug bind stmts.
(copy_bb): Skip debug stmts.
(copy_edges_for_bb): Likewise.
(copy_debug_stmt): New.
(copy_debug_stmts): New.
(copy_body): Copy debug stmts at the end.
(insert_init_debug_bind): New.
(insert_init_stmt): Take id. Skip and emit debug stmts.
(setup_one_parameter): Remap variable earlier, register debug
mapping.
(estimate_num_insns): Skip debug stmts.
(expand_call_inline): Preserve debug_map.
(optimize_inline_calls): Check for no debug_stmts left-overs.
(unsave_expr_now): Preserve debug_map.
(copy_gimple_seq_and_replace_locals): Likewise.
(tree_function_versioning): Check for no debug_stmts left-overs.
Init and destroy debug_map as needed. Split edges unconditionally.
(build_duplicate_type): Init and destroy debug_map as needed.
* tree-inline.h: Include gimple.h instead of pointer-set.h.
(struct copy_body_data): Add debug_stmts and debug_map.
* sched-int.h (struct ready_list): Add n_debug.
(struct deps): Add last_debug_insn.
(DEBUG_INSN_SCHED_P): New.
(BOUNDARY_DEBUG_INSN_P): New.
(SCHEDULE_DEBUG_INSN_P): New.
(sd_iterator_cond): Accept empty list.
* combine.c (create_log_links): Skip debug insns.
(combine_instructions): Likewise.
(cleanup_auto_inc_dec): New. From Jakub Jelinek: Make sure the
return value is always unshared.
(struct rtx_subst_pair): New.
(auto_adjust_pair): New.
(propagate_for_debug_subst): New.
(propagate_for_debug): New.
(try_combine): Skip debug insns. Propagate removed defs into
debug insns.
(next_nonnote_nondebug_insn): New.
(distribute_notes): Use it. Skip debug insns.
(distribute_links): Skip debug insns.
* tree-outof-ssa.c (set_location_for_edge): Likewise.
* resource.c (mark_target_live_regs): Likewise.
* var-tracking.c: Include cselib.h and target.h.
(enum micro_operation_type): Add MO_VAL_USE, MO_VAL_LOC, and
MO_VAL_SET.
(micro_operation_type_name): New.
(enum emit_note_where): Add EMIT_NOTE_AFTER_CALL_INSN.
(struct micro_operation_def): Update comments.
(decl_or_value): New type. Use instead of decls.
(struct emit_note_data_def): Add vars.
(struct attrs_def): Use decl_or_value.
(struct variable_tracking_info_def): Add permp, flooded.
(struct location_chain_def): Update comment.
(struct variable_part_def): Use decl_or_value.
(struct variable_def): Make var_part a variable length array.
(valvar_pool): New.
(scratch_regs): New.
(cselib_hook_called): New.
(dv_is_decl_p): New.
(dv_is_value_p): New.
(dv_as_decl): New.
(dv_as_value): New.
(dv_as_opaque): New.
(dv_onepart_p): New.
(dv_pool): New.
(IS_DECL_CODE): New.
(check_value_is_not_decl): New.
(dv_from_decl): New.
(dv_from_value): New.
(dv_htab_hash): New.
(variable_htab_hash): Use it.
(variable_htab_eq): Support values.
(variable_htab_free): Free from the right pool.
(attrs_list_member, attrs_list_insert): Use decl_or_value.
(attrs_list_union): Adjust.
(attrs_list_mpdv_union): New.
(tie_break_pointers): New.
(canon_value_cmp): New.
(unshare_variable): Return possibly-modified slot.
(vars_copy_1): Adjust.
(var_reg_decl_set): Adjust. Split out of...
(var_reg_set): ... this.
(get_init_value): Adjust.
(var_reg_delete_and_set): Adjust.
(var_reg_delete): Adjust.
(var_regno_delete): Adjust.
(var_mem_decl_set): Split out of...
(var_mem_set): ... this.
(var_mem_delete_and_set): Adjust.
(var_mem_delete): Adjust.
(val_store): New.
(val_reset): New.
(val_resolve): New.
(variable_union): Adjust. Speed up merge of 1-part vars.
(variable_canonicalize): Use unshared slot.
(VALUED_RECURSED_INTO): New.
(find_loc_in_1pdv): New.
(struct dfset_merge): New.
(insert_into_intersection): New.
(intersect_loc_chains): New.
(loc_cmp): New.
(canonicalize_loc_order_check): New.
(canonicalize_values_mark): New.
(canonicalize_values_star): New.
(variable_merge_over_cur): New.
(variable_merge_over_src): New.
(dataflow_set_merge): New.
(dataflow_set_equiv_regs): New.
(remove_duplicate_values): New.
(struct dfset_post_merge): New.
(variable_post_merge_new_vals): New.
(variable_post_merge_perm_vals): New.
(dataflow_post_merge_adjust): New.
(find_mem_expr_in_1pdv): New.
(dataflow_set_preserve_mem_locs): New.
(dataflow_set_remove_mem_locs): New.
(dataflow_set_clear_at_call): New.
(onepart_variable_different_p): New.
(variable_different_p): Use it.
(dataflow_set_different_1): Adjust. Make detailed dump
more verbose.
(track_expr_p): Add need_rtl parameter. Don't generate rtl
if not needed.
(track_loc_p): Pass it true.
(struct count_use_info): New.
(find_use_val): New.
(replace_expr_with_values): New.
(log_op_type): New.
(use_type): New, partially split out of...
(count_uses): ... this. Count new micro-ops.
(count_uses_1): Adjust.
(count_stores): Adjust.
(count_with_sets): New.
(VAL_NEEDS_RESOLUTION): New.
(VAL_HOLDS_TRACK_EXPR): New.
(VAL_EXPR_IS_COPIED): New.
(VAL_EXPR_IS_CLOBBERED): New.
(add_uses): Adjust. Generate new micro-ops.
(add_uses_1): Adjust.
(add_stores): Generate new micro-ops.
(add_with_sets): New.
(find_src_status): Adjust.
(find_src_set_src): Adjust.
(compute_bb_dataflow): Use dataflow_set_clear_at_call.
Handle new micro-ops. Canonicalize value equivalances.
(vt_find_locations): Compute total size of hash tables for
dumping. Perform merge for var-tracking-assignments. Don't
disregard single-block loops.
(dump_attrs_list): Handle decl_or_value.
(dump_variable): Take variable. Deal with decl_or_value.
(dump_variable_slot): New.
(dump_vars): Use it.
(dump_dataflow_sets): Adjust.
(set_slot_part): New, extended to support one-part variables
after splitting out of...
(set_variable_part): ... this.
(clobber_slot_part): New, split out of...
(clobber_variable_part): ... this.
(delete_slot_part): New, split out of...
(delete_variable_part): .... this.
(check_wrap_constant): New.
(vt_expand_loc_callback): New.
(vt_expand_loc): New.
(emit_note_insn_var_location): Adjust. Handle values. Handle
EMIT_NOTE_AFTER_CALL_INSN.
(emit_notes_for_differences_1): Adjust. Handle values.
(emit_notes_for_differences_2): Likewise.
(emit_notes_for_differences): Adjust.
(emit_notes_in_bb): Take pointer to set. Emit AFTER_CALL_INSN
notes. Adjust. Handle new micro-ops.
(vt_add_function_parameters): Adjust. Create and bind values.
(vt_initialize): Adjust. Initialize scratch_regs and
valvar_pool, flooded and perm.. Initialize and use cselib. Log
operations. Move some code to count_with_sets and add_with_sets.
(delete_debug_insns): New.
(vt_debug_insns_local): New.
(vt_finalize): Release permp, valvar_pool, scratch_regs. Finish
cselib.
(var_tracking_main): If var-tracking-assignments is enabled
but var-tracking isn't, delete debug insns and leave. Likewise
if we exceed limits or fail the stack adjustments tests, and
after all var-tracking processing.
More in var-tracking, from Jakub Jelinek <jakub@redhat.com>:
(dataflow_set): Add traversed_vars.
(value_chain, const_value_chain): New typedefs.
(value_chain_pool, value_chains): New variables.
(value_chain_htab_hash, value_chain_htab_eq, add_value_chain,
add_value_chains, add_cselib_value_chains, remove_value_chain,
remove_value_chains, remove_cselib_value_chains): New functions.
(shared_hash_find_slot_unshare_1, shared_hash_find_slot_1,
shared_hash_find_slot_noinsert_1, shared_hash_find_1): New
static inlines.
(shared_hash_find_slot_unshare, shared_hash_find_slot,
shared_hash_find_slot_noinsert, shared_hash_find): Update.
(dst_can_be_shared): New variable.
(unshare_variable): Unshare set->vars if shared, use shared_hash_*.
Clear dst_can_be_shared. If set->traversed_vars is non-NULL and
different from set->vars, look up slot again instead of using the
passed in slot.
(dataflow_set_init): Initialize traversed_vars.
(variable_union): Use shared_hash_*. Use initially NO_INSERT
lookup if set->vars is shared. Don't keep slot cleared before
calling unshare_variable. Unshare set->vars if needed. Adjust
unshare_variable callers. Clear dst_can_be_shared if needed.
Even ->refcount == 1 vars must be unshared if set->vars is shared
and var needs to be modified.
(dataflow_set_union): Set traversed_vars during canonicalization.
(VALUE_CHANGED, DECL_CHANGED): Define.
(set_dv_changed, dv_changed_p): New static inlines.
(track_expr_p): Clear DECL_CHANGED.
(dump_dataflow_sets): Set it.
(variable_was_changed): Call set_dv_changed.
(emit_note_insn_var_location): Likewise.
(changed_variables_stack): New variable.
(check_changed_vars_1, check_changed_vars_2): New functions.
(emit_notes_for_changes): Do nothing if changed_variables is
empty. Traverse changed_variables with check_changed_vars_1,
call check_changed_vars_2 on each changed_variables_stack entry.
(emit_notes_in_bb): Add SET argument. Just clear it at the
beginning, use it instead of local &set, don't destroy it at the
end.
(vt_emit_notes): Call dataflow_set_clear early on all
VTI(bb)->out sets, never use them, instead use emit_notes_in_bb
computed set, dataflow_set_clear also VTI(bb)->in when we are
done with the basic block. Initialize changed_variables_stack,
free it afterwards. If ENABLE_CHECKING verify that after noting
differences to an empty set value_chains hash table is empty.
(vt_initialize): Initialize value_chains and value_chain_pool.
(vt_finalize): Delete value_chains htab, free value_chain_pool.
(variable_tracking_main): Call dump_dataflow_sets before calling
vt_emit_notes, not after it.
* tree-flow.h (propagate_defs_into_debug_stmts): Declare.
(propagate_var_def_into_debug_stmts): Declare.
* df-problems.c (df_lr_bb_local_compute): Skip debug insns.
(df_set_note): Reject debug insns.
(df_whole_mw_reg_dead_p): Take added_notes_p argument. Don't
add notes to debug insns.
(df_note_bb_compute): Adjust. Likewise.
(df_simulate_uses): Skip debug insns.
(df_simulate_initialize_backwards): Likewise.
* reg-stack.c (subst_stack_regs_in_debug_insn): New.
(subst_stack_regs_pat): Reject debug insns.
(convert_regs_1): Handle debug insns.
* Makefile.in (TREE_INLINE_H): Take pointer-set.h from GIMPLE_H.
(print-rtl.o): Depend on cselib.h.
(cselib.o): Depend on TREE_PASS_H.
(var-tracking.o): Depend on cselib.h and TARGET_H.
* sched-rgn.c (rgn_estimate_number_of_insns): Discount
debug insns.
(init_ready_list): Skip boundary debug insns.
(add_branch_dependences): Skip debug insns.
(free_block_dependencies): Check for blocks with only debug
insns.
(compute_priorities): Likewise.
* gimple.c (gss_for_code): Handle GIMPLE_DEBUG.
(gimple_build_with_ops_stat): Take subcode as unsigned. Adjust
all callers.
(gimple_build_debug_bind_stat): New.
(empty_body_p): Skip debug stmts.
(gimple_has_side_effects): Likewise.
(gimple_rhs_has_side_effects): Likewise.
* gimple.h (enum gimple_debug_subcode, GIMPLE_DEBUG_BIND): New.
(gimple_build_debug_bind_stat): Declare.
(gimple_build_debug_bind): Define.
(is_gimple_debug): New.
(gimple_debug_bind_p): New.
(gimple_debug_bind_get_var): New.
(gimple_debug_bind_get_value): New.
(gimple_debug_bind_get_value_ptr): New.
(gimple_debug_bind_set_var): New.
(gimple_debug_bind_set_value): New.
(GIMPLE_DEBUG_BIND_NOVALUE): New internal temporary macro.
(gimple_debug_bind_reset_value): New.
(gimple_debug_bind_has_value_p): New.
(gsi_next_nondebug): New.
(gsi_prev_nondebug): New.
(gsi_start_nondebug_bb): New.
(gsi_last_nondebug_bb): New.
* sched-vis.c (print_pattern): Handle VAR_LOCATION.
(print_insn): Handle DEBUG_INSN.
* tree-cfg.c (remove_bb): Walk stmts backwards. Let loc
of first insn prevail.
(first_stmt): Skip debug stmts.
(first_non_label_stmt): Likewise.
(last_stmt): Likewise.
(has_zero_uses_1): New.
(single_imm_use_1): New.
(verify_gimple_debug): New.
(verify_types_in_gimple_stmt): Handle debug stmts.
(verify_stmt): Likewise.
(debug_loop_num): Skip debug stmts.
(remove_edge_and_dominated_blocks): Remove dominators last.
* tree-ssa-reasssoc.c (rewrite_expr_tree): Propagate into
debug stmts.
(linearize_expr): Likewise.
* config/i386/i386.c (ix86_delegitimize_address): Call
default implementation.
* config/ia64/ia64.c (ia64_safe_itanium_class): Handle debug
insns.
(group_barrier_needed): Skip debug insns.
(emit_insn_group_barriers): Likewise.
(emit_all_insn_group_barriers): Likewise.
(ia64_variable_issue): Handle debug insns.
(ia64_dfa_new_cycle): Likewise.
(final_emit_insn_group_barriers): Skip debug insns.
(ia64_dwarf2out_def_steady_cfa): Take frame argument. Don't
def cfa without frame.
(process_set): Likewise.
(process_for_unwind_directive): Pass frame on.
* config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
(rs6000_delegitimize_address): New.
(rs6000_debug_adjust_cost): Handle debug insns.
(is_microcoded_insn): Likewise.
(is_cracked_insn): Likewise.
(is_nonpipeline_insn): Likewise.
(insn_must_be_first_in_group): Likewise.
(insn_must_be_last_in_group): Likewise.
(force_new_group): Likewise.
* cfgrtl.c (rtl_split_block): Emit INSN_DELETED note if block
contains only debug insns.
(rtl_merge_blocks): Skip debug insns.
(purge_dead_edges): Likewise.
(rtl_block_ends_with_call_p): Skip debug insns.
* dce.c (deletable_insn_p): Handle VAR_LOCATION.
(mark_reg_dependencies): Skip debug insns.
* params.def (PARAM_MIN_NONDEBUG_INSN_UID): New.
* tree-ssanames.c (release_ssa_name): Propagate def into
debug stmts.
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts): Skip debug stmts.
* regcprop.c (replace_oldest_value_addr): Skip debug insns.
(replace_oldest_value_mem): Use ALL_REGS for debug insns.
(copyprop_hardreg_forward_1): Handle debug insns.
* reload1.c (reload): Skip debug insns. Replace unassigned
pseudos in debug insns with their equivalences.
(eliminate_regs_in_insn): Skip debug insns.
(emit_input_reload_insns): Skip debug insns at first, adjust
them later.
* tree-ssa-operands.c (add_virtual_operand): Reject debug stmts.
(get_indirect_ref_operands): Pass opf_no_vops on.
(get_expr_operands): Likewise. Skip debug stmts.
(parse_ssa_operands): Scan debug insns with opf_no_vops.
gcc/testsuite/ChangeLog:
* gcc.dg/guality/guality.c: New.
* gcc.dg/guality/guality.h: New.
* gcc.dg/guality/guality.exp: New.
* gcc.dg/guality/example.c: New.
* lib/gcc-dg.exp (cleanup-dump): Remove .gk files.
(cleanup-saved-temps): Likewise, .gkd files too.
gcc/cp/ChangeLog:
* cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New.
* cp-lang.c (cxx_dwarf_name): Pass it.
* error.c (count_non_default_template_args): Take flags as
argument. Adjust all callers. Skip counting of default
arguments if the new flag is given.
ChangeLog:
* Makefile.tpl (BUILD_CONFIG): Default to bootstrap-debug.
* Makefile.in: Rebuilt.
contrib/ChangeLog:
* compare-debug: Look for .gkd files and compare them.
config/ChangeLog:
* bootstrap-debug.mk: Add comments.
* bootstrap-debug-big.mk: New.
* bootstrap-debug-lean.mk: New.
* bootstrap-debug-ckovw.mk: Add comments.
* bootstrap-debug-lib.mk: Drop CFLAGS for stages. Use -g0
for TFLAGS in stage1. Drop -fvar-tracking-assignments-toggle.
From-SVN: r151311
2009-09-02 02:41:47 +00:00
Ralf Wildenhues
0930984ef0
Let test_summary invoke, not parse config.status contents.
...
contrib/*
PR testsuite/41166
* test_summary: Invoke config.status, rather than trying to
parse it. Adjust awk script.
From-SVN: r151145
2009-08-27 18:59:32 +00:00
Alexandre Oliva
5830150a57
* compare-debug: Drop .eh_frame relocations too.
...
From-SVN: r150901
2009-08-18 19:44:04 +00:00
H.J. Lu
c2d88223c8
re PR testsuite/40704 (^M? in testsuite log leads to binary attachment)
...
2009-08-18 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/40704
* test_summary: Filter out "\r".
From-SVN: r150898
2009-08-18 12:40:48 -07:00
Alexandre Oliva
2feb56e679
* compare-debug: Don't fail just because of .eh_frame differences.
...
From-SVN: r148079
2009-06-02 08:11:31 +00:00
Jakub Jelinek
060717fcc5
re PR testsuite/39807 (Reporting of testsuite failures are messed up when using -j)
...
PR testsuite/39807
* dg-extract-results.sh: Close open files and use >> instead of >
to decrease number of concurrently open files from awk. Avoid
= at the beginning of a regexp and redirect to a file determined
by curfile variable rather than concatenated strings to workaround
Solaris nawk bug.
From-SVN: r146850
2009-04-27 21:11:23 +02:00
Gerald Pfeifer
7527cf2106
test_summary: Only include LAST_UPDATED if it exists.
...
* test_summary: Only include LAST_UPDATED if it exists.
Complete copyright years.
From-SVN: r146783
2009-04-25 20:03:12 +00:00
Paolo Bonzini
0455c7f47e
ChangeLog for compare-all-tests addition
...
From-SVN: r146194
2009-04-16 14:26:19 +00:00
Jakub Jelinek
50e8c6d283
* gennews (files): Reference GCC 4.4 web pages.
...
From-SVN: r146026
2009-04-14 11:56:38 +02:00
Jakub Jelinek
748086b7b2
Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
...
From-SVN: r145841
2009-04-09 17:00:19 +02:00
Ralf Wildenhues
a072f1cf7c
check_warning_flags.sh: Update flag exceptions.
...
contrib/
* check_warning_flags.sh: Update flag exceptions.
gcc/
* doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
-Wno-pedantic-ms-format is for MinGW targets only.
From-SVN: r144522
2009-03-01 11:24:03 +00:00
Ben Elliston
7a401a0df3
dg-cmp-results.sh: Do not print usage if either .sum file cannot be opened...
...
* dg-cmp-results.sh: Do not print usage if either .sum file cannot
be opened; print a more meaningful error instead.
From-SVN: r141979
2008-11-19 09:00:42 +11:00
Jakub Jelinek
7134e6056c
dg-extract-results.sh: New file.
...
contrib/
* dg-extract-results.sh: New file.
gcc/
* Makefile.in (lang_checks_parallelized, check_gcc_parallelize,
check_p_tool, check_p_vars, check_p_subno, check_p_comma,
check_p_subwork, check_p_numbers, check_p_subdir, check_p_subdirs):
New variables.
(check-subtargets, check-%-subtargets, check-parallel-%): New
targets.
(check-%): For test targets listed in lang_checks_parallelized
if -j is used and RUNTESTFLAGS doesn't specify tests to execute,
run the testing in multiple make goals, possibly parallel, and
afterwards run dg-extract-results.sh to merge the sum and log files.
gcc/cp/
* Make-lang.in (check-c++-subtargets): New alias for
check-g++-subtargets.
(lang_checks_parallelized): Add check-g++.
(check_g++_parallelize): New variable.
gcc/fortran/
* Make-lang.in (check-f95-subtargets, check-fortran-subtargets): New
aliases for check-gfortran-subtargets.
(lang_checks_parallelized): Add check-gfortran.
(check_gfortran_parallelize): New variable.
gcc/ada/
* gcc-interface/Make-lang.in (check-ada-subtargets): Depend on
check-acats-subtargets and check-gnat-subtargets.
(check_acats_targets): New variable.
(check-acats-subtargets, check-acats%): New targets.
(check-acats): If -j is used and CHAPTERS is empty, run the testing
in multiple make goals, possibly parallel, and afterwards run
dg-extract-results.sh to merge the sum and log files.
gcc/java/
* Make-lang.in (check-java-subtargets): New target.
libstdc++-v3/
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
(RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
variables.
(%/site.exp, check-DEJAGNU%): New targets.
(check-am): Run $(MAKE) check-DEJAGNU.
* testsuite/Makefile.in: Regenerated.
From-SVN: r141337
2008-10-24 10:58:44 +02:00
Jakub Jelinek
719bb4e3d3
Convert ChangeLog files to UTF-8.
...
Command used:
LC_ALL=C sed -i \
-e 's/D\(o\|\xf6\)nmez/D\xc3\xb6nmez/' \
-e 's/\(Av\|\x81\xc1v\|\xc1v\|\xef\xbf\xbdv\?\|\x81\xc3\x81v\|\xc3v\)ila/\xc3\x81vila/' \
-e 's/Esp\(in\|\x81\xedn\|\xedn\|\xef\xbf\xbdn\?\|\xef\xbf\xbd\xadn\|\x81\xc3\xadn\)dola/Esp\xc3\xadndola/' \
-e 's/Schl\(u\|\xef\xbf\xbd\|\xfcu\?\|\x81\xfc\|\x81\xc3\xbc\|\xc3\xaf\xc2\xbf\xc2\xbd\|\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc2\xbc\)ter/Schl\xc3\xbcter/' \
-e 's/Humi\(e\|\xe8\)res/Humi\xc3\xa8res/' \
-e 's/L\(ow\|\xc3\xaf\xc2\xbf\xc2\xbd\|oew\|\xf6w\)is/L\xc3\xb6wis/' \
-e 's/G\xfctlein/G\xc3\xbctlein/' \
-e 's/G\xe1[b]or/G\xc3\xa1bor/' \
-e 's/L\xf3ki/L\xc3\xb3ki/' \
-e 's/Fautr\xc3 /Fautr\xc3\xa9 /' \
-e 's/S\xe9[b]astian/S\xc3\xa9bastian/' \
-e 's/Th\xef\xbf\xbd[d]ore/Th\xc3\xa9odore/' \
-e 's/Cors\xc3\xc2\xa9pius/Cors\xc3\xa9pius/' \
-e 's/K\xfchl/K\xc3\xbchl/' \
-e 's/R\xf6nnerup/R\xc3\xb6nnerup/' \
-e 's/L\xf8vset/L\xc3\xb8vset/' \
-e 's/Ph\x81\xfb\x81\xf4ng-Th\x81\xe5o/Ph\xc3\xbb\xc3\xb4ng-Th\xc3\xa5o/' \
-e 's/V\x81\xf5/V\xc3\xb5/' \
-e 's/J\xf6nsson/J\xc3\xb6nsson/' \
-e 's/V\xef\xbf\xbdis\xef\xbf\xbdnen/V\xc3\xa4is\xc3\xa4nen/' \
-e 's/J\xef\xbf\xbdrg/J\xc3\xb6rg/' \
-e 's/M\xef\xbf\xbdsli/M\xc3\xb6sli/' \
-e 's/R\xe4ty/R\xc3\xa4ty/' \
-e 's/2003\xc2\xad-/2003-/' \
-e 's/\xc2\xa0/ /g' \
-e 's/ \xa0/ /g' \
-e 's/\xa0 //' \
`find . -name \*ChangeLog\* | grep -v /.svn`
From-SVN: r140033
2008-09-05 13:07:45 +02:00
Ralf Wildenhues
e63ea00c65
check_makefile_deps.sh: New file.
...
contrib/
* check_makefile_deps.sh: New file.
gcc/
* Makefile.in (TARGET_DEF_H): Add targhooks.h.
(FIXED_VALUE_H): New variable.
(RTL_BASE_H): Use $(INPUT_H) and $(FIXED_VALUE_H) instead of
input.h, fixed-value.h.
(TREE_H): Use $(INPUT_H), add $(SYMTAB_H).
(BASIC_BLOCK_H): Use $(BITMAP_H).
(FUNCTION_H): Add varray.h.
(IPA_REFERENCE_H): Use $(BITMAP_H).
(CGRAPH_H): Add $(BASIC_BLOCK_H).
(DF_H): Use $(BITMAP_H).
(GGC_H): Add statistics.h.
(INSN_ADDR_H): New.
(INSN_ATTR_H): Use it.
(SYSTEM_H): Add safe-ctype.h, filenames.h.
(INPUT_H): New.
(SYMTAB_H): Add $(OBSTACK_H).
(CPP_INTERNAL_H): New.
(TREE_DUMP_H): Add tree-pass.h.
(TREE_FLOW_H): Use $(BITMAP_H)
(PRETTY_PRINT_H): Use $(INPUT_H).
(EBITMAP_H): Rename from typo-ed EBIMAP_H.
(GSTAB_H): New.
(BITMAP_H): New.
(many object files): Fix lots of header dependencies throughout.
gcc/fortran/
* Make-lang.in (gfortranspec.o): Fix dependencies.
gcc/java/
* Make-lang.in (jvspec.o): Fix dependencies.
From-SVN: r137792
2008-07-14 18:40:35 +00:00
Sebastian Pop
a3ced85e05
patch_tester.sh (report): Do not print "Checker: ".
...
2008-05-08 Sebastian Pop <sebastian.pop@amd.com>
* patch_tester.sh (report): Do not print "Checker: ".
From-SVN: r135083
2008-05-08 15:14:47 +00:00
Sebastian Pop
24170ff901
patch_tester.sh (report): Do not print the time.
...
* patch_tester.sh (report): Do not print the time.
From-SVN: r134600
2008-04-23 19:00:08 +00:00
Joseph Myers
7f9766e49a
texi2pod.pl: Handle @samp and @url inside verbatim blocks.
...
contrib:
* texi2pod.pl: Handle @samp and @url inside verbatim blocks.
Handle @heading. Handle enumerated lists with starting numbers
and extra headings.
gcc:
* doc/include/gpl_v3.texi: Update for manpage generation.
* doc/gcc.texi, doc/gccint.texi: Include gpl_v3.texi instead of
gpl.texi.
* doc/sourcebuild.texi: Document gpl_v3.texi as well as gpl.texi.
* Makefile.in (TEXI_GCC_FILES, TEXI_GCCINT_FILES): Include
gpl_v3.texi instead of gpl.texi.
(gpl.pod): New.
gcc/fortran:
* gfortran.texi: Include gpl_v3.texi instead of gpl.texi
* Make-lang.in (GFORTRAN_TEXI): Include gpl_v3.texi instead of
gpl.texi.
gcc/java:
* gcj.texi: Include gpl_v3.texi instead of gpl.texi
* Make-lang.in (TEXI_JAVA_FILES): Include gpl_v3.texi instead of
gpl.texi.
From-SVN: r133794
2008-04-01 17:38:56 +01:00
Janis Johnson
1d4edfd6cb
patch_tester.sh (initialization): Initialize svnpatch and stop.
...
2008-03-10 Janis Johnson <janis187@us.ibm.com>
* patch_tester.sh (initialization): Initialize svnpatch and stop.
(usage): Add -svnpath and -stop.
(makedir): New.
(argument handling): Process -stop and -svnpath.
(setup code): Use makedir, error out if initial svn checkout fails.
(update): Use svnpath. Invoke contrib/gcc_update.
(apply_patch): Require that patch was created at top level. Use eval
with option variables. Don't use bootstrap target for make. Verify
that some tests were run.
(bootntest_patched): Use snvpath.
(main loop): For -stop, exit when there are no more patches to test.
From-SVN: r133092
2008-03-10 21:33:09 +00:00
Ralf Wildenhues
802e3f8c81
c.opt (Wsynth): Deprecate.
...
gcc/
* c.opt (Wsynth): Deprecate.
* doc/invoke.texi (Option Summary, Warning Options): Document
-Wno-format-contains-nul.
gcc/fortran/
* invoke.texi (Error and Warning Options): Document
-Wline-truncation.
contrib/
* check_warning_flags.sh: Instead of invoke.texi, take the path
to the doc directory as argument. Check that warnings listed in
'gcc --help' are accepted by the compiler, and listed in the
manuals.
From-SVN: r133059
2008-03-09 17:43:10 +00:00
Tom Tromey
3825be8c96
patch_tester.sh (usage): Watermark is not lexicographic.
...
* patch_tester.sh (usage): Watermark is not lexicographic.
Load $STATE/defaults if it exists.
(selfexec): Use $0.
(apply_patch): Handle deletions.
(bootntest): Handle default settings.
From-SVN: r132974
2008-03-06 14:47:23 +00:00
Jakub Jelinek
a7d95bfef5
* gennews (files): Reference GCC 4.3 web pages.
...
From-SVN: r132901
2008-03-05 17:22:11 +01:00
Ralf Wildenhues
1a1f75881b
* check_warning_flags.sh: New file.
...
From-SVN: r132332
2008-02-15 05:50:37 +00:00
Joseph Myers
8d8da22788
MAINTAINERS (c4x port): Remove.
...
* MAINTAINERS (c4x port): Remove.
contrib:
* paranoia.cc (main): Remove handling of c4x_single and
c4x_extended formats.
gcc:
* config/c4x: Remove directory.
* config.gcc (crx-*, mt-*): Mark obsolete.
(c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*,
h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
sh-*-rtemscoff*): Remove cases.
* defaults.h (C4X_FLOAT_FORMAT): Remove.
* real.c (encode_c4x_single, decode_c4x_single,
encode_c4x_extended, decode_c4x_extended, c4x_single_format,
c4x_extended_format): Remove.
* real.h (c4x_single_format, c4x_extended_format): Remove.
* doc/extend.texi (interrupt, naked): Remove mention of attributes
on C4x.
(Pragmas): Remove comment about c4x pragmas.
* doc/install.texi (c4x): Remove target-specific instructions.
* doc/invoke.texi (TMS320C3x/C4x Options): Remove.
* doc/md.texi (Machine Constraints): Remove C4x documentation.
* doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not
refer to C4x source files as examples.
(C4X_FLOAT_FORMAT): Remove documentation.
gcc/testsuite:
* gcc.dg/builtin-inf-1.c, gcc.dg/compare6.c, gcc.dg/sibcall-3.c,
gcc.dg/sibcall-4.c, gcc.dg/torture/builtin-attr-1.c: Don't handle
c4x-*-* targets.
libgcc:
* config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
sh-*-rtemscoff*): Remove cases.
From-SVN: r131835
2008-01-25 20:49:04 +00:00
Sebastian Pop
3dfb41c564
compareSumTests3: Changed to GPLv3.
...
2007-12-26 Sebastian Pop <sebastian.pop@amd.com>
* compareSumTests3: Changed to GPLv3.
* prepare_patch.sh: Same.
* uninclude: Same.
* dglib.pm: Same.
* gennews: Same.
* texi2pod.pl: Same.
* analyze_brprob: Same.
* gcc_build: Same.
From-SVN: r131186
2007-12-26 21:42:35 +00:00
Sebastian Pop
66d3504ca6
patch_tester.sh: Changed to GPLv3.
...
2007-12-26 Sebastian Pop <sebastian.pop@amd.com>
* patch_tester.sh: Changed to GPLv3.
From-SVN: r131185
2007-12-26 21:01:38 +00:00
Sebastian Pop
cf79e38637
patch_tester.sh: Don't save the script anymore.
...
2007-12-15 Sebastian Pop <sebastian.pop@amd.com>
* patch_tester.sh: Don't save the script anymore.
From-SVN: r130986
2007-12-16 01:01:23 +00:00
Sebastian Pop
0f55312ac9
patch_tester.sh: New.
...
2007-12-15 Sebastian Pop <sebastian.pop@amd.com>
* patch_tester.sh: New.
* prepare_patch.sh: New.
From-SVN: r130981
2007-12-16 00:08:17 +00:00
Alexandre Oliva
3a3b6beb8e
* compare-debug: Introduce -p flag to preserve .stripped files.
...
From-SVN: r130431
2007-11-26 06:40:31 +00:00
Manuel López-Ibáñez
7b6cb84335
invoke.texi (Wall): fix formatting issues.
...
2007-10-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* doc/invoke.texi (Wall): fix formatting issues.
contrib/
* texi2pod.pl: Handle @asis.
(postprocess): Move @gccoptlist{} after all formatting commands.
From-SVN: r129125
2007-10-08 14:05:51 +00:00
Alexandre Oliva
a64036a75c
compare-debug: Avoid spurious errors when .stripped files exist.
...
* compare-debug: Avoid spurious errors when .stripped files
exist.
From-SVN: r128911
2007-10-01 20:27:22 +00:00
Hans-Peter Nilsson
1733c7eb5b
warn_summary (srcdirFilter): Add fixincludes, sim, newlib and mpfr.
...
* warn_summary (srcdirFilter): Add fixincludes, sim,
newlib and mpfr.
From-SVN: r128662
2007-09-22 01:19:10 +00:00
H.J. Lu
0cb58062b7
gcc_update: Handle different URL paths and tags.
...
2007-08-23 H.J. Lu <hongjiu.lu@intel.com>
* gcc_update: Handle different URL paths and tags.
From-SVN: r127737
2007-08-23 05:48:39 -07:00
Alexandre Oliva
bb286d7113
Makefile.def (STAGE2_CFLAGS, [...]): Add to flags_to_pass.
...
ChangeLog:
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Add to flags_to_pass. Adjust uses of BOOT_CFLAGS.
(bootstrap2-debug, bootstrap-debug): New bootstrap stages.
* Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
(do-compare, do-compare3, do-compare-debug): New.
([+compare-target+]): Use them.
contrib/ChangeLog:
* compare-debug: New.
From-SVN: r127570
2007-08-17 00:00:00 +00:00
H.J. Lu
36dcf05573
gcc_update: Use "svn info" for revision number.
...
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
Andreas Schwab <schwab@suse.de>
* gcc_update: Use "svn info" for revision number. Create
gcc/REVISION with branch name and revision number.
Co-Authored-By: Andreas Schwab <schwab@suse.de>
From-SVN: r127566
2007-08-16 12:05:48 -07:00
Diego Novillo
c749c2ee4a
gcc.doxy: Rename from tree-ssa.doxy.
...
* gcc.doxy: Rename from tree-ssa.doxy.
From-SVN: r127350
2007-08-10 17:08:32 -04:00
Diego Novillo
cfa66dc16f
tree-ssa.doxy: Update for doxygen 1.5.
...
* tree-ssa.doxy: Update for doxygen 1.5.
Include all the files in the middle and back ends.
From-SVN: r127349
2007-08-10 16:02:33 -04:00
Hans-Peter Nilsson
e9a57dc16c
Correct file path in last entry
...
From-SVN: r126346
2007-07-05 00:34:53 +00:00
Hans-Peter Nilsson
6d409e8ab5
gcc_update (files_and_dependencies): Handle gcc/testsuite/gcc.dg/cpp/direct2s.c.
...
* gcc_update (files_and_dependencies): Handle
gcc/testsuite/gcc.dg/cpp/direct2s.c.
From-SVN: r126155
2007-06-30 17:17:14 +00:00
Mark Mitchell
6d707d0882
* gennews (files): Reference GCC 4.2 web pages.
...
From-SVN: r124664
2007-05-14 00:33:48 +00:00
Zack Weinberg
3caecafa48
* texi2pod.pl: Correct handling of @itemize with no argument.
...
From-SVN: r123514
2007-04-05 05:46:41 +00:00
Hans-Peter Nilsson
a8af9c34fd
* uninclude: New utility, from Alexandre Oliva.
...
From-SVN: r123027
2007-03-17 19:08:50 +00:00
Dominique d'Humieres
7276d36825
* test_installed: Adjust to the move from g77 to gfortran.
...
From-SVN: r122340
2007-02-26 20:40:13 +00:00
Matthias Klose
d0fc3f0654
texi2pod.pl: Handle @subsubsection, ignore @anchor.
...
2007-02-16 Matthias Klose <doko@debian.org>
* texi2pod.pl: Handle @subsubsection, ignore @anchor.
From-SVN: r122026
2007-02-16 01:02:57 +00:00
Hans-Peter Nilsson
ce0d943af4
test_summary (configflags): Adjust for changes in the config.status format due to update to autoconf 2.59.
...
* test_summary (configflags): Adjust for changes in the
config.status format due to update to autoconf 2.59.
From-SVN: r121787
2007-02-10 00:30:46 +00:00
Daniel Jacobowitz
61930fe531
* gcc_update: Update for configure.in -> configure.ac.
...
From-SVN: r121758
2007-02-09 15:36:20 +00:00
Richard Sandiford
427e84f7fe
texi2pod.pl: Handle @multitable.
...
contrib/
* texi2pod.pl: Handle @multitable.
From-SVN: r121646
2007-02-06 13:14:18 +00:00
Tom Tromey
694032374b
sourcebuild.texi (libgcj Tests): Don't mention jacks.
...
gcc
* doc/sourcebuild.texi (libgcj Tests): Don't mention jacks.
* doc/install.texi (Testing): Don't mention jacks.
(Configuration): Document --enable-java-maintainer-mode. Move
--with-java-home to libgcj-specific section. Document
--with-ecj-jar.
(Prerequisites): Mention --enable-java-maintainer-mode, ecj1.
contrib
* download_ecj: New file.
From-SVN: r120802
2007-01-15 21:49:31 +00:00
Matthew Sachs
7f5b8ff7d7
* compareSumTests3: POD syntax fix.
...
From-SVN: r117271
2006-09-28 02:03:46 +00:00
Matthew Sachs
ed5ce4e014
dglib.pm: Initial commit.
...
* dglib.pm: Initial commit.
* compareSumTests3: Initial commit.
From-SVN: r117269
2006-09-28 01:50:45 +00:00
Bernhard Fischer
c3382fba04
dg-cmp-results.sh (compare-$$.awk): Print name[old] and not non-existing nm[old].
...
2006-09-18 Bernhard Fischer <aldot@gcc.gnu.org>
* dg-cmp-results.sh (compare-$$.awk): Print name[old]
and not non-existing nm[old].
From-SVN: r117006
2006-09-18 00:13:26 +02:00
Paul Eggert
27b56ba6cc
Port to hosts whose 'sort' and 'tail' implementations treat operands with leading '+' as file names...
...
Port to hosts whose 'sort' and 'tail' implementations
treat operands with leading '+' as file names, as POSIX
has required since 2001. However, make sure the code still
works on pre-POSIX hosts.
* ltmain.sh: Don't assume "sort +2" is equivalent to
"sort -k 3", since POSIX 1003.1-2001 no longer requires this.
contrib:
* compare_tests: Don't assume "sort +2" is equivalent to
"sort -k 3", since POSIX 1003.1-2001 no longer requires this.
gcc:
* Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
which says you should use "tail -c +N" rather than "tail +Nc".
Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
From-SVN: r115234
2006-07-06 23:24:51 +00:00
James Lemke
afef9a5b58
* dg-cmp-results.sh: New script for comparing DejaGNU logs.
...
From-SVN: r114393
2006-06-05 15:59:03 +00:00
Richard Earnshaw
e58b87f712
compare_tests: Handle multilibs better.
...
* compare_tests: Handle multilibs better.
Co-Authored-By: Mike Stump <mrs@apple.com>
From-SVN: r114331
2006-06-02 23:47:35 +00:00
Daniel Jacobowitz
5dd59f65ca
* texi2pod.pl: Correct handling of absolute @include.
...
From-SVN: r114271
2006-05-31 15:48:05 +00:00
Daniel Jacobowitz
597fb86c90
Correct changelog date in last commit.
...
From-SVN: r113463
2006-05-02 14:00:22 +00:00
Daniel Jacobowitz
84309a323e
* texi2pod.pl: Handle -I.
...
From-SVN: r113462
2006-05-02 13:50:58 +00:00
Mark Mitchell
b7ded1e0c5
* gennews (files): Update for GCC 4.1.
...
From-SVN: r111518
2006-02-28 08:10:09 +00:00
Diego Novillo
46852b9b37
gcc_update (files_and_dependencies): Handle libgomp/testsuite/Makefile.in.
...
* gcc_update (files_and_dependencies): Handle
libgomp/testsuite/Makefile.in.
From-SVN: r110174
2006-01-24 11:07:30 -05:00
Diego Novillo
953ff28998
[multiple changes]
...
2006-01-18 Richard Henderson <rth@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* libgomp: New directory.
* Makefile.def: Add target_module libgomp.
* Makefile.in: Regenerate.
* configure.in (target_libraries): Add target-libgomp.
* configure: Regenerate.
contrib/
2006-01-18 Richard Henderson <rth@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* gcc_update (files_and_dependencies): Add libgomp files.
gcc/
2006-01-18 Richard Henderson <rth@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* omp-low.c: New file.
* c-omp.c: New file.
2006-01-18 Richard Henderson <rth@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* doc/invoke.texi: Document -fopenmp.
* tree-dump.h (debug_function): Declare.
* hooks.c (hook_bool_tree_bool_false): New function.
(hook_tree_tree_null): Remove.
(hook_tree_tree_tree_null): New.
* hooks.h: Update to match.
* tree-pretty-print.c (debug_tree_chain): New.
(print_generic_expr): Handle TDF_CHAIN.
(dump_generic_node): Handle BLOCK.
Do not abort with incomplete SWITCH_EXPRs.
Do not dump body of an OpenMP directive if TDF_SLIM is given.
<case OMP_PARALLEL, OMP_FOR, OMP_SECTIONS>: Don't
print space after directive name.
<OMP_FOR>: Handle printing OMP_FOR_PRE_BODY.
Handle OMP_MASTER and OMP_ORDERED.
Handle printing of OMP_BODY just in one place, goto
dump_omp_body in the rest of OMP_* nodes that have
OMP_BODY.
Don't handle clause nodes here. Update omp statements to
use dump_omp_clauses.
Handle OMP_SINGLE, OMP_SECTIONS, OMP_SECTION,
OMP_CLAUSE_ORDERED, OMP_CLAUSE_SCHEDULE, OMP_ATOMIC,
OMP_CRITICAL, OMP_CLAUSE_NOWAIT, GOMP_CLAUSE_IF,
GOMP_CLAUSE_NUM_THREADS, GOMP_FOR, GOMP_CLAUSE_SHARED,
GOMP_CLAUSE_FIRSTPRIVATE, GOMP_CLAUSE_LASTPRIVATE,
GOMP_CLAUSE_COPYIN and GOMP_CLAUSE_COPYPRIVATE.
Adjust output for GOMP_PARALLEL.
(dump_omp_clauses): New.
(print_declaration): Dump DECL_VALUE_EXPR.
(op_symbol_1): Split out of op_symbol.
(dumping_stmts): Remove. Update all users.
* cgraph.c (cgraph_analyze_queue): New.
(cgraph_add_new_function): New.
* cgraph.h (cgraph_analyze_queue): Declare.
(cgraph_add_new_function): Declare.
(cgraph_lower_function): Remove.
* tree.c (walk_tree): Walk OMP_CLAUSE_CHAIN of OMP_CLAUSE_*
nodes. Use switch for all nodes, handle most of IS_EXPR_CODE_CLASS
and TYPE_P nodes in its default clause.
(empty_body_p): New.
(tree_range_check_failed): New.
(build5_stat): New.
* tree.h (OMP_CLAUSE_REDUCTION_INIT,
OMP_CLAUSE_REDUCTION_MERGE,
OMP_CLAUSE_REDUCTION_PLACEHOLDER,
OMP_CLAUSE_PRIVATE_DEBUG,
OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE, OMP_FOR_PRE_BODY,
OMP_MASTER_BODY, OMP_ORDERED_BODY OMP_BODY,
OMP_CLAUSES, OMP_CLAUSE_DECL, OMP_CLAUSE_DEFAULT_KIND,
OMP_CLAUSE_CHAIN, OMP_CLAUSE_OUTER_DECL,
OMP_CLAUSE_INNER_DECL, OMP_CLAUSE_NUM_THREADS_EXPR,
OMP_CLAUSE_IF_EXPR, OMP_CLAUSE_SCHEDULE_CHUNK_EXPR,
OMP_CLAUSE_SCHEDULE_CHUNK_SIZE. OMP_PARALLEL_VAR_INIT,
OMP_PARALLEL_VAR_REDUC, OMP_FOR_VAR_INIT,
OMP_FOR_VAR_LAST, OMP_FOR_VAR_REDUC,
OMP_SECTIONS_VAR_INIT, OMP_SECTIONS_VAR_LAST,
OMP_SECTIONS_VAR_REDUC, OMP_CLAUSE_REDUCTION_CODE
OMP_SINGLE_CLAUSES, OMP_SINGLE_BODY,
OMP_CLAUSE_SCHEDULE_CHUNK_SIZE, OMP_SECTION_BODY,
OMP_CRITICAL_NAME, OMP_CRITICAL_BODY): New.
(TREE_RANGE_CHECK): New.
(empty_body_p): Declare.
(enum omp_clause_default_kind): New.
(build_string_literal): Declare.
(enum omp_clause_schedule_kind, OMP_CLAUSE_SCHEDULE_KIND): New.
(build5_stat, build5): Declare.
* tree-pass.h (TDF_CHAIN): Define.
* tree-pass.h (PROP_gimple_lomp): Define.
(pass_lower_omp): Declare.
* diagnostic.h (debug_tree_chain): Declare.
* builtins.c (get_builtin_sync_mode): Use 0 as last argument to
mode_for_size.
(expand_builtin): Handle sync BUILT_IN_*_16 builtins.
* builtins.c (build_string_literal): Make extern.
* gcc.c (include_spec_function): New.
(static_spec_functions): Add it.
(main): Move load of libgomp.spec ...
(LINK_COMMAND_SPEC): ... here.
(link_gomp_spec): New.
(static_specs): Include it.
(LINK_COMMAND_SPEC): Add link_gomp.
(GOMP_SELF_SPECS): New.
(driver_self_specs): Include it.
(switch_matches): Don't mark inline.
(main): Load libgomp.spec.
* tree-gimple.c (is_gimple_stmt): True for OMP_MASTER,
OMP_ORDERED, OMP_CRITICAL, OMP_SECTIONS, OMP_SECTION,
and OMP_SINGLE, OMP_FOR and OMP_PARALLEL.
* tree-gimple.h (enum omp_parallel): Declare.
(determine_parallel_type): Declare.
(omp_firstprivatize_variable): Declare.
(omp_reduction_init): Declare.
(diagnose_omp_structured_block_errors): Declare.
(struct walk_stmt_info): Add want_return_expr.
(struct walk_stmt_info): Add want_bind_expr, want_locations.
(find_omp_clause): Declare.
(insert_field_into_struct): Declare.
(struct walk_stmt_info): Move from tree-nested.c
(walk_stmts): Declare.
* c-cppbuiltin.c (c_cpp_builtins): If -fopenmp, #define _OPENMP
to 200505.
* cgraphunit.c (cgraph_lower_function): Make static.
(cgraph_finalize_pending_functions): New.
(cgraph_finalize_function): Call it.
(cgraph_finalize_compilation_unit): Likewise.
* builtin-types.def (BT_I16, BT_FN_I16_VPTR_I16,
BT_FN_BOOL_VPTR_I16_I16, BT_FN_I16_VPTR_I16_I16): Add.
(BT_FN_UINT_UINT): New.
(DEF_FUNCTION_TYPE_6, DEF_FUNCTION_TYPE_7,
DEF_FUNCTION_TYPE_VAR_4): Document.
(BT_PTR_LONG, BT_PTR_PTR, BT_FN_BOOL, BT_FN_INT,
BT_FN_VOID_PTRPTR, BT_PTR_FN_VOID_PTR,
BT_FN_BOOL_LONGPTR_LONGPTR, BT_FN_VOID_OMPFN_PTR_UINT,
BT_FN_VOID_OMPFN_PTR_UINT_UINT,
BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR,
BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG,
BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG): New.
* builtins.def: Update DEF_BUILTIN comment to include COND argument.
Move all DEF_SYNC_BUILTIN () and DEF_GOMP_BUILTIN () builtins
into separate files.
(DEF_GOMP_BUILTIN): New.
(BUILT_IN_OMP_GET_THREAD_NUM, BUILT_IN_GOMP_BARRIER,
BUILT_IN_GOMP_CRITICAL_START, BUILT_IN_GOMP_CRITICAL_END,
BUILT_IN_GOMP_CRITICAL_NAME_START, BUILT_IN_GOMP_CRITICAL_NAME_END,
BUILT_IN_GOMP_LOOP_STATIC_START, BUILT_IN_GOMP_LOOP_DYNAMIC_START,
BUILT_IN_GOMP_LOOP_GUIDED_START, BUILT_IN_GOMP_LOOP_RUNTIME_START,
BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START,
BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START,
BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_START,
BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START,
BUILT_IN_GOMP_LOOP_STATIC_NEXT, BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT,
BUILT_IN_GOMP_LOOP_GUIDED_NEXT, BUILT_IN_GOMP_LOOP_RUNTIME_NEXT,
BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT,
BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT,
BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_NEXT,
BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_NEXT,
BUILT_IN_GOMP_PARALLEL_LOOP_STATIC_START,
BUILT_IN_GOMP_PARALLEL_LOOP_DYNAMIC_START,
BUILT_IN_GOMP_PARALLEL_LOOP_GUIDED_START,
BUILT_IN_GOMP_PARALLEL_LOOP_RUNTIME_START,
BUILT_IN_GOMP_LOOP_END, BUILT_IN_GOMP_LOOP_END_NOWAIT,
BUILT_IN_GOMP_ORDERED_START, BUILT_IN_GOMP_ORDERED_END,
BUILT_IN_GOMP_PARALLEL_START, BUILT_IN_GOMP_PARALLEL_END,
BUILT_IN_GOMP_SECTIONS_START, BUILT_IN_GOMP_SECTIONS_NEXT,
BUILT_IN_GOMP_PARALLEL_SECTIONS_START, BUILT_IN_GOMP_SECTIONS_END,
BUILT_IN_GOMP_SECTIONS_END_NOWAIT, BUILT_IN_GOMP_SINGLE_START,
BUILT_IN_GOMP_SINGLE_COPY_START, BUILT_IN_GOMP_SINGLE_COPY_END): New.
* sync-builtins.def: New file, moved from builtins.def.
* omp-builtins.def: New file, moved from builtins.def.
* c-objc-common.h (LANG_HOOKS_OMP_PREDETERMINED_SHARING): Redefine.
* gimple-low.c (lower_function_body): Clear data.
(lower_stmt): Do not handle COMPOUND_EXPR.
Remove call to print_node_brief.
* c-tree.h (c_finish_omp_clauses): New prototype.
(C_DECL_THREADPRIVATE_P): Define.
(lookup_name_no_remap, c_omp_remap_private): Remove
(c_begin_omp_parallel, c_finish_omp_parallel): Update.
(check_for_loop_decls): Update decl.
(lookup_name_no_remap, c_omp_remap_private): Declare.
(build_indirect_ref, build_modify_expr, pushdecl,
pushdecl_top_level): Move to c-common.h.
* dwarf2out.c (loc_descriptor_from_tree_1): Don't set unsignedp
before the switch, but just in the 2 places that need it.
* c-decl.c (diagnose_mismatched_decls): Do not check for
mismatched thread-local attributes when OLDDECL is marked
threadprivate and NEWDECL has no thread-local attributes.
(merge_decls): Merge C_DECL_THREADPRIVATE_P.
(c_gimple_diagnostics_recursively): Rename from
c_warn_unused_result_recursively. Invoke
diagnose_omp_structured_block_errors.
(check_for_loop_decls): Return a singular decl found.
* langhooks.c (lhd_omp_predetermined_sharing): Return
OMP_CLAUSE_DEFAULT_SHARED for DECL_ARTIFICIAL decls.
(lhd_omp_firstprivatize_type_sizes): New.
(lhd_omp_assignment): New.
(lhd_omp_predetermined_sharing): New.
* langhooks.h (struct gimplify_omp_ctx): Forward declare.
(struct lang_hooks_for_types): Add
omp_firstprivatize_type_sizes, omp_privatize_by_reference,
omp_predetermined_sharing, omp_disregard_value_expr,
omp_private_debug_clause, omp_clause_default_ctor,
omp_clause_copy_ctor, omp_clause_assign_op, omp_clause_dtor.
(c_finish_omp_clauses): New.
(c_finish_bc_stmt): Diagnose break within omp for.
(c_begin_omp_parallel, c_finish_omp_parallel): New.
(build_unary_op): Return error_mark after reporting
a readonly_error.
(build_modify_expr): Likewise.
* gimplify.c: Include optabs.h and pointer-set.h.
(enum gimplify_omp_var_data): Declare.
(struct gimplify_omp_ctx): Declare.
(struct gimplify_ctx): Add fields prev_context, combined_pre_p
and combined_ctxp.
(gimplify_ctxp, gimplify_omp_ctxp): New local variables.
(push_gimplify_context, pop_gimplify_context): Allow nesting.
(splay_tree_compare_decl_uid): New.
(new_omp_context): New.
(delete_omp_context): New.
(gimple_add_tmp_var): Call omp_add_variable.
(gimplify_bind_expr): Likewise.
(gimplify_var_or_parm_decl): If omp_notice_variable returned
true, disregard DECL_VALUE_EXPR on the decl if any.
(gimplify_expr_in_ctx): New.
(omp_firstprivatize_variable, omp_firstprivatize_type_sizes
omp_add_variable, omp_notice_variable, omp_is_private
gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses_1
gimplify_adjust_omp_clauses, gimplify_omp_parallel
gimplify_omp_for, gimplify_omp_workshare, goa_lhs_expr_p
gimplify_omp_atomic_fetch_op, goa_stabilize_expr
gimplify_omp_atomic_pipeline, gimplify_omp_atomic_mutex
gimplify_omp_atomic): New.
(gimplify_expr): Handle OMP_PARALLEL, OMP_FOR, OMP_SECTIONS,
OMP_SINGLE, OMP_SECTION, OMP_MASTER, OMP_ORDERED,
OMP_CRITICAL and OMP_ATOMIC.
(gimplify_body): Verify gimplify_ctxp is empty after gimplification.
* c-pragma.h (enum pragma_kind): Add
PRAGMA_OMP_ATOMIC, PRAGMA_OMP_BARRIER,
PRAGMA_OMP_CRITICAL, PRAGMA_OMP_FLUSH, PRAGMA_OMP_FOR,
PRAGMA_OMP_MASTER, PRAGMA_OMP_ORDERED,
PRAGMA_OMP_PARALLEL, PRAGMA_OMP_PARALLEL_FOR,
PRAGMA_OMP_PARALLEL_SECTIONS, PRAGMA_OMP_SECTION,
PRAGMA_OMP_SECTIONS, PRAGMA_OMP_SINGLE,
PRAGMA_OMP_THREADPRIVATE.
* tree.def (OMP_PARALLEL, OMP_FOR, OMP_SECTIONS,
OMP_SINGLE, OMP_SECTION, OMP_MASTER, OMP_ORDERED,
OMP_CRITICAL, OMP_ATOMIC, OMP_CLAUSE_PRIVATE,
OMP_CLAUSE_SHARED, OMP_CLAUSE_FIRSTPRIVATE,
OMP_CLAUSE_LASTPRIVATE, OMP_CLAUSE_REDUCTION,
OMP_CLAUSE_COPYIN, OMP_CLAUSE_COPYPRIVATE,
OMP_CLAUSE_IF, OMP_CLAUSE_NUM_THREADS,
OMP_CLAUSE_SCHEDULE, OMP_CLAUSE_NOWAIT,
OMP_CLAUSE_ORDERED, OMP_CLAUSE_DEFAULT): Define.
* print-tree.c (print_node): Dump DECL_VALUE_EXPR.
* tree-ssa-dce.c (find_control_dependence): Do not assume that
ENTRY_BLOCK_PTR->next_bb == single_succ (ENTRY_BLOCK_PTR).
* tree-nested.c (convert_call_expr): Call walk_body on OMP_BODY for
OpenMP directives.
(struct nesting_info): Add field_map,
suppress_expansion, debug_var_chain.
(create_nesting_tree): Initialize them.
(lookup_field_for_decl): Use field_map.
(get_nonlocal_debug_decl, get_local_debug_decl): New.
(convert_local_omp_clauses): New.
(finalize_nesting_tree_1): Add debug_var_chain to toplevel block.
(walk_body): Split out of walk_function.
(convert_nonlocal_omp_clauses, convert_local_omp_clauses): New.
(convert_nonlocal_reference): Handle omp statements.
(convert_local_reference): Likewise.
(unnest_nesting_tree_1): Split out of finalize_nesting_tree_1.
(unnest_nesting_tree): New.
(lower_nested_functions): Call it.
(insert_field_into_struct): Make extern.
(struct walk_stmt_info): Move to tree-gimple.h.
(walk_stmts): Make extern.
* omp-builtins.def: New file.
* tree-iterator.c (expr_only): Clarify comment.
* c-common.h (pushdecl_top_level, pushdecl,
build_modify_expr, build_indirect_ref,
c_finish_omp_master, c_finish_omp_critical,
c_finish_omp_ordered, c_finish_omp_barrier,
c_finish_omp_atomic, c_finish_omp_flush,
c_finish_omp_for, c_split_parallel_clauses,
omp_clause_default_kind, c_omp_sharing_predetermined,
c_omp_remap_decl): Declare.
* Makefile.in (BUILTINS_DEF): Add omp-builtins.def.
(OBJS-common): Add omp-low.o.
(c-omp.o, omp-low.o): Add.
(gimplify.o): Add dependency on $(OPTABS_H).
(GTFILES): Add omp-low.c.
(gt-stringpool.h): Add.
* tree-cfg.c (set_bb_for_stmt): Do not update the
block-to-labels map if we are currently expanding to RTL.
(tree_node_can_be_shared): Remove unnecessary CONSTANT_CLASS_P
checks.
Handle IDENTIFIER_NODE.
(tree_verify_flow_info): Do not ICE when emitting error
messages about invalid labels.
(dump_function_to_file): Reset CFUN before emitting the body
of the function.
(debug_function): New.
* passes.c (init_optimization_passes): Schedule
pass_lower_omp.
* langhooks-def.h (lhd_omp_predetermined_sharing,
lhd_omp_assignment, lhd_omp_firstprivatize_type_sizes):
Declare.
(LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES): Define.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Use it.
(LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE,
LANG_HOOKS_OMP_PREDETERMINED_SHARING,
LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR,
LANG_HOOKS_OMP_PRIVATE_DEBUG_CLAUSE,
LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR,
LANG_HOOKS_OMP_CLAUSE_COPY_CTOR,
LANG_HOOKS_OMP_CLAUSE_ASSIGN_OP,
LANG_HOOKS_OMP_CLAUSE_DTOR): Define.
(LANG_HOOK_DECLS): Use them.
2006-01-18 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
Richard Henderson <rth@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* c-parser.c (pragma_omp_clause): Define.
(c_parser_declaration_or_fndef): Document OpenMP syntax.
(c_parser_compound_statement): Likewise.
(c_parser_statement): Likewise.
(c_parser_pragma): Handle omp pragmas.
(OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK,
OMP_PARALLEL_CLAUSE_MASK, OMP_SINGLE_CLAUSE_MASK): Define.
(c_parser_omp_clause_name, check_no_duplicate_clause,
c_parser_omp_variable_list,
c_parser_omp_var_list_parens, c_parser_omp_clause_copyin,
c_parser_omp_clause_copyprivate,
c_parser_omp_clause_default,
c_parser_omp_clause_firstprivate, c_parser_omp_clause_if,
c_parser_omp_clause_lastprivate,
c_parser_omp_clause_nowait,
c_parser_omp_clause_num_threads,
c_parser_omp_clause_ordered, c_parser_omp_clause_private,
c_parser_omp_clause_reduction,
c_parser_omp_clause_schedule, c_parser_omp_clause_shared,
c_parser_omp_all_clauses, c_parser_omp_structured_block,
c_parser_omp_atomic, c_parser_omp_barrier,
c_parser_omp_critical, c_parser_omp_flush,
c_parser_omp_for_loop, c_parser_omp_for,
c_parser_omp_master, c_parser_omp_ordered,
c_parser_omp_sections_scope, c_parser_omp_sections,
c_parser_omp_parallel, c_parser_omp_single,
c_parser_omp_construct, c_parser_omp_threadprivate): New.
* c-pragma.c (init_pragma): Do omp pragma registration here.
* c.opt (fopenmp): New flag.
2006-01-18 Eric Christopher <echristo@apple.com>
* gcc.c (GOMP_SELF_SPECS): Bracket in #ifndef/#endif.
* config/darwin.h (GOMP_SELF_SPECS): Define.
testsuite/
2006-01-18 Richard Henderson <rth@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
Uros Bizjak <uros@kss-loka.si>
* testsuite/gcc.dg/gomp: New directory.
From-SVN: r109902
2006-01-18 14:21:25 -05:00
Ben Elliston
7a77407957
* newcvsroot: Remove.
...
From-SVN: r108190
2005-12-08 08:38:02 +11:00
Steven Bosscher
f2bd1eb944
* gcc_build: Fix my previous checking.
...
From-SVN: r106449
2005-11-03 20:56:05 +00:00
Joseph Myers
f415efe34c
* gcc_update: Include revision number in LAST_UPDATED.
...
From-SVN: r106327
2005-11-01 12:59:50 +00:00
Steven Bosscher
133f4c87b1
gcc_build: Use gcc.gnu.org as the default server.
...
* gcc_build: Use gcc.gnu.org as the default server. Set up
SVN_REPOSITORY correctly. Add support for checking out branches.
From-SVN: r106248
2005-10-30 19:45:01 +00:00
Andrew Pinski
8f5c9c3d15
gcc_update: When svn update is called and --silent is used, pass -q.
...
2005-10-28 Andrew Pinski <pinskia@gcc.gnu.org>
* gcc_update: When svn update is called and
--silent is used, pass -q.
From-SVN: r105985
2005-10-28 17:28:20 -07:00
Andrew Pinski
7dcd894f70
gcc_update: Remove the -q from svn invocation.
...
2005-10-28 Andrew Pinski <pinskia@gcc.gnu.org>
* gcc_update: Remove the -q from svn invocation.
From-SVN: r105958
2005-10-28 13:19:57 -07:00
Andrew Pinski
6c301b82b4
gcc_build: Remove -d from the call to gcc_update.
...
2005-10-28 Andrew Pinski <pinskia@gcc.gnu.org>
* gcc_build: Remove -d from the call to gcc_update.
From-SVN: r105937
2005-10-28 08:22:41 -07:00
Daniel Berlin
1b9f940b0c
gcc_update: Update for svn.
...
2005-10-28 Daniel Berlin <dberlin@dberlin.org>
Ben Elliston <bje@au1.ibm.com>
* gcc_update: Update for svn.
* newcvsroot: Ditto.
* gcc_build: Ditto.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
From-SVN: r105933
2005-10-28 14:44:48 +00:00
Mark Mitchell
901097dbd4
* texi2pod.pl: Substitue for @value even when part of @include.
...
From-SVN: r105780
2005-10-21 23:31:07 +00:00
Bob Wilson
0928f4059f
texi2pod.pl: Convert two single quotes or two backquotes to double quotes.
...
* texi2pod.pl: Convert two single quotes or two backquotes to
double quotes.
From-SVN: r105758
2005-10-21 17:54:27 +00:00
Ben Elliston
5464337b7f
* gcc_update: Update dependencies for libjava/aclocal.m4.
...
From-SVN: r103376
2005-08-23 10:55:08 +10:00
Kelley Cook
89ee9c70a1
All files: Update with new FSF address.
...
2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
* All files: Update with new FSF address.
From-SVN: r103095
2005-08-15 00:41:31 +00:00
Ben Elliston
d0e71b9c05
filter_params.pl: Typo fix.
...
* filter_params.pl: Typo fix.
* filter_knr2ansi.pl: Likewise.
From-SVN: r102006
2005-07-14 13:38:20 +10:00
Gerald Pfeifer
bfac631b94
* gennews (files): Update for egcs-1.0 release pages consolidation.
...
From-SVN: r100636
2005-06-05 20:35:21 +00:00
Joseph Myers
492f761a97
* gennews (files): Update for GCC 4.0.
...
From-SVN: r98266
2005-04-17 12:19:23 +01:00
Alexandre Oliva
7e3c8f17ab
* gcc_update (silent): Unset instead of initializing to null.
...
From-SVN: r96708
2005-03-19 00:16:22 +00:00
Andreas Schwab
d028e149ad
* gcc_update (apply_patch): Properly quote $1.
...
From-SVN: r96705
2005-03-18 22:43:26 +00:00
Zack Weinberg
2d072788a1
* gcc_update: Add --silent option.
...
From-SVN: r96661
2005-03-18 11:47:28 +00:00
Kaveh R. Ghazi
be93246638
warn_summary (keywordFilter): Update sed pattern for new quoting style in warnings.
...
* warn_summary (keywordFilter): Update sed pattern for new quoting
style in warnings.
From-SVN: r96102
2005-03-08 13:42:18 +00:00
Kaveh R. Ghazi
1f43e92e35
warn_summary: Add -fortran subdir flag.
...
* warn_summary: Add -fortran subdir flag.
(subdirectoryFilter): Fix missing ada subdir.
From-SVN: r96022
2005-03-07 14:59:17 +00:00
Hans-Peter Nilsson
9eaf7da094
gcc_update (touch_files): Don't rely on "make" being GNU make...
...
* gcc_update (touch_files): Don't rely on "make" being GNU make;
grep for "Touching" to determine that the rule executes.
From-SVN: r90961
2004-11-20 10:49:16 +00:00
Hans-Peter Nilsson
18ccc7e0e3
* gcc_update (touch_files): Explicitly pass --no-print-directory.
...
From-SVN: r90614
2004-11-14 06:31:00 +00:00
Andrew Pinski
9a3990559f
gcc_update (boehm-gc/aclocal.m4): Remove boehm-gc/acinclude.m4.
...
2004-11-04 Andrew Pinski <pinskia@physics.uc.edu>
* gcc_update (boehm-gc/aclocal.m4): Remove boehm-gc/acinclude.m4.
From-SVN: r90115
2004-11-04 20:11:44 -08:00
Paolo Bonzini
71b5d516bc
Made fixincludes a toplevel build module.
...
toplevel:
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add fixincludes.
(dependencies): Make gcc depend on fixincludes.
* configure.in (build_tools): Add fixincludes.
(build_configdirs): Always include build_libs.
* Makefile.in: Regenerate.
* configure: Regenerate.
contrib:
2004-08-04 Paolo Bonzini <bonzini@gnu.org>
* gcc_update: Add fixincludes.
fixincludes:
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* .cvsignore: New.
* Makefile.in: From gcc/fixinc/Makefile.in, making it fully
autoconfiscated.
* configure.ac: New.
* config.h.in: Generate.
* configure: Generate.
* aclocal.m4: New.
* fixlib.h: Remove inclusions of gcc files.
* system.h: New.
Other files copied from gcc/fixinc.
gcc:
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (build_subdir): New substitution.
(fixinc.sh): Simplify heavily since fixincludes is already built.
(stmp-fixinc): Depend on specs.ready.
(install-mkheaders): Use new location of fixincludes.
(clean): Do not descend into fixinc.
(FORBUILD): Replace with ../$(build_subdir).
* configure.ac (build_subdir): Substitute.
(FORBUILD): Do not set.
(all_outputs): Remove fixinc/Makefile.
(default commands): Do not create links in fixinc.
* mkfixinc.sh: New, from fixinc/mkfixinc.sh without
the fixincludes configuration steps and substituting
@FIXINCL@ in fixinc.in.
* fixinc.in: New, from fixinc/fixincl.sh.
* fixinc/*: Removed.
From-SVN: r86824
2004-08-31 09:27:00 +00:00
Matthias Klose
df6e87bf75
texi2pod.pl: keep references of the form @ref{...}, print them bold.
...
2004-08-26 Matthias Klose <doko@debian.org>
* texi2pod.pl: keep references of the form @ref{...}, print them bold.
From-SVN: r86635
2004-08-26 21:26:22 +00:00
Matthias Klose
1249691bab
test_summary: Include baseline used for libstdc++-v3 abi check in test summary.
...
2003-08-26 Matthias Klose <doko@debian.org>
* test_summary: Include baseline used for libstdc++-v3
abi check in test summary.
From-SVN: r86607
2004-08-26 05:51:22 +00:00
Ben Elliston
5b292a4b05
* gcc_update (libcpp/Makefile.in): Remove libcpp/Makefile.am.
...
From-SVN: r86543
2004-08-25 19:07:43 +10:00
Andreas Tobler
8b84ead6fe
gcc_update (self): libjava/configure.in -> configure.ac.
...
2004-08-20 Andreas Tobler <a.tobler@schweiz.ch>
* gcc_update (self): libjava/configure.in -> configure.ac. Automake
update done.
From-SVN: r86330
2004-08-20 18:17:35 +02:00
Paolo Bonzini
d09212551a
gcc_update: libjava/configure.ac -> configure.in.
...
2004-08-04 Paolo Bonzini <gcc@gcc.gnu.org>
* gcc_update: libjava/configure.ac -> configure.in. Automake
1.4 does not handle configure.ac properly.
From-SVN: r85556
2004-08-04 12:08:09 +00:00
Andreas Schwab
da96112d34
* gcc_update: libjava/configure.in -> configure.ac.
...
From-SVN: r85552
2004-08-04 11:01:10 +00:00
Richard Earnshaw
1e45521fdb
* gcc_update: gcc/config/arm/arm-tune.md -> arm-cores.def gentune.sh.
...
From-SVN: r85474
2004-08-03 13:35:47 +00:00
Jeff Law
7eacb691bb
* analyze_brprob: Fix comments. More consistent output format.
...
From-SVN: r84828
2004-07-16 12:58:00 -06:00
Diego Novillo
5bed280967
* tree-ssa.doxy: Update for doxygen 1.3.5.
...
From-SVN: r83289
2004-06-17 07:40:27 -04:00
Andreas Jaeger
cc605afe38
* gcc_update: boehm-gc/configure.in -> configure.ac.
...
From-SVN: r83238
2004-06-16 13:58:44 +02:00
Paolo Bonzini
bf9a420e62
configure.ac: New name of configure.in.
...
boehm-gc/ChangeLog:
2005-06-16 Paolo Bonzini <bonzini@gnu.org>
* boehm-gc/configure.ac: New name of configure.in.
Remove useless multilib stuff. Change uses of
INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
* boehm-gc/configure.in: New name of configure.in.
* boehm-gc/Makefile.am: Update for automake 1.8.5.
* boehm-gc/acinclude.m4: Include ../config/acx.m4.
* boehm-gc/aclocal.m4: Regenerate.
* boehm-gc/configure: Regenerate.
contrib/ChangeLog:
2004-06-16 Paolo Bonzini <bonzini@gnu.org>
* gcc_update (boehm-gc/configure): Depend on
boehm-gc/configure.ac instead of boehm-gc/configure.in
gcc/ChangeLog:
2004-06-16 Paolo Bonzini <bonzini@gnu.org>
* doc/install.texi: boehm-gc now uses automake 1.8.5.
From-SVN: r83227
2004-06-16 07:35:00 +00:00
Paolo Bonzini
5a4f18181b
gcc_update (libmudflap/configure): Depend on libmudflap/configure.ac instead of libmudflap/configure.in
...
2004-06-14 Paolo Bonzini <bonzini@gnu.org>
* gcc_update (libmudflap/configure): Depend on
libmudflap/configure.ac instead of libmudflap/configure.in
From-SVN: r83186
2004-06-15 14:59:58 +00:00
Andreas Jaeger
d5ad6febfa
* gcc_update: Add libcpp.
...
From-SVN: r83100
2004-06-14 15:53:45 +02:00
Andreas Jaeger
dbfa8d1535
* gcc_update: Add libgfortran.
...
From-SVN: r82884
2004-06-10 06:50:45 +02:00
Andrew Pinski
9e953fed92
gcc_update (libbanshee/configure): Depend on libbanshee/configure.ac instead of libbanshee/configure.in
...
2004-05-29 Andrew Pinski <pinskia@physics.uc.edu>
* gcc_update (libbanshee/configure): Depend on
libbanshee/configure.ac instead of libbanshee/configure.in
From-SVN: r82427
2004-05-29 12:51:26 -07:00
Zack Weinberg
b4117c3061
Makefile.def, [...]: Remove all mention of libf2c.
...
top:
* Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
* configure, Makefile.in: Regenerate.
contrib:
* gcc_update: Remove gcc/f/intdoc.texi and all libf2c files
from list of files to be touched.
* convert_to_f2c, convert_to_g2c, download_f2c: Delete.
gcc:
* f: Entire directory removed
* c-common.h (CTI_G77_INTEGER_TYPE, CTI_G77_UINTEGER_TYPE)
(CTI_G77_LONGINT_TYPE, CTI_G77_ULONGINT_TYPE)
(g77_integer_type_node, g77_uinteger_type_node)
(g77_longint_type_node, or g77_ulongint_type_node): Delete.
* c-common.c (c_common_nodes_and_builtins): Do not initialize
the above set of variables.
* config/i386/uwin.h: No need to define WIN32_UWIN_TARGET.
* doc/invoke.texi, doc/standards.texi: Remove cross-references
to g77 manual.
gcc/po:
* exgettext (spec_error_string): Do not scan beyond the end of
the string for a close brace. Do not bail out at the first
incidence of %%e.
* gcc.pot: Regenerate.
From-SVN: r81967
2004-05-18 01:26:21 +00:00
Joseph Myers
e3d26d7b1f
* gennews: Update for GCC 3.4.
...
From-SVN: r81874
2004-05-15 10:50:58 +01:00
Diego Novillo
6de9cd9a88
Merge tree-ssa-20020619-branch into mainline.
...
From-SVN: r81764
2004-05-13 02:41:07 -04:00
Kelley Cook
5b03e55570
Add dependencies for zlib for gcc_update
...
Co-Authored-By: Andreas Jaeger <aj@suse.de>
From-SVN: r80619
2004-04-12 11:03:16 +00:00
Nathanael Nerode
3adc31d141
configure.in: Rename to configure.ac.
...
(libobjc)
* configure.in: Rename to configure.ac.
* Makefile.in: Update to match.
(contrib)
* gcc_update (files_and_dependencies): libobjc/configure now
depends on configure.ac, not configure.in.
From-SVN: r80555
2004-04-09 13:13:09 +00:00
Kelley Cook
b52d4110bf
gcc_update (files_and_dependencies): Remove gcc/ada/*.texi.
...
2004-04-01 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_and_dependencies): Remove gcc/ada/*.texi.
From-SVN: r80345
2004-04-02 00:47:19 +00:00
Andreas Tobler
7de53bcaa3
gcc_update (files_and_dependencies): Insert libffi dependencies.
...
2004-03-16 Andreas Tobler <a.tobler@schweiz.ch>
* gcc_update (files_and_dependencies): Insert libffi dependencies.
From-SVN: r79543
2004-03-16 20:19:19 +01:00
Kelley Cook
8ab705be38
configure.ac: Bump AC_PREREQ to 2.59.
...
boehm-gc/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
* config.in: Regenerate.
fastjar/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
intl/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
* config.h.in: Regenerate.
gcc/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
libada/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Rename file to ...
* configure.ac: .. to this. Bump AC_PREREQ to 2.59.
* configure: Regenerate.
libjava/libltdl/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
* configure: Regenerate.
* config-h.in: Regenerate.
libstdc++-v3/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Bump AC_PREREQ to 2.59.
contrib/
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_and_dependencies): Insert libada/configure.
From-SVN: r79285
2004-03-11 00:27:41 +00:00
Andrew Pinski
61c3ff8ff5
gcc_update (files_and_dependencies): Update intl/configure.in to intl/configure.ac.
...
2004-02-29 Andrew Pinski <pinskia@physics.uc.edu>
* gcc_update (files_and_dependencies): Update intl/configure.in
to intl/configure.ac.
From-SVN: r78673
2004-02-29 13:13:41 -08:00
Kelley Cook
a4b0b8f1b5
gcc_update (files_and_dependencies): Update fastjar/configure.in to fastjar/configure.ac
...
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_and_dependencies): Update fastjar/configure.in
to fastjar/configure.ac
From-SVN: r75622
2004-01-10 02:12:41 +00:00
Kelley Cook
102d317626
gcc_update (files_and_dependencies): Remove non-existant files.
...
2004-01-07 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_and_dependencies): Remove non-existant files.
From-SVN: r75528
2004-01-08 00:55:02 +00:00
Kelley Cook
dedebde10a
gcc_update (files_generated): Revert 2003-12-18 change.
...
contrib/
2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_generated): Revert 2003-12-18 change.
gcc/ada/
2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
Update comment and copyright date.
* stamp-xgnatug: Delete.
From-SVN: r75461
2004-01-06 02:39:27 +00:00
Andrew Pinski
c5d1156b32
gcc_update (files_and_dependencies): For gcc directory, rename configure.in to configure.ac.
...
2004-01-03 Andrew Pinski <pinskia@physics.uc.edu>
* gcc_update (files_and_dependencies): For gcc directory,
rename configure.in to configure.ac.
From-SVN: r75367
2004-01-03 11:55:35 -08:00
Andreas Tobler
d9b000b18c
gcc_update (files_and_dependencies): For libjava/libltdl directory, remove acconfig.h.
...
2003-12-19 Andreas Tobler <a.tobler@schweiz.ch>
* gcc_update (files_and_dependencies): For libjava/libltdl directory,
remove acconfig.h. No longer used.
From-SVN: r74818
2003-12-19 06:50:14 +01:00
Kelley Cook
90c2f1deb1
gcc_update (files_generated): Add in gcc/ada/stamp-xgnatug and update gcc/ada/gnat_ug_* to use it.
...
contrib/
2003-12-18 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_generated): Add in gcc/ada/stamp-xgnatug and update
gcc/ada/gnat_ug_* to use it.
gcc/ada/
2003-12-18 Kelley Cook <kcook@gcc.gnu.org>
* stamp-xgnatug: New stamp file.
* Make-lang.in (stamp-xgnatug): New stamp file and comment.
(ada/doctools/xgnatug): Add $(build_exeext).
(ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
From-SVN: r74808
2003-12-18 22:40:38 +00:00
James E Wilson
3a8167112a
Fix required by libjava/libltdl import.
...
* gcc_update (files_and_dependencies): For libjava/libltdl directory,
rename configure.in to configure.ac, and stamp-h.in to config-h.in.
From-SVN: r74734
2003-12-16 22:22:00 -08:00
Kelley Cook
90ff9ff39c
gcc_update (files_and_dependencies): Correct typo in the filename gnat_ug_wnt.texi.
...
2003-12-10 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_and_dependencies): Correct typo in the filename
gnat_ug_wnt.texi.
From-SVN: r74535
2003-12-11 13:25:24 +00:00
Arnaud Charlet
c41affc725
gcc_update: Remove handling of sinfo.h, einfo.h, nmake.ads, treeprs.ads.
...
* gcc_update: Remove handling of sinfo.h, einfo.h, nmake.ads,
treeprs.ads.
From-SVN: r74416
2003-12-08 11:58:09 +01:00
Mark Mitchell
8f850e49a0
* gennews (files): Add GCC 3.3 files.
...
From-SVN: r72565
2003-10-16 19:18:52 +00:00
Mark Mitchell
9d3d50d27e
* gcc_build: Fix handling of -t option. Add -x option.
...
From-SVN: r70658
2003-08-21 18:59:05 +00:00
Matt Kraai
5bea01beb9
* texi2pod.pl: Remove extra line.
...
From-SVN: r70036
2003-08-01 03:10:56 +00:00
Matt Kraai
9fa0903819
* texi2pod.pl: Default @itemize's parameter to @bullet.
...
From-SVN: r69399
2003-07-15 09:24:07 +00:00
Zack Weinberg
0c6a2903e5
* gcc_update: gcc/acconfig.h no longer exists.
...
From-SVN: r69275
2003-07-12 21:32:36 +00:00
Matthias Klose
c3c3593270
test_installed: Add options to run objc tests.
...
2003-07-11 Matthias Klose <doko@debian.org>
* test_installed: Add options to run objc tests.
In generated site.exp, initialize rootme, CFLAGS, CXXFLAGS.
From-SVN: r69219
2003-07-11 06:05:01 +00:00
Zack Weinberg
6eb95e99e7
intl: New directory; see intl/ChangeLog for details.
...
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4. Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc. Fix all the places that rely on
the parent directory. Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary. Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.
From-SVN: r68928
2003-07-04 18:18:54 +00:00
Jason Thorpe
e4048ffc3f
gcc_update (files_and_dependencies): Add gcc/testsuite/gcc.dg/cpp/_Pragma3.c depends on gcc/testsuite/gcc.dg/cpp/mi1c.h.
...
* gcc_update (files_and_dependencies): Add
gcc/testsuite/gcc.dg/cpp/_Pragma3.c depends on
gcc/testsuite/gcc.dg/cpp/mi1c.h.
From-SVN: r68398
2003-06-24 01:32:33 +00:00
Nathanael Nerode
281b173200
* paranoia.cc: Fix spelling error.
...
From-SVN: r67896
2003-06-13 13:57:27 +00:00
Nathanael Nerode
487a942794
analyze_brprob, [...]: Change GNU CC to GCC.
...
* analyze_brprob, gcc_build, gennews, texi2pod.pl: Change GNU CC
to GCC.
From-SVN: r67120
2003-05-23 16:20:44 +00:00
Mike Stump
112a0bfd7a
* compare_tests: Fix exit status and be more flexible with spacing.
...
From-SVN: r65255
2003-04-04 22:49:10 +00:00
Phil Edwards
5ce810b77b
test_summary: Add -h, print existing comments as help.
...
2003-03-08 Phil Edwards <pme@gcc.gnu.org>
* test_summary: Add -h, print existing comments as help.
From-SVN: r64016
2003-03-09 01:33:00 +00:00
H.J. Lu
b47d9efdc9
gcc_build: Use $GCC_CVS/$CVS instead of cvs.
...
2003-03-03 H.J. Lu <hjl@gnu.org>
* gcc_build: Use $GCC_CVS/$CVS instead of cvs.
* gcc_update: Likewise.
From-SVN: r63730
2003-03-03 12:09:38 -08:00
Alexandre Oliva
d25fc1b572
test_summary (configflags): Only use the first match.
...
* test_summary (configflags): Only use the first match. Remove
excess space. Use sub instead of gsub where possible. Use `none'
if no configure flags were given.
From-SVN: r61483
2003-01-19 14:34:12 +00:00
Loren J. Rittle
6787cc15f2
* test_summary (configflags): awk portability.
...
From-SVN: r61168
2003-01-10 21:12:39 +00:00
Alexandre Oliva
ce985125f5
test_summary (configflags): Compute correctly with both autoconfiscated and Cygnus-style top-level.
...
* test_summary (configflags): Compute correctly with both
autoconfiscated and Cygnus-style top-level.
From-SVN: r60991
2003-01-07 11:56:25 +00:00
Kaveh R. Ghazi
029d882c14
gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends on gcc/cp/cfns.gperf and gcc/java/keyword.h depends...
...
* gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends
on gcc/cp/cfns.gperf and gcc/java/keyword.h depends on
gcc/java/keyword.gperf
From-SVN: r60817
2003-01-03 06:05:11 +00:00
Gerald Pfeifer
695a8bcfbf
gcc_update (files_and_dependencies): Add gcc/intl/plural.c as depending on gcc/intl/plural.y.
...
* gcc_update (files_and_dependencies): Add gcc/intl/plural.c as
depending on gcc/intl/plural.y.
From-SVN: r60607
2002-12-29 19:34:53 +00:00
Alexandre Oliva
e4029133c3
* gcc_update (configure): Depend on config/acx.m4 as well.
...
From-SVN: r60579
2002-12-28 16:24:33 +00:00
Alexandre Oliva
e1c1b6a5a5
* gcc_update (configure): Depend on configure.in.
...
From-SVN: r60571
2002-12-28 13:21:17 +00:00
Joseph Myers
d6bef02d0e
* texi2pod.pl: Skip contents of @copying.
...
From-SVN: r60477
2002-12-24 18:56:21 +00:00
Zack Weinberg
4977bab6ed
Merge basic-improvements-branch to trunk
...
From-SVN: r60174
2002-12-16 18:23:00 +00:00
Richard Henderson
ad03e4c4c7
paranoia.cc (real_c_float::image): Accomodate size of real_internal format.
...
* paranoia.cc (real_c_float::image): Accomodate size of
real_internal format.
(main): Unbuffer stdio. Add real_internal format.
(floor_log2_wide): New.
From-SVN: r58395
2002-10-21 17:09:41 -07:00
Richard Henderson
fc76a969eb
paranoia.cc (ENUM_BITFIELD): New.
...
* paranoia.cc (ENUM_BITFIELD): New.
(class): Define as klass around real.h.
(real_c_float): Not a template any longer; define MODE as a
class static constant; use real_format elements for SIZE.
Update uses of real_to_decimal and real_to_hexadecimal.
(main): Change -g argument to use a format name.
(mode_for_size): Remove.
From-SVN: r58226
2002-10-16 16:07:29 -07:00
Richard Henderson
efdc7e19ca
real.c, real.h: Rewrite from scratch.
...
gcc/
* real.c, real.h: Rewrite from scratch.
* Makefile.in (simplify-rtx.o): Depend on TREE_H.
(paranoia): New target.
* builtins.c (fold_builtin_inf): Use new real.h interface.
* c-common.c (builtin_define_with_hex_fp_value): Likewise.
* c-lex.c (interpret_float): Likewise.
* emit-rtl.c (gen_lowpart_common): Likewise.
* optabs.c (expand_float): Use real_2expN.
* config/ia64/ia64.md (divsi3, udivsi3): Likewise.
* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
(FLOAT_WORDS_BIG_ENDIAN): New.
* cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
directly to REAL_VALUE_NEGATIVE.
* loop.c (canonicalize_condition): Likewise.
* simplify-rtx.c: Include tree.h.
(simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
with floating-point result modes.
* toplev.c (backend_init): Call init_real_once.
* fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
* tree.c (build_real): Likewise.
* config/alpha/alpha.c, config/vax/vax.c (float_strings,
float_values, inited_float_values, check_float_value): Remove.
* config/alpha/alpha.h, config/m68hc11/m68hc11.h,
config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
* doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
gcc/f/
* target.c (ffetarget_real1): Don't pass FFETARGET_ATOF_
directly to ffetarget_make_real1.
(ffetarget_real2): Similarly.
* target.h (ffetarget_cvt_r1_to_rv_, ffetarget_cvt_rv_to_r2_,
ffetarget_cvt_r2_to_rv_): Use new real.h interface and simplify.
gcc/java/
* jcf-parse.c (get_constant): Runtime check for IEEE format;
use new real.h interface.
* jcf-write.c (find_constant_index): Use new real.h interface.
* lex.c (IS_ZERO): Use REAL_VALUES_EQUAL.
contrib/
* paranoia.cc: New file.
From-SVN: r57198
2002-09-16 09:36:39 -07:00
Richard Henderson
7fd6c930e5
* enquire.c: Remove.
...
From-SVN: r56795
2002-09-04 09:09:10 -07:00
Mark Mitchell
72c41e5adc
* gennews (files): Add GCC 3.2 files.
...
From-SVN: r56287
2002-08-14 08:35:37 +00:00
Gerald Pfeifer
1899ba3ed2
gennews (files): Add proper files for the GCC 3.1 release series.
...
* gennews (files): Add proper files for the GCC 3.1 release series.
Simplify and reformat introductory wording.
From-SVN: r55750
2002-07-25 14:34:56 +00:00
Nathanael Nerode
39cef9146f
Makefile.in: Delete references to enquire.
...
(gcc)
* Makefile.in: Delete references to enquire.
* enquire.c: Move to contrib.
(contrib)
* enquire.c: Move from gcc.
From-SVN: r55502
2002-07-17 00:09:11 +00:00
H.J. Lu
554b811104
gcc_update (touch_files): Pass -s to ${MAKE}.
...
2002-07-16 H.J. Lu <hjl@gnu.org>
* gcc_update (touch_files): Pass -s to ${MAKE}.
From-SVN: r55497
2002-07-16 15:03:34 -07:00
Zack Weinberg
dd6773cd70
* texi2pod.pl: Correct handling of the internal R<> sequence.
...
From-SVN: r55012
2002-06-26 16:50:04 +00:00
Florian Weimer
ba9e1571a0
gcc_update (files_and_dependencies): Add generated Texinfo files for Ada.
...
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* gcc_update (files_and_dependencies): Add generated Texinfo files
for Ada.
From-SVN: r54103
2002-05-31 13:08:38 +02:00
Rainer Orth
1e6347d8b9
Makefile.in: Allow for PWDCMD to override hardcoded pwd.
...
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* config-ml.in: Likewise.
* configure: Likewise.
* configure.in: Likewise.
boehm-gc:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
* aclocal.m4: Regenerate.
* configure: Regenerate.
config:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
contrib:
* test_installed: Allow for PWDCMD to override hardcoded pwd.
* test_summary: Likewise.
gcc:
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* configure.in: Likewise.
* fixinc/check.tpl: Likewise.
* fixinc/fixinc.dgux: Likewise.
* fixinc/fixinc.svr4: Likewise.
* fixinc/fixinc.winnt: Likewise.
* fixinc/fixincl.sh: Likewise.
* fixproto: Likewise.
* configure: Regenerate.
gcc/ada:
* Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
* Makefile.in: Likewise.
gcc/f:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
gcc/java:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
gcc/po:
* exgettext: Allow for PWDCMD to override hardcoded pwd.
gcc/treelang:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
libf2c:
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* aclocal.m4: Likewise.
* configure: Regenerate.
libjava:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
* configure.in: Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
libobjc:
* aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
* configure: Regenerate.
libstdc++-v3:
* Makefile.am: Allow for PWDCMD to override hardcoded pwd.
* acinclude.m4: Likewise.
* docs/html/Makefile: Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
zlib:
* configure.in: Allow for PWDCMD to override hardcoded pwd.
* configure: Regenerate.
* ChangeLog: Move entries to ChangeLog.gcj.
From-SVN: r53523
2002-05-16 17:43:21 +00:00
Geoffrey Keating
29a948c850
* gcc_update (touch_files): Don't have empty for loop.
...
From-SVN: r52462
2002-04-18 10:09:10 +00:00
Richard Henderson
b8d70bee36
* gcc_update: Remove libchill.
...
From-SVN: r52385
2002-04-16 17:30:17 -07:00
Zack Weinberg
28852cc64a
* texi2pod.pl: Handle @end ftable and @end vtable.
...
From-SVN: r51364
2002-03-26 03:04:41 +00:00
Zack Weinberg
049b03f488
texi2pod.pl: Handle @include, @ftable, @vtable.
...
* contrib/texi2pod.pl: Handle @include, @ftable, @vtable.
Reformat some code for clarity.
* gcc/Makefile.in: Give texi2pod its input file as a command
line argument, not on stdin.
From-SVN: r50592
2002-03-11 20:37:13 +00:00
Christian Jönsson
506d4ef6a1
test_summary: Additional to XPASS and FAIL...
...
* test_summary: Additional to XPASS and FAIL, add UNRESOLVED,
WARNING and ERROR output from the *.sum files.
From-SVN: r50010
2002-02-24 20:45:15 +00:00
Gerald Pfeifer
66b8f5d7a8
gennews (files): Replace gcc-2.95/gcc-2.95.html...
...
* gennews (files): Replace gcc-2.95/gcc-2.95.html,
gcc-2.95/gcc-2.95.1.html, gcc-2.95/gcc-2.95.2.html,
and gcc-2.95/gcc-2.95.3.html by gcc-2.95/index.html.
From-SVN: r49226
2002-01-25 23:27:45 +00:00
Gerald Pfeifer
c10a75a734
gennews (files): Replace egcs-1.1/egcs-1.1.2.html...
...
* gennews (files): Replace egcs-1.1/egcs-1.1.2.html,
egcs-1.1/egcs-1.1.1.html, and egcs-1.1/egcs-1.1.html by
egcs-1.1/index.html.
From-SVN: r48930
2002-01-16 22:42:13 +00:00
Kaveh R. Ghazi
99e9e773cb
* warn_summary: Add -ada subdirectory flag.
...
From-SVN: r48457
2002-01-02 03:35:21 +00:00
Matthias Klose
3da33af300
texi2pod.pl: Merge changes from binutils' texi2pod.pl.
...
2001-12-12 Matthias Klose <doko@debian.org>
* texi2pod.pl: Merge changes from binutils' texi2pod.pl. Allows
generation of more than one man page from one source.
Add '-' to set of valid chars for an identifier.
Let -D option accept flags of the form <flag>=<value>.
Use \s+ for whitespace detection in '@c man' lines.
Handle @set and @clear independent of $output.
Substitute all @value{}'s in a line.
From-SVN: r48015
2001-12-14 22:46:31 +00:00
Joseph Myers
77bd67cbdd
texi2pod.pl: Handle @ifnottex, @iftex and @display.
...
contrib:
* texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var
in verbatim blocks specially. Handle @unnumbered, @unnumberedsec
and @center. Allow [a-z] after @enumerate. Handle 0 and numbers
greater than 9 in enumerations.
gcc:
* Makefile.in (POD2MAN): Don't include --section=1.
(manext): Rename to man1ext. All users changed.
(man7ext): New.
(man7dir): New.
(generated-manpages): Also depend on $(docdir)/gfdl.7,
$(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
--section=1 in calls to $(POD2MAN).
($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
(maintainer-clean, install, uninstall): Handle the new man pages.
($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
(installdirs): Create man7dir.
* doc/cpp.texi: Include GFDL in this manual. In the man page,
refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
the SEE ALSO man page section.
* doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
and fsf-funding(7) in the SEE ALSO man page section.
* doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
* doc/include/fdl.texi, doc/include/funding.texi,
doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
* doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
gcc/cp:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
gcc/f:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
From-SVN: r46998
2001-11-14 00:47:47 +00:00
Laurent Guerby
178612c9a6
gcc_update (files_and_dependencies): Add Ada dependencies.
...
2001-11-07 Laurent Guerby <guerby@acm.org>
* gcc_update (files_and_dependencies): Add Ada dependencies.
From-SVN: r46832
2001-11-07 20:26:58 +00:00
Joseph Myers
bbd300a97b
crontab: Build weekly snapshots.
...
maintainer-scripts:
* crontab: Build weekly snapshots.
contrib:
* snapshot: Remove.
From-SVN: r46078
2001-10-08 17:16:56 +01:00
Richard Sandiford
b5f2093196
revert: gcc_update: (files_and_dependencies) Add gcc/java/parse.c gcc/java/parse-scan.c and...
...
Revert:
* gcc_update: (files_and_dependencies) Add gcc/java/parse.c
gcc/java/parse-scan.c and gcc/java/keyword.h to list of files to
touch.
From-SVN: r45459
2001-09-07 07:57:51 +00:00
David Billinghurst
e7503d9250
gcc_update: (files_and_dependencies) Add gcc/java/parse.c gcc/java/parse-scan.c and...
...
* gcc_update: (files_and_dependencies) Add gcc/java/parse.c
gcc/java/parse-scan.c and gcc/java/keyword.h to list of files to
touch.
From-SVN: r45410
2001-09-05 09:02:17 +00:00
Jan Hubicka
e961606cfd
* analyze_brprob: Update for changes in gcc debug output.
...
From-SVN: r44854
2001-08-13 14:34:11 +00:00
Jan Hubicka
ffd1553440
* analyze_brprob: Avoid more overflows.
...
From-SVN: r44438
2001-07-28 20:39:02 +00:00
Richard Henderson
da397f8ed0
* test_summary: Copy LAST_UPDATED UTC time to head of summary.
...
From-SVN: r44433
2001-07-27 14:10:29 -07:00
Jan Hubicka
92e3cac874
* analyze_brprob: Avoid overflows.
...
From-SVN: r44430
2001-07-27 16:03:08 +00:00
Richard Henderson
2a08c780d3
gcc_update: Dump timestamp in LAST_UPDATED.
...
* contrib/gcc_update: Dump timestamp in LAST_UPDATED.
* .cvsignore: Add LAST_UPDATED.
From-SVN: r44413
2001-07-26 23:00:45 -07:00
Andreas Jaeger
a6ed70ef1d
* analyze_brprob: Fix documentation.
...
From-SVN: r44381
2001-07-26 08:41:48 +02:00
Jan Hubicka
4edc91ae51
* analyze_brprob: Fix awk compatibility problems; update comment.
...
From-SVN: r44266
2001-07-23 13:55:28 +00:00
Andreas Jaeger
f981f97beb
* analyze_brprob: Fix more typos.
...
From-SVN: r44263
2001-07-23 15:21:13 +02:00
Andreas Jaeger
075cc945ad
* analyze_brprob: Fix typos.
...
From-SVN: r44262
2001-07-23 12:39:58 +02:00
Joseph Myers
aee96fe99b
extend.texi, [...]: Improve formatting.
...
gcc:
* doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
documentation of -std and -Wwrite-strings.
contrib:
* texi2pod.pl: Handle @r inside @item.
From-SVN: r43718
2001-07-03 01:46:05 +01:00
Zack Weinberg
51817b107a
Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
...
gcc:
* Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
* doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
* doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
contrib:
* gcc_update: Remove entries for gcc.1, cpp.1, gcov.1.
From-SVN: r43698
2001-07-02 18:35:32 +00:00
Zoltan Felleg
e514984118
* warn_summary: Fix typo in a comment.
...
From-SVN: r43669
2001-07-01 10:25:32 +00:00
Albert Chin-A-Young
894b7c636a
* contrib/gcc_update: Fix timestamp on gcc/f/intdoc.texi.
...
From-SVN: r43377
2001-06-14 19:02:00 +00:00
Mark Mitchell
acabb59616
* gennews: Set TERM to vt100 for Lynx.
...
From-SVN: r43343
2001-06-13 18:37:16 +00:00
Gerald Pfeifer
9f29389307
* release: Remove.
...
From-SVN: r43322
2001-06-13 16:27:29 +00:00
Jan Hubicka
17d6c819b2
* analyze_brprob: New file.
...
From-SVN: r43252
2001-06-12 10:39:42 +00:00
Mark Mitchell
72e0bae59f
gcc_build: Output information about the commands used to configure the compiler.
...
* gcc_build: Output information about the commands used to
configure the compiler.
From-SVN: r43222
2001-06-11 21:13:36 +00:00