]>
gcc.gnu.org Git - gcc.git/log
Phil Edwards [Mon, 3 Jun 2002 04:34:19 +0000 (04:34 +0000)]
stl_deque.h, [...]: Reformat to (mostly) match C++STYLE.
2002-06-03 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
Reorder to match 14882. Doxygen blocks for all public members.
From-SVN: r54198
Kazu Hirata [Mon, 3 Jun 2002 01:13:17 +0000 (01:13 +0000)]
emit-rtl.c: Likewise.
* emit-rtl.c: Likewise.
* errors.h: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
From-SVN: r54197
Kazu Hirata [Mon, 3 Jun 2002 00:51:37 +0000 (00:51 +0000)]
elf.h: Fix formatting.
* config/h8300/elf.h: Fix formatting.
* config/h8300/rtems.h: Likewise.
From-SVN: r54196
Jason Thorpe [Mon, 3 Jun 2002 00:28:12 +0000 (00:28 +0000)]
* config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
From-SVN: r54194
Tom Tromey [Sun, 2 Jun 2002 23:19:01 +0000 (23:19 +0000)]
reverted erroneous checkin
From-SVN: r54193
Tom Tromey [Sun, 2 Jun 2002 23:17:30 +0000 (23:17 +0000)]
fixincl.x: Rebuilt.
* fixinc/fixincl.x: Rebuilt.
* fixinc/inclhack.def (thread_keyword): Match `*__thread'.
From-SVN: r54192
Neil Booth [Sun, 2 Jun 2002 22:27:32 +0000 (22:27 +0000)]
i370.h (TARGET_CPU_CPP_BUILTINS): Use.
config/i370:
* i370.h (TARGET_CPU_CPP_BUILTINS): Use.
* linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES.
* mvs.h: Similarly.
* oe.h: Similarly.
From-SVN: r54191
Jan Hubicka [Sun, 2 Jun 2002 22:23:45 +0000 (00:23 +0200)]
final.c (final): Allow notes to not have computed addresses; kill no longer needed STACK_REGS ifdef.
* final.c (final): Allow notes to not have computed addresses;
kill no longer needed STACK_REGS ifdef.
From-SVN: r54190
Richard Henderson [Sun, 2 Jun 2002 22:16:54 +0000 (15:16 -0700)]
* gcse.c (bypass_conditional_jumps): Fix typo last change.
From-SVN: r54189
Jan Hubicka [Sun, 2 Jun 2002 21:09:54 +0000 (23:09 +0200)]
loop.c (emit_prefetch_instructions): Properly place the address computation.
* loop.c (emit_prefetch_instructions): Properly place the address computation.
* basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill.
(set_block_for_insn): Turn into macro.
* cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn.
* cfglayout.c (insn_scopes): Kill.
(scope_to_insns_initialize): Do not use insn_scopes.
(scope_to_insns_finalize): Likewise.
(duplicate_insn_chain): Likewise.
(cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes.
* cfgrtl.c (basic_block_for_insn): Kill.
(delete_insn_and_edges, delete_insn_chain_and_edges): Simplify.
(create_basic_block_structure): Use reorder_insns.
(compute_bb_for_insn): Do not use basic_block_for_insn.
(merge_blocks_nomove): Likewise.
(update_bb_for_insn): Likewise.
(verify_flow_info): Likewise.
(set_block_for_insn): Kill.
* combine.c (try_combine): Update gen_rtx_INSN call.
* emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call.
(mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear
scopes and BBs.
(add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify.
(emit_note_before, emit_note_after, emit_line_note_after, emit_note):
Clear BB.
(emit_insns_after): Simplify.
(emit_copy_of_insn_after): Copy scope.
* final.c (final_start_function): Lower scopes.
* flow.c (check_function_return_warnings): Do not rely on deleted insn.
* integrate.c (copy_insn_list): Cope scopes.
* jump.c (duplicate_loop_exit_test): LIkewise; simplify.
* loop.c (loop_optimize): Do not care block notes.
* print-rtl.c (print_rtx): Print BB.
* recog.c (apply_change_group): Simplify.
* rtl.c (copy_rtx): Handle 'B'.
* rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields.
* rtl.h (Field accessors): Update indexes.
* sched-ebb.c (schedule_ebbs): Do not lower notes.
* sched-rgn.c (schedule_insns): Likewise.
* toplev.c (rest_of_compilation): Lower notes.
* unroll.c (unroll_loop): Do not care scoping notes.
(copy_loop_body): Copy scopes.
From-SVN: r54188
Neil Booth [Sun, 2 Jun 2002 21:00:50 +0000 (21:00 +0000)]
elf.h: Use TARGET_OS_CPP_BUILTINS rather than SUBTARGET_SPEC.
config/h8300:
* elf.h: Use TARGET_OS_CPP_BUILTINS rather than
SUBTARGET_SPEC.
* rtems.h: Similarly.
* h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC,
EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove.
(TARGET_CPU_CPP_BUILTINS): Use.
From-SVN: r54187
Richard Henderson [Sun, 2 Jun 2002 20:50:32 +0000 (13:50 -0700)]
alias.c: Include target.h.
* alias.c: Include target.h.
(mark_constant_function): Use targetm.binds_local_p instead
of checking TREE_PUBLIC ourselves.
* Makefile.in (alias.o): Add TARGET_H.
* gcc.c-torture/execute/pure-1.c: Don't mark any of the
test functions static.
From-SVN: r54186
Neil Booth [Sun, 2 Jun 2002 20:13:46 +0000 (20:13 +0000)]
* c-lex.c: Update copyright and file description.
From-SVN: r54185
Neil Booth [Sun, 2 Jun 2002 20:09:05 +0000 (20:09 +0000)]
* ChangeLog: Credit Zack appropriately.
From-SVN: r54184
Andreas Jaeger [Sun, 2 Jun 2002 19:54:02 +0000 (21:54 +0200)]
loop-3c.x: Remove, the test should pass now.
* gcc.c-torture/execute/loop-3c.x: Remove, the test should pass
now.
From-SVN: r54183
Neil Booth [Sun, 2 Jun 2002 19:47:10 +0000 (19:47 +0000)]
* config/fr30/fr30.h: Update to new CPP macros.
From-SVN: r54182
Neil Booth [Sun, 2 Jun 2002 19:39:09 +0000 (19:39 +0000)]
* config/dsp16xx/dsp16xx.h: Update to new CPP macros.
From-SVN: r54181
Neil Booth [Sun, 2 Jun 2002 19:37:34 +0000 (19:37 +0000)]
c-common.c (c_common_init): Override cpplib's default warn_long_long setting.
* c-common.c (c_common_init): Override cpplib's default
warn_long_long setting.
* c-lex.c (lex_number): Replace with interpret_integer,
interpret_float, narrowest_unsigned_type and
narrowest_signed_type, taking advantage of the new
cpplib functionality.
* cpperror.c (_cpp_begin_message): If a warning is turned
into an error, avoid printing "warning:".
* cppexp.c (cpp_num_sign_extend): New.
* cppinit.c: Update comment.
* cpplib.h (cpp_num_sign_extend): New.
* tree.h: Update comment.
testsuite:
* gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-suffix-1.c,
gcc.dg/cpp/paste4.c, gcc.dg/cpp/sysmac2.c:
Update for mofified diagnostics.
* gcc.dg/c99-intconst-1.c: No longer fail.
From-SVN: r54180
Gabriel Dos Reis [Sun, 2 Jun 2002 19:06:30 +0000 (19:06 +0000)]
diagnostic.h (struct diagnostic_context): Add new member internal_error.
* diagnostic.h (struct diagnostic_context): Add new member
internal_error.
(internal_error_function): Remove declaration.
* diagnostic.c (internal_error_function): Remove definition..
(internal_error): Adjust use.
ada/
* misc.c (gnat_init): Adjust setting of internal_error_function.
From-SVN: r54179
Richard Henderson [Sun, 2 Jun 2002 18:38:04 +0000 (11:38 -0700)]
rtl.h (CC0_P): New.
* rtl.h (CC0_P): New.
* gcse.c (cprop_jump): Use it with single_set. Tweak dump text.
(cprop_insn): Allow any mode register; use CC0_P. CSE out single_set.
(bypass_block): Save old dest block for dump text.
(bypass_conditional_jumps): Allow any mode register; use CC0_P.
Allow only true SET insns, not single_set.
From-SVN: r54178
Richard Henderson [Sun, 2 Jun 2002 18:11:21 +0000 (11:11 -0700)]
* gcc.dg/uninit-A.c: Remove xfail markers.
From-SVN: r54177
Gabriel Dos Reis [Sun, 2 Jun 2002 17:36:29 +0000 (17:36 +0000)]
diagnostic.c (diagnostic_finish): Rename to output_flush.
* diagnostic.c (diagnostic_finish): Rename to output_flush.
(clear_disgnostic_info): Rename to output_clear_data. Use
false
instead of 0 for boolean value.
Adjust function call throughout.
From-SVN: r54176
Jan Hubicka [Sun, 2 Jun 2002 17:18:58 +0000 (19:18 +0200)]
cfgrtl.c (commit_one_edge_insertion): Fix warning.
* cfgrtl.c (commit_one_edge_insertion): Fix warning.
* gcse.c (bypass_conditional_jumps): CSE out single_set call.
From-SVN: r54175
Tom Tromey [Sun, 2 Jun 2002 16:38:05 +0000 (16:38 +0000)]
re PR java/5913 (Core dump for String constant instanceof)
Fix for PR java/5913:
* parse.y (patch_binop): Call patch_string on op1.
From-SVN: r54174
Tom Tromey [Sun, 2 Jun 2002 16:33:01 +0000 (16:33 +0000)]
Fix for PR java/1343, PR java/6336:
* parse.y (make_nested_class_name): Remove extraneous `else'; fix
formatting. Changed return type.
(anonymous_class_counter): Moved to top of file.
(maybe_make_nested_class_name): Append number to class name for
function-local classes.
From-SVN: r54173
Kaveh R. Ghazi [Sun, 2 Jun 2002 14:34:31 +0000 (14:34 +0000)]
dfe.c (s_rdfe, s_wdfe): Wrap parentheses around assignment used as truth value.
* libI77/dfe.c (s_rdfe, s_wdfe): Wrap parentheses around
assignment used as truth value.
* libI77/due.c (s_rdue, s_wdue): Likewise.
* libI77/endfile.c (f_end): Likewise.
* libI77/iio.c (s_rsfi, s_wsfi): Likewise.
* libI77/lread.c (ERR, l_C, nmL_getc, s_rsle): Likewise.
* libI77/lwrite.c (l_g, l_put): Likewise.
* libI77/open.c (f_open): Likewise.
* libI77/rdfmt.c (rd_Z): Likewise.
* libI77/rsfe.c (s_rsfe): Likewise.
* libI77/rsne.c (hash, mk_hashtab, nl_init, getname, getdimen,
x_rsne, s_rsne): Likewise.
* libI77/sue.c (s_rsue, s_wsue): Likewise.
* libI77/wref.c (wrt_E, wrt_F): Likewise.
* libI77/wsfe.c (s_wsfe): Likewise.
* libI77/wsle.c (s_wsle): Likewise.
* libI77/wsne.c (s_wsne): Likewise.
From-SVN: r54172
Neil Booth [Sun, 2 Jun 2002 14:11:33 +0000 (14:11 +0000)]
d30v.h (CPP_PREDEFINES): Replace with
* d30v.h (CPP_PREDEFINES): Replace with
(TARGET_CPU_CPP_BUILTINS): New.
From-SVN: r54171
Roger Sayle [Sun, 2 Jun 2002 13:18:15 +0000 (13:18 +0000)]
* config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
From-SVN: r54170
Kaveh R. Ghazi [Sun, 2 Jun 2002 13:01:12 +0000 (13:01 +0000)]
main.c (main): Avoid implicit int.
* libF77/main.c (main): Avoid implicit int.
* libI77/dfe.c (y_rsk, y_getc, c_dfe): Likewise.
* libI77/due.c (c_due): Likewise.
* libI77/err.c (f__canseek, f__nowreading, f__nowwriting):
Likewise.
* libI77/fmt.c (op_gen, ne_d, e_d, pars_f, type_f, en_fio):
Likewise.
* libI77/iio.c (z_getc, z_rnew, c_si, z_wnew): Likewise.
* libI77/lread.c (t_getc, c_le, l_read): Likewise.
* libI77/lwrite.c (l_write): Likewise.
* libI77/open.c (fk_open): Likewise.
* libI77/rdfmt.c (rd_ed, rd_ned): Likewise.
* libI77/rsfe.c (xrd_SL, x_getc, x_endp, x_rev): Likewise.
* libI77/rsne.c (t_getc, x_rsne): Likewise.
* libI77/sfe.c (c_sfe): Likewise.
* libI77/sue.c (c_sue): Likewise.
* libI77/uio.c (do_us): Likewise.
* libI77/wref.c (wrt_E, wrt_F): Likewise.
* libI77/wrtfmt.c (wrt_L, w_ed, w_ned): Likewise.
From-SVN: r54169
Kaveh R. Ghazi [Sun, 2 Jun 2002 12:59:22 +0000 (12:59 +0000)]
rdfmt.c (rd_I): Delete unused variable(s).
* libI77/rdfmt.c (rd_I): Delete unused variable(s).
* libU77/access_.c (G77_access_0): Likewise.
* libU77/chdir_.c (G77_chdir_0): Likewise.
* libU77/chmod_.c (G77_chmod_0): Likewise.
* libU77/ctime_.c (G77_ctime_0): Likewise.
* libU77/link_.c (G77_link_0): Likewise.
* libU77/lstat_.c (G77_lstat_0): Likewise.
* libU77/rename_.c (G77_rename_0): Likewise.
* libU77/stat_.c (G77_stat_0): Likewise.
* libU77/symlnk_.c (G77_symlnk_0): Likewise.
* libU77/unlink_.c (G77_unlink_0): Likewise.
From-SVN: r54168
Kaveh R. Ghazi [Sun, 2 Jun 2002 12:57:28 +0000 (12:57 +0000)]
inquire.c (f_inqu): Avoid ambiguous else clauses.
* libI77/inquire.c (f_inqu): Avoid ambiguous else clauses.
* libI77/lread.c (l_C, l_L): Likewise.
* libI77/open.c (f_open): Likewise.
* libI77/rsne.c (x_rsne): Likewise.
* libI77/wref.c (wrt_F): Likewise.
From-SVN: r54167
Kaveh R. Ghazi [Sun, 2 Jun 2002 12:54:28 +0000 (12:54 +0000)]
getenv_.c (G77_getenv_0): Avoid signed/unsigned warning.
* libF77/getenv_.c (G77_getenv_0): Avoid signed/unsigned warning.
* libF77/system_.c (G77_system_0): Likewise.
* libI77/open.c (f_open): Likewise.
* libI77/rdfmt.c (rd_Z): Likewise.
* libI77/uio.c (do_us, do_ud): Likewise.
From-SVN: r54166
Jan Hubicka [Sun, 2 Jun 2002 10:21:39 +0000 (12:21 +0200)]
* gcse.c (bypass_conditional_jumps): Use single set to obtain set.
From-SVN: r54165
Richard Henderson [Sun, 2 Jun 2002 07:41:59 +0000 (00:41 -0700)]
* rtlanal.c (volatile_refs_p): Not automatically true for CALL.
From-SVN: r54163
GCC Administrator [Sun, 2 Jun 2002 07:26:40 +0000 (07:26 +0000)]
Daily bump.
From-SVN: r54162
GCC Administrator [Sun, 2 Jun 2002 07:26:38 +0000 (07:26 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r54161.2
Marek Michalkiewicz [Sat, 1 Jun 2002 23:33:47 +0000 (01:33 +0200)]
Support for C++ constructors/destructors.
* config/avr/avr.c (avr_output_function_epilogue): Jump to exit()
instead of looping if main() returns.
(asm_file_start): Output global symbols that cause .data and .bss
initialization code to be linked in, unconditionally for now.
(avr_asm_out_ctor, avr_asm_out_dtor): New functions.
* config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New.
(TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
(LIBSTDCXX): New.
* config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections.
(__tablejump__): New.
(__do_copy_data, __do_clear_bss): New.
(__do_global_ctors, __do_global_dtors): New.
* config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss,
_ctors, _dtors.
From-SVN: r54156
Neil Booth [Sat, 1 Jun 2002 23:27:50 +0000 (23:27 +0000)]
c4x.h (TARGET_CPU_CPP_BUILTINS): New.
* c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
(CPP_SPEC, CPP_PREDEFINES): Kill.
* c4x/rtems.h (CPP_PREDEFINES): Kill.
(TARGET_OS_CPP_BUILTINS): New.
From-SVN: r54155
Jan Hubicka [Sat, 1 Jun 2002 21:31:42 +0000 (23:31 +0200)]
Makefile.in (tracer.o): New.
* Makefile.in (tracer.o): New.
* params.def (TRACER_*): New options.
* rtl.h (tracer): Declare.
* timevar.def (TV_TRACER): New.
* toplev.c (dump_file_index): Add DFI_tracer.
(dump_file_info): Add tracer.
(flag_tracer): New.
(lang_indepdenent_options): Add tracer.
(rest_of_compilation): Call tracer.
* tracer.c: New file.
* invoke.texi (-ftracer): Document.
(--param tracer-*): Document.
From-SVN: r54154
Daniel Berlin [Sat, 1 Jun 2002 21:09:52 +0000 (21:09 +0000)]
tree-inline.c (expand_call_inline): Make the statement expression we generate have a COMPOUND_STMT.
2002-06-01 Daniel Berlin <dberlin@dberlin.org>
* tree-inline.c (expand_call_inline): Make the statement
expression we generate have a COMPOUND_STMT.
From-SVN: r54153
Roger Sayle [Sat, 1 Jun 2002 20:03:08 +0000 (20:03 +0000)]
gcse.c (cprop_cc0_jump): Function deleted.
* gcse.c (cprop_cc0_jump): Function deleted.
(cprop_jump): Take an additional argument which is the possibly
NULL cc setting insn immediately before the conditional jump.
When a MODE_CC set is present, substitute it into the JUMP_INSN
before attempting the constant propagation.
(cprop_insn): Recognize cc setters followed by conditional jumps
as a special case. Use cprop_jump instead of cprop_cc0_jump.
(cprop_one_pass): Call bypass_conditional_jumps if altering jumps.
(find_bypass_set): New function based upon find_avail_set used by
cprop, but finds constant expressions available at the end of
basic blocks.
(bypass_block): New function. Given a basic block that begins
with a conditional jump and multiple incoming edges, perform
the jump bypass optimization.
(bypass_conditional_jumps): New function. Call bypass_block with
each suitable basic block in the CFG using a simple single pass.
From-SVN: r54152
Roger Sayle [Sat, 1 Jun 2002 16:56:08 +0000 (16:56 +0000)]
tree.c (real_minus_onep): New function to test for -1.0.
* tree.c (real_minus_onep): New function to test for -1.0.
* fold-const.c (fold) [MULT_EXPR]: Optimize -1.0*x into -x.
* gcc.dg/fnegate-1.c: New test case.
From-SVN: r54149
Roger Sayle [Sat, 1 Jun 2002 16:51:00 +0000 (16:51 +0000)]
fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0" and "!p && !q" into "(p|q) == 0" under...
* fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
and "!p && !q" into "(p|q) == 0" under suitable conditions.
From-SVN: r54148
Andreas Jaeger [Sat, 1 Jun 2002 14:11:45 +0000 (16:11 +0200)]
cppexp.c (cpp_classify_number): Cast precission to int for correct printf format.
* cppexp.c (cpp_classify_number): Cast precission to int for
correct printf format.
From-SVN: r54147
Marek Michalkiewicz [Sat, 1 Jun 2002 13:47:29 +0000 (15:47 +0200)]
avr.c (avr_mcu_types): Remove devices that were once expected, but don't really exist...
* config/avr/avr.c (avr_mcu_types): Remove devices that were once
expected, but don't really exist: atmega83, atmega85, attiny10.
* config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld
emulations for all devices.
(CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10.
* config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85.
From-SVN: r54146
Kaveh R. Ghazi [Sat, 1 Jun 2002 12:38:32 +0000 (12:38 +0000)]
*: Fix formatting.
* libF77/*: Fix formatting.
* libI77/*: Likewise.
* libU77/*: Likewise.
From-SVN: r54145
Joseph Myers [Sat, 1 Jun 2002 11:17:19 +0000 (12:17 +0100)]
gnat_ug.texi: Use @ifnottex instead of @ifinfo.
* gnat_ug.texi: Use @ifnottex instead of @ifinfo.
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
gnat_ug_wnt.texi: Regenerate.
From-SVN: r54144
Kazu Hirata [Sat, 1 Jun 2002 10:38:58 +0000 (10:38 +0000)]
h8300-protos.h: Add a prototype for h8300_shift_needs_scratch_p.
* config/h8300/h8300-protos.h: Add a prototype for
h8300_shift_needs_scratch_p.
* config/h8300/h8300.c (h8300_shift_needs_scratch_p): New.
* config/h8300/h8300.h (OK_FOR_R): New.
(OK_FOR_S): Likewise.
(OK_FOR_T): Likewise.
(EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T.
* config/h8300/h8300.md (anonymous shift patterns): Use
constraints R, S, and T.
From-SVN: r54143
Zdenek Dvorak [Sat, 1 Jun 2002 09:24:41 +0000 (11:24 +0200)]
basic-block.h (struct basic_block_def): New field loop_father.
* basic-block.h (struct basic_block_def): New field loop_father.
(BB_VISITED): New flag.
(struct loop): New field pred, removed field shared.
(struct loops): New field parray.
(LOOP_EXITS_DOMS): Removed.
(flow_loop_tree_node_add, flow_loop_tree_node_remove,
flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body,
dfs_enumerate_from, loop_preheader_edge, loop_latch_edge,
add_bb_to_loop, remove_bb_from_loops, find_common_loop,
verify_loop_structure): Declare.
* cfg.c (entry_exit_blocks): Initialize loop_father field.
* cfganal.c (dfs_enumerate_from): New function.
* cfgloop.c (HEAVY_EDGE_RATIO): New constant.
(flow_loop_entry_edges_find, flow_loop_exit_edges_find,
flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p,
flow_loop_dump, flow_loops_dump, flow_loops_free,
flow_loop_tree_node_add, flow_loop_level_compute,
flow_loops_level_compute, flow_loop_scan, flow_loops_update,
flow_loop_outside_edge_p): Modified for new infrastructure.
(make_forwarder_block, canonicalize_loop_headers, glb_enum_p,
redirect_edge_with_latch_update, flow_loop_free): New static functions.
(flow_loop_tree_node_remove, flow_bb_inside_loop_p,
get_loop_body, add_bb_to_loop, remove_bb_from_loops,
find_common_loop, verify_loop_structure, loop_latch_edge,
loop_preheader_edge): New functions.
(flow_loops_cfg_dump): Do not show dominators, as this information
does not remain up to date long.
(flow_loops_find): Store results in new format.
* predict.c (propagate_freq, estimate_probability,
estimate_loops_at_level, estimate_bb_frequencies): Use new loop
infrastructure.
From-SVN: r54142
GCC Administrator [Sat, 1 Jun 2002 07:17:00 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r54141
Alan Lehotsky [Sat, 1 Jun 2002 02:23:38 +0000 (22:23 -0400)]
*** empty log message ***
From-SVN: r54136
David Edelsohn [Sat, 1 Jun 2002 02:01:11 +0000 (22:01 -0400)]
- Sigh, always use default text section name.
From-SVN: r54135
Kaveh R. Ghazi [Sat, 1 Jun 2002 01:58:10 +0000 (01:58 +0000)]
g2c.hin, [...]: Kill VOID, Void and Int.
* g2c.hin, libF77/d_cnjg.c, libF77/main.c, libF77/r_cnjg.c,
libF77/s_cat.c, libF77/s_paus.c, libF77/s_rnge.c, libF77/setarg.c,
libF77/setsig.c, libF77/signal1.h0, libI77/dfe.c, libI77/due.c,
libI77/err.c, libI77/fio.h, libI77/fmt.c, libI77/iio.c,
libI77/ilnw.c, libI77/lread.c, libI77/lwrite.c, libI77/rsfe.c,
libI77/rsli.c, libI77/rsne.c, libI77/sfe.c, libI77/sue.c,
libI77/util.c, libI77/wrtfmt.c, libI77/wsfe.c, libI77/wsle.c,
libI77/xwsne.c, libU77/date_.c: Kill VOID, Void and Int.
From-SVN: r54134
Kaveh R. Ghazi [Sat, 1 Jun 2002 01:55:57 +0000 (01:55 +0000)]
F77_aloc.c, [...]: Delete checks on __cplusplus.
* libF77/F77_aloc.c, libF77/exit_.c, libF77/main.c,
libF77/s_paus.c, libF77/s_stop.c, libF77/setarg.c,
libF77/setsig.c, libF77/sig_die.c, libF77/signal1.h0,
libI77/close.c, libI77/dolio.c, libI77/fio.h, libI77/fmt.h,
libI77/lio.h: Delete checks on __cplusplus.
From-SVN: r54133
Kaveh R. Ghazi [Sat, 1 Jun 2002 01:53:53 +0000 (01:53 +0000)]
*: Delete KR_headers cruft.
* libF77/*: Delete KR_headers cruft.
* libI77/*: Likewise.
* libU77/*: Likewise.
From-SVN: r54132
Zack Weinberg [Sat, 1 Jun 2002 01:53:28 +0000 (01:53 +0000)]
Makefile.in (INSTALL_CPP, [...]): Remove.
* Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
(install): Refer to install-cpp directly.
(uninstall-cpp): Folded into uninstall rule.
* configure.in: Delete all code relating to --disable-cpp.
* configure: Regenerate.
* config/t-install-cpp: Delete.
From-SVN: r54131
Phil Edwards [Sat, 1 Jun 2002 00:50:40 +0000 (00:50 +0000)]
Fix typo in my previous changelog commit. Again.
From-SVN: r54129
Marcus Meissner [Sat, 1 Jun 2002 00:48:21 +0000 (00:48 +0000)]
stl_bvector.h: Use UL suffix for unsigned longs.
2002-05-31 Marcus Meissner <meissner@suse.de>
* include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
* testsuite/23_containers/vector_bool.cc (test02): New test.
From-SVN: r54128
Richard Henderson [Sat, 1 Jun 2002 00:19:10 +0000 (17:19 -0700)]
configure.in (HAVE_AS_TLS): Add alpha tests.
* configure.in (HAVE_AS_TLS): Add alpha tests.
* configure: Rebuild.
* config/alpha/alpha.c (TARGET_AS_TLS): New.
(alpha_tls_size, alpha_tls_size_string): New.
(overide_options): Set it. Always install machine_status hooks.
(input_operand): Accept got tls predicates.
(local_symbol_p): Merge into ...
(local_symbolic_operand): ... here. Reject tls symbols.
(global_symbolic_operand): Likewise.
(tls_symbolic_operand_1, dtp16_symbolic_operand): New.
(dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
(tp16_symbolic_operand, tp32_symbolic_operand): New.
(gottp_symbolic_operand, tls_symbolic_operand_type): New.
(alpha_encode_section_info): Handle TLS symbols.
(alpha_strip_name_encoding): Likewise.
(alpha_legitimate_address_p): Likewise.
(alpha_legitimize_address): Likewise.
(alpha_expand_mov): Early exit to avoid nop moves.
(struct machine_function): Move from unicosmk.h. Add some_ld_name.
(alpha_init_machine_status, alpha_mark_machine_status,
alpha_free_machine_status): Always define.
(get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
(print_operand, print_operand_address): Add TLS relocs.
* config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
(MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
(TARGET_SWITCHES): Add -mtls-kernel.
(alpha_tls_size, alpha_tls_size_string): New.
(TARGET_OPTIONS): Add -mtls-size=.
(reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
(ASM_OUTPUT_LABELREF): Skip %.
(PRINT_OPERAND_PUNCT_VALID_P): Add &.
(PREDICATE_CODES): Update.
* config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
UNSPEC_TP, UNSPECV_SET_TP): New.
(adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
(call_value_osf_2_er): Accept anything as op4.
* config/alpha/alpha-protos.h: Update.
* config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.
From-SVN: r54125
Zack Weinberg [Fri, 31 May 2002 22:57:55 +0000 (22:57 +0000)]
cppinit.c (append_include_chain): Always pay attention to cxx_aware when setting new->sysp.
* cppinit.c (append_include_chain): Always pay attention to
cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED
marker on argument.
From-SVN: r54124
Kazu Hirata [Fri, 31 May 2002 22:15:42 +0000 (22:15 +0000)]
target.h: Fix formatting.
* target.h: Fix formatting.
* timevar.h: Likewise.
* tlink.c: Likewise.
* toplev.c: Likewise.
* toplev.h: Likewise.
* tree.c: Likewise.
* tree-dump.h: Likewise.
* tree.h: Likewise.
* tree-inline.h: Likewise.
* unroll.c: Likewise.
* unwind-dw2.c: Likewise.
* unwind-dw2-fde.c: Likewise.
* unwind-dw2-fde-glibc.c: Likewise.
* unwind-dw2-fde.h: Likewise.
* unwind.h: Likewise.
* unwind-sjlj.c: Likewise.
* varasm.c: Likewise.
* varray.h: Likewise.
* vmsdbg.h: Likewise.
* vmsdbgout.c: Likewise.
* xcoffout.h: Likewise.
From-SVN: r54123
Igor Shevlyakov [Fri, 31 May 2002 22:08:12 +0000 (22:08 +0000)]
expr.c (compare_from_rtx): Generate comparison between op0 and op1 rather than cc0 and 0 in a case when...
* expr.c (compare_from_rtx): Generate comparison between op0 and op1
rather than cc0 and 0 in a case when HAVE_cc0 is not defined.
From-SVN: r54122
Matthew Woodcraft [Fri, 31 May 2002 21:01:28 +0000 (21:01 +0000)]
gcc.c (cpp_unique_options): Remove "-d" options.
* gcc.c (cpp_unique_options): Remove "-d" options.
(cpp_debug_options): New spec string.
(default_compilers): Use it.
* objc/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
From-SVN: r54121
Nathanael Nerode [Fri, 31 May 2002 20:12:31 +0000 (20:12 +0000)]
Makefile.in: Replace HOST_PREFIX...
* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
BUILD_PREFIX_1, to correct nomenclature.
* configure: Likewise.
From-SVN: r54119
Nathanael Nerode [Fri, 31 May 2002 20:11:49 +0000 (20:11 +0000)]
Makefile.in: Replace HOST_PREFIX...
* gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature.
* gcc/mklibgcc.in: Likewise.
* gcc/config/arc/t-arc: Likewise.
* gcc/configure.in: Likewise.
* gcc/configure: Regenerate.
From-SVN: r54118
Nathanael Nerode [Fri, 31 May 2002 19:42:41 +0000 (19:42 +0000)]
Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
* configure.in: Eliminate version-specific references to tcl8.1, tk8.1.
From-SVN: r54117
Stan Shebs [Fri, 31 May 2002 19:41:45 +0000 (19:41 +0000)]
c-decl.c (struct binding_level): Change int field n_incomplete to tree list incomplete_list.
2002-05-31 Stan Shebs <shebs@apple.com>
Turly O'Connor <turly@apple.com>
* c-decl.c (struct binding_level): Change int field n_incomplete
to tree list incomplete_list.
(clear_binding_level): Init field with NULL.
(pushdecl): Add incomplete type to list.
(mark_binding_level): Mark the incomplete list.
(finish_struct): Scan the incomplete list for types instead
of all decls in the current binding level.
Co-Authored-By: Turly O'Connor <turly@apple.com>
From-SVN: r54116
Olaf Hering [Fri, 31 May 2002 19:30:52 +0000 (19:30 +0000)]
* config-ml.in: Propogate DESTDIR also.
From-SVN: r54114
Florian Weimer [Fri, 31 May 2002 19:27:59 +0000 (21:27 +0200)]
5ntaprop.adb (with System.OS_Primitives): Remove.
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* 5ntaprop.adb (with System.OS_Primitives): Remove.
From-SVN: r54113
Florian Weimer [Fri, 31 May 2002 18:08:23 +0000 (20:08 +0200)]
cstreams.c (max_path_len): Move from here ...
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* cstreams.c (max_path_len): Move from here ...
* adaint.c (__gnat_max_path_len): ... to here.
* adaint.c (__gnat_max_path_len): Declare.
* g-dirope.adb (Max_Path): Adjust.
* g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
* i-cstrea.ads (max_path_len): Adjust.
* osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
* xr_tabls.adb (Dir_Name.Max_Path: Adjust.
From-SVN: r54112
John David Anglin [Fri, 31 May 2002 18:01:13 +0000 (18:01 +0000)]
pa.c (output_millicode_call): Add missing '%' characters.
2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.c (output_millicode_call): Add missing '%' characters.
(output_call): Likewise.
From-SVN: r54111
David Edelsohn [Fri, 31 May 2002 17:45:58 +0000 (17:45 +0000)]
xcoff.h (HOT_TEXT_SECTION_NAME): Define.
* config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
(UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
From-SVN: r54110
Florian Weimer [Fri, 31 May 2002 16:50:45 +0000 (18:50 +0200)]
update_web_docs (MANUALS): Include various flavours of the GNAT User Guide.
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* update_web_docs (MANUALS): Include various flavours of the GNAT
User Guide.
From-SVN: r54109
Alan Lehotsky [Fri, 31 May 2002 12:49:27 +0000 (08:49 -0400)]
*** empty log message ***
From-SVN: r54108
J"orn Rennecke [Fri, 31 May 2002 12:04:33 +0000 (12:04 +0000)]
* config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
From-SVN: r54107
Jan Hubicka [Fri, 31 May 2002 11:54:11 +0000 (13:54 +0200)]
i386.c (classify_argument): Properly handle base types.
* i386.c (classify_argument): Properly handle base types.
* dwarf2out.c (expand_builin_init_dwarf_reg_sizes):
Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo
registers.
From-SVN: r54106
Jan Hubicka [Fri, 31 May 2002 11:43:18 +0000 (13:43 +0200)]
gcse.c (gcse_emit_move_after): New.
* gcse.c (gcse_emit_move_after): New.
(pre_delete, hoist_store): Use it.
* reload1.c (emit_input_reload_insns): Use constrain_operands
instead of constraint_accepts_reg_p to verify optimization.
(constraint_accepts_reg_p): Kill
* reload1.c (reload_cse_delete_noop_set): Kill.
(reload_cse_simplify): use delte_insn_and_edges.
From-SVN: r54105
Zdenek Dvorak [Fri, 31 May 2002 11:09:17 +0000 (13:09 +0200)]
cfgloop.c (flow_loops_find): Initialize first and last fields correctly.
* cfgloop.c (flow_loops_find): Initialize first and last fields
correctly.
From-SVN: r54104
Florian Weimer [Fri, 31 May 2002 11:08:38 +0000 (13:08 +0200)]
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
Florian Weimer [Fri, 31 May 2002 10:47:33 +0000 (12:47 +0200)]
Makefile.in, [...]: Documentation is now built in Make-lang.in.
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* Makefile.in, Make-lang.in: Documentation is now built in
Make-lang.in. Store Info and generated Texinfo files in the
source directory.
* gnat_ug.texi: Remove CVS keywords, correct version number.
Set file name correctly.
* gnat_ug_*.texi: Add.
* .cvsignore: Ignore generated Texinfo files.
From-SVN: r54100
GCC Administrator [Fri, 31 May 2002 07:18:14 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r54095
Neil Booth [Fri, 31 May 2002 06:01:18 +0000 (06:01 +0000)]
* c-common.c (builtin_define_std): Correct logic.
From-SVN: r54089
John David Anglin [Fri, 31 May 2002 05:41:30 +0000 (05:41 +0000)]
pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
* pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
(output_call): Likewise.
From-SVN: r54088
John David Anglin [Fri, 31 May 2002 04:32:41 +0000 (04:32 +0000)]
pa.c: Move output.h include after tree.h include.
* pa.c: Move output.h include after tree.h include.
(pa_asm_output_mi_thunk): Constify identifier lab.
From-SVN: r54087
Jason Thorpe [Fri, 31 May 2002 04:23:14 +0000 (04:23 +0000)]
ns32k.h: Define named constants for the bits in target_flags and use them.
* config/ns32k/ns32k.h: Define named constants for the
bits in target_flags and use them.
* config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants.
From-SVN: r54086
John David Anglin [Fri, 31 May 2002 04:00:42 +0000 (04:00 +0000)]
config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0 architecture and pa/pa-7100.h for...
2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
* config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0
architecture and pa/pa-7100.h for PA1.1 architecture, respectively.
* pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select
default scheduling model.
* pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000".
* pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling.
* pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling.
* doc/install.texi (hppa*-*-*): Document default scheduling.
From-SVN: r54085
John David Anglin [Fri, 31 May 2002 03:30:42 +0000 (03:30 +0000)]
* pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
From-SVN: r54084
Kaveh R. Ghazi [Fri, 31 May 2002 03:07:21 +0000 (03:07 +0000)]
Makefile.in (WARN_CFLAGS): New.
* Makefile.in (WARN_CFLAGS): New.
(FLAGS_TO_PASS): Add WARN_CFLAGS.
* libF77/Makefile.in (ALL_CFLAGS): Likewise.
* libI77/Makefile.in (ALL_CFLAGS): Likewise.
* libU77/Makefile.in (ALL_CFLAGS): Likewise.
From-SVN: r54083
Jason Thorpe [Fri, 31 May 2002 02:51:23 +0000 (02:51 +0000)]
config.gcc (ns32k-*-netbsd*): Set tm_file to "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
* config.gcc (ns32k-*-netbsd*): Set tm_file to
"${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
* config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
netbsd.h, or netbsd-aout.h.
From-SVN: r54082
Jason Thorpe [Fri, 31 May 2002 02:38:38 +0000 (02:38 +0000)]
longlong.h (count_trailing_zeros): Add missing \, and clean up whitespace in __ns32000__ case.
* longlong.h (count_trailing_zeros): Add missing \, and clean up
whitespace in __ns32000__ case.
From-SVN: r54081
Aldy Hernandez [Fri, 31 May 2002 02:21:31 +0000 (02:21 +0000)]
expr.c (expand_expr): Output partially zeroed out vectors with output_constant_def.
2002-05-31 Aldy Hernandez <aldyh@redhat.com>
* expr.c (expand_expr): Output partially zeroed out vectors with
output_constant_def.
From-SVN: r54080
Jason Thorpe [Fri, 31 May 2002 01:31:26 +0000 (01:31 +0000)]
config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
(sh-*-netbsdelf*)
(shl*-*-netbsdelf*): New targets.
* config/sh/netbsd-elf.h: New file.
From-SVN: r54079
Richard Henderson [Thu, 30 May 2002 23:08:27 +0000 (16:08 -0700)]
re PR rtl-optimization/6822 (GCC 3.1.1 - Internal compiler error in extract_insn, at recog.c:2132)
PR optimization/6822
* config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
to unsigned int for op1 comparisons. Use gen_int_mode.
* gcc.c-torture/compile/
20020530 -1.c: New.
Co-Authored-By: Eric Botcazou <ebotcazou@multimania.com>
From-SVN: r54076
Eric Botcazou [Thu, 30 May 2002 21:33:32 +0000 (21:33 +0000)]
expmed.c (const_mult_add_overflow_p): New.
* expmed.c (const_mult_add_overflow_p): New.
* expr.h: Declare it.
* loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
Don't eliminate the biv if the giv has a constant multiplier and
the rhs argument of the comparison does satisfy the predicate.
Use expand_mult_add to compute the replacement constant.
From-SVN: r54075
Osku Salerma [Thu, 30 May 2002 21:28:17 +0000 (00:28 +0300)]
c-common.c (c_common_attribute_table): Add "may_alias" entry.
* c-common.c (c_common_attribute_table): Add "may_alias" entry.
(c_common_get_alias_set): Handle it.
* doc/extend.texi: Document it.
* gcc.c-torture/execute/mayalias-1.c: New file.
From-SVN: r54074
Richard Henderson [Thu, 30 May 2002 21:01:20 +0000 (14:01 -0700)]
defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* toplev.c (process_options): Don't check it.
* doc/tm.texi: Don't document it.
* config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
(TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
frame pointer optimization if current_function_profile.
From-SVN: r54072
Marc Espie [Thu, 30 May 2002 21:00:28 +0000 (21:00 +0000)]
configure.in: Always check for sys/types.h
2002-05-30 Marc Espie <espie@openbsd.org>
* configure.in: Always check for sys/types.h
* configure: Regenerate.
From-SVN: r54071
Kazu Hirata [Thu, 30 May 2002 20:55:11 +0000 (20:55 +0000)]
langhooks.c: Fix formatting.
* langhooks.c: Fix formatting.
* langhooks.h: Likewise.
* lcm.c: Likewise.
* libgcc2.c: Likewise.
* lists.c: Likewise.
* local-alloc.c: Likewise.
* loop.c: Likewise.
* loop.h: Likewise.
From-SVN: r54070
H.J. Lu [Thu, 30 May 2002 20:46:53 +0000 (20:46 +0000)]
open.c (_XOPEN_SOURCE): Removed.
2002-05-30 H.J. Lu (hjl@gnu.org)
* libI77/open.c (_XOPEN_SOURCE): Removed.
From-SVN: r54069
Marc Espie [Thu, 30 May 2002 20:35:58 +0000 (20:35 +0000)]
config.gcc (sparc64-*-openbsd*): New.
2002-05-30 Marc Espie <espie@openbsd.org>
* config.gcc (sparc64-*-openbsd*): New.
* config/sparc/openbsd1-64.h: New.
* config/sparc/openbsd64.h: New.
From-SVN: r54066
This page took 0.097738 seconds and 5 git commands to generate.