OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
dannysmith [Wed, 21 May 2003 00:51:24 +0000 (00:51 +0000)]
* libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
zero.
Update copyright year.

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

19 years agoConcatenate one of the fprintf calls in the previous change.
ghazi [Wed, 21 May 2003 00:47:44 +0000 (00:47 +0000)]
Concatenate one of the fprintf calls in the previous change.

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

19 years ago PR c++/9738
dannysmith [Wed, 21 May 2003 00:33:27 +0000 (00:33 +0000)]
PR c++/9738

* config/i386/winnt.c (i386_pe_encode_section_info): Enable
even if not first.

* cp/decl.c (duplicate_decls): Re-invoke make_decl_rtl
if the old decl had instantiated DECL_RTL.
(Base on Richard Henderson 2003-05-13 patch to c-decl.c).

* testsuite/g++.dg/ext/dllimport2.C: New file.
* testsuite/g++.dg/ext/dllimport3.C: New file.

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

19 years agoDaily bump.
gccadmin [Wed, 21 May 2003 00:16:37 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * genautomata.c (output_description, output_automaton_units,
ghazi [Wed, 21 May 2003 00:01:24 +0000 (00:01 +0000)]
* genautomata.c (output_description, output_automaton_units,
output_state_arcs): Add missing specifiers.

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

19 years ago * config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives.
bwilson [Tue, 20 May 2003 23:39:09 +0000 (23:39 +0000)]
* config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives.
(do_abs, do_addx2, do_addx4, do_addx8): New assembler macros.
(__mulsi3): Use do_addx* instead of ADDX* instructions.  Formatting.
(nsau): Rename to do_nsau.  Provide alternate version for use when
the NSAU instruction is available.
(__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro.
(__divsi3, __modsi3): Use do_abs macro instead of ABS instruction.
* config/xtensa/xtensa-config.h: Update comments to match binutils.
(XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define.
* config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define.
(TARGET_ABS, TARGET_ADDX): Define.
(TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX.
(TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx".
* config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4,
*subx8): Set predicate condition to TARGET_ADDX.
(abssi2): Set predicate condition to TARGET_ABS.
* doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs",
"-maddx", and "-mno-addx" options.
(Xtensa Options): Likewise.  Also tag some opcode names with @code.

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

19 years ago2003-05-20 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 20 May 2003 23:03:28 +0000 (23:03 +0000)]
2003-05-20  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.

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

19 years ago2003-05-20 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 20 May 2003 22:43:30 +0000 (22:43 +0000)]
2003-05-20  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
further testing that upon filebuf::close() 27.8.1.1,3 is enforced.

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

19 years ago * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
gerald [Tue, 20 May 2003 22:29:54 +0000 (22:29 +0000)]
* include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
Cast via void* to avoid -Wcast-align warnings.
(__default_alloc_template::_S_refill): Likewise.

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

19 years ago2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 20 May 2003 22:25:09 +0000 (22:25 +0000)]
2003-05-20  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/README: Move to...
* docs/html/test.html: ...here. Add documentation.
* docs/html/install.html: Move testing bits out..
* docs/html/documentation.html: Add separate testing link.
        * testsuite/performance: Add.
        * testsuite/performance/allocator.cc: New.
        * testsuite/performance/complex_norm.cc: New.
        * testsuite/performance/cout_insert_int.cc: New.
        * testsuite/performance/fstream_seek_write.cc: New.
        * testsuite/performance/ifstream_getline.cc: New.
        * testsuite/performance/map_create_fill.cc: New.
        * testsuite/performance/ofstream_insert_float.cc: New.
        * testsuite/performance/ofstream_insert_int.cc: New.
        * testsuite/performance/string_append.cc: New.
* testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
performance tests.

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

19 years ago2003-05-20 Janis Johnson <janis187@us.ibm.com>
janis [Tue, 20 May 2003 22:15:45 +0000 (22:15 +0000)]
2003-05-20  Janis Johnson  <janis187@us.ibm.com>

* gcc.dg/compat/struct-by-value-3_x.c: Move common pieces to headers.
* gcc.dg/compat/struct-by-value-3_y.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_y.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_y.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c Ditto.
* gcc.dg/compat/struct-by-value-7_y.c Ditto.
* gcc.dg/compat/small-struct-defs.h: New file.
* gcc.dg/compat/small-struct-init.h: New file.
* gcc.dg/compat/small-struct-check.h: New file.
* gcc.dg/compat/fp-struct-defs.h: New file.
* gcc.dg/compat/fp-struct-check.h: New file.
* gcc.dg/compat/fp-struct-init.h: New file.
* gcc.dg/compat/fp-struct-test-by-value-y.h: New file.
* gcc.dg/compat/fp-struct-test-by-value-x.h: New file.

* gcc.dg/compat/scalar-return-1_main.c: New file.
* gcc.dg/compat/scalar-return-1_x.c: New file.
* gcc.dg/compat/scalar-return-1_y.c: New file.
* gcc.dg/compat/scalar-return-2_main.c: New file.
* gcc.dg/compat/scalar-return-2_x.c: New file.
* gcc.dg/compat/scalar-return-2_y.c: New file.
* gcc.dg/compat/struct-return-3_main.c: New file.
* gcc.dg/compat/struct-return-3_y.c: New file.
* gcc.dg/compat/struct-return-3_x.c: New file.
* gcc.dg/compat/struct-return-2_main.c: New file.
* gcc.dg/compat/struct-return-2_x.c: New file.
* gcc.dg/compat/struct-return-2_y.c: New file.

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

19 years ago doc/extend.texi: Put warning into documentation of attribute regparm.
bangerth [Tue, 20 May 2003 22:13:34 +0000 (22:13 +0000)]
    doc/extend.texi: Put warning into documentation of attribute regparm.

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

19 years agofix whitespace
jason [Tue, 20 May 2003 20:52:33 +0000 (20:52 +0000)]
fix whitespace

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

19 years ago * tree.c (expr_last): New fn.
jason [Tue, 20 May 2003 20:24:08 +0000 (20:24 +0000)]
    * tree.c (expr_last): New fn.
        * tree.h: Declare it.
        * objc/objc-act (expr_last): Rename to objc_expr_last.

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

19 years ago * sh.c (sh_register_move_cost): Add clase for moving between
amylaar [Tue, 20 May 2003 15:48:03 +0000 (15:48 +0000)]
* sh.c (sh_register_move_cost): Add clase for moving between
FP registers and MAC registers.

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

19 years ago2003-05-20 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 20 May 2003 11:53:11 +0000 (11:53 +0000)]
2003-05-20  Michael Koch  <konqueror@gmx.de>

* java/io/DataInputStream.java
(convertFromUTF): Merged comment from classpath.
* java/io/PrintStream.java
(error_occured): Renamed from error, merged comment from classpath.
(PrintStream): No need to initialized error.
(checkError): Replace error with error_occurred.
(setError): Likewise.

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

19 years ago * gcc_release (upload_files): Put diff files into a "diffs"
gerald [Tue, 20 May 2003 11:47:50 +0000 (11:47 +0000)]
* gcc_release (upload_files): Put diff files into a "diffs"
subdirectory

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

19 years ago2003-05-20 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 20 May 2003 09:13:19 +0000 (09:13 +0000)]
2003-05-20  Michael Koch  <konqueror@gmx.de>

* java/io/DataInputStream.java:
Reformatted, Replaced < and & with html entitites in documentation.
* java/io/File.java:
Reformatted.
* java/io/PrintWriter.java:
Moved class documentation.

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

19 years agoAccidently comitted this during last commit, revert this little change:
mkoch [Tue, 20 May 2003 09:04:38 +0000 (09:04 +0000)]
Accidently comitted this during last commit, revert this little change:

-TAR = tar
+TAR = gtar

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

19 years ago2003-05-20 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 20 May 2003 08:58:31 +0000 (08:58 +0000)]
2003-05-20  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java,
gnu/java/nio/CharBufferImpl.java,
gnu/java/nio/CharViewBufferImpl.java,
gnu/java/nio/DirectByteBufferImpl.java,
gnu/java/nio/DoubleBufferImpl.java,
gnu/java/nio/DoubleViewBufferImpl.java,
gnu/java/nio/FloatBufferImpl.java,
gnu/java/nio/FloatViewBufferImpl.java,
gnu/java/nio/IntBufferImpl.java,
gnu/java/nio/IntViewBufferImpl.java,
gnu/java/nio/LongBufferImpl.java,
gnu/java/nio/LongViewBufferImpl.java,
gnu/java/nio/natDirectByteBufferImpl.cc,
gnu/java/nio/ShortBufferImpl.java,
gnu/java/nio/ShortViewBufferImpl.java:
Moved files to java/nio.
* gnu/java/nio/SocketChannelImpl.java

* java/nio/ByteBuffer.java,
java/nio/CharBuffer.java,
java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java:
Dont import anything.
* java/nio/ByteBufferImpl.java,
java/nio/CharBufferImpl.java,
java/nio/CharViewBufferImpl.java,
java/nio/DirectByteBufferImpl.java,
java/nio/DoubleBufferImpl.java,
java/nio/DoubleViewBufferImpl.java,
java/nio/FloatBufferImpl.java,
java/nio/FloatViewBufferImpl.java,
java/nio/IntBufferImpl.java,
java/nio/IntViewBufferImpl.java,
java/nio/LongBufferImpl.java,
java/nio/LongViewBufferImpl.java,
java/nio/natDirectByteBufferImpl.cc,
java/nio/ShortBufferImpl.java,
java/nio/ShortViewBufferImpl.java:
Moved from gnu/java/nio.
* Makefile.am
(ordinary_java_source_files): Moved files from gnu/java/nio to
java/nio.
(nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
to java/nio.
* Makefile.in: Regenerated.

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

19 years ago PR libstdc++/10689
gdr [Tue, 20 May 2003 06:52:11 +0000 (06:52 +0000)]
PR libstdc++/10689
* include/std/std_complex.h (pow): Tidy

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

19 years ago* config.table: Accept i[345867]86 variant.
dj [Tue, 20 May 2003 02:49:26 +0000 (02:49 +0000)]
* config.table: Accept i[345867]86 variant.

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

19 years ago * pa/milli64.S ($$mulI): Fix typo.
danglin [Tue, 20 May 2003 02:08:01 +0000 (02:08 +0000)]
* pa/milli64.S ($$mulI): Fix typo.

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

19 years ago * alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
kraai [Tue, 20 May 2003 01:49:12 +0000 (01:49 +0000)]
* alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
(nonlocal_set_p): Remove initial blank line.
* dwarf2out.c (simple_type_size_in_bits): Likewise.
* et-forest.c (et_forest_create): Likewise.
* explow.c (stabilize): Likewise.
* fix-header.c (write_lbrac): Likewise.
* graph.c (start_fct, node_data): Likewise.
* jump.c (only_sets_cc0_p, sets_cc0_p): Likewise.
* rtlanal.c (global_reg_mentioned_p): Likewise.
* tree.c (bit_position): Likewise.

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

19 years ago2003-05-19 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Tue, 20 May 2003 01:04:20 +0000 (01:04 +0000)]
2003-05-19  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Switch more things to use maybe dependencies.
* Makefile.tpl: Switch more things to use maybe dependencies.
Factor out common code from autogen IF statements.
* configure: Regenerate.
* Makefile.in: Regenerate.

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

19 years ago* config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
aoliva [Tue, 20 May 2003 00:48:43 +0000 (00:48 +0000)]
* config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
-lthread to -lpthread.

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

19 years agoDaily bump.
gccadmin [Tue, 20 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * c-opts.c (c_common_decode_option): Don't accept dollars
neil [Mon, 19 May 2003 22:15:57 +0000 (22:15 +0000)]
* c-opts.c (c_common_decode_option): Don't accept dollars
as identifier characters in assembly.
* doc/cpp.texi: Document this.

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

19 years ago2003-05-19 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 19 May 2003 21:33:57 +0000 (21:33 +0000)]
2003-05-19  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_stack_info): Do not add
        vrsave_size twice.

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

19 years ago2003-05-19 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 19 May 2003 20:03:42 +0000 (20:03 +0000)]
2003-05-19  Aldy Hernandez  <aldyh@redhat.com>

        * doc/tm.texi (function_arg): Fix typo.

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

19 years agoAdd a new flag, -W(no-)invalid-offsetof, to control whether or
austern [Mon, 19 May 2003 19:19:46 +0000 (19:19 +0000)]
Add a new flag, -W(no-)invalid-offsetof, to control whether or
not the compiler warns about incorrect use of the offsetof macro
in C++.  By default the warning is on.

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

19 years ago2003-05-19 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 19 May 2003 18:12:34 +0000 (18:12 +0000)]
2003-05-19  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
that upon filebuf::close() 27.8.1.1,3 is enforced.

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

19 years ago* configure.in: Accept i[3456789]86 for machine type.
dj [Mon, 19 May 2003 18:10:21 +0000 (18:10 +0000)]
* configure.in: Accept i[3456789]86 for machine type.
* configure: Regenerate.

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

19 years ago* acinclude.m4: Accept i[3456789]86 for machine type.
dj [Mon, 19 May 2003 18:09:59 +0000 (18:09 +0000)]
* acinclude.m4: Accept i[3456789]86 for machine type.

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

19 years ago2003-05-18 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
dje [Mon, 19 May 2003 17:39:51 +0000 (17:39 +0000)]
2003-05-18  Kevin B. Hendricks  <kevin.hendricks@sympatico.ca>
            David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (rs6000_alignment_string,
        rs6000_alignment_flags): New variables.
        (rs6000_parse_alignment_option): New function.
        (rs6000_override_options): Call it.
        * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -malign-XXX option.
        (MASK_ALIGN_POWER, MASK_ALIGN_NATURAL, TARGET_ALIGN_NATURAL): New
        macros.
        * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Always use COMPUTED
        natural alignment if TARGET_NATURAL_ALIGNMENT
        (ROUND_TYPE_ALIGN): Always use default record alignment if
        TAGET_NATURAL_ALIGNMENT.
        * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Same
        (ROUND_TYPE_ALIGN): Same.
        * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Same
        (ROUND_TYPE_ALIGN): Same.

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

19 years ago * c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME
amylaar [Mon, 19 May 2003 16:41:47 +0000 (16:41 +0000)]
* c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME
of a function using ASMSPEC, prepend a star.

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

19 years ago * tree-inline.c (copy_body_r): Avoid generating &* during inline
jason [Mon, 19 May 2003 16:17:32 +0000 (16:17 +0000)]
    * tree-inline.c (copy_body_r): Avoid generating &* during inline
        substitution.

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

19 years ago * gcc.dg/20030225-2.c: New test.
jakub [Mon, 19 May 2003 12:15:33 +0000 (12:15 +0000)]
* gcc.dg/20030225-2.c: New test.

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

19 years agoFix comment-style.
gdr [Mon, 19 May 2003 11:04:18 +0000 (11:04 +0000)]
Fix comment-style.

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

19 years ago2003-05-19 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 19 May 2003 09:14:57 +0000 (09:14 +0000)]
2003-05-19  Michael Koch  <konqueror@gmx.de>

* java/util/Calendar.java
(get): Not final anymore since JDK 1.4
(set): Likewise.

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

19 years ago2003-05-19 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 19 May 2003 09:09:23 +0000 (09:09 +0000)]
2003-05-19  Michael Koch  <konqueror@gmx.de>

* java/text/CollationKey.java:
Merged copyright and dat from classpath.
* java/text/RuleBasedCollator.java:
Merged class documentation from classpath.

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

19 years ago(xstormy16_expand_prologue): Do not mark assignments to the hard frame pointer
nickc [Mon, 19 May 2003 08:48:20 +0000 (08:48 +0000)]
(xstormy16_expand_prologue): Do not mark assignments to the hard frame pointer
as being stack frame related.
(xstormy16_expand_epilogue): Mark adjustments to the stack pointer as being
stack frame related.

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

19 years ago2003-05-19 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 19 May 2003 07:48:35 +0000 (07:48 +0000)]
2003-05-19  Michael Koch  <konqueror@gmx.de>

* java/nio/CharBuffer.java
(toString): Compile fix.

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

19 years ago * config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY,
rsandifo [Mon, 19 May 2003 07:36:28 +0000 (07:36 +0000)]
* config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY,
ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros.
(PREDICATE_CODES): Add hilo_operand.
* config/mips/mips.c (hilo_operand): New predicate.
(mips_adjust_insn_length): Account for the number nops that might
be needed to avoid hardware hazards.
* config/mips/mips.md (dslot): Remove attribute.
(hazard): New attribute.
(can_delay): Use it.  Check for calls, branches & jumps.
(muldi3): Use the standard dmult pattern for mips16 code.
(muldi3_internal, muldi3_internal2): Adjust conditions accordingly.

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

19 years ago * config/mips/mips-protos.h (final_prescan_insn,
rsandifo [Mon, 19 May 2003 07:33:33 +0000 (07:33 +0000)]
* config/mips/mips-protos.h (final_prescan_insn,
mips_count_memory_refs, mips_fill_delay_slot): Remove.
* config/mips/mips.h (delay_type, dslots_load_total,
dslots_load_filled, dslots_jump_total, dslots_jump_filled,
dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2,
mips_load_reg3, mips_load_reg4): Remove.
(MASK_STATS): Remove.
(MASK_EXPLICIT_RELOCS): Reuse its value.
(TARGET_STATS): Remove.
(TARGET_SWITCHES): Turn -mstats and -mno-stats into no-ops.
Warn that -mstats is now ignored.
(FINAL_PRESCAN_INSN): Undefine.
(DBR_OUTPUT_SEQEND): Remove handling of dslot statistics.
(ASM_OUTPUT_REG_POP): Likewise.
* config/mips/mips.c (dslots_load_total, dslots_load_filled,
dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs,
mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4,
mips_fill_delay_slot, mips_count_memory_refs,
final_prescan_insn): Remove.
(output_block_move): Remove calls to mips_count_memory_refs.
(print_operand): Remove printing of #nop for TARGET_STATS.
(mips_output_function_epilogue): Remove TARGET_STATS code.
Reorganize setting of fnnmae.
* config/mips/mips.md: Remove handling of dslot statistics
throughout file.  Change all fcmp patterns into normal asm
templates, removing calls to mips_fill_delay_slot.
* doc/invoke.texi: Remove documentation of -mstats.

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

19 years ago * config/mips/mips.c (mips_class_max_nregs): Return the number of
rsandifo [Mon, 19 May 2003 07:30:12 +0000 (07:30 +0000)]
* config/mips/mips.c (mips_class_max_nregs): Return the number of
words in the mode.

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

19 years ago * config/mips/mips.c (override_options): Disable explicit
rsandifo [Mon, 19 May 2003 07:27:45 +0000 (07:27 +0000)]
* config/mips/mips.c (override_options): Disable explicit
relocs for old ABIs unless using gas.

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

19 years ago * name-lookup.c (free_binding_entry): fix where the GTY markers are.
gdr [Mon, 19 May 2003 07:02:12 +0000 (07:02 +0000)]
* name-lookup.c (free_binding_entry): fix where the GTY markers are.
(binding_entry_make): Make entry->chain NULL after getting an entry.
fix the spelling of chain in a comment.
(binding_table_free): speed up by having temporary variable.
(binding_table_new): set table->chain to be NULL after allocating
a table.
(cxx_binding_make): use gcc_alloc instead of ggc_alloc_cleared and set
binding->previous to NULL after getting an binding for speed.

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

19 years ago2003-05-18 Eric Christopher <echristo@redhat.com>
echristo [Mon, 19 May 2003 07:00:34 +0000 (07:00 +0000)]
2003-05-18  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h: Remove definition of g_switch_value.

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

19 years ago2003-05-19 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 19 May 2003 06:59:23 +0000 (06:59 +0000)]
2003-05-19  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/DirectByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/FileLockImpl.java
(isValid): Reformatted.
* java/nio/Buffer.java
(Buffer): Fixed off-by-one bug in handling mark.
* java/nio/ByteBuffer.java:
Added newline.
* java/nio/CharBuffer.java
(toString): Don't use relative get to get string data.

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

19 years ago * flags.h (g_switch_value): Change to an unsigned
kraai [Mon, 19 May 2003 00:31:10 +0000 (00:31 +0000)]
* flags.h (g_switch_value): Change to an unsigned
HOST_WIDE_INT.
* toplev.c (g_switch_value): Likewise.

* config/alpha/alpha.c (small_symbolic_operand): Remove
g_switch_value cast.
(alpha_in_small_data_p): Cast size to an unsigned
HOST_WIDE_INT.

* config/frv/frv.c (frv_in_small_data_p): Cast size to an
unsigned HOST_WIDE_INT.
* config/frv/frv.h (g_switch_value, g_switch_set): Remove.
(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Declare g_switch_set.

* config/m32r/m32r.c (m32r_in_small_data_p): Cast size to an
unsigned HOST_WIDE_INT.
(m32r_asm_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED.
* config/m32r/m32r.h (g_switch_value, g_switch_set): Remove.
(ASM_OUTPUT_ALIGNED_COMMON): Declare g_switch_value.

* config/rs6000/rs6000.c (rs6000_file_start): Use
HOST_WIDE_INT_PRINT_UNSIGNED.
(small_data_operand): Cast summand to unsigned HOST_WIDE_INT.
(rs6000_elf_in_small_data_p): Cast size to unsigned
HOST_WIDE_INT.
* config/rs6000/sysv4.h (g_switch_value, g_switch_set):
Remove.
(SUBTARGET_OVERRIDE_OPTIONS): Declare g_switch_value and
g_switch_set.
(ASM_OUTPUT_ALIGNED_LOCAL): Declare g_switch_value and remove
g_switch_value cast.

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

19 years agoDaily bump.
gccadmin [Mon, 19 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago PR middle-end/10472
sayle [Sun, 18 May 2003 22:50:29 +0000 (22:50 +0000)]
PR middle-end/10472
* builtins.c (expand_builtin_memcpy):  Call force_operand on
expressions and use simplify_gen_binary to create the addition.

* gcc.c-torture/compile/20030518-1.c: New test case.

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

19 years ago * config/m68k/m68k.md: Use define_constants for unspec numbers.
schwab [Sun, 18 May 2003 21:51:14 +0000 (21:51 +0000)]
* config/m68k/m68k.md: Use define_constants for unspec numbers.

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

19 years ago * config/sparc/sparc.h: Define sparc for now.
neil [Sun, 18 May 2003 20:02:36 +0000 (20:02 +0000)]
* config/sparc/sparc.h: Define sparc for now.

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

19 years ago * lib/gcc-dg.exp (gcc-dg-debug-runtest): Add opt_opts parameter.
mmitchel [Sun, 18 May 2003 18:59:56 +0000 (18:59 +0000)]
* lib/gcc-dg.exp (gcc-dg-debug-runtest): Add opt_opts parameter.
* gcc.dg/debug/debug.exp: Pass opt_opts parameter to
gcc-dg-debug-runtest.
* g++.dg/debug/debug.exp: Pass opt_opts parameter to
gcc-dg-debug-runtest.

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

19 years ago2003-05-18 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Sun, 18 May 2003 18:59:04 +0000 (18:59 +0000)]
2003-05-18  Nathanael Nerode  <neroden@gcc.gnu.org>

* gcc_release: GNU CC -> GCC.

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

19 years ago * config.gcc: Clear xm_file, md_file at the beginning of each pass.
neroden [Sun, 18 May 2003 18:44:46 +0000 (18:44 +0000)]
* config.gcc: Clear xm_file, md_file at the beginning of each pass.

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

19 years ago * config/stormy16/stormy16.h: Remove about 3000 lines of
neroden [Sun, 18 May 2003 16:05:33 +0000 (16:05 +0000)]
* config/stormy16/stormy16.h: Remove about 3000 lines of
target-independent comments.  Update copyright notice.

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

19 years ago * doc/collect2.texi: GNU CC -> GCC.
neroden [Sun, 18 May 2003 15:52:25 +0000 (15:52 +0000)]
* doc/collect2.texi: GNU CC -> GCC.
* doc/headerdirs.texi: GNU CC -> GCC.

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

19 years ago<top level>
neroden [Sun, 18 May 2003 15:43:44 +0000 (15:43 +0000)]
<top level>
* configure.in: Switch more things to use maybe dependencies.
Rearrange a little.  Use GCC_TOPLEV_SUBDIRS.
* configure: Regenerate.
* Makefile.tpl: Switch more things to use maybe dependencies.
* Makefile.in: Regenerate.

<config>
* config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD,
_GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET,
GCC_TOPLEV_SUBDIRS.

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

19 years ago2003-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 18 May 2003 14:20:23 +0000 (14:20 +0000)]
2003-05-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* intdoc.in: Fix documentation of IDATE.
* intdoc.texi: Regenerate.
* news.texi: Update due to also fixing it in 3.3.1.

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

19 years ago * hashtable.h (struct ht_identifier): Add data member "hash_value".
gdr [Sun, 18 May 2003 13:40:54 +0000 (13:40 +0000)]
* hashtable.h (struct ht_identifier): Add data member "hash_value".
* hashtable.c (ht_lookup): Use it when searching, remember.
(ht_expand): Do not recompute.
* tree.h (IDENTIFIER_HASH_VALUE): New macro.

cp/
* cp-tree.h (struct lang_type_class): Replace data member tags
with hash-table nested_udts.
(CLASSTYPE_NESTED_UTDS): Rename from CLASSTYPE_TAGS.
* class.c (unreverse_member_declarations): Don't touch
CLASSTYPE_TAGS.
(pushclass): Use cxx_remember_type_decls.
* decl.c (struct cp_binding_level): Replace data member tags with
hash-table type_decls.
(pop_binding_level): Handle level->type_decls.
(kept_level_p): Adjust.
(poplevel): Remove unused local variable.
(bt_print_entry): New function.
(print_binding_level): Use it.
(push_namespace): Build current_binding_level->type_decls.
(maybe_process_template_type_declaration): Adjust.
(pushtag): Likewise.
(clear_anon_tags): Use binding_table_remove_anonymous_types.
(gettags): Remove.
(cxx_remember_type_decls):  Rename from storetags.  Adjust.
(lookup_tag): Use binding_table_find_anon_type.  Tidy.
(lookup_tag_reverse): Use binding_table_reverse_maybe_remap.
(cxx_init_decl_processing): Build global_binding_level->type_decls.
(store_parm_decls): Remove pointless code.
* name-lookup.c (free_binding_entry): New variable.
(ENTRY_INDEX): New macro.
(struct binding_table_s): New datatype.
(binding_entry_make): New function.
(binding_entry_free): Likewise.
(binding_table_construct): Likewise.
(binding_table_free): Likewise.
(binding_table_new): Likewise.
(binding_table_expand): Likewise.
(binding_table_insert): Likewise.
(binding_table_find): Likewise.
(binding_table_find_anon_type): Likewise.
(binding_table_reverse_maybe_remap): Likewise.
(binding_table_remove_anonymous_types): Likewise.
(binding_table_foreach): Likewise.
* name-lookup.h (binding_table): New type.
(binding_entry): Likewise.
(bt_foreach_proc): Likewise.
(struct binding_entry_s): New datatype.
(SCOPE_DEFAULT_HT_SIZE): New macro.
(CLASS_SCOPE_HT_SIZE): Likewise.
(NAMESPACE_ORDINARY_HT_SIZE): Likewise.
(NAMESPACE_STD_HT_SIZE): Likewise.
(GLOBAL_SCOPE_HT_SIZE): Likewise.
(binding_table_new): Declare.
(binding_table_free): Likewise.
(binding_table_insert): Likewise.
(binding_table_find_anon_type): Likewise.
(binding_table_reverse_maybe_remap): Likewise.
(binding_table_remove_anonymous_types): Likewise.
(binding_table_foreach): Likewise.
(binding_table_find): Likewise.
(cxx_remember_type_decls): Likewise.
* pt.c (bt_instantiate_type_proc): New function.
(do_type_instantiation): Use it.
* search.c (lookup_field_r): Use binding_table_find.

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

19 years ago PR c++/9022
lerdsuwa [Sun, 18 May 2003 11:21:27 +0000 (11:21 +0000)]
PR c++/9022
* g++.dg/lookup/using6.C: New test.

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

19 years ago * gcov-io.c (gcov_read_bytes): Fix fread thinko.
nathan [Sun, 18 May 2003 11:17:38 +0000 (11:17 +0000)]
* gcov-io.c (gcov_read_bytes): Fix fread thinko.

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

19 years ago * c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
neil [Sun, 18 May 2003 09:46:23 +0000 (09:46 +0000)]
* c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
Default here.
(c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS().
* defaults.h: Don't default TARGET_OS_CPP_BUILTINS here.
* config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__.
* config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h,
config/arm/linux-elf.h, config/arm/rtems-elf.h,
config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h,
config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h,
config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h,
config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h,
config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h,
config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h,
config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h,
config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h,
config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h,
config/sparc/openbsd64.h, config/sparc/sp64-elf.h,
config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h:
Don't define __ELF__.
* config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS):
Define __ELF__.
* doc/cpp.texi: Document __ELF__.
* doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS.

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

19 years ago * semantics.c (perform_deferred_access_checks): Don't discard
lerdsuwa [Sun, 18 May 2003 09:42:12 +0000 (09:42 +0000)]
* semantics.c (perform_deferred_access_checks): Don't discard
checked access.

* g++.dg/parse/access2.C: New test.

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

19 years agoDaily bump.
gccadmin [Sun, 18 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

19 years agogcc:
ghazi [Sat, 17 May 2003 22:21:35 +0000 (22:21 +0000)]
gcc:
* builtins.c (validate_arglist): Eliminate libiberty VA_ macros,
always use stdarg.
* c-errors.c (pedwarn_c99): Likewise.
* c-format.c (status_warning): Likewise.
* c-semantics.c (build_stmt): Likewise.
* calls.c (emit_library_call, emit_library_call_value): Likewise.
* collect2.c (notice, fatal_perror, fatal, error): Likewise.
* cpperror.c (cpp_error, cpp_error_with_line): Likewise.
* diagnostic.c (build_message_string, output_printf,
output_verbatim, verbatim, inform, warning, pedwarn, error, sorry,
fatal_error, internal_error, warning_with_decl, pedwarn_with_decl,
error_with_decl, fnotice): Likewise.
* dwarf2asm.c (dw2_asm_output_data, dw2_asm_output_delta,
dw2_asm_output_offset, dw2_asm_output_pcrel, dw2_asm_output_addr,
dw2_asm_output_addr_rtx, dw2_asm_output_nstring,
dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128,
dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128,
dw2_asm_output_encoded_addr_rtx): Likewise.
* emit-rtl.c (gen_rtx, gen_rtvec): Likewise.
* errors.c (warning, error, fatal, internal_error): Likewise.
* final.c (output_operand_lossage, asm_fprintf): Likewise.
* fix-header.c (fatal): Likewise.
* gcc.c (fatal, error, notice): Likewise.
* gcov.c (fnotice): Likewise.
* genattrtab.c (attr_rtx, attr_printf): Likewise.
* gengtype.c (error_at_line, xasprintf, oprintf): Likewise.
* gensupport.c (message_with_line): Likewise.
* mips-tfile.c (fatal, error): Likewise.
* protoize.c (notice): Likewise.
* ra-debug.c (ra_debug_msg): Likewise.
* read-rtl.c (fatal_with_file_and_line): Likewise.
* rtl-error.c (error_for_asm, warning_for_asm): Likewise.
* tree.c (build, build_nt, build_function_type_list): Likewise.

cp:
* error.c (cp_error_at, cp_warning_at, cp_pedwarn_at): Eliminate
libiberty VA_ macros, always use stdarg.
* rtti.c (create_pseudo_type_info): Likewise.
* tree.c (build_min_nt, build_min): Likewise.

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

19 years ago * lib/gcc-dg.exp (gcc-dg-debug-runtest): New method.
mmitchel [Sat, 17 May 2003 22:17:40 +0000 (22:17 +0000)]
* lib/gcc-dg.exp (gcc-dg-debug-runtest): New method.
* g++.dg/debug/debug.exp: Use gcc-dg-debug-runtest.
* gcc.dg/debug/debug.exp: Likewise.

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

19 years ago * defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
neil [Sat, 17 May 2003 21:59:25 +0000 (21:59 +0000)]
* defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
* gcc.c (cpp_predefines): Remove.
(cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES.
(static_specs): Remove predefines.
* system.h: Poison CPP_PREDEFINES.
* config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h,
config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES.

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

19 years ago * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h,
neil [Sat, 17 May 2003 21:57:38 +0000 (21:57 +0000)]
* config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h,
config/m68k/m68k.h, config/m68k/m68kemb.h, config/m68k/m68kv4.h,
config/m68k/openbsd.h, config/m68k/rtemself.h: Remove CPP_PREDEFINES,
use TARGET_OS_CPP_BUILTINS and TARGET_CPU_CPP_BUILTINS instead.

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

19 years agoAdd PR 9209 reference
neil [Sat, 17 May 2003 20:33:00 +0000 (20:33 +0000)]
Add PR 9209 reference

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

19 years ago * c-common.c, c-common.h (dollars_in_ident): Remove.
neil [Sat, 17 May 2003 20:29:34 +0000 (20:29 +0000)]
* c-common.c, c-common.h (dollars_in_ident): Remove.
* c-opts.c (DOLLARS_IN_IDENTIFIERS): Default to true.
(c_common_init_options, c_common_decode_option): Set dollars_in_ident.
* cpphash.h (warned_dollar): Rename warn_dollars.
* cppinit.c (struct lang_flags, lang_defaults, cpp_set_lang)
Permit dollars regardless of -std=.
(post_options): Set warn_dollars.
* cpplex.c (forms_identifier_p): Use warn_dollars.
* config/darwin.h, config/alpha/vms.h, config/m68hc11/m68hc11.h:
Remove redundant definitions of DOLLARS_IN_IDENTIFIERS.
* doc/cpp.texi, doc/cppopts.texi, doc/invoke.texi, doc/tm.texi:
Update documentation.
testsuite:
* gcc.dg/dollar.c: New test.

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

19 years ago * config/m68k/m68k.c (m68k_output_function_prologue): Use
schwab [Sat, 17 May 2003 20:04:09 +0000 (20:04 +0000)]
* config/m68k/m68k.c (m68k_output_function_prologue): Use
HOST_WIDE_INT_PRINT_DEC for fprintf and %wd for asm_fprintf when
formatting a HOST_WIDE_INT.
(m68k_output_function_epilogue): Likewise.

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

19 years ago * doc/install.texi: Remove information about desupported targets.
zack [Sat, 17 May 2003 19:42:04 +0000 (19:42 +0000)]
* doc/install.texi: Remove information about desupported targets.

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

19 years ago2003-05-17 Andreas Schwab <schwab@suse.de>
schwab [Sat, 17 May 2003 18:20:55 +0000 (18:20 +0000)]
2003-05-17  Andreas Schwab  <schwab@suse.de>

* config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board.
* config/m68k/linux.h: Likewise.
* config/m68k/m68k-none.h: Likewise.
* config/m68k/netbsd-elf.h: Likewise.
* config/m68k/sgs.h: Likewise.
* config/m68k/m68k.h: Likewise.
* config/m68k/m68k.md: Likewise.
* config/m68k/m68k.c: Likewise.
* doc/md.texi (Machine Constraints): Remove Sun FPA specific
constraints.
* doc/invoke.texi (Option Summary): Remove -mfpa.
(M680x0 Options): Likewise.

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

19 years ago * rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic.
dje [Sat, 17 May 2003 16:57:17 +0000 (16:57 +0000)]
* rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic.

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

19 years ago * config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
neil [Sat, 17 May 2003 13:47:44 +0000 (13:47 +0000)]
* config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
* config/sparc/liteelf.h, config/sparc/openbsd64.h,
config/sparc/rtemself.h, config/sparc/sol2-64.h,
config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h:
Update for use of TARGET_SUB_OS_CPP_BUILTINS.

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

19 years ago * i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and
neil [Sat, 17 May 2003 07:37:44 +0000 (07:37 +0000)]
* i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and
TARGET_CPU_CPP_BUILTINS in preference to CPP_PREDEFINES.

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

19 years ago * config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h.
neil [Sat, 17 May 2003 07:19:56 +0000 (07:19 +0000)]
* config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h.
* sparc/aout.h, sparc/elf.h, sparc/freebsd.h, sparc/linux.h,
sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, sparc/liteelf.h,
sparc/netbsd-elf.h, sparc/openbsd.h, sparc/openbsd64.h,
sparc/pbd.h, sparc/rtemself.h, sparc/sol2-64.h, sparc/sol2-bi.h,
sparc/sol2.h, sparc/sp64-elf.h, sparc/sp86-elf.h, sparc/sparc.h,
sparc/sysv4.h,
* sparc/sysv4-only.h: New.

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

19 years ago * function.c (assign_parms): Check for zero size args.
amodra [Sat, 17 May 2003 06:52:35 +0000 (06:52 +0000)]
* function.c (assign_parms): Check for zero size args.

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

19 years agogcc:
ghazi [Sat, 17 May 2003 01:40:45 +0000 (01:40 +0000)]
gcc:
* cfgloopanal.c (test_for_iteration): Use string concatentation on
HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
function calls into one.
* dbxout.c (dbxout_symbol): Likewise.
* defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise.
* dwarf2asm.c (dw2_asm_output_data_uleb128,
dw2_asm_output_data_sleb128): Likewise.
* genrecog.c (debug_decision_2): Likewise.
* loop.c (emit_prefetch_instructions): Likewise.
* print-rtl.c (print_rtx): Likewise.
* print-tree.c (print_node_brief, print_node): Likewise.
* ra-debug.c (dump_igraph, dump_graph_cost,
dump_static_insn_cost): Likewise.
* ra-rewrite.c (dump_cost): Likewise.
* sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
* sreal.c (dump_sreal): Likewise.
* unroll.c (unroll_loop, precondition_loop_p): Likewise.
* varasm.c (assemble_vtable_entry): Likewise.

cp:
* ptree.c (cxx_print_type, cxx_print_xnode): Use string
concatentation on HOST_WIDE_INT_PRINT_* format specifier to
collapse multiple function calls into one.
* tree.c (debug_binfo): Likewise.

java:
* parse.y (print_int_node): Use string concatentation on
HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
function calls into one.

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

19 years agoDaily bump.
gccadmin [Sat, 17 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
geoffk [Fri, 16 May 2003 23:45:42 +0000 (23:45 +0000)]
* config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
and ! TARGET_STRING cases.

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

19 years ago * avr.c (avr_output_function_prologue,
ghazi [Fri, 16 May 2003 23:41:12 +0000 (23:41 +0000)]
* avr.c (avr_output_function_prologue,
avr_output_function_epilogue, print_operand): Fix format specifier
warnings.
(init_cumulative_args): Mark parameter with ATTRIBUTE_UNUSED.
* avr.h (FUNCTION_VALUE_REGNO_P): Fix signed/unsigned warnings.

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

19 years ago * doc/cppopts.texi (-undef): Fix texinfo warning.
geoffk [Fri, 16 May 2003 23:38:42 +0000 (23:38 +0000)]
* doc/cppopts.texi (-undef): Fix texinfo warning.

* doc/cppopts.texi (-H): Document that -H works for PCH files too.
* cppfiles.c (validate_pch): When -H is used, print some information
about PCH files found.

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

19 years ago2003-05-16 Janis Johnson <janis187@us.ibm.com>
janis [Fri, 16 May 2003 23:01:38 +0000 (23:01 +0000)]
2003-05-16  Janis Johnson  <janis187@us.ibm.com>

* gcc.dg/compat/struct-by-value-4_main.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-4_x.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-4_y.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-5_main.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-5_x.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-5_y.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-6_main.c: New file.
* gcc.dg/compat/struct-by-value-6_x.c: New file.
* gcc.dg/compat/struct-by-value-6_y.c: New file.
* gcc.dg/compat/struct-by-value-7_main.c: New file.
* gcc.dg/compat/struct-by-value-7_x.c: New file.
* gcc.dg/compat/struct-by-value-7_y.c: New file.
* gcc.dg/compat/struct-by-value-8_main.c: New file.
* gcc.dg/compat/struct-by-value-8_x.c: New file.
* gcc.dg/compat/struct-by-value-8_y.c: New file.
* gcc.dg/compat/struct-by-value-9_main.c: New file.
* gcc.dg/compat/struct-by-value-9_x.c: New file.
* gcc.dg/compat/struct-by-value-9_y.c: New file.

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

19 years ago * config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h.
kenner [Fri, 16 May 2003 22:51:14 +0000 (22:51 +0000)]
* config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h.
* config/mips/t-isa3264, config/mips/t-r3900: Likewise.
* config/mips/t-sr71k: Likewise.

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

19 years ago * arc.c (arc_output_function_prologue,
ghazi [Fri, 16 May 2003 22:46:41 +0000 (22:46 +0000)]
* arc.c (arc_output_function_prologue,
arc_output_function_epilogue): Fix format specifier warnings.
* arc.h (LARGE_INT): Fix signed/unsigned warnings.

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

19 years ago * v850.c (print_operand): Fix format specifier warnings.
ghazi [Fri, 16 May 2003 22:39:21 +0000 (22:39 +0000)]
* v850.c (print_operand): Fix format specifier warnings.

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

19 years ago * ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
ghazi [Fri, 16 May 2003 22:23:13 +0000 (22:23 +0000)]
* ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
specifier warnings.

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

19 years ago * mcore.c (mcore_print_operand_address, mcore_print_operand): Fix
ghazi [Fri, 16 May 2003 22:15:14 +0000 (22:15 +0000)]
* mcore.c (mcore_print_operand_address, mcore_print_operand): Fix
format specifier warnings.

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

19 years ago * configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
jakub [Fri, 16 May 2003 22:09:22 +0000 (22:09 +0000)]
* configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
should be read-only.
* configure: Rebuilt.
* fficonfig.h.in: Rebuilt.
* include/ffi.h.in (EH_FRAME_FLAGS): Define.
* src/alpha/osf.S: Use EH_FRAME_FLAGS.
* src/powerpc/linux64.S: Likewise.
* src/powerpc/linux64_closure.S: Likewise.  Include ffi.h.
* src/powerpc/sysv.S: Use EH_FRAME_FLAGS.  Use pcrel encoding
if -fpic/-fPIC/-mrelocatable.
* src/powerpc/powerpc_closure.S: Likewise.
* src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include
#write in .eh_frame flags.
* src/sparc/v9.S: Likewise.
* src/x86/unix64.S: Use EH_FRAME_FLAGS.
* src/x86/sysv.S: Likewise.  Use pcrel encoding if -fpic/-fPIC.
* src/s390/sysv.S: Use EH_FRAME_FLAGS.  Include ffi.h.

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

19 years ago * ip2k.c (function_prologue, function_epilogue, print_operand):
ghazi [Fri, 16 May 2003 22:05:08 +0000 (22:05 +0000)]
* ip2k.c (function_prologue, function_epilogue, print_operand):
Fix format specifier warnings.
* ip2k.md: Likewise.

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

19 years ago * i960.c (i960_output_function_prologue, i960_print_operand,
ghazi [Fri, 16 May 2003 21:51:24 +0000 (21:51 +0000)]
* i960.c (i960_output_function_prologue, i960_print_operand,
i960_print_operand_addr): Fix format specifier warnings.

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

19 years ago * i370.c (ascebc, ebcasc): Wrap in macros controlling usage.
ghazi [Fri, 16 May 2003 21:31:37 +0000 (21:31 +0000)]
* i370.c (ascebc, ebcasc): Wrap in macros controlling usage.
(i370_output_function_prologue): Fix format specifier warnings.
* i370.h (PRINT_OPERAND): Likewise.

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

19 years ago * fr30.c (fr30_print_operand): Fix format specifier warnings.
ghazi [Fri, 16 May 2003 21:03:04 +0000 (21:03 +0000)]
* fr30.c (fr30_print_operand): Fix format specifier warnings.

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

19 years ago * dsp16xx.c (print_operand_address): Fix format specifier warning.
ghazi [Fri, 16 May 2003 20:57:04 +0000 (20:57 +0000)]
* dsp16xx.c (print_operand_address): Fix format specifier warning.
* dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.

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

19 years ago * lib/gcc-dg.exp (gcc-dg-test): Rename to ...
mmitchel [Fri, 16 May 2003 20:53:04 +0000 (20:53 +0000)]
* lib/gcc-dg.exp (gcc-dg-test): Rename to ...
(gcc-dg-test-1): ... this.  Add target_compile parameter.  Add
support for "repo" mode.
* lib/g++-dg.exp: Use gcc-dg.exp to implement all functionality.
* lib/g77-dg.exp: Likewise.
* lib/obj-dg.exp: Likewise.

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