OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years agoCheck in file mistakenly omitted when sh*-*-netbsdelf*
thorpej [Mon, 3 Jun 2002 05:27:06 +0000 (05:27 +0000)]
Check in file mistakenly omitted when sh*-*-netbsdelf*
targets were added.  Update ChangeLog entry:

2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>

* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
(sh-*-netbsdelf*)
(shl*-*-netbsdelf*): New targets.
* config/sh/netbsd-elf.h: New file.
* config/sh/t-netbsd.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54203 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
espie [Mon, 3 Jun 2002 05:26:00 +0000 (05:26 +0000)]
* config/cpu/m68k/bits/atomicity.h(__exchange_and_add):  Fix inline
assembly for old assemblers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54202 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-03 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 3 Jun 2002 05:03:50 +0000 (05:03 +0000)]
2002-06-03  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
Move/rename...
(vector<bool>::swap(reference,reference)): ...to this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54201 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-03 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 3 Jun 2002 04:45:03 +0000 (04:45 +0000)]
2002-06-03  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/TODO:  Update.
* docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
some class members are in 14882 order.
* docs/html/ext/howto.html:  3.1 is in the past now, not the future.

* include/std/std_bitset.h:  Update comment.
* src/bitset.cc:  Update comments, clean up spacing.

* src/Makefile.am (sources):  Alphabetize for convenience.
* src/Makefile.in:  Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54200 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/ns32k/netbsd.h: Update copyright years.
thorpej [Mon, 3 Jun 2002 04:42:02 +0000 (04:42 +0000)]
* config/ns32k/netbsd.h: Update copyright years.
(TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Remove.
* config/ns32k/ns32k.h (CPP_PREDEFINES): Remove.
(TARGET_CPU_CPP_BUILTINS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54199 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-03 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 3 Jun 2002 04:34:19 +0000 (04:34 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54198 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * emit-rtl.c: Likewise.
kazu [Mon, 3 Jun 2002 01:13:17 +0000 (01:13 +0000)]
* emit-rtl.c: Likewise.
* errors.h: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54197 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/elf.h: Fix formatting.
kazu [Mon, 3 Jun 2002 00:51:37 +0000 (00:51 +0000)]
* config/h8300/elf.h: Fix formatting.
* config/h8300/rtems.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54196 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
thorpej [Mon, 3 Jun 2002 00:28:12 +0000 (00:28 +0000)]
* config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54194 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoreverted erroneous checkin
tromey [Sun, 2 Jun 2002 23:19:01 +0000 (23:19 +0000)]
reverted erroneous checkin

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54193 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fixinc/fixincl.x: Rebuilt.
tromey [Sun, 2 Jun 2002 23:17:30 +0000 (23:17 +0000)]
* fixinc/fixincl.x: Rebuilt.
* fixinc/inclhack.def (thread_keyword): Match `*__thread'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54192 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoconfig/i370:
neil [Sun, 2 Jun 2002 22:27:32 +0000 (22:27 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54191 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * final.c (final): Allow notes to not have computed addresses;
hubicka [Sun, 2 Jun 2002 22:23:45 +0000 (22:23 +0000)]
* final.c (final):  Allow notes to not have computed addresses;
kill no longer needed STACK_REGS ifdef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54190 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (bypass_conditional_jumps): Fix typo last change.
rth [Sun, 2 Jun 2002 22:16:54 +0000 (22:16 +0000)]
    * gcse.c (bypass_conditional_jumps): Fix typo last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54189 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * loop.c (emit_prefetch_instructions): Properly place the address computation.
hubicka [Sun, 2 Jun 2002 21:09:54 +0000 (21:09 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54188 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoconfig/h8300:
neil [Sun, 2 Jun 2002 21:00:50 +0000 (21:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54187 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * alias.c: Include target.h.
rth [Sun, 2 Jun 2002 20:50:32 +0000 (20:50 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54186 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-lex.c: Update copyright and file description.
neil [Sun, 2 Jun 2002 20:13:46 +0000 (20:13 +0000)]
* c-lex.c: Update copyright and file description.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54185 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ChangeLog: Credit Zack appropriately.
neil [Sun, 2 Jun 2002 20:09:05 +0000 (20:09 +0000)]
* ChangeLog: Credit Zack appropriately.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54184 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/execute/loop-3c.x: Remove, the test should pass
aj [Sun, 2 Jun 2002 19:54:02 +0000 (19:54 +0000)]
* gcc.c-torture/execute/loop-3c.x: Remove, the test should pass
now.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54183 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/fr30/fr30.h: Update to new CPP macros.
neil [Sun, 2 Jun 2002 19:47:10 +0000 (19:47 +0000)]
* config/fr30/fr30.h: Update to new CPP macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54182 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/dsp16xx/dsp16xx.h: Update to new CPP macros.
neil [Sun, 2 Jun 2002 19:39:09 +0000 (19:39 +0000)]
* config/dsp16xx/dsp16xx.h: Update to new CPP macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54181 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (c_common_init): Override cpplib's default
neil [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-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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54180 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * diagnostic.h (struct diagnostic_context): Add new member
gdr [Sun, 2 Jun 2002 19:06:30 +0000 (19:06 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54179 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rtl.h (CC0_P): New.
rth [Sun, 2 Jun 2002 18:38:04 +0000 (18:38 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54178 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/uninit-A.c: Remove xfail markers.
rth [Sun, 2 Jun 2002 18:11:21 +0000 (18:11 +0000)]
    * gcc.dg/uninit-A.c: Remove xfail markers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54177 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * diagnostic.c (diagnostic_finish): Rename to output_flush.
gdr [Sun, 2 Jun 2002 17:36:29 +0000 (17:36 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54176 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfgrtl.c (commit_one_edge_insertion): Fix warning.
hubicka [Sun, 2 Jun 2002 17:18:58 +0000 (17:18 +0000)]
* cfgrtl.c (commit_one_edge_insertion): Fix warning.
* gcse.c (bypass_conditional_jumps): CSE out single_set call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54175 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Fix for PR java/5913:
tromey [Sun, 2 Jun 2002 16:38:05 +0000 (16:38 +0000)]
Fix for PR java/5913:
* parse.y (patch_binop): Call patch_string on op1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54174 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Fix for PR java/1343, PR java/6336:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54173 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libI77/dfe.c (s_rdfe, s_wdfe): Wrap parentheses around
ghazi [Sun, 2 Jun 2002 14:34:31 +0000 (14:34 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54172 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * d30v.h (CPP_PREDEFINES): Replace with
neil [Sun, 2 Jun 2002 14:11:33 +0000 (14:11 +0000)]
* d30v.h (CPP_PREDEFINES): Replace with
(TARGET_CPU_CPP_BUILTINS): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54171 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
sayle [Sun, 2 Jun 2002 13:18:15 +0000 (13:18 +0000)]
* config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54170 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libF77/main.c (main): Avoid implicit int.
ghazi [Sun, 2 Jun 2002 13:01:12 +0000 (13:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54169 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libI77/rdfmt.c (rd_I): Delete unused variable(s).
ghazi [Sun, 2 Jun 2002 12:59:22 +0000 (12:59 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54168 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libI77/inquire.c (f_inqu): Avoid ambiguous else clauses.
ghazi [Sun, 2 Jun 2002 12:57:28 +0000 (12:57 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54167 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libF77/getenv_.c (G77_getenv_0): Avoid signed/unsigned warning.
ghazi [Sun, 2 Jun 2002 12:54:28 +0000 (12:54 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54166 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (bypass_conditional_jumps): Use single set to obtain set.
hubicka [Sun, 2 Jun 2002 10:21:39 +0000 (10:21 +0000)]
* gcse.c (bypass_conditional_jumps): Use single set to obtain set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54165 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rtlanal.c (volatile_refs_p): Not automatically true for CALL.
rth [Sun, 2 Jun 2002 07:41:59 +0000 (07:41 +0000)]
    * rtlanal.c (volatile_refs_p): Not automatically true for CALL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54163 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 2 Jun 2002 07:26:40 +0000 (07:26 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54162 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 2 Jun 2002 07:26:38 +0000 (07:26 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54161 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Support for C++ constructors/destructors.
marekm [Sat, 1 Jun 2002 23:33:47 +0000 (23:33 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54156 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
m.hayes [Sat, 1 Jun 2002 23:27:50 +0000 (23:27 +0000)]
* c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
(CPP_SPEC, CPP_PREDEFINES): Kill.
* c4x/rtems.h (CPP_PREDEFINES): Kill.
(TARGET_OS_CPP_BUILTINS): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54155 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (tracer.o): New.
hubicka [Sat, 1 Jun 2002 21:31:42 +0000 (21:31 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54154 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-01 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sat, 1 Jun 2002 21:09:52 +0000 (21:09 +0000)]
2002-06-01  Daniel Berlin  <dberlin@dberlin.org>

* tree-inline.c (expand_call_inline): Make the statement
expression we generate have a COMPOUND_STMT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54153 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (cprop_cc0_jump): Function deleted.
sayle [Sat, 1 Jun 2002 20:03:08 +0000 (20:03 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54152 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.c (real_minus_onep): New function to test for -1.0.
sayle [Sat, 1 Jun 2002 16:56:08 +0000 (16:56 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54149 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
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 suitable conditions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54148 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cppexp.c (cpp_classify_number): Cast precission to int for
aj [Sat, 1 Jun 2002 14:11:45 +0000 (14:11 +0000)]
* cppexp.c (cpp_classify_number): Cast precission to int for
correct printf format.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54147 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/avr/avr.c (avr_mcu_types): Remove devices that were once
marekm [Sat, 1 Jun 2002 13:47:29 +0000 (13:47 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54146 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libF77/*: Fix formatting.
ghazi [Sat, 1 Jun 2002 12:38:32 +0000 (12:38 +0000)]
* libF77/*: Fix formatting.
* libI77/*: Likewise.
* libU77/*: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54145 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
jsm28 [Sat, 1 Jun 2002 11:17:19 +0000 (11:17 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54144 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300-protos.h: Add a prototype for
kazu [Sat, 1 Jun 2002 10:38:58 +0000 (10:38 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54143 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * basic-block.h (struct basic_block_def): New field loop_father.
hubicka [Sat, 1 Jun 2002 09:24:41 +0000 (09:24 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54142 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 1 Jun 2002 07:17:00 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54141 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago*** empty log message ***
alehotsky [Sat, 1 Jun 2002 02:23:38 +0000 (02:23 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54136 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago- Sigh, always use default text section name.
dje [Sat, 1 Jun 2002 02:01:11 +0000 (02:01 +0000)]
- Sigh, always use default text section name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54135 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g2c.hin, libF77/d_cnjg.c, libF77/main.c, libF77/r_cnjg.c,
ghazi [Sat, 1 Jun 2002 01:58:10 +0000 (01:58 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54134 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libF77/F77_aloc.c, libF77/exit_.c, libF77/main.c,
ghazi [Sat, 1 Jun 2002 01:55:57 +0000 (01:55 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54133 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libF77/*: Delete KR_headers cruft.
ghazi [Sat, 1 Jun 2002 01:53:53 +0000 (01:53 +0000)]
* libF77/*: Delete KR_headers cruft.
* libI77/*: Likewise.
* libU77/*: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54132 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
zack [Sat, 1 Jun 2002 01:53:28 +0000 (01:53 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54131 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix typo in my previous changelog commit. Again.
pme [Sat, 1 Jun 2002 00:50:40 +0000 (00:50 +0000)]
Fix typo in my previous changelog commit.  Again.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54129 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-31 Marcus Meissner <meissner@suse.de>
pme [Sat, 1 Jun 2002 00:48:21 +0000 (00:48 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54128 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in (HAVE_AS_TLS): Add alpha tests.
rth [Sat, 1 Jun 2002 00:19:10 +0000 (00:19 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54125 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cppinit.c (append_include_chain): Always pay attention to
zack [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.  Remove ATTRIBUTE_UNUSED
marker on argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54124 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * target.h: Fix formatting.
kazu [Fri, 31 May 2002 22:15:42 +0000 (22:15 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54123 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c (compare_from_rtx): Generate comparison between op0 and op1
rth [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 HAVE_cc0 is not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54122 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c (cpp_unique_options): Remove "-d" options.
rth [Fri, 31 May 2002 21:01:28 +0000 (21:01 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54121 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
dj [Fri, 31 May 2002 20:12:31 +0000 (20:12 +0000)]
* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
BUILD_PREFIX_1, to correct nomenclature.
* configure: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54119 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
dj [Fri, 31 May 2002 20:11:49 +0000 (20:11 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54118 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
dj [Fri, 31 May 2002 19:42:41 +0000 (19:42 +0000)]
* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
* configure.in: Eliminate version-specific references to tcl8.1, tk8.1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54117 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-31 Stan Shebs <shebs@apple.com>
shebs [Fri, 31 May 2002 19:41:45 +0000 (19:41 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54116 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config-ml.in: Propogate DESTDIR also.
dj [Fri, 31 May 2002 19:30:52 +0000 (19:30 +0000)]
* config-ml.in: Propogate DESTDIR also.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54114 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-31 Florian Weimer <fw@deneb.enyo.de>
fw [Fri, 31 May 2002 19:27:59 +0000 (19:27 +0000)]
2002-05-31  Florian Weimer  <fw@deneb.enyo.de>

* 5ntaprop.adb (with System.OS_Primitives): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54113 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-31 Florian Weimer <fw@deneb.enyo.de>
fw [Fri, 31 May 2002 18:08:23 +0000 (18:08 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54112 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
danglin [Fri, 31 May 2002 18:01:13 +0000 (18:01 +0000)]
2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>

* pa.c (output_millicode_call): Add missing '%' characters.
(output_call): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54111 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
dje [Fri, 31 May 2002 17:45:58 +0000 (17:45 +0000)]
    * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
        (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54110 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-31 Florian Weimer <fw@deneb.enyo.de>
fw [Fri, 31 May 2002 16:50:45 +0000 (16:50 +0000)]
2002-05-31  Florian Weimer  <fw@deneb.enyo.de>

* update_web_docs (MANUALS): Include various flavours of the GNAT
User Guide.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54109 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago*** empty log message ***
alehotsky [Fri, 31 May 2002 12:49:27 +0000 (12:49 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54108 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
amylaar [Fri, 31 May 2002 12:04:33 +0000 (12:04 +0000)]
* config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54107 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i386.c (classify_argument): Properly handle base types.
hubicka [Fri, 31 May 2002 11:54:11 +0000 (11:54 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54106 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (gcse_emit_move_after): New.
hubicka [Fri, 31 May 2002 11:43:18 +0000 (11:43 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54105 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfgloop.c (flow_loops_find): Initialize first and last fields
rakdver [Fri, 31 May 2002 11:09:17 +0000 (11:09 +0000)]
* cfgloop.c (flow_loops_find): Initialize first and last fields
correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54104 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-31 Florian Weimer <fw@deneb.enyo.de>
fw [Fri, 31 May 2002 11:08:38 +0000 (11:08 +0000)]
2002-05-31  Florian Weimer  <fw@deneb.enyo.de>

* gcc_update (files_and_dependencies): Add generated Texinfo files
for Ada.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54103 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-31 Florian Weimer <fw@deneb.enyo.de>
fw [Fri, 31 May 2002 10:47:33 +0000 (10:47 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54100 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 31 May 2002 07:18:14 +0000 (07:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54095 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (builtin_define_std): Correct logic.
neil [Fri, 31 May 2002 06:01:18 +0000 (06:01 +0000)]
* c-common.c (builtin_define_std): Correct logic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54089 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
danglin [Fri, 31 May 2002 05:41:30 +0000 (05:41 +0000)]
* pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
(output_call): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54088 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa.c: Move output.h include after tree.h include.
danglin [Fri, 31 May 2002 04:32:41 +0000 (04:32 +0000)]
* pa.c: Move output.h include after tree.h include.
(pa_asm_output_mi_thunk): Constify identifier lab.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54087 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/ns32k/ns32k.h: Define named constants for the
thorpej [Fri, 31 May 2002 04:23:14 +0000 (04:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54086 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
danglin [Fri, 31 May 2002 04:00:42 +0000 (04:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54085 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
danglin [Fri, 31 May 2002 03:30:42 +0000 (03:30 +0000)]
* pa.c (following_call): Check TARGET_JUMP_IN_DELAY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54084 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (WARN_CFLAGS): New.
ghazi [Fri, 31 May 2002 03:07:21 +0000 (03:07 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54083 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config.gcc (ns32k-*-netbsd*): Set tm_file to
thorpej [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/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
netbsd.h, or netbsd-aout.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54082 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* longlong.h (count_trailing_zeros): Add missing \, and clean up
thorpej [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54081 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-31 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 31 May 2002 02:21:31 +0000 (02:21 +0000)]
2002-05-31  Aldy Hernandez  <aldyh@redhat.com>

        * expr.c (expand_expr): Output partially zeroed out vectors with
        output_constant_def.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54080 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
thorpej [Fri, 31 May 2002 01:31:26 +0000 (01:31 +0000)]
* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
(sh-*-netbsdelf*)
(shl*-*-netbsdelf*): New targets.
* config/sh/netbsd-elf.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54079 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR optimization/6822
rth [Thu, 30 May 2002 23:08:27 +0000 (23:08 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54076 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expmed.c (const_mult_add_overflow_p): New.
rth [Thu, 30 May 2002 21:33:32 +0000 (21:33 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54075 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (c_common_attribute_table): Add "may_alias" entry.
rth [Thu, 30 May 2002 21:28:17 +0000 (21:28 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54074 138bc75d-0d04-0410-961f-82ee72b054a4