gcc.git
21 years agoh8300.c (TARGET_INITIALIZER and friends): Move to the end of the file.
Kazu Hirata [Thu, 19 Jun 2003 04:10:11 +0000 (04:10 +0000)]
h8300.c (TARGET_INITIALIZER and friends): Move to the end of the file.

* config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move
to the end of the file.  Remove unnecessary prototypes.

From-SVN: r68176

21 years agotestsuite_performance.h (time_counter): New.
Benjamin Kosnik [Thu, 19 Jun 2003 04:00:59 +0000 (04:00 +0000)]
testsuite_performance.h (time_counter): New.

2003-06-18  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/testsuite_performance.h (time_counter): New.
(resource_counter): New.
(report_performance): New.
(start_counters): New.
(stop_counters): New.
(clear_counters): New.
* testsuite/performance/allocator.cc: Instrument.
* testsuite/performance/cout_insert_int.cc: Same.
* testsuite/performance/complex_norm.cc: Same.
* testsuite/performance/filebuf_sputc.cc: New.
* testsuite/performance/fstream_seek_write.cc: Same.
* testsuite/performance/ifstream_getline.cc: Same.
* testsuite/performance/map_create_fill.cc: Same.
* testsuite/performance/ofstream_insert_float.cc: Same.
* testsuite/performance/ofstream_insert_int.cc: Same.
* testsuite/performance/string_append.cc: Convert.
* scripts/check_performance: New.
* testsuite/Makefile.am (check-performance): New.
(CLEANFILES): Add.

From-SVN: r68175

21 years agopt.c: Convert to ISO C.
Nathanael Nerode [Thu, 19 Jun 2003 01:24:08 +0000 (01:24 +0000)]
pt.c: Convert to ISO C.

* pt.c: Convert to ISO C.
* semantics.c: Convert to ISO C.

From-SVN: r68174

21 years agoInet6Address.java (isAnyLocalAddress): Don't use "==" on arrays.
Tom Tromey [Thu, 19 Jun 2003 01:19:27 +0000 (01:19 +0000)]
Inet6Address.java (isAnyLocalAddress): Don't use "==" on arrays.

* java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
on arrays.
(isLoopbackAddress): Likewise.
* java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
on arrays.

From-SVN: r68173

21 years agobt-load.c (migrate_btr_def): Conditionalize calls to insn_default_latency and result_...
Hans-Peter Nilsson [Thu, 19 Jun 2003 00:29:52 +0000 (00:29 +0000)]
bt-load.c (migrate_btr_def): Conditionalize calls to insn_default_latency and result_ready_cost.

* bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize
calls to insn_default_latency and result_ready_cost.  Initialize
def_latency to 1.

From-SVN: r68172

21 years agoDaily bump.
GCC Administrator [Thu, 19 Jun 2003 00:17:09 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r68170

21 years agounwind-ia64.c (_Unwind_GetCFA): New.
Richard Henderson [Wed, 18 Jun 2003 22:53:06 +0000 (15:53 -0700)]
unwind-ia64.c (_Unwind_GetCFA): New.

        * config/ia64/unwind-ia64.c (_Unwind_GetCFA): New.
        (_Unwind_FindEnclosingFunction): Implement.

From-SVN: r68168

21 years agotoplev.c (rest_of_handle_sched): Hide the entire function if INSN_SCHEDULING is not...
Kazu Hirata [Wed, 18 Jun 2003 21:41:10 +0000 (21:41 +0000)]
toplev.c (rest_of_handle_sched): Hide the entire function if INSN_SCHEDULING is not defined.

* toplev.c (rest_of_handle_sched): Hide the entire function if
INSN_SCHEDULING is not defined.
(rest_of_compilation): Call rest_of_handle_sched() only when
INSN_SCHEDULING is defined.

From-SVN: r68166

21 years agobt-load.c: New file.
Stephen Clarke [Wed, 18 Jun 2003 19:43:55 +0000 (19:43 +0000)]
bt-load.c: New file.

2003-06-18  Stephen Clarke <stephen.clarke@superh.com>
            J"orn Rennecke <joern.rennecke@superh.com>

* bt-load.c: New file.
* Makefile.in (OBJS): Include bt-load.o
(bt-load.o): Add dependencies.
* flags.h (flag_branch_target_load_optimize): Declare.
(flag_branch_target_load_optimize2): Likewise.
* hooks.c (hook_reg_class_void_no_regs): New function.
(hook_bool_bool_false): Likewise.
* hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare.
* rtl.h (branch_target_load_optimize): Declare.
* target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Define.
(TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
(TARGET_INITIALIZER): Include these.
* target.h (struct gcc_target): Add branch_target_register_class
and branch_target_register_callee_saved members.
* toplev.c (enum dump_file_index): Add DFI_branch_target_load
(dump_file) Add "tars" entry.
(flag_branch_target_load_optimize): New variable.
(flag_branch_target_load_optimize2): Likewise.
(lang_independent_options): Add entries for new options.
(rest_of_compilation): Call branch_target_load_optimize.
* doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Document.
(TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
* doc/invoke.texi: Document -fbranch-target-load-optimize and
-fbranch-target-load-optimize2.
* rtl.h (epilogue_completed): Declare.
* recog.c (epilogue_completed): New variable.
* toplev.c (rest_of_compilation): Set it.
* flow.c (mark_regs_live_at_end): Use it.
* config/ia64/ia64.c (ia64_output_mi_thunk): Set it.
* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Likewise.
* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.

* sh.c (shmedia_space_reserved_for_target_registers): New variable.
(sh_target_reg_class): New function.
(sh_optimize_target_register_callee_saved): Likwise.
(shmedia_target_regs_stack_space): Likewise.
(shmedia_reserve_space_for_target_registers_p): Likewise.
(shmedia_target_regs_stack_adjust): Likewise.
(TARGET_BRANCH_TARGET_REGISTER_CLASS): Override.
(TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
(calc_live_regs): If flag_branch_target_load_optimize2 and
TARGET_SAVE_ALL_TARGET_REGS is enabled, and we have space reserved
for target registers, make sure that we save all target registers.
(sh_expand_prologue, sh_expand_epilogue): Take target register
optimizations into account.  Collapse stack adjustments if that
is beneficial.
(initial_elimination_offset): Reserve space for target registers
if necessary.
* sh.h (SAVE_ALL_TR_BIT, TARGET_SAVE_ALL_TARGET_REGS): Define.
(OPTIMIZATION_OPTIONS): Enable flag_branch_target_load_optimize.

Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com>
From-SVN: r68165

21 years agocp-tree.h (comp_except_specs, [...]): Return bool.
Nathan Sidwell [Wed, 18 Jun 2003 19:17:04 +0000 (19:17 +0000)]
cp-tree.h (comp_except_specs, [...]): Return bool.

* cp-tree.h (comp_except_specs, compparms, cp_has_mutable_p,
at_least_as_qualified_p, more_qualified_p): Return bool.
* typeck.c: ANSIFY function definitions.
(comp_array_types): Take redeclaration bool parameter.
(comptypes): Rearrange STRICT handling.
(at_least_as_qualified_p, more_qualified_p,
comp_cv_qualification): Cache cv quals.
(compparms): Rearrange loop.

From-SVN: r68164

21 years agostd_sstream.h (setbuf): Check __n >= 0.
Paolo Carlini [Wed, 18 Jun 2003 19:13:18 +0000 (21:13 +0200)]
std_sstream.h (setbuf): Check __n >= 0.

2003-06-18  Paolo Carlini  <pcarlini@unitus.it>
    Benjamin Kosnik  <bkoz@redhat.com>

* include/std/std_sstream.h (setbuf): Check __n >= 0.
* include/bits/fstream.tcc (setbuf): Tweak.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r68163

21 years agosstream.tcc (seekoff): We can't seek beyond _M_out_lim...
Paolo Carlini [Wed, 18 Jun 2003 18:34:09 +0000 (20:34 +0200)]
sstream.tcc (seekoff): We can't seek beyond _M_out_lim...

2003-06-18  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (seekoff): We can't seek beyond
_M_out_lim, therefore _M_move_out_cur boils down to simply
updating _M_out_cur.
(seekpos): Likewise, clean up.

From-SVN: r68162

21 years agofstream.tcc (setbuf): Allow (__s...
Nathan C. Myers [Wed, 18 Jun 2003 17:17:52 +0000 (17:17 +0000)]
fstream.tcc (setbuf): Allow (__s...

2003-06-18  Nathan C. Myers  <ncm-nospam@cantrip.org>
    Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
simply equivalent to the unbuffered case (0, 0) as far as
_M_buf_size is concerned.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r68160

21 years agoconfig.gcc: Add an extra_header for ARM targets.
Nick Clifton [Wed, 18 Jun 2003 16:36:13 +0000 (16:36 +0000)]
config.gcc: Add an extra_header for ARM targets.

* config.gcc: Add an extra_header for ARM targets.
        Support configuring with --with-cpu=iwmmxt.
* doc/invoke.texi: Document new value for -mcpu= ARM switch.
        * config/arm/aof.h (REGISTER_NAMES): Add iwmmxt register
names.  Fix formatting.
        * config/arm/aout.h (REGISTER_NAMES): Add iwmmxt register
names.
        * config/arm/arm-protos.h (arm_emit_vector_const): New
prototype.
(arm_output_load_gr): New prototype.
* config/arm/arm.c (extra_reg_names1): Delete.
        (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN, FL_IWMMXT,
* arch_is_iwmmxt): Define.
(all_cores, all_architecture): Add entry for iwmmxt.
(arm_override_options): Add support for iwmmxt.
(use_return_insn, arm_function_arg, arm_legitimate_index_p,
arm_print_value, arm_rtx_costs_1, output_move_double,
arm_compute_save_reg_mask, arm_output_epilogue,
arm_get_frame_size, arm_expand_prologue, arm_print_operand,
arm_assemble_integer, arm_hard_regno_ok, arm_regno_class):
Likewise.
(arm_init_cumulative_args): Count iwmmxt registers.
(arm_function_ok_for_sibcall): Return false of sibcall_blocked
has been set.
(struct minipool_node): Add fix_size field.
(add_minipool_forward_ref): Add support for 8-byte aligning of
the pool.
(add_minipool_backward_ref, add_minipool_offsets,
dump_minipool, push_minipool_fix): Likewise.
(struct builtin_description): New struct.
        (builtin_description): New array of iwmmxt builtin functions.
        (arm_init_iwmmxt_builtins): New function.
        (arm_init_builtins): New function.
        (safe_vector_operand): New function.
        (arm_expand_binop_builtin): New function.
        (arm_expand_unop_builtin): New function.
        (arm_expand_builtin): New function.
        (arm_emit_vector_const): New function.
        (arm_output_load_gr): New function.
        * config/arm/arm.h (TARGET_CPU_iwmmxt, TARGET_IWMMXT,
TARGET_REALLY_IWMMXT, arm_arch_iwmmxt, IWMMXT_ALIGNMENT,
TYPE_NEEDS_IWMMXT_ALIGNMENT, ADJUST_FIELD_ALIGN,
DATA_ALIGNMENT, LOCAL_ALIGNMENT, VECTOR_MODE_SUPPORTED_P): Define.
        (BIGGEST_ALIGNMENT): Set to 64 if ATPCS support is enabled.
        (CPP_CPU_ARCH_SPEC): Add entries for iwmmxt.
        (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER,
reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
REG_CLASS_FOR_LETTER): Add iwmmxt registers.
        (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Disable iwmmxt
registers unless the iwmmxt target is selected.
        (FIRST_IWMMXT_GR_REGNUM, LAST_IWMMXT_GR_REGNUM,
FIRST_IWMMXT_REGNUM, LAST_IWMMXT_REGNUM, IS_IWMMXT_REGNUM,
IS_IWMMXT_GR_REGNUM): Define.
        (FIRST_PSEUDO_REGISTER): Bump to 63.
        (struct machine_function): Add sibcall_blocked field.
        (Struct CUMULATIVE_ARGS): Add iwmmxt_nregs, named_count and
nargs fields.
        (enum arm_builtins): New enum list.
        * config/arm/arm.md (UNSPEC_WSHUFH, UNSPEC_WACC,
UNSPEC_TMOVMSK, UNSPEC_WSAD, UNSPEC_WSADZ, UNSPEC_WMACS,
UNSPEC_WMACU, UNSPEC_WMACSZ, UNSPEC_WMACUZ, UNSPEC_CLRDI,
UNSPEC_WMADDS, UNSPEC_WMADDU): New unspecs.
(VUNSPEC_TMRC, VUNSPEC_TMCR, VUNSPEC_ALIGN8, VUNSPEC_WCMP_EQ,
VUNSPEC_WCMP_GTU, VUNSPEC_WCMP_GT): New vunspecs.
        (movv2si, movv4hi, movv8qi): New expands for vector moves.
        Include iwmmxt.md.
* config/arm/t-xscale-elf (MULTILIB_OPITONS): Add iwmmxt
multilib.
        (MULTILIB_DIRNAMES, MULTILIB_REDUNDANT_DIRS): Likewise.
        * config/arm/mmintrin.h: New ARM specific header file.
        * config/arm/iwmmx.md: New iWMMXt specific machine patterns.

From-SVN: r68157

21 years agoOops, accidentally committed the 3.3 version to mainline. Undone.
Franz Sirl [Wed, 18 Jun 2003 15:29:12 +0000 (15:29 +0000)]
Oops, accidentally committed the 3.3 version to mainline. Undone.

From-SVN: r68156

21 years agocp-tree.h (COMPARE_RELAXED): Rename to ...
Nathan Sidwell [Wed, 18 Jun 2003 15:22:19 +0000 (15:22 +0000)]
cp-tree.h (COMPARE_RELAXED): Rename to ...

* cp-tree.h (COMPARE_RELAXED): Rename to ...
(COMPARE_DERIVED): ... here. Adjust comment.
(resolve_typename_type_in_current_instantiation): Remove.
(cp_tree_equal, comptypes): Return a bool.
* cvt.c (convert_to_reference): Adjust comptypes call.
* pt.c (template_args_equal, unify,): Adjust cp_tree_equal call.
(resolve_typename_type_in_current_instantiation): Remove.
* tree.c (cp_tree_equal): Return bool. Cope with TEMPLATE_DECLs and
IDENTIFIER_NODEs. Abort if undeciderable. Adjust recursive
calls. Refactor code.
* typeck.c (comp_array_types): Return bool. Lose callback.
parameter. Adjust cp_tree_equal calls.
(comptypes): Return bool. Adjust strict handling. Remove relaxed
enumeration and java type handling. Deal with typename types here.
Adjust recursive and cp_tree_equals calls. Adjust base and derived
checking.
(comp_target_types): Remove unreachable code. Adjust
same_or_base_type_p calls.
(ptr_reasonably_similar): Adjust base and derived check.

* typeck.c (maybe_warn_about_returning_address_of_local): Remove
unused calculation.
(check_return_expr): Adjust error messages.
* cp-tree.def (SCOPE_REF): Correct comment.

From-SVN: r68155

21 years agotreetree.c (build_stmt): Remove VPARAMS.
Nathan Sidwell [Wed, 18 Jun 2003 14:20:45 +0000 (14:20 +0000)]
treetree.c (build_stmt): Remove VPARAMS.

* treetree.c (build_stmt): Remove VPARAMS.
(pedwarn_c99): Likewise.

From-SVN: r68154

21 years agonatVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound.
Matt Kraai [Wed, 18 Jun 2003 14:13:59 +0000 (14:13 +0000)]
natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound.

* java/lang/natVMSecurityManager.cc (getClassContext):
Use maxlen instead of len for loop bound.

From-SVN: r68153

21 years ago* gcc_release: Do not update gcc_latest_snapshot tag any longer.
Gerald Pfeifer [Wed, 18 Jun 2003 13:02:24 +0000 (15:02 +0200)]
* gcc_release: Do not update gcc_latest_snapshot tag any longer.

From-SVN: r68150

21 years agosnapshot-index.html: Use F77 instead of G77 front end.
Gerald Pfeifer [Wed, 18 Jun 2003 12:57:14 +0000 (14:57 +0200)]
snapshot-index.html: Use F77 instead of G77 front end.

* snapshot-index.html: Use F77 instead of G77 front end.
Remove link to CodeSourcery snapshots which was not up-to-date.
Do not refer to gcc-bugs@gcc.gnu.org any longer.

* snapshot-README: Use F77 front end instead of G77 language.

From-SVN: r68149

21 years ago* toplev.c (Remaining -d letters summary): Update.
J"orn Rennecke [Wed, 18 Jun 2003 11:43:07 +0000 (11:43 +0000)]
* toplev.c (Remaining -d letters summary): Update.

From-SVN: r68147

21 years ago2003-06-18 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 18 Jun 2003 08:56:55 +0000 (08:56 +0000)]
2003-06-18  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/SelectorImpl.java
(register): Use fd with value 0 for now, will be fixed later.
* gnu/java/nio/ServerSocketChannelImpl.java
(fd): Removed.
(local_port): Removed.
(InetSocketAddress): Removed.
(ServerSocketChannelImpl): Just initialize internal socket object.
(implCloseSelectableChannel): Close internal socket object.
(implConfigureBlocking): Added comment.
(accept): Use jaba.net stuff to accept socket.
* gnu/java/nio/SocketChannelImpl.java
(fd): Removed.
(local_port): Removed.
(InetSocketAddress): Removed.
(SocketCreate): Removed.
(SocketConnect): Removed.
(SocketBind): Removed.
(SocketListen): Removed.
(SocketAvailable): Removed.
(SocketClose): Removed.
(SocketRead): Removed.
(SocketWrite): Removed.
(SocketChannelImpl): Just initialize internal socket object.
(implCloseSelectableChannel): Close internal socket object.
(implConfigureBlocking): Fixed implementation, added comment.
(connect): Use internal socket object to connect.
(socket): No need for sanity checks.
(read): Comment out some stuff, this will be reimplemented in the next
commit.
(write): Likewise.
* gnu/java/nio/natFileChannelImpl.cc
(nio_mmap_file): Line wrapped.
* gnu/java/nio/natSocketChannelImpl.cc: Removed.
* Makefile.am
(nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
* Makefile.in: Regenerated.

From-SVN: r68145

21 years ago2003-06-18 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 18 Jun 2003 08:15:42 +0000 (08:15 +0000)]
2003-06-18  Michael Koch  <konqueror@gmx.de>

* java/util/Locale.java
(equals): Merged from classpath.

From-SVN: r68144

21 years agoInetAddress.java: Reformatted to better match classpath's version.
Michael Koch [Wed, 18 Jun 2003 08:09:48 +0000 (08:09 +0000)]
InetAddress.java: Reformatted to better match classpath's version.

2003-06-18  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java:
Reformatted to better match classpath's version.
* java/net/URL.java
(equals): Simplified.
* java/net/URLConnection.java
(setDoInput): Revised documentation.
(getDefaultUseCaches): Likewise.
(setRequestProperty): Added @since tag.

From-SVN: r68143

21 years agomangle.c (mangle_conv_op_name_for_type): Correct sprintf format string again.
Mark Mitchell [Wed, 18 Jun 2003 06:29:58 +0000 (06:29 +0000)]
mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string again.

* mangle.c (mangle_conv_op_name_for_type): Correct sprintf format
string again.

From-SVN: r68141

21 years agors6000.c (init_cumulative_args): Add and handle LIBCALL argument.
Franz Sirl [Wed, 18 Jun 2003 06:19:01 +0000 (06:19 +0000)]
rs6000.c (init_cumulative_args): Add and handle LIBCALL argument.

2003-06-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/rs6000.c (init_cumulative_args): Add and handle LIBCALL
argument.
(function_arg): Handle CALL_LIBCALL flag.
* config/rs6000/rs6000-protos.h (init_cumulative_args): Update
prototype.
* config/rs6000/rs6000.h (CALL_LIBCALL): New macro.
(INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
(INIT_CUMULATIVE_ARGS): Add LIBCALL argument.
(INIT_CUMULATIVE_INCOMING_ARGS): Likewise.

From-SVN: r68139

21 years agoMakefile.in: Update.
Neil Booth [Wed, 18 Jun 2003 06:00:06 +0000 (06:00 +0000)]
Makefile.in: Update.

* Makefile.in: Update.
* common.opt: New options.
* opts.c (maybe_warn_unused_parameter, set_Wextra, handle_param,
set_Wunused): New.
(common_handle_option): Handle new options.
* toplev.c (set_target_switch): Export.
(set_Wextra, set_Wunused, maybe_warn_unused_parameter): Move to opts.c.
(decode_W_option): -Wunused and -Wextra handled in opts.c now.
(independent_decode_option): More options handled in opts.c now.
Change prototype.
* toplev.h (set_target_switch): New.

From-SVN: r68138

21 years agore PR debug/4252 (cc1: Invalid option `-fdump-translation-unit')
Robert Abeles [Wed, 18 Jun 2003 05:58:55 +0000 (05:58 +0000)]
re PR debug/4252 (cc1: Invalid option `-fdump-translation-unit')

PR debug/4252
* c-opts.c (c_common_handle_option): Pass -fdump argument suffix
to dump_switch_p().
* tree-dump.c (dump_switch_p): Remove redundant 'dump-' prefix
from static strings in dump_files.
cp:
* optimize.c (dump_function): Form complete flag name by
prefixing 'fdump-' to string returned by dump_flag_name().
java:
* lang.c (java_handle_option): Likewise.

From-SVN: r68137

21 years agoMakefile.am (new-abi-baseline): Create baseline directory.
Andreas Jaeger [Wed, 18 Jun 2003 05:09:50 +0000 (07:09 +0200)]
Makefile.am (new-abi-baseline): Create baseline directory.

* testsuite/Makefile.am (new-abi-baseline): Create baseline
directory.
(baseline_file): Use baseline_dir.
(baseline_dir): New.
(mkinstalldirs): New.

* acinclude.m4: Rename baseline_file to baseline_dir, strip
filename from baseline_dir.

* testsuite/Makefile.in: Regenerated.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.

From-SVN: r68136

21 years agoconfigure.in: Missed check_survey bit.
Benjamin Kosnik [Wed, 18 Jun 2003 02:39:10 +0000 (02:39 +0000)]
configure.in: Missed check_survey bit.

2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Missed check_survey bit.
* configure: Regenerated.

From-SVN: r68135

21 years agog++.exp (g++_include_flags): Tweak path to testsuite_flags.
Benjamin Kosnik [Wed, 18 Jun 2003 01:56:45 +0000 (01:56 +0000)]
g++.exp (g++_include_flags): Tweak path to testsuite_flags.

2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

* lib/g++.exp (g++_include_flags): Tweak path to testsuite_flags.
Remove cruft.

From-SVN: r68134

21 years agoconfigure.in: Update testsuite_flags to new location.
Benjamin Kosnik [Wed, 18 Jun 2003 01:55:13 +0000 (01:55 +0000)]
configure.in: Update testsuite_flags to new location.

2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Update testsuite_flags to new location.
* configure. Regenerate.

From-SVN: r68133

21 years agoscripts: New.
Benjamin Kosnik [Wed, 18 Jun 2003 01:52:08 +0000 (01:52 +0000)]
scripts: New.

2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

* scripts: New.
* config/abi/extract_symvers: Move to...
* scripts/extract_symvers: ...here.
* mkcheck.in: Move to..
* scripts/check_survey.in: ...here.
* testsuite_flags.in: Move to..
* scripts/testsuite_flags.in: ...here.
* configure.in: Change check and testsuite_flags locations.
* configure: Regenerate.
* testsuite/Makefile.am (current_symbols.txt): Change location.
* testsuite/Makefile.in: Regenerate.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
location of testsuite_flags.
* Makefile.am (check-script): Move..
(check-script-install): Move...
* testsuite/Makefile.am: ... here.
* testsuite/Makefile.in: Regenerate.
* Makefile.in: Regenerate.

From-SVN: r68132

21 years agosystem.h (ANSI_PROTOTYPES, [...]): undef and poison these libiberty macros.
Kaveh R. Ghazi [Wed, 18 Jun 2003 00:45:03 +0000 (00:45 +0000)]
system.h (ANSI_PROTOTYPES, [...]): undef and poison these libiberty macros.

* system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS,
VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these
libiberty macros.

From-SVN: r68131

21 years agoDaily bump.
GCC Administrator [Wed, 18 Jun 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r68128

21 years ago20020604-1.c: Use dg-xfail-if for h8300.
Kazu Hirata [Wed, 18 Jun 2003 00:05:12 +0000 (00:05 +0000)]
20020604-1.c: Use dg-xfail-if for h8300.

* gcc.c-torture/compile/20020604-1.c: Use dg-xfail-if for h8300.
* gcc.c-torture/compile/961203-1.c: Likewise.
* gcc.c-torture/compile/980506-1.c: Likewise.

From-SVN: r68126

21 years agomangle.c (mangle_conv_op_name_for_type): Correct sprintf format string.
Mark Mitchell [Tue, 17 Jun 2003 23:33:25 +0000 (23:33 +0000)]
mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string.

* mangle.c (mangle_conv_op_name_for_type): Correct sprintf format
string.

From-SVN: r68124

21 years agore PR c++/10929 (-Winline warns about functions for which no definition is visible)
Jason Merrill [Tue, 17 Jun 2003 23:00:16 +0000 (19:00 -0400)]
re PR c++/10929 (-Winline warns about functions for which no definition is visible)

        PR c++/10929
        * tree-inline.c (expand_call_inline): Don't warn about failing to
        inline a function which was made inline by -finline-functions.
        * cp/decl.c (grokfndecl): Don't mark a function inline for
        -finline-functions if it isn't defined.

From-SVN: r68122

21 years agoh8300-protos.h: Update to ISO C.
Kazu Hirata [Tue, 17 Jun 2003 22:45:08 +0000 (22:45 +0000)]
h8300-protos.h: Update to ISO C.

* config/h8300/h8300-protos.h: Update to ISO C.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.

From-SVN: r68121

21 years agoCorrect PR number.
Mark Mitchell [Tue, 17 Jun 2003 22:27:15 +0000 (22:27 +0000)]
Correct PR number.

From-SVN: r68119

21 years agore PR c++/10712 (ICE in constructor_name_full, at cp/decl2.c:1255)
Mark Mitchell [Tue, 17 Jun 2003 22:24:58 +0000 (22:24 +0000)]
re PR c++/10712 (ICE in constructor_name_full, at cp/decl2.c:1255)

PR c++/1255
* class.c (handle_using_decl): Robustify.

PR c++/1255
* g++.dg/lookup/using3.C: New test.

From-SVN: r68118

21 years agoMakefile.tpl: Remove BUILD_CC stuff.
Nathanael Nerode [Tue, 17 Jun 2003 21:53:49 +0000 (21:53 +0000)]
Makefile.tpl: Remove BUILD_CC stuff.

(toplev)
* Makefile.tpl: Remove BUILD_CC stuff.
* Makefile.in: Regenerate.
(gcc)
* configure.in: Replace BUILD_CC references with CC_FOR_BUILD.
* configure: Regenerate.
* Makefile.in: Replace BUILD_CC references with CC_FOR_BUILD.
(gcc/f)
* Make-lang.in: Replace BUILD_CC references with CC_FOR_BUILD.

From-SVN: r68115

21 years agoinstall.texi (Testing): Add information on how to run Java runtime tests separately.
Ranjit Mathew [Tue, 17 Jun 2003 21:28:05 +0000 (21:28 +0000)]
install.texi (Testing): Add information on how to run Java runtime tests separately.

* install.texi (Testing): Add information on how to run Java
runtime tests separately.

From-SVN: r68114

21 years ago* config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.
Rainer Orth [Tue, 17 Jun 2003 20:50:41 +0000 (20:50 +0000)]
* config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.

From-SVN: r68112

21 years agoiris6-o32.h (MIPS_ISA_DEFAULT): Remove.
Rainer Orth [Tue, 17 Jun 2003 20:49:22 +0000 (20:49 +0000)]
iris6-o32.h (MIPS_ISA_DEFAULT): Remove.

* config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
(MIPS_CPU_STRING_DEFAULT): Redefine to mips2.

From-SVN: r68111

21 years ago* doc/install.texi: Add msvc rebuild caveat.
Christopher Faylor [Tue, 17 Jun 2003 20:07:35 +0000 (20:07 +0000)]
* doc/install.texi: Add msvc rebuild caveat.

From-SVN: r68109

21 years agocoff.h: Replace Hitachi with Renesas.
Kazu Hirata [Tue, 17 Jun 2003 19:19:16 +0000 (19:19 +0000)]
coff.h: Replace Hitachi with Renesas.

* config/sh/coff.h: Replace Hitachi with Renesas.
* config/sh/elf.h: Likewise.
* config/sh/embed-elf.h: Likewise.
* config/sh/lib1funcs.asm: Likewise.
* config/sh/sh-protos.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.h: Likewise.
* config/sh/sh.md: Likewise.

From-SVN: r68107

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 17 Jun 2003 19:11:56 +0000 (19:11 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/net/InetSocketAddress.java
(InetSocketAddress): Use wildcard address if addr is null.
(InetSocketAddress): Dont duplicate implementation.
(InetSocketAddress): Throw exception when hostname is null.
* java/net/Socket.java:
Reworked imports.
(Socket): Throw exception when raddr is null, handle case when laddr
is null.

From-SVN: r68106

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 17 Jun 2003 19:09:56 +0000 (19:09 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/nio/DirectByteBufferImpl.java
(address): Made package private.
(DirectByteBufferImpl): New constructor.
* java/nio/natDirectByteBufferImpl.cc
(allocateImpl): Moved to java.nio namespace, implemented.
(freeImpl): Likewise.
(getImpl): Likewise.
(putImpl): Likewise.
* jni.cc
(_Jv_JNI_NewDirectByteBuffer): Implemented.
(_Jv_JNI_GetDirectBufferAddress): Implemented.
(_Jv_JNI_GetDirectBufferCapacity): Implemented.

From-SVN: r68105

21 years agoChangeLog.3: Fix comment typos.
Kazu Hirata [Tue, 17 Jun 2003 19:03:12 +0000 (19:03 +0000)]
ChangeLog.3: Fix comment typos.

* ChangeLog.3: Fix comment typos.
* ChangeLog.6: Likewise.
* config/d30v/d30v.c: Likewise.
* config/h8300/h8300.md: Likewise.
* config/m32r/m32r.md: Likewise.
* config/mips/mips.c: Likewise.
* config/mips/mips.md: Likewise.
* config/ns32k/NOTES: Likewise.

From-SVN: r68104

21 years agosourcebuild.texi (libgcj Tests): Simplify instructions on how to run Java runtime...
Ranjit Mathew [Tue, 17 Jun 2003 19:00:40 +0000 (19:00 +0000)]
sourcebuild.texi (libgcj Tests): Simplify instructions on how to run Java runtime tests separately.

* doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how
to run Java runtime tests separately.

Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r68103

21 years ago* config/h8300/h8300-protos.h: Update a comment.
Kazu Hirata [Tue, 17 Jun 2003 17:15:31 +0000 (17:15 +0000)]
* config/h8300/h8300-protos.h: Update a comment.

From-SVN: r68101

21 years agosh.h (ROUND_TYPE_ALIGN, [...]): Complex modes are aligned like integral modes.
J"orn Rennecke [Tue, 17 Jun 2003 17:12:57 +0000 (17:12 +0000)]
sh.h (ROUND_TYPE_ALIGN, [...]): Complex modes are aligned like integral modes.

* sh.h (ROUND_TYPE_ALIGN, LOCAL_ALIGNMENT): Complex modes
are aligned like integral modes.
(SH5_WOULD_BE_PARTIAL_NREGS): Also test for CDImode and DCmode.

* sh.h (EXTRA_CONSTRAINT_Csy): Allow PIC_DIRECT_ADDR_P.
(LEGITIMATE_PIC_OPERAND_P): Allow LABEL_REF.
* sh.md (*pt): Remove.

* sh.h (REG_ALLOC_ORDER): Avoid squandering call-saved registers.

* sh.md (return_media_rte): New pattern.
(return_media): Use it.

From-SVN: r68100

21 years agocontrib.texi: Replace Hitachi with Renesas.
Kazu Hirata [Tue, 17 Jun 2003 17:03:00 +0000 (17:03 +0000)]
contrib.texi: Replace Hitachi with Renesas.

* doc/contrib.texi: Replace Hitachi with Renesas.
* doc/install.texi: Likewise.
* doc/invoke.texi: Likewise.

From-SVN: r68096

21 years agore PR c++/11105 ([3.3/3.4 regression of sorts] ICE in mangle_conv_op_name_for_type)
Mark Mitchell [Tue, 17 Jun 2003 16:58:19 +0000 (16:58 +0000)]
re PR c++/11105 ([3.3/3.4 regression of sorts] ICE in mangle_conv_op_name_for_type)

PR c++/11105
* cp-tree.h (DECL_CONV_FN_TYPE): New method.
* mangle.c (struct globals): Remove internal_mangling_p.
(write_unqualified_name): Use DECL_CONV_FN_TYPE.
(write_template_parm): Don't write out the level number.
(conv_type_names): New variable.
(hash_type): New function.
(compare_type): Likewise.
(mangle_conv_op_name_for_type): Don't try to mangle conversion
operator names.
* search.c (lookup_conversion_operator): New function.
(lookup_fnfields_1): Use it.

PR c++/11105
* g++.dg/abi/conv1.C: Remove it.
* g++.dg/template/conv7.C: New test.
* g++.dg/template/conv8.C: Likewise.
* g++.old-deja/g++.ext/pretty2.C: Do not test __FUNCTION__ for a
conversion operator.

From-SVN: r68095

21 years agotm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.
Franz Sirl [Tue, 17 Jun 2003 16:47:06 +0000 (16:47 +0000)]
tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.

2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* doc/tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.

From-SVN: r68094

21 years agocompat-common.h (DEBUG_INIT): New.
Janis Johnson [Tue, 17 Jun 2003 16:28:56 +0000 (16:28 +0000)]
compat-common.h (DEBUG_INIT): New.

* gcc.dg/compat/compat-common.h (DEBUG_INIT): New.
* gcc.dg/compat/scalar-by-value-1_x.c: Use it.
* gcc.dg/compat/scalar-by-value-2_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-3_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-4_x.c: Ditto.
* gcc.dg/compat/scalar-return-1_x.c: Ditto.
* gcc.dg/compat/scalar-return-2_x.c: Ditto.
* gcc.dg/compat/scalar-return-3_x.c: Ditto.
* gcc.dg/compat/scalar-return-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-10_x.c: Ditto.
* gcc.dg/compat/struct-by-value-11_x.c: Ditto.
* gcc.dg/compat/struct-by-value-12_x.c: Ditto.
* gcc.dg/compat/struct-by-value-13_x.c: Ditto.
* gcc.dg/compat/struct-by-value-14_x.c: Ditto.
* gcc.dg/compat/struct-by-value-15_x.c: Ditto.
* gcc.dg/compat/struct-by-value-16_x.c: Ditto.
* gcc.dg/compat/struct-by-value-17_x.c: Ditto.
* gcc.dg/compat/struct-by-value-18_x.c: Ditto.
* gcc.dg/compat/struct-by-value-2_x.c: Ditto.
* gcc.dg/compat/struct-by-value-3_x.c: Ditto.
* gcc.dg/compat/struct-by-value-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c: Ditto.
* gcc.dg/compat/struct-by-value-8_x.c: Ditto.
* gcc.dg/compat/struct-by-value-9_x.c: Ditto.
* gcc.dg/compat/struct-return-10_x.c: Ditto.
* gcc.dg/compat/struct-return-2_x.c: Ditto.
* gcc.dg/compat/struct-return-3_x.c: Ditto.

From-SVN: r68093

21 years agosh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64 behaviour.
J"orn Rennecke [Tue, 17 Jun 2003 16:28:15 +0000 (16:28 +0000)]
sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64 behaviour.

* sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64
behaviour.

From-SVN: r68092

21 years agopowerpc-signal.h: New File.
Franz Sirl [Tue, 17 Jun 2003 15:56:09 +0000 (15:56 +0000)]
powerpc-signal.h: New File.

2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* include/powerpc-signal.h: New File.
* configure.in: Use it.
* configure: Regenerated.

From-SVN: r68088

21 years agolinux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert 2003-01-23 patch.
Franz Sirl [Tue, 17 Jun 2003 15:53:35 +0000 (15:53 +0000)]
linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert 2003-01-23 patch.

2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert
2003-01-23 patch. Corrected to handle kernels with changed ucontext.

* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Error on invalid
-msdata=eabi usages.

* gcc/config/rs6000/sysv4.h (USE_LIBC_1): Delete all uses.

From-SVN: r68087

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 17 Jun 2003 14:16:22 +0000 (14:16 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/util/Locale.java
(getDisplayLanguage): Made it final.
(getDisplayCountry): Likewise.
(getDisplayVariant): Likewise.
(getDisplayName): Likewise.

From-SVN: r68086

21 years agoalloc-pool.c: Don't check HAVE_LONG_DOUBLE.
Kaveh R. Ghazi [Tue, 17 Jun 2003 14:10:01 +0000 (14:10 +0000)]
alloc-pool.c: Don't check HAVE_LONG_DOUBLE.

gcc:
* alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
* fixinc/gnu-regex.c: Don't define `volatile'.
* ggc-page.c: Don't check HAVE_LONG_DOUBLE.
* ggc-simple.c: Likewise.
* system.h: Don't define `volatile'.

* aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
* configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
call these macros.
* config.in, configure: Regenerated.

include:
* ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support.

From-SVN: r68085

21 years agoPropertyResourceBundle.java: Removed unneeded import.
Michael Koch [Tue, 17 Jun 2003 14:05:17 +0000 (14:05 +0000)]
PropertyResourceBundle.java: Removed unneeded import.

2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/util/PropertyResourceBundle.java:
Removed unneeded import.

From-SVN: r68084

21 years agoia64.c (ia64_expand_builtin, [...]): Handle POINTERS_EXTEND_UNSIGNED.
Richard Kenner [Tue, 17 Jun 2003 13:40:37 +0000 (13:40 +0000)]
ia64.c (ia64_expand_builtin, [...]): Handle POINTERS_EXTEND_UNSIGNED.

* config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
Handle POINTERS_EXTEND_UNSIGNED.

From-SVN: r68083

21 years agoAbstractPreferences.java, [...]: Reworked imports, removed unused imports.
Michael Koch [Tue, 17 Jun 2003 13:01:21 +0000 (13:01 +0000)]
AbstractPreferences.java, [...]: Reworked imports, removed unused imports.

2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/util/prefs/AbstractPreferences.java,
java/util/prefs/PreferencesFactory.java:
Reworked imports, removed unused imports.
* java/util/prefs/Preferences.java
(systemNodeForPackage): Method takes a Class not an Object.
(userNodeForPackage): Likewise.
(nodeForPackage): Likewise.

From-SVN: r68081

21 years agoX509Certificate.java: Explicitely import used classes.
Michael Koch [Tue, 17 Jun 2003 12:57:35 +0000 (12:57 +0000)]
X509Certificate.java: Explicitely import used classes.

2003-06-17  Michael Koch  <konqueror@gmx.de>

* gnu/java/security/x509/X509Certificate.java:
Explicitely import used classes.

From-SVN: r68080

21 years agoZipEntry.java, [...]: Reworked imports, only import used classes.
Michael Koch [Tue, 17 Jun 2003 12:07:56 +0000 (12:07 +0000)]
ZipEntry.java, [...]: Reworked imports, only import used classes.

2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/util/zip/ZipEntry.java,
java/util/zip/ZipFile.java,
java/util/zip/ZipInputStream.java,
java/util/zip/ZipOutputStream.java:
Reworked imports, only import used classes.

From-SVN: r68079

21 years agoArrayHelper.java, [...]: Reformatted to match classpath's versions.
Michael Koch [Tue, 17 Jun 2003 12:01:37 +0000 (12:01 +0000)]
ArrayHelper.java, [...]: Reformatted to match classpath's versions.

2003-06-17  Michael Koch  <konqueror@gmx.de>

* gnu/java/lang/ArrayHelper.java,
gnu/java/lang/ClassHelper.java:
Reformatted to match classpath's versions.

From-SVN: r68078

21 years agomips.c (TARGET_ASM_UNALIGNED_DI_OP): Define as NULL.
Rainer Orth [Tue, 17 Jun 2003 11:44:52 +0000 (11:44 +0000)]
mips.c (TARGET_ASM_UNALIGNED_DI_OP): Define as NULL.

* config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
!TARGET_IRIX6]: Define as NULL.

From-SVN: r68077

21 years ago* MAINTAINERS (Write After Approval): Remove Andrew Haley.
Kazu Hirata [Tue, 17 Jun 2003 10:00:52 +0000 (10:00 +0000)]
* MAINTAINERS (Write After Approval): Remove Andrew Haley.

From-SVN: r68075

21 years agogcc_release (build_tarfile): Build .bz2 files instead of .gz files.
Gerald Pfeifer [Tue, 17 Jun 2003 09:02:45 +0000 (11:02 +0200)]
gcc_release (build_tarfile): Build .bz2 files instead of .gz files.

* gcc_release (build_tarfile): Build .bz2 files instead of .gz files.
(build_bz2): Rename to build_gzip and create .gz files from .bz2
files instead of the other way around.
(build_gzip): New function.
(build_diffs): Build .bz2 files instead of .gz files.
(build_diff): Use .bz2 files instead of .gz files.
Make an error message independent of the compression format.
(MODE_BZIP2): Rename to MODE_GZIP.  Related changes to the
invocation of this script.
(MODE_GZIP): New variable.
(OLD_TARS): Use .bz2 archive of the previous snapshot.

From-SVN: r68074

21 years ago* config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures.
Eric Botcazou [Tue, 17 Jun 2003 08:12:16 +0000 (10:12 +0200)]
* config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures.

From-SVN: r68073

21 years agodbxout.c (dbxout_source_line_counter): New global variable.
Eric Botcazou [Tue, 17 Jun 2003 08:06:58 +0000 (10:06 +0200)]
dbxout.c (dbxout_source_line_counter): New global variable.

* dbxout.c (dbxout_source_line_counter): New global variable.
Mark it with GTY(()).
(dbxout_source_line): Increment dbxout_source_line_counter
and pass it to ASM_OUTPUT_SOURCE_LINE.
* sdbout.c (sdbout_source_line_counter): New global variable.
Mark it with GTY(()).
(unnamed_struct_number): Mark it with GTY(()).
(sdbout_source_line): Increment sdbout_source_line_counter
and pass it to ASM_OUTPUT_SOURCE_LINE.
* xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Add third parameter
(xcoffout_source_line): Pass 0 as third argument to
ASM_OUTPUT_SOURCE_LINE.
(xcoffout_begin_prologue): Likewise.
* config/dbxout.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
Use it instead of 'sym_lineno' but without incrementing it.
* config/dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/ptx4.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/alpha/alpha.c (alpha_start_function): Pass 0 as third
argument to ASM_OUTPUT_SOURCE_LINE.
* config/alpha/alpha.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
* config/arm/aout.h: Remove useless comment.
* config/avr/avr.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
* config/i960/i960.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
Use it instead of 'sym_lineno' but without incrementing it.
* config/m68k/hp320.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
* config/mcore/mcore-pe.h (ASM_OUTPUT_SOURCE_LINE): Add third
parameter. Use it instead of 'sym_lineno' but without incrementing it.
* config/mips/mips.c (mips_output_function_prologue): Pass 0 as third
argument to ASM_OUTPUT_SOURCE_LINE.
* config/mips/mips.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
* config/mmix/mmix.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/pa/som.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
Use it instead of 'sym_lineno' but without incrementing it.
* config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/sh/elf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/sparc/aout.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/sparc/pbd.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* doc/tm.texi (ASM_OUTPUT_SOURCE_LINE): Document third parameter.

From-SVN: r68072

21 years agomips-protos.h (mips_expand_block_move): Declare.
Richard Sandiford [Tue, 17 Jun 2003 06:44:46 +0000 (06:44 +0000)]
mips-protos.h (mips_expand_block_move): Declare.

* config/mips/mips-protos.h (mips_expand_block_move): Declare.
(expand_block_move, output_block_move): Remove.
* config/mips/mips.h (enum block_move_type): Remove.
* config/mips/mips.c (block_move_call, output_block_move): Remove.
(mips_block_move_straight, mips_adjust_block_mem): New function.
(mips_block_move_loop): Renamed and reworked from block_move_loop.
(mips_expand_block_move): Likewise expand_block_move.  Return false
to fall back on the target-independent code.
* config/mips/mips.md (movstrsi): Use mips_expand_block_move.
(movstrsi_internal*): Remove.

From-SVN: r68071

21 years ago* cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
Zack Weinberg [Tue, 17 Jun 2003 06:17:44 +0000 (06:17 +0000)]
* cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
* cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c
* cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to
ISO C: new-style function declarations, no need for PARAMS,
no special punctuation on indirect function calls, use string
constant concatenation where convenient.

From-SVN: r68070

21 years agobaseline_symbols.txt: Update to 3.3.0.
Benjamin Kosnik [Tue, 17 Jun 2003 06:09:55 +0000 (06:09 +0000)]
baseline_symbols.txt: Update to 3.3.0.

2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

* config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.

From-SVN: r68069

21 years ago03-06-16 Benjamin Kosnik <bkoz@redhat.com>
Benjamin Kosnik [Tue, 17 Jun 2003 05:46:01 +0000 (05:46 +0000)]
03-06-16  Benjamin Kosnik  <bkoz@redhat.com>

* Makefile.am (check-abi): Move...
(new-abi-baseline): Move...
* testsuite/Makefile.am: ...here.
(new-abi-baseline): Conditionalize.
(check-abi): Conditionalize.
(check-abi-verbose): New.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* configure.in: Consolidate testsuite configure bits.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
* configure: Regenerate.
* aclocal.m4: Regenerate.
* testsuite/abi_check.cc: Add --check-verbose.
Only output detailed information if --check-verbose.

From-SVN: r68067

21 years agortl.h: Remove declarations from coverage.h.
Andreas Jaeger [Tue, 17 Jun 2003 05:09:13 +0000 (07:09 +0200)]
rtl.h: Remove declarations from coverage.h.

* rtl.h: Remove declarations from coverage.h.
* toplev.c: Include coverage.h.
* Makefile.in (toplev.o): Depend on coverage.h.

* toplev.h: Remove extra declaration of print_time.

* gengtype.c (close_output_files): Remove duplicated declaration.

From-SVN: r68066

21 years agoexcept.c: Remove duplicate declaration of push_eh_cleanup.
Andreas Jaeger [Tue, 17 Jun 2003 05:08:00 +0000 (07:08 +0200)]
except.c: Remove duplicate declaration of push_eh_cleanup.

* except.c: Remove duplicate declaration of push_eh_cleanup.

* call.c: Remove extra declaration of inhibit_warnings.

From-SVN: r68065

21 years agobindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test Bind_Main_Program.
Matt Kraai [Tue, 17 Jun 2003 02:55:27 +0000 (02:55 +0000)]
bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test Bind_Main_Program.

* bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
Bind_Main_Program.

From-SVN: r68061

21 years agosysv4.h: Remove target-independent comment; replace "GNU CC" with "GCC".
Nathanael Nerode [Tue, 17 Jun 2003 01:31:39 +0000 (01:31 +0000)]
sysv4.h: Remove target-independent comment; replace "GNU CC" with "GCC".

* config/sparc/sysv4.h: Remove target-independent comment;
replace "GNU CC" with "GCC".

From-SVN: r68058

21 years ago* config/vxworks.h: Replace "GNU compiler" with "GCC".
Nathanael Nerode [Tue, 17 Jun 2003 01:07:04 +0000 (01:07 +0000)]
* config/vxworks.h: Replace "GNU compiler" with "GCC".

From-SVN: r68057

21 years agoaout.h, [...]: Replace "GNU compiler", "GNU CC" with "GCC".
Nathanael Nerode [Tue, 17 Jun 2003 01:00:44 +0000 (01:00 +0000)]
aout.h, [...]: Replace "GNU compiler", "GNU CC" with "GCC".

* config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h,
config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
config/sparc/lite.h, config/sparc/litecoff.h, config/sparc/liteelf.h,
config/sparc/netbsd-elf.h, config/sparc/openbsd.h,
config/sparc/rtemself.h, config/sparc/sol2-64.h,
config/sparc/sol2-bi.h, config/sparc/sol2-gas-bi.h,
config/sparc/sol2-gld-bi.h, config/sparc/sol2-gld.h,
config/sparc/sol2.h, config/sparc/sp64-aout.h,
config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h,
config/sparc/sparc-protos.h, config/sparc/sysv4-only.h: Replace
"GNU compiler", "GNU CC" with "GCC".

From-SVN: r68056

21 years agocypress.md, [...]: Replace "GNU CC", "GNU Compiler", and "GNU C Compiler" with "GCC".
Nathanael Nerode [Tue, 17 Jun 2003 00:39:21 +0000 (00:39 +0000)]
cypress.md, [...]: Replace "GNU CC", "GNU Compiler", and "GNU C Compiler" with "GCC".

* config/sparc/cypress.md, config/sparc/hypersparc.md,
config/sparc/sparc-modes.def, config/sparc/sparc.c,
config/sparc/sparc.md, config/sparc/sparclet.md,
config/sparc/supersparc.md, config/sparc/ultra1_2.md,
config/sparc/ultra3.md: Replace "GNU CC", "GNU Compiler", and
"GNU C Compiler" with "GCC".

From-SVN: r68055

21 years ago* config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".
Nathanael Nerode [Tue, 17 Jun 2003 00:16:40 +0000 (00:16 +0000)]
* config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".

From-SVN: r68054

21 years agoDaily bump.
GCC Administrator [Tue, 17 Jun 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r68052

21 years agomangle.c: Convert to ISO C.
Nathanael Nerode [Tue, 17 Jun 2003 00:06:38 +0000 (00:06 +0000)]
mangle.c: Convert to ISO C.

2003-06-16  Jens-Michael Hoffmann  <jensmh@gmx.de>
* mangle.c: Convert to ISO C.

From-SVN: r68050

21 years agosimplify-rtx.c (simplify_subreg): Do not over-extend vector constants.
Aldy Hernandez [Tue, 17 Jun 2003 00:05:09 +0000 (00:05 +0000)]
simplify-rtx.c (simplify_subreg): Do not over-extend vector constants.

2003-06-16  Aldy Hernandez  <aldyh@redhat.com>

* simplify-rtx.c (simplify_subreg): Do not over-extend vector
constants.

* testsuite/gcc.c-torture/execute/simd-4.c: New.

[[Split portion of a mixed commit.]]

From-SVN: r68049.2

21 years agosimplify-rtx.c (simplify_subreg): Do not over-extend vector constants.
Aldy Hernandez [Tue, 17 Jun 2003 00:03:24 +0000 (00:03 +0000)]
simplify-rtx.c (simplify_subreg): Do not over-extend vector constants.

2003-06-16  Aldy Hernandez  <aldyh@redhat.com>

* simplify-rtx.c (simplify_subreg): Do not over-extend vector
constants.

* testsuite/gcc.c-torture/execute/simd-4.c: New.

[[Split portion of a mixed commit.]]

From-SVN: r68047.2

21 years ago* config/ip2k/ip2k.h: Remove target-independent comments.
Nathanael Nerode [Tue, 17 Jun 2003 00:03:11 +0000 (00:03 +0000)]
* config/ip2k/ip2k.h: Remove target-independent comments.

From-SVN: r68046

21 years agoconfig.gcc: Explicitly mention elfos.h in ip2k entry.
Nathanael Nerode [Mon, 16 Jun 2003 22:38:25 +0000 (22:38 +0000)]
config.gcc: Explicitly mention elfos.h in ip2k entry.

* config.gcc: Explicitly mention elfos.h in ip2k entry.
* config/ip2k/ip2k.h: Don't #include it here.

From-SVN: r68045

21 years agoabi_check.cc: Create summary report.
Andreas Jaeger [Mon, 16 Jun 2003 22:09:03 +0000 (00:09 +0200)]
abi_check.cc: Create summary report.

2003-06-16  Andreas Jaeger  <aj@suse.de>

        * testsuite/abi_check.cc: Create summary report.

From-SVN: r68044

21 years agodecl.c, [...]: Don't use the PTR macro.
Kaveh R. Ghazi [Mon, 16 Jun 2003 21:41:10 +0000 (21:41 +0000)]
decl.c, [...]: Don't use the PTR macro.

cp:
* cp/decl.c, cp/pt.c, cp/search.c, cp/tree.c: Don't use the PTR
macro.

gcc:
* bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
function.c, gcc.c, genoutput.c, gensupport.c, global.c,
haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
the PTR macro.

From-SVN: r68043

21 years agogengtype.c: Don't use UNION_INIT_ZERO.
Kaveh R. Ghazi [Mon, 16 Jun 2003 21:29:20 +0000 (21:29 +0000)]
gengtype.c: Don't use UNION_INIT_ZERO.

* gengtype.c: Don't use UNION_INIT_ZERO.
* system.h (UNION_INIT_ZERO): Delete.

From-SVN: r68042

21 years ago1-in.cc: Fix for systems with BUFSIZ != 8192.
Paolo Carlini [Mon, 16 Jun 2003 21:24:40 +0000 (23:24 +0200)]
1-in.cc: Fix for systems with BUFSIZ != 8192.

2003-06-16  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
for systems with BUFSIZ != 8192.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
Minor tweaks.

From-SVN: r68041

21 years ago* tree.c: Convert to ISO C.
Nathanael Nerode [Mon, 16 Jun 2003 21:04:12 +0000 (21:04 +0000)]
* tree.c: Convert to ISO C.

From-SVN: r68040

21 years agosimplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of GET_MODE_UNIT_SIZE...
Richard Henderson [Mon, 16 Jun 2003 20:56:20 +0000 (13:56 -0700)]
simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of GET_MODE_UNIT_SIZE when simplifying constant vectors.

2003-06-16  Richard Henderson  <rth@redhat.com>

* simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of
GET_MODE_UNIT_SIZE when simplifying constant vectors.

From-SVN: r68038

21 years agotimevar.c (get_run_time): Remove function provided also by libiberty.
Andreas Jaeger [Mon, 16 Jun 2003 20:40:47 +0000 (22:40 +0200)]
timevar.c (get_run_time): Remove function provided also by libiberty.

* timevar.c (get_run_time): Remove function provided also by
libiberty.
* timevar.h: Remove get_run_time declaration.

From-SVN: r68037

21 years agom68hc11.c (m68hc11_rtx_costs): Remove unreachable code.
Kazu Hirata [Mon, 16 Jun 2003 20:14:44 +0000 (20:14 +0000)]
m68hc11.c (m68hc11_rtx_costs): Remove unreachable code.

* config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
unreachable code.

From-SVN: r68036

21 years agobuiltin-attrs.def, [...]: Don't use macros from "symcat.h", instead rely on ISO C.
Kaveh R. Ghazi [Mon, 16 Jun 2003 19:14:22 +0000 (19:14 +0000)]
builtin-attrs.def, [...]: Don't use macros from "symcat.h", instead rely on ISO C.

* builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c,
cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't
use macros from "symcat.h", instead rely on ISO C.

* system.h: Don't include "symcat.h".
* configure.in (AC_C_STRINGIZE): Delete.
* config.in, configure: Regenerate.

From-SVN: r68035