]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
21 years agosafe-ctype.h (HC_UNKNOWN, [...]): New #defines.
Zack Weinberg [Sat, 21 Jun 2003 23:22:30 +0000 (23:22 +0000)] 
safe-ctype.h (HC_UNKNOWN, [...]): New #defines.

include:
* safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET):
New #defines.
libiberty:
* safe-ctype.c: Separate out EOF==-1 check.  Use HOST_CHARSET
for charset determination.
gcc:
* aclocal.m4 (gcc_AC_C_CHARSET): Delete.
* configure.in: Don't use gcc_AC_C_CHARSET.
* configure, config.in: Regenerate.
* config/i370/i370.c, config/i370/i370.h: Use
(HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
instead of HOST_EBCDIC or !HOST_EBCDIC.  Clarify comments a tad.

From-SVN: r68317

21 years agoMakefile.in: Update.
Neil Booth [Sat, 21 Jun 2003 20:28:18 +0000 (20:28 +0000)] 
Makefile.in: Update.

* Makefile.in: Update.
* common.opt: New switches.
* opts.c: Include diagnostic.h.
(common_handle_option): Handle new switches.
* toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
flag_if_conversion2, flag_delete_null_pointer_checks,
flag_rerun_cse_after_loop): Make extern.
(flag_dummy): New.
(f_options): Update to use flag_dummy for moved options.
(decode_f_option): Some switches moved to opts.c.
* toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
flag_if_conversion2, flag_delete_null_pointer_checks,
flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops,
flag_tracer, flag_thread_jumps, flag_unroll_loops,
flag_unroll_all_loops, flag_unswitch_loops): New.
f:
* lang.opt: Add -fpreprocessed.
* top.c (ffe_handle_option): Handle it.

From-SVN: r68315

21 years agore PR c++/10784 (Warning about choosing custom operator over copy constructor cannot...
Gabriel Dos Reis [Sat, 21 Jun 2003 17:39:58 +0000 (17:39 +0000)] 
re PR c++/10784 (Warning about choosing custom operator over copy constructor cannot be turned off (and it's useless in the first place))

cp/
        PR c++/10784
        * call.c (joust): Warn about choosing conversion sequence only if
        -Wconversion.

testsuite/
        * g++.old-deja/g++.benjamin/16077.C: Add -Wconversion option.
        * g++.old-deja/g++.other/conv7.C: Likewise
        * g++.old-deja/g++.other/overcnv2.C: Likewise.
        * g++.old-deja/g++.other/overload14.C: Likewise.

From-SVN: r68312

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

* java/io/File.java
(static): Load javaio lib if existing (only in classpath).
(File): Revised documentation to show the correct argument name.
(createTempFile): Partly merged with classpath.
(compareTo): Simplified.
(lastModified): Throw exception if time < 0.
(deleteOnExit): Revised documentation.

From-SVN: r68310

21 years agoPC c++/10864
Gabriel Dos Reis [Sat, 21 Jun 2003 16:43:44 +0000 (16:43 +0000)] 
PC c++/10864

PC c++/10864
* call.c (op_error): Tidy.
* error.c (dump_expr): Properly format 'T()' when T is an
aggregate type.

From-SVN: r68309

21 years agoMakefile.in: Update.
Neil Booth [Sat, 21 Jun 2003 15:59:31 +0000 (15:59 +0000)] 
Makefile.in: Update.

* Makefile.in: Update.
* c-opts.c (c_common_handle_option): Don't return -1.
* common.opt: New switches.
* opts.c: Include rtl.h, ggc.h and output.h.
(find_opt): Only stop searching when input switch compares
less than the stored switch.  Continue searching if greater.
(handle_option): No need to handle negative return values.
(common_handle_option): Handle new switches.
(set_fast_math_flags, fast_math_flags_set_p): New.
* toplev.c (set_fast_math_flags, fast_math_flags_set_p):
Move to opts.c.
(decode_f_option): Some switches moved to opts.c.
(parse_options_and_default_flags): No need to cater for negative
return values.
f:
* top.c (ffe_handle_option): No need to return -1 any more.

From-SVN: r68307

21 years agoPlainSocketImpl.java: Reformatted.
Michael Koch [Sat, 21 Jun 2003 14:02:10 +0000 (14:02 +0000)] 
PlainSocketImpl.java: Reformatted.

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

* java/net/PlainSocketImpl.java:
Reformatted.
(PlainSocketImpl): Merged class documentaion with classpath.
(in): Moved.
(out): Moved.
(PlainSocketImpl): New empty constructor.
(finalize): Moved.
(setOption): Merged documentation from classpath.
(getOption): Likewise.
(create): Likewise.
(connect): Likewise.
(bind): Likewise.
(listen): Likewise.
(accept): Likewise.
(available): Likewise.
(close): Likewise.
(read): Likewise.
(write): Likewise.
(getInputStream): Made synchronozed to get sure that only one stream
object can be created for this socket, merged documentation from
classpath.
(getOutputStream): Likewise.

From-SVN: r68305

21 years agoPlainSocketImpl.java: Reformatting.
Michael Koch [Sat, 21 Jun 2003 13:24:13 +0000 (13:24 +0000)] 
PlainSocketImpl.java: Reformatting.

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

* java/net/PlainSocketImpl.java:
Reformatting.
(static): New implicit method.
(read): Made package private.
(write): Likewise.

From-SVN: r68304

21 years agore PR c++/10915 (a not-useful non-avoidable warning: conversion to a reference to...
Gabriel Dos Reis [Sat, 21 Jun 2003 13:09:05 +0000 (13:09 +0000)] 
re PR c++/10915 (a not-useful non-avoidable warning:  conversion to a reference to the same type will never use a type conversion operator)

testsuite/
        * g++.old-deja/g++.jason/conversion5.C: Adjust option.
        * g++.old-deja/g++.bugs/900215_01.C: Likewise.

cp/
        PR c++/10915
        * decl.c (grok_op_properties): Warn possible confusing conversion
        only if -Wconversion.

From-SVN: r68303

21 years agoSimpleTimeZone.java: Removed unneeded import, reformatting.
Michael Koch [Sat, 21 Jun 2003 12:49:39 +0000 (12:49 +0000)] 
SimpleTimeZone.java: Removed unneeded import, reformatting.

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

* java/util/SimpleTimeZone.java:
Removed unneeded import, reformatting.

From-SVN: r68301

21 years agoDateFormat.java, [...]: New versions from classpath.
Michael Koch [Sat, 21 Jun 2003 12:42:26 +0000 (12:42 +0000)] 
DateFormat.java, [...]: New versions from classpath.

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

* java/text/DateFormat.java,
java/text/SimpleDateFormat.java,
java/util/Locale.java:
New versions from classpath.

From-SVN: r68300

21 years agoSpinnerModel.java: New file from classpath.
Michael Koch [Sat, 21 Jun 2003 12:02:11 +0000 (12:02 +0000)] 
SpinnerModel.java: New file from classpath.

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

* javax/swing/SpinnerModel.java:
New file from classpath.
* javax/swing/border/LineBorder.java,
javax/swing/border/SoftBevelBorder.java,
javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicBorders.java:
New versions from classpath.
* javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
New binary files from classpath.

From-SVN: r68299

21 years ago* i386.c (ix86_va_arg): Fix allocation of temporary slot.
Jan Hubicka [Sat, 21 Jun 2003 11:51:36 +0000 (13:51 +0200)] 
* i386.c (ix86_va_arg): Fix allocation of temporary slot.

From-SVN: r68298

21 years agoh8300-protos.h: Add a prototype for same_cmp_preceding_p.
Kazu Hirata [Sat, 21 Jun 2003 11:32:54 +0000 (11:32 +0000)] 
h8300-protos.h: Add a prototype for same_cmp_preceding_p.

* config/h8300/h8300-protos.h: Add a prototype for
same_cmp_preceding_p.
* config/h8300/h8300.c (same_cmp_preceding): New.
* config/h8300/h8300.md: Extend peephole2's that transform
compare:SI into shorter sequences so that they can deal with
signed comparisons.

From-SVN: r68296

21 years agoLogRecord.java, [...]: New files from classpath.
Michael Koch [Sat, 21 Jun 2003 10:31:55 +0000 (10:31 +0000)] 
LogRecord.java, [...]: New files from classpath.

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

* java/util/logging/LogRecord.java,
java/util/logging/Logger.java,
java/util/logging/SocketHandler.java,
java/util/logging/SimpleFormatter.java,
java/util/logging/Formatter.java,
java/util/logging/ErrorManager.java,
java/util/logging/Handler.java,
java/util/logging/FileHandler.java,
java/util/logging/LogManager.java,
java/util/logging/Level.java,
java/util/logging/ConsoleHandler.java,
java/util/logging/StreamHandler.java,
java/util/logging/LoggingPermission.java,
java/util/logging/Filter.java,
java/util/logging/MemoryHandler.java,
java/util/logging/XMLFormatter.java:
New files from classpath.

From-SVN: r68295

21 years agocontrib.texi (Contributors): Use Windows instead of Win32.
Gerald Pfeifer [Sat, 21 Jun 2003 08:26:29 +0000 (10:26 +0200)] 
contrib.texi (Contributors): Use Windows instead of Win32.

* doc/contrib.texi (Contributors): Use Windows instead of Win32.

Update Andreas Jaeger's entry.

Merge the two entries of Kaveh Ghazi, David Edelsohn, and
Loren J. Rittle.

From-SVN: r68293

21 years ago* mkconfig.sh: Add multiple inclusion guards to generated headers.
Nathanael Nerode [Sat, 21 Jun 2003 05:20:05 +0000 (05:20 +0000)] 
* mkconfig.sh: Add multiple inclusion guards to generated headers.

From-SVN: r68292

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

From-SVN: r68290

21 years agoTestsuite corrections
Doug Gregor [Fri, 20 Jun 2003 23:40:11 +0000 (23:40 +0000)] 
Testsuite corrections

From-SVN: r68288

21 years agoc-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
Neil Booth [Fri, 20 Jun 2003 22:56:36 +0000 (22:56 +0000)] 
c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.

* c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
* common.opt: Add remaining -W options and -g.
* diagnostic.c (warnings_are_errors): Remove.
* flags.h: Make most warning flags boolean.
* opts.c (common_handle_option): Handle remaining -W options, and -g.
Move many warning flags from toplev.c, making them boolean.
* toplev.c: Remove many warning flags.
(decode_W_option): Remove.
(decode_g_option): Make extern.  Error on unknown switch.
(lang_independent_W_options): Use warn_dummy.
(independent_decode_option): Just handle -f switches now.
* toplev.h (decode_g_option): New.

From-SVN: r68287

21 years agofix basic_string::replace for integral types
Doug Gregor [Fri, 20 Jun 2003 22:12:18 +0000 (22:12 +0000)] 
fix basic_string::replace for integral types

From-SVN: r68286

21 years agors6000.h (LEGITIMATE_CONSTANT_P): Adjust for vectors.
Aldy Hernandez [Fri, 20 Jun 2003 20:16:24 +0000 (20:16 +0000)] 
rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for vectors.

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

PR/11092
* config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for
vectors.

From-SVN: r68284

21 years agors6000.h (LEGITIMATE_CONSTANT_P): Adjust for vectors.
Aldy Hernandez [Fri, 20 Jun 2003 20:16:17 +0000 (20:16 +0000)] 
rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for vectors.

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

PR/11092
* config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for
vectors.

[[Split portion of a mixed commit.]]

From-SVN: r68283.2

21 years ago* opts.sh: Tweak awk script for portability.
Kelley Cook [Fri, 20 Jun 2003 20:07:51 +0000 (20:07 +0000)] 
* opts.sh: Tweak awk script for portability.

From-SVN: r68282

21 years agore PR c++/10888 (inlining failure for allocate in ~vector())
Mark Mitchell [Fri, 20 Jun 2003 19:55:29 +0000 (19:55 +0000)] 
re PR c++/10888 (inlining failure for allocate in ~vector())

PR c++/10888
* tree-inline.c (expand_call_inline): Do not warn about failing to
inline functions declared in system headers.
* doc/invoke.texi (-Winline): Expand on documentation.

PR c++/10888
* g++.dg/warn/Winline-3.C: New test.

From-SVN: r68281

21 years agoalpha.c (alpha_file_start): Disable file_start_file_directive for ELF and not MDEBUG.
Richard Henderson [Fri, 20 Jun 2003 19:37:17 +0000 (12:37 -0700)] 
alpha.c (alpha_file_start): Disable file_start_file_directive for ELF and not MDEBUG.

        * config/alpha/alpha.c (alpha_file_start): Disable
        file_start_file_directive for ELF and not MDEBUG.

From-SVN: r68280

21 years ago* sh.h (ROUND_TYPE_ALIGN): Remove.
J"orn Rennecke [Fri, 20 Jun 2003 19:28:13 +0000 (19:28 +0000)] 
* sh.h (ROUND_TYPE_ALIGN): Remove.

From-SVN: r68279

21 years agotarget-supports.exp (check_alias_available): Make the test program acceptable to...
Mark Mitchell [Fri, 20 Jun 2003 19:11:07 +0000 (19:11 +0000)] 
target-supports.exp (check_alias_available): Make the test program acceptable to the Solaris assembler.

* lib/target-supports.exp (check_alias_available): Make the test
program acceptable to the Solaris assembler.

From-SVN: r68277

21 years agore PR c++/10749 (triple nested template classes in namespace need to qualify ns)
Mark Mitchell [Fri, 20 Jun 2003 18:55:47 +0000 (18:55 +0000)] 
re PR c++/10749 (triple nested template classes in namespace need to qualify ns)

PR c++/10749
* parser.c (cp_parser_class_head): See through dependent names
when parsing a class-head.

PR c++/10749
* g++.dg/template/memclass2.C: New test.

From-SVN: r68276

21 years agohooks.c (hook_int_void_no_regs): Rename from hook_reg_class_void_no_regs; change...
Richard Henderson [Fri, 20 Jun 2003 17:30:05 +0000 (10:30 -0700)] 
hooks.c (hook_int_void_no_regs): Rename from hook_reg_class_void_no_regs; change return type.

        * hooks.c (hook_int_void_no_regs): Rename from
        hook_reg_class_void_no_regs; change return type.
        * hooks.h: Update.
        * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update.
        * target.h (branch_target_register_class): Change return type to int.
        Add documentation.
        * config/sh/sh.c (sh_target_reg_class): Change return type.
        * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise.

From-SVN: r68275

21 years agoc-format.c: Change _Bool to bool reverting part of the last patch.
Andreas Tobler [Fri, 20 Jun 2003 16:36:09 +0000 (18:36 +0200)] 
c-format.c: Change _Bool to bool reverting part of the last patch.

2003-06-20  Andreas Tobler <toa@pop.agri.ch>

* c-format.c: Change _Bool to bool reverting part of the last
patch.

From-SVN: r68273

21 years agogcc-dg.exp (dg-xfail-if): Do not process conditional xfail data for non-matching...
Mark Mitchell [Fri, 20 Jun 2003 16:10:13 +0000 (16:10 +0000)] 
gcc-dg.exp (dg-xfail-if): Do not process conditional xfail data for non-matching targets.

* lib/gcc-dg.exp (dg-xfail-if): Do not process conditional xfail
data for non-matching targets.
* gcc.c-torture/compile/simd-5.c: Fix typo in conditional xfail.

Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
From-SVN: r68272

21 years agore PR c++/10845 (template member function (getting a nested template as parameter...
Mark Mitchell [Fri, 20 Jun 2003 15:44:25 +0000 (15:44 +0000)] 
re PR c++/10845 (template member function (getting a nested template as parameter) cannot be called anymore if another unrelated template member function is defined.)

PR c++/10845
* pt.c (try_class_unification): Correct handling of member class
templates.

* semantics.c (genrtl_finish_function): Adjust
expand_function_end call.

From-SVN: r68269

21 years agotestsuite_performance.h (resource_counter): Don't use mallinfo at the moment.
Benjamin Kosnik [Fri, 20 Jun 2003 15:26:23 +0000 (15:26 +0000)] 
testsuite_performance.h (resource_counter): Don't use mallinfo at the moment.

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

* testsuite/testsuite_performance.h (resource_counter): Don't use
mallinfo at the moment.

From-SVN: r68268

21 years agosom.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to strip name encoding.
John David Anglin [Fri, 20 Jun 2003 14:08:35 +0000 (14:08 +0000)] 
som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to strip name encoding.

* som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to
strip name encoding.

From-SVN: r68267

21 years agore PR driver/9362 (solaris 'as' dies when fed .s and "-gstabs")
Rainer Orth [Fri, 20 Jun 2003 13:59:31 +0000 (13:59 +0000)] 
re PR driver/9362 (solaris 'as' dies when fed .s and "-gstabs")

* configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns.
* configure: Regenerate.
Fixes PR driver/9362.

From-SVN: r68266

21 years ago* config/alpha/alpha.c (alpha_file_start): Fix typo.
Richard Kenner [Fri, 20 Jun 2003 13:24:55 +0000 (13:24 +0000)] 
* config/alpha/alpha.c (alpha_file_start): Fix typo.

From-SVN: r68264

21 years agomips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg to ASM_OUTPUT_SOURCE_LINE.
Rainer Orth [Fri, 20 Jun 2003 12:16:26 +0000 (12:16 +0000)] 
mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg to ASM_OUTPUT_SOURCE_LINE.

* config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg
to ASM_OUTPUT_SOURCE_LINE.

From-SVN: r68262

21 years ago2003-06-20 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 20 Jun 2003 12:13:19 +0000 (12:13 +0000)] 
2003-06-20  Michael Koch  <konqueror@gmx.de>

* java/io/ObjectStreamField.java
(unshared): new member variable.
(ObjectStreamField): New constructor.
(isUnshared): New method.

From-SVN: r68261

21 years ago2003-06-20 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 20 Jun 2003 12:07:22 +0000 (12:07 +0000)] 
2003-06-20  Michael Koch  <konqueror@gmx.de>

* java/net/URLStreamHandler.java
(hostsEqual): Rewritten.

From-SVN: r68260

21 years agoMappedByteFileBuffer.java, [...]: Removed
Michael Koch [Fri, 20 Jun 2003 12:01:54 +0000 (12:01 +0000)] 
MappedByteFileBuffer.java, [...]: Removed

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

* gnu/java/nio/MappedByteFileBuffer.java,
gnu/java/nio/natMappedByteFileBuffer.cc:
Removed
* java/nio/MappedByteBufferImpl.java:
New file.
* gnu/java/nio/FileChannelImpl.java:
Use MappedByteBufferImpl instead of MappedByteFileBuffer.
* Makefile.am
(ordinary_java_source_files): Removed
gnu/java/nio/MappedByteFileBuffer.java and added
java/nio/MappedByteBufferImpl.java.
(nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
* Makefile.in: Regenerated.

From-SVN: r68259

21 years agoinstall.texi (Building): Correct and improve statement about parallel builds.
Daniel Egger [Fri, 20 Jun 2003 11:18:03 +0000 (11:18 +0000)] 
install.texi (Building): Correct and improve statement about parallel builds.

* doc/install.texi (Building): Correct and improve statement
about parallel builds.

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

21 years agoc-common.c: Change _Bool to bool reverting part of the last patch.
Andreas Jaeger [Fri, 20 Jun 2003 10:00:22 +0000 (12:00 +0200)] 
c-common.c: Change _Bool to bool reverting part of the last patch.

* c-common.c: Change _Bool to bool reverting part of the last
patch.

From-SVN: r68256

21 years agotree.h (expand_function_end): Remove all parameters.
Nathan Sidwell [Fri, 20 Jun 2003 09:08:23 +0000 (09:08 +0000)] 
tree.h (expand_function_end): Remove all parameters.

* tree.h (expand_function_end): Remove all parameters.
* function.c (expand_function_end): Remove all parameters.
Use input_location. Never expand_end_bindings.
* c-decl.c (c_expand_body_1): Adjust expand_function_end call.
* coverage.c (create_coverage): Likewise.

* ada/utils.c (end_subprog_body): Adjust expand_function_end
call.

* cp/semantics.c (genrtl_finish_function): Adjust
expand_function_end call.

* f/com.c (finish_function): Adjust expand_function_end call.

* java/class.c (push_class): Use a location_t to save place.
(emit_register_classes): Set input_location. Adjust
expand_function_end call.
* java/resource.c (write_resource_constructor): Likewise.
* java/decl.c (end_java_method): Adjust expand_function_end call.
* java/parse.y (source_end_java_method): Likewise.

* treelang/treetree.c (tree_code_create_function_wrapup): Adjust
expand_function_end call.

From-SVN: r68255

21 years agoconfigure.host: Set try_cpu to target_cpu for existing baseline files.
Matthias Klose [Fri, 20 Jun 2003 08:10:54 +0000 (08:10 +0000)] 
configure.host: Set try_cpu to target_cpu for existing baseline files.

2003-06-20  Matthias Klose  <doko@debian.org>

        * configure.host: Set try_cpu to target_cpu for existing
        baseline files.

From-SVN: r68254

21 years ago(ARM Built-in Functions): New node.
Nick Clifton [Fri, 20 Jun 2003 08:08:20 +0000 (08:08 +0000)] 
(ARM Built-in Functions): New node.

(ARM Built-in Functions): New node.  Document ARM builtin functions for iWMMXt
support.

From-SVN: r68252

21 years agoinstall.texi (--with-gnu-as): Mention SPARC/Solaris and SPARC64/Solaris as platforms...
Eric Botcazou [Fri, 20 Jun 2003 08:00:02 +0000 (10:00 +0200)] 
install.texi (--with-gnu-as): Mention SPARC/Solaris and SPARC64/Solaris as platforms where --with-gnu-as...

* doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and
SPARC64/Solaris as platforms where --with-gnu-as makes a difference.
(--with-as): Add @anchor.
(--with-gnu-ld): Fix typo.
(--with-ld): Add @uref to --with-as.

From-SVN: r68249

21 years agotm.texi: Uniformly use @defmac for macros, rather than @table items.
Zack Weinberg [Fri, 20 Jun 2003 06:41:12 +0000 (06:41 +0000)] 
tm.texi: Uniformly use @defmac for macros, rather than @table items.

* doc/tm.texi: Uniformly use @defmac for macros, rather than
@table items.  Minor formatting and editorial corrections.

From-SVN: r68248

21 years agore PR c++/10939 (ICE with templated code)
Mark Mitchell [Fri, 20 Jun 2003 05:52:43 +0000 (05:52 +0000)] 
re PR c++/10939 (ICE with templated code)

PR c++/10939
* pt.c (tsubst_decl): Do not try to substitute into non-dependent
functions.
(value_dependent_expression_p): Correct logic for FUNCTION_DECLs.

PR c++/10939
* g++.dg/template/func1.C: New test.

From-SVN: r68244

21 years ago* line-map.c, line-map.h: Convert to ISO prototypes.
Neil Booth [Fri, 20 Jun 2003 05:51:13 +0000 (05:51 +0000)] 
* line-map.c, line-map.h: Convert to ISO prototypes.

From-SVN: r68242

21 years agore PR c++/9649 (ICE in finish_member_declaration at cp/semantics.c:1850 when redeclar...
Mark Mitchell [Fri, 20 Jun 2003 02:40:37 +0000 (02:40 +0000)] 
re PR c++/9649 (ICE in finish_member_declaration at cp/semantics.c:1850 when redeclaring a static member variable)

PR c++/9649
* cp-tree.h (pushdecl_class_level): Change prototype.
(push_class_level_binding): Likewise.
* decl.c (add_binding): Reject duplicate static data members.
(pushdecl_class_level): Return a value indicating whether or not
the binding was valid.
(push_class_level_binding): Likewise.
* semantics.c (finish_member_declaration): Don't keep invalid
declarations.

PR c++/9649
* g++.dg/template/static4.C: New test.
* g++.old-deja/g++.other/anon7.C: Remove spurious error messages.

From-SVN: r68240

21 years agore PR middle-end/11041 (ICE: const myclass &x = *x; (when operator*() defined))
Mark Mitchell [Fri, 20 Jun 2003 00:48:44 +0000 (00:48 +0000)] 
re PR middle-end/11041 (ICE: const myclass &x = *x; (when operator*() defined))

PR c++/11041
* call.c (initialize_reference): Do not use cp_finish_decl to emit
temporary variables.
* cp-tree.h (static_aggregates): Declare.
(pushdecl_top_level_and_finish): Likewise.
* decl.c (pushdecl_top_level_1): New function.
(pushdecl_top_level): Use it.
(pushdecl_top_level_and_finish): New function.
(initialize_local_var): Remove redundant code.
(cp_finish_decl): Remove support for RESULT_DECLs.  Don't check
building_stmt_tree.
* decl.h (static_aggregates): Remove.
* decl2.c (get_guard): Use pushdecl_top_level_and_finish.
* rtti.c (get_tinfo_decl): Use pushdecl_top_level_and_finish.
(tinfo_base_init): Likewise.

PR c++/11041
* g++.dg/init/ref7.C: New test.

From-SVN: r68236

21 years agoFix for PR c++/11228, infinite loop for new int[n]().
Matt Austern [Fri, 20 Jun 2003 00:33:58 +0000 (00:33 +0000)] 
Fix for PR c++/11228, infinite loop for new int[n]().

From-SVN: r68235

21 years agoDaily bump.
GCC Administrator [Fri, 20 Jun 2003 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r68232

21 years ago* gcse.c (store_killed_in_insn): Fix.
Zdenek Dvorak [Thu, 19 Jun 2003 22:26:53 +0000 (00:26 +0200)] 
* gcse.c (store_killed_in_insn): Fix.

From-SVN: r68230

21 years agotarget.h (asm_out.file_start, [...]): New hooks.
Zack Weinberg [Thu, 19 Jun 2003 21:47:26 +0000 (21:47 +0000)] 
target.h (asm_out.file_start, [...]): New hooks.

* target.h (asm_out.file_start, file_start_app_off,
file_start_file_directive): New hooks.
* target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE,
TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START):
New hook-definition macros.
* doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START.
* varasm.c (default_file_start): New.
* output.h: Prototype it.
* toplev.c (init_asm_output): Use targetm.asm_out.file_start.
* system.h: Poison ASM_FILE_START.

* config/alpha/alpha.c (alpha_write_verstamp): Delete.
(alpha_file_start): New, define if !TARGET_ABI_UNICOSMK.
(unicosmk_asm_file_start): Rename unicosmk_file_start,
make static, take no arguments.
(TARGET_ASM_FILE_START, TARGET_ASM_FILE_END,
TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate.
* config/alpha/unicosmk.h: Don't define ASM_FILE_START nor
TARGET_ASM_FILE_END.  Remove reference to ASM_FILE_START in
comment.
* config/arc/arc.c (arc_asm_file_start): Rename
arc_file_start, take no arguments, make static.
(TARGET_ASM_FILE_START): Set it.
* config/arm/arm.c (aof_file_start): New static function.
(TARGET_ASM_FILE_START): Set it, when appropriate.
* config/arm/coff.h, config/arm/elf.h:
Set TARGET_ASM_FILE_START_APP_OFF to true.
* config/avr/avr.c (asm_file_start): Rename avr_file_start,
take no arguments, make static.
(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
Set them.
* config/c4x/c4x.c (c4x_file_start): New static function.
(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
Set them.
* config/cris/cris.c (cris_file_start): New static function.
(TARGET_ASM_FILE_START): Set it.
* config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename
dsp16xx_file_start, make static.
(luxworks_dsp16xx_file_start): Delete.
(TARGET_ASM_FILE_START): Set it.
* config/h8300/h8300.c (asm_file_start): Rename
h8300_file_start, make static, take no arguments.
(TARGET_ASM_FILE_START): Set it.
* config/i370/i370.c (i370_file_start): New static function.
(TARGET_ASM_FILE_START): Set it.
* config/i386/i386.c (x86_file_start): New static function.
(TARGET_ASM_FILE_START): Set it.
* config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE,
X86_FILE_START_FLTUSED): New macros, default to false.
* config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1.
* config/i386/sysv4.h, config/i386/sco5.h: Override
X86_FILE_START_VERSION_DIRECTIVE to true.
* config/ia64/ia64.c (ia64_file_start): New static function.
(TARGET_ASM_FILE_START): Set it.
(emit_safe_across_calls): Take no arguments.
* config/ia64/ia64.md: Update to match.
* config/m32r/m32r.c (m32r_asm_file_start): Rename
m32r_file_start, make static, take no arguments.
(TARGET_ASM_FILE_START): Set it.
* config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename
m68hc11_file_start, make static, take no arguments.
(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
(print_options): Delete.
* config/m68k/m68k.c (m68k_hp320_file_start): New static function.
(TARGET_ASM_FILE_START_APP_OFF): Set.
* config/m68k/hp320.h: Set TARGET_ASM_FILE_START to
m68k_hp320_file_start.
* config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start):
Make static, take no arguments.
(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
* config/mmix/mmix.c (mmix_asm_file_start): Rename
mmix_file_start, make static, take no arguments.
(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
* config/mn10300/mn10300.c (asm_file_start): Rename
mn10300_file_start, make static, take no arguments.
(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
* config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set.
* config/pa/pa.c (pa_file_start_level, pa_file_start_space,
pa_file_start_file, pa_file_start_mcount, pa_elf_file_start,
pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start,
pa_hpux64_hpas_file_start): New static functions.
* config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start.
* config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to
pa_linux_file_start.
* config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to
pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as
appropriate.
* config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start.
* config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF.
(rs6000_file_start): Make static, take no arguments.  Reset
default_cpu under certain conditions.
(rs6000_xcoff_file_start): New function.
* config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set.
* config/rs6000/xcoff.h (TARGET_ASM_FILE_START,
TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override.
* config/sh/sh.c (output_file_start): Rename
sh_file_start, make static, take no arguments.  Merge in old
code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF.
(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
* config/sh/sh.c (TARGET_ELF): Define to 0.
* config/sh/elf.h (TARGET_ELF): Redefine to 1.
* config/v850/v850.c (asm_file_start): Delete.
(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
* config/vax/vax.c (vax_file_start): New static function.
(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set.

* config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false.
* config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h
* config/i386/att.h, config/i386/gas.h, config/i386/linux.h
* config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h
* config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h
* config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true.

* config/darwin.h, config/elfos.h, config/alpha/elf.h
* config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h
* config/arc/arc.h, config/arm/aof.h, config/arm/aout.h
* config/arm/coff.h, config/arm/elf.h, config/arm/pe.h
* config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h
* config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h
* config/i370/i370.h, config/i386/att.h, config/i386/gas.h
* config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h
* config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h
* config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h
* config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h
* config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h
* config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h
* config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h
* config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h
* config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h
* config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h
* config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START.

* config/alpha/alpha-protos.h, config/arc/arc-protos.h
* config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h
* config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
* config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h
* config/mips/mips-protos.h, config/mmix/mmix-protos.h
* config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h
* config/sh/sh-protos.h, config/v850/v850-protos.h: Update.

* xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h:
Remove reference to ASM_FILE_START in comment.
* config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h
* config/arm/linux-gas.h, config/arm/netbsd-elf.h
* config/arm/netbsd.h: Delete definition of ARM_OS_NAME.

From-SVN: r68229

21 years ago* gcc.c-torture/compile/simd-5.c: Don't XFAIL on H8.
Kazu Hirata [Thu, 19 Jun 2003 21:15:42 +0000 (21:15 +0000)] 
* gcc.c-torture/compile/simd-5.c: Don't XFAIL on H8.

From-SVN: r68228

21 years ago* gcc.c-torture/compile/simd-5.c: Don't XFAIL on H8.
Kazu Hirata [Thu, 19 Jun 2003 20:59:16 +0000 (20:59 +0000)] 
* gcc.c-torture/compile/simd-5.c: Don't XFAIL on H8.

From-SVN: r68227

21 years agogcc.c (target_sysroot_suffix, [...]): New.
Graeme Peterson [Thu, 19 Jun 2003 20:18:22 +0000 (20:18 +0000)] 
gcc.c (target_sysroot_suffix, [...]): New.

* gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix,
SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec,
sysroot_hdrs_suffix_spec): New.
(static_specs): Initialize new variables.
(add_sysroot_suffix_prefix, do_spec_1, main): Use new variables.
* doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC):
New macros.

From-SVN: r68223

21 years agoMakefile.am (extract_symvers): Revert accidental change.
Andreas Jaeger [Thu, 19 Jun 2003 19:54:04 +0000 (21:54 +0200)] 
Makefile.am (extract_symvers): Revert accidental change.

* testsuite/Makefile.am (extract_symvers): Revert accidental
change.
* testsuite/Makefile.in: Regenerate.

* configure.in: Pass MULTISUBDIR to testsuite/Makefile.
* configure: Regenerated.

From-SVN: r68220

21 years agoFix typo in my last entry.
Andreas Jaeger [Thu, 19 Jun 2003 19:48:32 +0000 (21:48 +0200)] 
Fix typo in my last entry.

From-SVN: r68219

21 years agoc-aux-info.c: Convert to ISO C99.
Andreas Jaeger [Thu, 19 Jun 2003 19:43:59 +0000 (21:43 +0200)] 
c-aux-info.c: Convert to ISO C99.

* c-aux-info.c: Convert to ISO C99.
* c-pragma.c: Likewise.
* c-common.c: Likewise.
* c-common.h: Likewise.
* c-convert.c: Likewise.
* c-cppbuiltin.c: Likewise.
* c-dump.c: Likewise.
* c-decl.c: Likewise
* c-format.c: Likewise.
* c-incpath.c: Likewise.
* c-incpath.h: Likewise.

From-SVN: r68218

21 years agobuiltins.c (expand_errno_check): Assume that flag_errno_math and HONOR_NANS have...
Roger Sayle [Thu, 19 Jun 2003 19:30:34 +0000 (19:30 +0000)] 
builtins.c (expand_errno_check): Assume that flag_errno_math and HONOR_NANS have been tested before calling here.

* builtins.c (expand_errno_check): Assume that flag_errno_math
and HONOR_NANS have been tested before calling here.  Only try
to set errno ourselves if the decl can't throw an exception.
(expand_builtin_mathfn): Move the code to stabilize the arg
after the main switch, so that that its only done when needed.
BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative.
Don't modify the original expr when stabilizing the argument.
(expand_builtin_mathfn_2): Likewise, move the code to stabilize
the args after the main switch, and don't modify the orginal exp.

From-SVN: r68217

21 years agoconfigure.in: Add check for malloc.h needed by m68k for function free().
Dara Hazeghi [Thu, 19 Jun 2003 19:04:03 +0000 (19:04 +0000)] 
configure.in: Add check for malloc.h needed by m68k for function free().

* configure.in: Add check for malloc.h needed by
m68k for function free().
* configure: Regenerated.
* config.in: Add HAVE_MALLOC_H.
* hashtab.c: include malloc.h were available for
free().

From-SVN: r68213

21 years agoexpr.c (const_vector_from_tree): Initialize remaining elements to 0.
Aldy Hernandez [Thu, 19 Jun 2003 17:29:29 +0000 (17:29 +0000)] 
expr.c (const_vector_from_tree): Initialize remaining elements to 0.

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

* expr.c (const_vector_from_tree): Initialize remaining elements
to 0.

From-SVN: r68210

21 years ago2003-06-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 19 Jun 2003 16:42:25 +0000 (16:42 +0000)] 
2003-06-19  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/DatagramChannelImpl.java
(fd): Removed.
(blocking): New member variable.
(socket): Likewise.
(DatagramChannelImpl): Throws IOException, initialize socket.
(socket):Implemented.
(implCloseSelectableChannel): Throws IOException, implemented.
(implConfigureBlocking): Likewise.
(connect): Likewise.
(disconnect): Likewise.
(isConnected): Likewise.
(write): Likewise.
(read): Likewise.
(receive): Throws IOException.
(send): Likewise.
* gnu/java/nio/SocketChannelImpl.java
(read): Implemented.
(write): Implemented.

From-SVN: r68208

21 years agoJComponent.java, [...]: New versions from classpath.
Michael Koch [Thu, 19 Jun 2003 16:30:09 +0000 (16:30 +0000)] 
JComponent.java, [...]: New versions from classpath.

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

* javax/swing/JComponent.java,
javax/swing/JInternalFrame.java,
javax/swing/MenuSelectionManager.java,
javax/swing/SwingUtilities.java,
javax/swing/ToggleButtonModel.java:
New versions from classpath.

From-SVN: r68207

21 years agostd_sstream.h (_M_sync): Make non virtual.
Paolo Carlini [Thu, 19 Jun 2003 15:39:33 +0000 (17:39 +0200)] 
std_sstream.h (_M_sync): Make non virtual.

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

* include/std/std_sstream.h (_M_sync): Make non virtual.

From-SVN: r68200

21 years ago2003-06-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 19 Jun 2003 15:13:31 +0000 (15:13 +0000)] 
2003-06-19  Michael Koch  <konqueror@gmx.de>

* java/text/CollationElementIterator.java
(NULLORDER): Initialize with -1 as JDK documentation says.

From-SVN: r68199

21 years agoHttpURLConnection.java, [...]: Reworked import statements.
Michael Koch [Thu, 19 Jun 2003 15:08:22 +0000 (15:08 +0000)] 
HttpURLConnection.java, [...]: Reworked import statements.

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

* java/net/HttpURLConnection.java,
java/net/Inet4Address.java,
java/net/Inet6Address.java,
java/net/SocketImpl.java,
java/net/URLClassLoader.java:
Reworked import statements.
* java/net/InetAddress.java
(getByAddress): Simplified.
* java/net/ServerSocket.java
(ServerSocket): Moved special handling during bind operation to
bind().
(bind): Handle different cases when trying to bind a socket.
* java/net/URLConnection.java
(getHeaderFieldDate): Merged with classpath.
(getHeaderFieldInt): Likewise.

From-SVN: r68198

21 years ago2003-06-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 19 Jun 2003 14:46:21 +0000 (14:46 +0000)] 
2003-06-19  Michael Koch  <konqueror@gmx.de>

* java/util/zip/InflaterInputStream.java
(InflaterInputStream): Throw NullPointerException if in is null (as
JDK does).

From-SVN: r68197

21 years agospe.md ("spe_evfscfsi"): Change operand types.
Aldy Hernandez [Thu, 19 Jun 2003 13:16:31 +0000 (13:16 +0000)] 
spe.md ("spe_evfscfsi"): Change operand types.

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

* config/rs6000/spe.md ("spe_evfscfsi"): Change operand types.
Change "fix" to "float".

From-SVN: r68195

21 years agosimd-4.c (main): Make expected value endian-dependent.
J"orn Rennecke [Thu, 19 Jun 2003 12:57:34 +0000 (12:57 +0000)] 
simd-4.c (main): Make expected value endian-dependent.

* gcc.c-torture/execute/simd-4.c (main): Make expected value
endian-dependent.

From-SVN: r68194

21 years agoc-tree.h: Remove declaration of poplevel.
Andreas Jaeger [Thu, 19 Jun 2003 12:25:36 +0000 (14:25 +0200)] 
c-tree.h: Remove declaration of poplevel.

* c-tree.h: Remove declaration of poplevel.

* tree.h: Remove declaration of approx_sqrt.

* c-lex.c: Remove redundant declaration of asm_out_file.

* flags.h: Remove declaration of warn_unknown_pragma and
main_input_filename.

* rtl.h: Remove functions from fold-const.c since they're already
declared in tree.h.

* regs.h: Remove redundant declaration of reg_names.

cp:

* cp-tree.h: Remove duplicated declarations.

From-SVN: r68193

21 years ago* bt-load.c (migrate_btr_defs): Correct printf arguments.
Andreas Jaeger [Thu, 19 Jun 2003 12:02:24 +0000 (14:02 +0200)] 
* bt-load.c (migrate_btr_defs): Correct printf arguments.

From-SVN: r68192

21 years agoppc_closure.S: Include ffi.h.
Franz Sirl [Thu, 19 Jun 2003 11:55:56 +0000 (11:55 +0000)] 
ppc_closure.S: Include ffi.h.

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

* src/powerpc/ppc_closure.S: Include ffi.h.

From-SVN: r68191

21 years agoFont.java [...]: New versions from classpath.
Michael Koch [Thu, 19 Jun 2003 10:48:46 +0000 (10:48 +0000)] 
Font.java [...]: New versions from classpath.

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

* java/awt/Font.java
javax/swing/UIManager.java
javax/swing/border/AbstractBorder.java
javax/swing/border/BevelBorder.java
javax/swing/border/Border.java
javax/swing/border/CompoundBorder.java
javax/swing/border/EmptyBorder.java
javax/swing/border/EtchedBorder.java
javax/swing/border/LineBorder.java
javax/swing/border/MatteBorder.java
javax/swing/border/TitledBorder.java
javax/swing/plaf/BorderUIResource.java
javax/swing/plaf/basic/BasicBorders.java
javax/swing/plaf/basic/BasicButtonUI.java
javax/swing/plaf/basic/BasicCheckBoxUI.java
javax/swing/plaf/basic/BasicGraphicsUtils.java
javax/swing/plaf/basic/BasicLabelUI.java
javax/swing/plaf/basic/BasicRadioButtonUI.java
javax/swing/plaf/basic/BasicToggleButtonUI.java:
New versions from classpath.
* javax/swing/border/SoftBevelBorder.java:
New file from classpath.
* javax/swing/border/doc-files/LineBorder-1.png,
javax/swing/border/doc-files/BevelBorder-1.png,
javax/swing/border/doc-files/BevelBorder-2.png,
javax/swing/border/doc-files/BevelBorder-3.png,
javax/swing/border/doc-files/EmptyBorder-1.png,
javax/swing/border/doc-files/EtchedBorder-1.png,
javax/swing/border/doc-files/EtchedBorder-2.png,
javax/swing/border/doc-files/MatteBorder-1.png,
javax/swing/border/doc-files/MatteBorder-2.png,
javax/swing/border/doc-files/MatteBorder-3.png,
javax/swing/border/doc-files/MatteBorder-4.png,
javax/swing/border/doc-files/MatteBorder-5.png,
javax/swing/border/doc-files/MatteBorder-6.png,
javax/swing/border/doc-files/SoftBevelBorder-1.png,
javax/swing/border/doc-files/SoftBevelBorder-2.png,
javax/swing/border/doc-files/SoftBevelBorder-3.png,
javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
New binary files from classpath.
* Makefile.am
(awt_java_source_files): Added
javax/swing/border/SoftBevelBorder.java.
* Makefile.in: Regenerated.

From-SVN: r68190

21 years ago* protoize.c: Fix breakage from last patch.
Andreas Jaeger [Thu, 19 Jun 2003 10:46:50 +0000 (12:46 +0200)] 
* protoize.c: Fix breakage from last patch.

From-SVN: r68189

21 years agohooks.h (hook_reg_class_void_no_regs): Only declare if tm.h has been included.
J"orn Rennecke [Thu, 19 Jun 2003 10:44:44 +0000 (10:44 +0000)] 
hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h has been included.

* hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h
has been included.

From-SVN: r68188

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

* gnu/java/security/x509/X509Certificate.java
(writeReplace): Merged from classpath.

From-SVN: r68187

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

* gnu/java/nio/FileChannelImpl.java
(map_address): Made public.
(FileChannelImpl): Merged with classpath.
* gnu/java/nio/natFileChannelImpl.cc
(nio_mmap_file): Commented out unused arguments.
(nio_unmmap_file): Likewise.
(niu_msync): Likewise.

From-SVN: r68186

21 years agoIndexColorModel.java: New version from classpath.
Michael Koch [Thu, 19 Jun 2003 09:33:40 +0000 (09:33 +0000)] 
IndexColorModel.java: New version from classpath.

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

* java/awt/image/IndexColorModel.java:
New version from classpath.

From-SVN: r68185

21 years ago* config/sparc/sparc.c: Update copyright year.
James A Morrison [Thu, 19 Jun 2003 06:05:34 +0000 (06:05 +0000)] 
* config/sparc/sparc.c: Update copyright year.

From-SVN: r68181

21 years agors6000.c (init_cumulative_args): Limit CALL_LIBCALL to ABI_V4.
David Edelsohn [Thu, 19 Jun 2003 05:41:36 +0000 (05:41 +0000)] 
rs6000.c (init_cumulative_args): Limit CALL_LIBCALL to ABI_V4.

        * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL
        to ABI_V4.

From-SVN: r68179

21 years agore PR bootstrap/4068 ([linux-x86] bootstrapping on glibc2.0 systems)
Joseph Myers [Thu, 19 Jun 2003 04:46:29 +0000 (21:46 -0700)] 
re PR bootstrap/4068 ([linux-x86] bootstrapping on glibc2.0 systems)

PR bootstrap/4068
* config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0.

From-SVN: r68177

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