platform/upstream/gcc.git
25 years agoprims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW added.
Andrew Haley [Thu, 20 May 1999 08:26:55 +0000 (08:26 +0000)]
prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW added.

1999-05-20  Andrew Haley  <aph@cygnus.com>
        * libjava/prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW
        added.
        * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): New macro.
        (INIT_FPE): Exception string made more informative.
        * include/sparc-signal.h (INIT_FPE): Exception string made more
        informative.
        * testsuite/libjava.lang/Divide_1.java: New file.
        * testsuite/libjava.lang/Divide_1.out: New file.

From-SVN: r27056

25 years agoA fix for one breaks another :( - do not ignore SIGCLD!
Bruce Korb [Thu, 20 May 1999 08:19:05 +0000 (08:19 +0000)]
A fix for one breaks another :( - do not ignore SIGCLD!

From-SVN: r27055

25 years agostatic initialization removal & K&R-ification
Alexandre Oliva [Thu, 20 May 1999 07:10:41 +0000 (07:10 +0000)]
static initialization removal & K&R-ification

From-SVN: r27052

25 years agolibchill, libf2c, libobjc:
Jeff Law [Thu, 20 May 1999 02:27:28 +0000 (20:27 -0600)]
libchill, libf2c, libobjc:

        * configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.
libio, libstdc++
        * configure.in: Test for ${compiler_name}.exe as well.

From-SVN: r27050

25 years agodbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use asm_fprintf and %L to generate the...
Andreas Schwab [Thu, 20 May 1999 01:54:28 +0000 (01:54 +0000)]
dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use asm_fprintf and %L to generate the label name.

        * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
        asm_fprintf and %L to generate the label name.
        * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
        (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.

From-SVN: r27048

25 years agoDaily bump.
Jeff Law [Thu, 20 May 1999 00:52:36 +0000 (18:52 -0600)]
Daily bump.

From-SVN: r27046

25 years agojump.c (can_reverse_comparison_p): Do not abort if the comparison insn for a conditio...
Jeff Law [Thu, 20 May 1999 00:41:26 +0000 (18:41 -0600)]
jump.c (can_reverse_comparison_p): Do not abort if the comparison insn for a conditional jump can not be found.

p
        * jump.c (can_reverse_comparison_p): Do not abort if the comparison
        insn for a conditional jump can not be found.

From-SVN: r27043

25 years agojump.c (can_reverse_comparison_p): Do not abort if the comparison insn for a conditio...
Jeff Law [Thu, 20 May 1999 00:41:24 +0000 (18:41 -0600)]
jump.c (can_reverse_comparison_p): Do not abort if the comparison insn for a conditional jump can not be found.


        * jump.c (can_reverse_comparison_p): Do not abort if the comparison
        insn for a conditional jump can not be found.

From-SVN: r27042

25 years agomips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations on variables in specifi...
Jeff Law [Wed, 19 May 1999 23:06:13 +0000 (17:06 -0600)]
mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations on variables in specific sections other than...

x
        * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
        on variables in specific sections other than .sbss and .sdata.

From-SVN: r27038

25 years agomips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations on variables in specifi...
Jeff Law [Wed, 19 May 1999 23:06:09 +0000 (17:06 -0600)]
mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations on variables in specific sections other than...


        * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
        on variables in specific sections other than .sbss and .sdata.

From-SVN: r27037

25 years ago* pt.c (build_template_decl): Copy DECL_NONCONVERTING_P.
Mark Mitchell [Wed, 19 May 1999 20:01:04 +0000 (20:01 +0000)]
* pt.c (build_template_decl): Copy DECL_NONCONVERTING_P.

From-SVN: r27034

25 years agoaclocal.m4, configure: Rebuilt.
Tom Tromey [Wed, 19 May 1999 12:55:15 +0000 (12:55 +0000)]
aclocal.m4, configure: Rebuilt.

* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (version): New variable; pass to AM_INIT_AUTOMAKE.

From-SVN: r27033

25 years agoGZIPOutputStream.java (write(byte[])): New method.
Tom Tromey [Wed, 19 May 1999 12:35:06 +0000 (12:35 +0000)]
GZIPOutputStream.java (write(byte[])): New method.

* java/util/zip/GZIPOutputStream.java (write(byte[])): New
method.

From-SVN: r27031

25 years agoWarning fixes:
Kaveh R. Ghazi [Wed, 19 May 1999 11:30:30 +0000 (11:30 +0000)]
Warning fixes:

        * class.c (build_utf8_ref): Initialize variable `field'.
        * decl.c (init_decl_processing): Initialize variable `field'.
        * expr.c (build_known_method_ref): Mark parameters `method_type',
        `method_signature' and `arg_list' with ATTRIBUTE_UNUSED.
        (process_jvm_instruction): Likewise for parameter `length'.
        * jvspec.c (lang_specific_driver): Mark variables `saw_math',
        `saw_libc', `saw_gc', `saw_threadlib' and `saw_libgcj' with
        ATTRIBUTE_UNUSED.
        * parse.y (maybe_generate_clinit): Remove unused variable
        `has_non_primitive_fields'.
        (find_in_imports_on_demand): Initialize variables `node_to_use'
        and `cl'.
        (patch_binop): Likewise for variable `prom_type'.
        (patch_unaryop): Likewise for variable `prom_type'.
        * verify.c (verify_jvm_instructions): Likewise for variable `last'.
        * xref.c (xref_table): Add missing initializer.

From-SVN: r27030

25 years agodecl2.c (start_static_storage_duration_function): Fix comment.
Mark Mitchell [Wed, 19 May 1999 11:24:18 +0000 (11:24 +0000)]
decl2.c (start_static_storage_duration_function): Fix comment.

* decl2.c (start_static_storage_duration_function): Fix comment.
(finish_file): Create static storage duration functions lazily.

From-SVN: r27029

25 years agonatInflater.cc (inflate): Cast `len' to unsigned.
Tom Tromey [Wed, 19 May 1999 11:03:36 +0000 (11:03 +0000)]
natInflater.cc (inflate): Cast `len' to unsigned.

* java/util/zip/natInflater.cc (inflate): Cast `len' to unsigned.
Include <stdlib.h>.
* java/util/zip/natDeflater.cc (deflate): Cast `len' to unsigned.
Include <stdlib.h>.
(update): Fail in default case.  Always initialize `strat'.

From-SVN: r27028

25 years agoImplement anonymous structs.
Jason Merrill [Wed, 19 May 1999 10:44:22 +0000 (10:44 +0000)]
Implement anonymous structs.

* cp-tree.h (ANON_AGGR_TYPE_P): Rename from ANON_UNION_TYPE_P.
* class.c, decl.c, decl2.c, init.c, pt.c, search.c, typeck.c: Adjust.
* class.c (finish_struct_1): Remove redundant check for anon struct.
* decl.c (fixup_anonymous_aggr): Renamed from fixup_anonymous_union.
(check_tag_decl): Check for anonymous struct here.
* decl2.c (build_anon_union_vars): Catch anon struct at file scope.
* init.c (sort_member_init, emit_base_init): Handle getting fields
as well as names in current_member_init_list.
(perform_member_init): Handle getting an anon aggr.
* method.c (do_build_assign_ref): Don't descend into anon aggrs.
(do_build_copy_constructor): Likewise.

From-SVN: r27027

25 years agonew
Jason Merrill [Wed, 19 May 1999 10:41:46 +0000 (06:41 -0400)]
new

From-SVN: r27026

25 years ago* mauve-libgcj: Enable java.util.zip.
Tom Tromey [Wed, 19 May 1999 09:26:17 +0000 (09:26 +0000)]
* mauve-libgcj: Enable java.util.zip.

From-SVN: r27025

25 years agoKandR-ification of fixincl.x
Bruce Korb [Wed, 19 May 1999 08:37:57 +0000 (08:37 +0000)]
KandR-ification of fixincl.x

From-SVN: r27024

25 years agoShazam.java: New file.
Anthony Green [Wed, 19 May 1999 06:53:20 +0000 (06:53 +0000)]
Shazam.java: New file.

* libjava.lang/Shazam.java: New file.
libjava.lang/Shazam.out: New file.

From-SVN: r27022

25 years agotree.c (cp_build_qualified_type): Don't allow qualified function types.
Mark Mitchell [Wed, 19 May 1999 04:32:46 +0000 (04:32 +0000)]
tree.c (cp_build_qualified_type): Don't allow qualified function types.

* tree.c (cp_build_qualified_type): Don't allow qualified function
types.

From-SVN: r27021

25 years agostmt.c (expand_return): Call start_cleanup_deferral and end_cleanup_deferral around...
Mark Mitchell [Wed, 19 May 1999 03:54:49 +0000 (03:54 +0000)]
stmt.c (expand_return): Call start_cleanup_deferral and end_cleanup_deferral around conditional code.

* stmt.c (expand_return): Call start_cleanup_deferral and
end_cleanup_deferral around conditional code.

From-SVN: r27018

25 years agofixincl.tpl: Avoid depending on ANSI C features for filename lists.
Bruce Korb [Wed, 19 May 1999 02:15:03 +0000 (20:15 -0600)]
fixincl.tpl: Avoid depending on ANSI C features for filename lists.

p
        * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
        filename lists.
        * fixinc/fixincl.x: Rebuilt.

From-SVN: r27017

25 years agofixincl.tpl: Avoid depending on ANSI C features for filename lists.
Bruce Korb [Wed, 19 May 1999 02:14:51 +0000 (20:14 -0600)]
fixincl.tpl: Avoid depending on ANSI C features for filename lists.


        * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
        filename lists.
        * fixinc/fixincl.x: Rebuilt.

From-SVN: r27016

25 years ago990519-1.c: New test.
Raja R Harinath [Wed, 19 May 1999 02:01:52 +0000 (20:01 -0600)]
990519-1.c: New test.

X
        * gcc.c-torture/compile/990519-1.c: New test.

From-SVN: r27011

25 years ago990519-1.c: New test.
Raja R Harinath [Wed, 19 May 1999 02:01:50 +0000 (20:01 -0600)]
990519-1.c: New test.


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

From-SVN: r27010

25 years agoAvoid version # duplication.
Jeff Law [Wed, 19 May 1999 01:58:23 +0000 (19:58 -0600)]
Avoid version # duplication.

From-SVN: r27009

25 years ago* gxxint.texi: Fix typo.
Arvind Sankar [Wed, 19 May 1999 01:56:41 +0000 (01:56 +0000)]
* gxxint.texi: Fix typo.

From-SVN: r27006

25 years ago* i386.c (output_float_compare): Avoid GNU-C extensions.
Jan Hubicka [Wed, 19 May 1999 01:54:03 +0000 (03:54 +0200)]
* i386.c (output_float_compare): Avoid GNU-C extensions.

From-SVN: r27005

25 years agocall.c (find_scoped_type, [...]): Lose.
Jason Merrill [Wed, 19 May 1999 00:48:10 +0000 (00:48 +0000)]
call.c (find_scoped_type, [...]): Lose.

* call.c (find_scoped_type, resolve_scope_to_name): Lose.
* class.c (finish_struct_1): Use CLASS_TYPE_P.
* ptree.c (print_lang_type): Likewise.
* typeck.c (build_modify_expr, c_expand_asm_operands): Use
IS_AGGR_TYPE_CODE.
* typeck2.c (digest_init): Likewise.

From-SVN: r27001

25 years agoversion.c: Bump to distinguish mainline tree from the gcc-2.95 branch.
Jeff Law [Tue, 18 May 1999 23:55:18 +0000 (17:55 -0600)]
version.c: Bump to distinguish mainline tree from the gcc-2.95 branch.

        * version.c: Bump to distinguish mainline tree from the
        gcc-2.95 branch.
Also rotate the ChangeLog file.

From-SVN: r27000

25 years agocall.c (joust): Compare the types of the conv ops, not the target types of the conver...
Jason Merrill [Tue, 18 May 1999 22:03:25 +0000 (22:03 +0000)]
call.c (joust): Compare the types of the conv ops, not the target types of the conversions.

* call.c (joust): Compare the types of the conv ops, not the
target types of the conversions.

From-SVN: r26999

25 years agonew
Jason Merrill [Tue, 18 May 1999 18:15:08 +0000 (14:15 -0400)]
new

From-SVN: r26998

25 years agoMakefile.am (ordinary_java_source_files): Added DatagramPacket.java...
Warren Levy [Tue, 18 May 1999 18:02:01 +0000 (18:02 +0000)]
Makefile.am (ordinary_java_source_files): Added DatagramPacket.java...

* Makefile.am (ordinary_java_source_files): Added DatagramPacket.java,
DatagramSocket.java, DatagramSocketImpl.java, MulticastSocket.java,
PlainDatagramSocketImpl.java, and SocketOptions.java.
(nat_source_files): Added natPlainDatagramSocketImpl.cc.
* Makefile.in: Rebuilt.
* java/net/DatagramPacket.java: New file.
* java/net/DatagramSocket.java: New file.
* java/net/DatagramSocketImpl.java: New file.
* java/net/MulticastSocket.java: New file.
* java/net/PlainDatagramSocketImpl.java: New file.
* java/net/SocketOptions.java: New file.
* java/net/natPlainDatagramSocketImpl.cc: New file.

From-SVN: r26997

25 years agoZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION.
Tom Tromey [Tue, 18 May 1999 15:33:03 +0000 (15:33 +0000)]
ZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION.

* java/util/zip/ZipOutputStream.java (level): Initial value is
Deflater.DEFAULT_COMPRESSION.
(close): New method.
(closeEntry): Likewise.
(finish): Likewise.
(put_version): Likewise.
(write_entry): Likewise.
(put2, put4): Now return `int'.
(comment): Default to empty string.
(bytes_written): New instance variable.
(chain): Likewise.
* java/util/zip/ZipEntry.java (setComment): Limit length of
comment string.
(setCrc): Check CRC validity.
(setExtra): Check argument validity.
(setMethod): Likewise.
(setSize): Likewise.
(ZipEntry): Likewise.
* include/javaprims.h: Updated namespace declarations.
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Mention new files.
(nat_source_files): Likewise.
* java/util/zip/ZipFile.java (readu2): Throw ZipException, not
EOFException.
(read4): Likewise.
(getInputStream): Handle compressed entries.
* java/util/zip/GZIPOutputStream.java: New file.
* java/util/zip/GZIPInputStream.java: New file.
* java/util/zip/DataFormatException.java: New file.
* java/util/zip/CheckedInputStream.java: New file.
* java/util/zip/CheckedOutputStream.java: New file.
* java/util/zip/InflaterInputStream.java: Implemented.
* java/util/zip/natInflater.cc: New file.
* java/util/zip/Deflater.java: Implemented.
* java/util/zip/natDeflater.cc: New file.
* java/util/zip/DeflaterOutputStream.java: Implemented.
* java/util/zip/ZipInputStream.java (closeZipEntry): Throw
ZipException, not IOException.
* java/util/zip/ZipFile.java (readDirectory): Throw ZipException,
not IOException.

From-SVN: r26996

25 years agojava-except.h (struct eh_range): Removed unused `next' member.
Tom Tromey [Tue, 18 May 1999 15:03:26 +0000 (15:03 +0000)]
java-except.h (struct eh_range): Removed unused `next' member.

* java-except.h (struct eh_range): Removed unused `next' member.
* verify.c (verify_jvm_instructions): Call check_nested_ranges
after adding all exception handlers.  Sort exception ranges in
order of start PC.
(struct pc_index): New structure.
(start_pc_cmp): New function.
* except.c (add_handler): Return `void'.  Don't call link_handler;
instead construct an ordinary linked list and do range
coalescing.
(check_nested_ranges): New function.
(link_handler): Changed interface to allow merging of eh_ranges.
Split overlapping ranges.  Return `void'.

From-SVN: r26995

25 years agoimprove open-coding of complex divide, use new method in g77
Craig Burley [Tue, 18 May 1999 01:05:14 +0000 (01:05 +0000)]
improve open-coding of complex divide, use new method in g77

From-SVN: r26993

25 years agoDaily bump.
Jeff Law [Tue, 18 May 1999 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26992

25 years agoconfigure.in (arm*-*-netbsd*): Use collect2.
Krister Walfridsson [Mon, 17 May 1999 23:58:15 +0000 (01:58 +0200)]
configure.in (arm*-*-netbsd*): Use collect2.

        * configure.in (arm*-*-netbsd*): Use collect2.
        (i[34567]86-*-netbsd*): Likewise.
        (m68k*-*-netbsd*): Likewise.
        (ns32k-*-netbsd*): Likewise.
        (sparc-*-netbsd*): Likewise.
        (vax-*-netbsd*): Likewise.
        * configure: Rebuilt.

From-SVN: r26991

25 years agocppspec.c: Insert -no-gcc into command line unless -gcc was given by user.
Zack Weinberg [Mon, 17 May 1999 23:37:19 +0000 (23:37 +0000)]
cppspec.c: Insert -no-gcc into command line unless -gcc was given by user.

        * cppspec.c: Insert -no-gcc into command line unless -gcc was
        given by user.
        * gcc.c (default_compilers): Define __GNUC__ and
        __GNUC_MINOR__ only if -no-gcc was not given.
        * objc/lang-specs.h: Likewise.
        * cpp.texi: Document -x and -std options; explain that -lang
        is no longer supported.  Minor related corrections.

From-SVN: r26990

25 years agolang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
Zack Weinberg [Mon, 17 May 1999 23:35:15 +0000 (17:35 -0600)]
lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.

X
        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26989

25 years agolang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
Zack Weinberg [Mon, 17 May 1999 23:35:13 +0000 (17:35 -0600)]
lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.


        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26988

25 years agoFix ChangeLog entry.
Zack Weinberg [Mon, 17 May 1999 23:34:11 +0000 (17:34 -0600)]
Fix ChangeLog entry.

From-SVN: r26987

25 years agolang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
Zack Weinberg [Mon, 17 May 1999 23:33:05 +0000 (17:33 -0600)]
lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.

P
        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26986

25 years agolang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
Zack Weinberg [Mon, 17 May 1999 23:33:04 +0000 (17:33 -0600)]
lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.


        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26985

25 years agolang-specs.h: Define __GNU_CC and __GNUC_MINOR__ only if -no-gcc was not given.
Zack Weinberg [Mon, 17 May 1999 23:28:09 +0000 (17:28 -0600)]
lang-specs.h: Define __GNU_CC and __GNUC_MINOR__ only if -no-gcc was not given.

        * lang-specs.h: Define __GNU_CC and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26984

25 years agoMakefile.in (stmp-fixproto): Pass location of mkinstalldirs to fixproto.
Alexandre Oliva [Mon, 17 May 1999 23:07:40 +0000 (23:07 +0000)]
Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to fixproto.

        * Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to
        fixproto.
        * fixproto: Avoid unportable constructs such as `basename' and
        `mkdir -p'.  Use mkinstalldirs from the environment if `mkdir -p'
        fails.

From-SVN: r26983

25 years agostl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for Linux.
Mark Kettenis [Mon, 17 May 1999 23:03:48 +0000 (23:03 +0000)]
stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for Linux.

        * stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for
        Linux.

From-SVN: r26982

25 years ago* fixinc/fixincl.c: Remove #error, it is not portable.
Alexandre Oliva [Mon, 17 May 1999 23:02:28 +0000 (23:02 +0000)]
* fixinc/fixincl.c: Remove #error, it is not portable.

From-SVN: r26981

25 years ago* libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.
Mark Kettenis [Mon, 17 May 1999 22:58:56 +0000 (22:58 +0000)]
* libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.

From-SVN: r26980

25 years ago* collect2.c (main): Fix typo in COLLECT2_HOST_INITIALIZATION.
Marc Espie [Mon, 17 May 1999 22:56:24 +0000 (22:56 +0000)]
* collect2.c (main):  Fix typo in COLLECT2_HOST_INITIALIZATION.

From-SVN: r26979

25 years agoparse.y (constructor_block_end:): New rule, tagged <node>.
Alexandre Petit-Bianco [Mon, 17 May 1999 19:33:13 +0000 (19:33 +0000)]
parse.y (constructor_block_end:): New rule, tagged <node>.

Mon May 17 19:20:24 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (constructor_block_end:): New rule, tagged <node>.
        (constructor_body:): Use `constructor_block_end' instead of
        `block_end'.

From-SVN: r26978

25 years agoparse.y (statement_nsi:): Pop `for' statement block.
Alexandre Petit-Bianco [Mon, 17 May 1999 18:32:30 +0000 (11:32 -0700)]
parse.y (statement_nsi:): Pop `for' statement block.

Mon May 17 18:01:40 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (statement_nsi:): Pop `for' statement block.
(java_complete_lhs): Labelled blocks containing no statement are
  marked as completing normally.
(Part of the previous check-in, where the generated parse.c was
forgotten.)

From-SVN: r26977

25 years agoparse.y (statement_nsi:): Pop `for' statement block.
Alexandre Petit-Bianco [Mon, 17 May 1999 18:09:15 +0000 (18:09 +0000)]
parse.y (statement_nsi:): Pop `for' statement block.

Mon May 17 18:01:40 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (statement_nsi:): Pop `for' statement block.
(java_complete_lhs): Labelled blocks containing no statement are
  marked as completing normally.

From-SVN: r26976

25 years agocp-tree.def (TEMPLATE_ID_EXPR): Update documentation.
Mark Mitchell [Mon, 17 May 1999 16:07:39 +0000 (16:07 +0000)]
cp-tree.def (TEMPLATE_ID_EXPR): Update documentation.

* cp-tree.def (TEMPLATE_ID_EXPR): Update documentation.
* decl.c (grokfndecl): Don't allow inline declarations of friend
template specializations, or friend template specializations with
default arguments.
* pt.c (tsubst): Handle substitution into array types that does
not yield a fixed upper bound, even when not processing a
template.
(tsubst_copy): Deal with the fact that the second operand to a
TEMPLATE_ID_EXPR may be NULL_TREE, a TREE_LIST, or a TREE_VEC.
* search.c (marked_pushdecls_p): Don't descend into
TEMPLATE_TYPE_PARMs and the like.
(unmarked_pushdecls_p): Likewise.

From-SVN: r26975

25 years agonatSystem.cc (init_properties): URL now points to sourceware.
Tom Tromey [Mon, 17 May 1999 13:24:59 +0000 (13:24 +0000)]
natSystem.cc (init_properties): URL now points to sourceware.

* java/lang/natSystem.cc (init_properties): URL now points to
sourceware.

From-SVN: r26974

25 years agoRemoved no-op pipe
Rainer Orth [Mon, 17 May 1999 12:41:23 +0000 (12:41 +0000)]
Removed no-op pipe

From-SVN: r26973

25 years agoWait for children from chain_open()
Rainer Orth [Mon, 17 May 1999 12:39:19 +0000 (12:39 +0000)]
Wait for children from chain_open()

From-SVN: r26972

25 years agonew
Jason Merrill [Mon, 17 May 1999 10:16:04 +0000 (06:16 -0400)]
new

From-SVN: r26971

25 years agocall.c (build_over_call): Don't throw away initializations/copies of empty classes...
Mark Mitchell [Mon, 17 May 1999 07:42:26 +0000 (07:42 +0000)]
call.c (build_over_call): Don't throw away initializations/copies of empty classes...

* call.c (build_over_call): Don't throw away
initializations/copies of empty classes; use MODIFY_EXPR and
INIT_EXPR as for non-empty classes.
* class.c (finish_struct_1): Put the padding byte for an empty
class on the TYPE_NONCOPIED_PARTS list for the class.

From-SVN: r26970

25 years agotree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match reality.
Mark Mitchell [Mon, 17 May 1999 07:21:14 +0000 (07:21 +0000)]
tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match reality.

* tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match
        reality.
        * expr.c (init_noncopied_parts): Don't generate initializers for
        parts that don't need them.

From-SVN: r26969

25 years agoBump for snapshot
Jeffrey A Law [Mon, 17 May 1999 02:56:48 +0000 (20:56 -0600)]
Bump for snapshot

From-SVN: r26967

25 years ago* stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48.
Mumit Khan [Mon, 17 May 1999 02:33:37 +0000 (02:33 +0000)]
* stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48.

From-SVN: r26966

25 years agoreg-stack.c: Do not emit pop insns after cc0 setter.
Jan Hubicka [Mon, 17 May 1999 02:31:35 +0000 (04:31 +0200)]
reg-stack.c: Do not emit pop insns after cc0 setter.

        * reg-stack.c: Do not emit pop insns after cc0 setter.
        (emit_pop_insn): Do not emit insn in case WHEN is NULL.
        (compare_for_stack_reg): Update REG_DEAD note and
        do not emit push insn.
        * i386.c: (output_float_compare): Handle new REG_DEAD notes.

From-SVN: r26965

25 years agom68k.c (standard_68881_constant_p): Don't accept -0.0 as valid 68881 constant.
Andreas Schwab [Mon, 17 May 1999 01:49:19 +0000 (01:49 +0000)]
m68k.c (standard_68881_constant_p): Don't accept -0.0 as valid 68881 constant.

        * m68k.c (standard_68881_constant_p): Don't accept -0.0 as valid
        68881 constant.

From-SVN: r26964

25 years ago* gcc.c-torture/compile/990517-1.c: New test.
Andreas Schwab [Mon, 17 May 1999 01:47:29 +0000 (01:47 +0000)]
* gcc.c-torture/compile/990517-1.c: New test.

From-SVN: r26963

25 years agofold-const.c (fold_truthop): When converting a one-bit comparison don't sign extend...
Andreas Schwab [Mon, 17 May 1999 01:24:24 +0000 (19:24 -0600)]
fold-const.c (fold_truthop): When converting a one-bit comparison don't sign extend the constant.

        * fold-const.c (fold_truthop): When converting a one-bit
        comparison don't sign extend the constant.

From-SVN: r26962

25 years ago990326-1.c: Force bitfields to be aligned.
Andreas Schwab [Mon, 17 May 1999 01:18:59 +0000 (01:18 +0000)]
990326-1.c: Force bitfields to be aligned.

        * execute/990326-1.c: Force bitfields to be aligned.
        (e4, f4): New tests.
        (main): Call them.

From-SVN: r26961

25 years agoDaily bump.
Jeff Law [Mon, 17 May 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26960

25 years agocplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance the *mangled pointer...
Stu Grossman [Mon, 17 May 1999 00:44:09 +0000 (00:44 +0000)]
cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance the *mangled pointer beyond the end of the string.

        * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
        the *mangled pointer beyond the end of the string.  Clean up code to
        match prevailing coding style.

From-SVN: r26959

25 years agocse.c (cse_insn): Copy SRC_CONST before putting it in the REG_EQUAL note.
Andreas Schwab [Mon, 17 May 1999 00:36:36 +0000 (00:36 +0000)]
cse.c (cse_insn): Copy SRC_CONST before putting it in the REG_EQUAL note.

        * cse.c (cse_insn): Copy SRC_CONST before putting it in the
        REG_EQUAL note.

From-SVN: r26958

25 years ago* vxppc.h (CPP_SPEC): Fix support for vararg functions.
Mike Stump [Mon, 17 May 1999 00:30:56 +0000 (00:30 +0000)]
* vxppc.h (CPP_SPEC): Fix support for vararg functions.

From-SVN: r26957

25 years agodecl2.c (build_expr_from_tree): Handle COMPONENT_REFs that indicate a reference to...
Mark Mitchell [Sun, 16 May 1999 23:46:40 +0000 (23:46 +0000)]
decl2.c (build_expr_from_tree): Handle COMPONENT_REFs that indicate a reference to a field that is a qualified name.

* decl2.c (build_expr_from_tree): Handle COMPONENT_REFs that
indicate a reference to a field that is a qualified name.

From-SVN: r26956

25 years agorevert
Jason Merrill [Sun, 16 May 1999 20:59:39 +0000 (16:59 -0400)]
revert

From-SVN: r26955

25 years agoand another one
Jason Merrill [Sun, 16 May 1999 20:52:10 +0000 (16:52 -0400)]
and another one

From-SVN: r26954

25 years ago* init.c (build_new_1): suspend_momentary while calculating size.
Jason Merrill [Sun, 16 May 1999 20:48:42 +0000 (20:48 +0000)]
* init.c (build_new_1): suspend_momentary while calculating size.

From-SVN: r26953

25 years agodecl2.c (finish_objects): Don't use .?tors.* if we don't have ASM_OUTPUT_CONSTRUCTOR.
Jason Merrill [Sun, 16 May 1999 20:40:00 +0000 (16:40 -0400)]
decl2.c (finish_objects): Don't use .?tors.* if we don't have ASM_OUTPUT_CONSTRUCTOR.

* decl2.c (finish_objects): Don't use .?tors.* if we don't have
ASM_OUTPUT_CONSTRUCTOR.
* friend.c (do_friend): Add attrlist arg.  Remove support for
getting a non-decl as 'decl'.
* decl.c (grokfndecl): Remove attrlist arg.  Don't set attrs or
rtl.
(grokdeclarator): Adjust.
* cp-tree.h: Adjust.
* parse.y (direct_new_declarator): Make the first one a
nonmomentary_expr, too.
* init.c (build_new): suspend_momentary while we're calculating
the size.
(build_new_1): Don't copy size.

From-SVN: r26952

25 years agocp-tree.h (permanent_p): New function.
Mark Mitchell [Sun, 16 May 1999 19:31:51 +0000 (19:31 +0000)]
cp-tree.h (permanent_p): New function.

* cp-tree.h (permanent_p): New function.
* init.c (build_new_1): Use mapcar, not copy_node, to copy a
possibly complex tree node.
* tree.c (mapcar): Adjust comments, and follow coding standards in
conditional.
(permanent_p): New function.

From-SVN: r26951

25 years agoDaily bump.
Jeff Law [Sun, 16 May 1999 00:45:04 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26950

25 years agoupdate derived files
Craig Burley [Sat, 15 May 1999 18:19:39 +0000 (14:19 -0400)]
update derived files

From-SVN: r26949

25 years agofix INTEGER*8 subscripts, add -fflatten-arrays
Craig Burley [Sat, 15 May 1999 15:46:16 +0000 (15:46 +0000)]
fix INTEGER*8 subscripts, add -fflatten-arrays

From-SVN: r26948

25 years agohackshell.tpl: Fix mis-applied patch.
Jeffrey A Law [Sat, 15 May 1999 13:29:36 +0000 (13:29 +0000)]
hackshell.tpl: Fix mis-applied patch.

        * fixinc/hackshell.tpl: Fix mis-applied patch.
        * fixinc/inclhack.sh: Regenerated.

From-SVN: r26947

25 years agomkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of targets that do not need any...
Mark Kettenis [Sat, 15 May 1999 02:21:35 +0000 (20:21 -0600)]
mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of targets that do not need any fixes.

P
* fixinc/mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of
targets that do not need any fixes.

From-SVN: r26946

25 years agomkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of targets that do not need any...
Mark Kettenis [Sat, 15 May 1999 02:21:32 +0000 (20:21 -0600)]
mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of targets that do not need any fixes.


* fixinc/mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of
targets that do not need any fixes.

From-SVN: r26945

25 years agoDelete accidentally duplicated test
Jeff Law [Sat, 15 May 1999 02:17:31 +0000 (20:17 -0600)]
Delete accidentally duplicated test

From-SVN: r26944

25 years agoAdd Stu
Jeff Law [Sat, 15 May 1999 02:15:03 +0000 (20:15 -0600)]
Add Stu

From-SVN: r26943

25 years agoconfigure.in: Add shared library support for the Hurd (*-*-gnu*).
Mark Kettenis [Sat, 15 May 1999 02:06:37 +0000 (02:06 +0000)]
configure.in: Add shared library support for the Hurd (*-*-gnu*).

        * configure.in: Add shared library support for the Hurd
        (*-*-gnu*).
        * config/gnu.ml: New file.

From-SVN: r26942

25 years agoDaily bump.
Jeff Law [Sat, 15 May 1999 00:45:04 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26941

25 years agoc4x.md (set_lo_sum+2): New splitter to load large const_ints.
Michael Hayes [Fri, 14 May 1999 19:19:30 +0000 (19:19 +0000)]
c4x.md (set_lo_sum+2): New splitter to load large const_ints.

* config/c4x/c4x.md (set_lo_sum+2): New splitter to load large
const_ints.

From-SVN: r26940

25 years agoc4x.md (decrement_and_branch_on_count): Disabled.
Michael Hayes [Fri, 14 May 1999 19:16:36 +0000 (19:16 +0000)]
c4x.md (decrement_and_branch_on_count): Disabled.

* config/c4x/c4x.md (decrement_and_branch_on_count): Disabled.
(doloop_begin, doloop_end): New patterns.
(*rptb_init): Added extra operands.

From-SVN: r26939

25 years agoFix previous patch.
Michael Hayes [Fri, 14 May 1999 15:53:47 +0000 (15:53 +0000)]
Fix previous patch.

From-SVN: r26938

25 years agoc4x.md (*umulqi3_highpart_clobber): Fix operand 2 constraints order.
Michael Hayes [Fri, 14 May 1999 15:46:05 +0000 (15:46 +0000)]
c4x.md (*umulqi3_highpart_clobber): Fix operand 2 constraints order.


* config/c4x/c4x.md (*umulqi3_highpart_clobber): Fix operand 2
  constraints order.

From-SVN: r26937

25 years agoc4x.md (*umulqi3_highpart_clobber): Fix operand 2 constraints order.
Michael Hayes [Fri, 14 May 1999 15:46:02 +0000 (15:46 +0000)]
c4x.md (*umulqi3_highpart_clobber): Fix operand 2 constraints order.

X
* config/c4x/c4x.md (*umulqi3_highpart_clobber): Fix operand 2
  constraints order.

From-SVN: r26936

25 years ago[multiple changes]
Alexandre Petit-Bianco [Fri, 14 May 1999 13:44:11 +0000 (13:44 +0000)]
[multiple changes]

Fri May 14 12:31:08 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* xref.c (xref_set_current_fp): New function, defined.
* xref.h (xref_set_current_fp): New function, prototyped.
Fri May 14 11:57:54 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* check-init.c (check_init): Take into account that
  LABELED_BLOCK_STMT can be empty.

From-SVN: r26935

25 years agoUpdate.
Ulrich Drepper [Fri, 14 May 1999 13:34:09 +0000 (13:34 +0000)]
Update.

From-SVN: r26934

25 years ago(FD_ZERO): Fix operand numbers in asm input operands.
Ulrich Drepper [Fri, 14 May 1999 13:33:17 +0000 (13:33 +0000)]
(FD_ZERO): Fix operand numbers in asm input operands.

From-SVN: r26933

25 years agoDaily bump.
Jeff Law [Fri, 14 May 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26932

25 years agoparse.y (java_check_regular_methods): Warning check on not overriding methods with...
Alexandre Petit-Bianco [Thu, 13 May 1999 19:01:19 +0000 (19:01 +0000)]
parse.y (java_check_regular_methods): Warning check on not overriding methods with default access in other packages...

Thu May 13 18:30:48 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (java_check_regular_methods): Warning check on not
  overriding methods with default access in other packages does not
  apply to `<clinit>'.
(java_complete_lhs): If block body is an empty_stmt_node, replace
  it by NULL_TREE. This avoid gcc generating an irrelevant warning.

From-SVN: r26930

25 years agoFix typo.
Per Bothner [Thu, 13 May 1999 15:45:03 +0000 (08:45 -0700)]
Fix typo.

From-SVN: r26929