tromey [Wed, 19 May 1999 11:03:36 +0000 (11:03 +0000)]
* 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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27028
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27027
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 19 May 1999 10:41:46 +0000 (10:41 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27026
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 May 1999 09:26:17 +0000 (09:26 +0000)]
* mauve-libgcj: Enable java.util.zip.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27025
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Wed, 19 May 1999 08:37:57 +0000 (08:37 +0000)]
KandR-ification of fixincl.x
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27024
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Wed, 19 May 1999 06:53:20 +0000 (06:53 +0000)]
* libjava.lang/Shazam.java: New file.
libjava.lang/Shazam.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27022
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 19 May 1999 04:32:46 +0000 (04:32 +0000)]
* tree.c (cp_build_qualified_type): Don't allow qualified function
types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27021
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27018
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 02:15:03 +0000 (02:15 +0000)]
p
* fixinc/fixincl.tpl: Avoid depending on ANSI C features for
filename lists.
* fixinc/fixincl.x: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27017
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 02:14:51 +0000 (02:14 +0000)]
�
* fixinc/fixincl.tpl: Avoid depending on ANSI C features for
filename lists.
* fixinc/fixincl.x: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27016
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 02:01:52 +0000 (02:01 +0000)]
X
* gcc.c-torture/compile/990519-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27011
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 02:01:50 +0000 (02:01 +0000)]
�
* gcc.c-torture/compile/990519-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27010
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 01:58:23 +0000 (01:58 +0000)]
Avoid version # duplication.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27009
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 01:56:41 +0000 (01:56 +0000)]
* gxxint.texi: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27006
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 01:54:03 +0000 (01:54 +0000)]
* i386.c (output_float_compare): Avoid GNU-C extensions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27005
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 19 May 1999 00:48:10 +0000 (00:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27001
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 18 May 1999 23:55:18 +0000 (23:55 +0000)]
* version.c: Bump to distinguish mainline tree from the
gcc-2.95 branch.
Also rotate the ChangeLog file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27000
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26999
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 18 May 1999 18:15:08 +0000 (18:15 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26998
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Tue, 18 May 1999 18:02:01 +0000 (18:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26997
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 May 1999 15:33:03 +0000 (15:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26996
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 May 1999 15:03:26 +0000 (15:03 +0000)]
* 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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26995
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Tue, 18 May 1999 01:05:14 +0000 (01:05 +0000)]
improve open-coding of complex divide, use new method in g77
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26993
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 18 May 1999 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26992
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:58:15 +0000 (23:58 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26991
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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.
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26990
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:35:15 +0000 (23:35 +0000)]
X
* lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26989
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:35:13 +0000 (23:35 +0000)]
�
* lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26988
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:34:11 +0000 (23:34 +0000)]
Fix ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26987
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:33:05 +0000 (23:33 +0000)]
P
* lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26986
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:33:04 +0000 (23:33 +0000)]
�
* lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26985
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:28:09 +0000 (23:28 +0000)]
* lang-specs.h: Define __GNU_CC and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26984
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:07:40 +0000 (23:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26983
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:03:48 +0000 (23:03 +0000)]
* stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for
Linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26982
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:02:28 +0000 (23:02 +0000)]
* fixinc/fixincl.c: Remove #error, it is not portable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26981
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 22:58:56 +0000 (22:58 +0000)]
* libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26980
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 22:56:24 +0000 (22:56 +0000)]
* collect2.c (main): Fix typo in COLLECT2_HOST_INITIALIZATION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26979
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 17 May 1999 19:33:13 +0000 (19:33 +0000)]
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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26978
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 17 May 1999 18:32:30 +0000 (18:32 +0000)]
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.)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26977
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 17 May 1999 18:09:15 +0000 (18:09 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26976
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 17 May 1999 16:07:39 +0000 (16:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26975
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 17 May 1999 13:24:59 +0000 (13:24 +0000)]
* java/lang/natSystem.cc (init_properties): URL now points to
sourceware.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26974
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Mon, 17 May 1999 12:41:23 +0000 (12:41 +0000)]
Removed no-op pipe
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26973
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Mon, 17 May 1999 12:39:19 +0000 (12:39 +0000)]
Wait for children from chain_open()
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26972
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 17 May 1999 10:16:04 +0000 (10:16 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26971
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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; 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26970
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 17 May 1999 07:21:14 +0000 (07:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26969
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 02:56:48 +0000 (02:56 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26967
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 02:33:37 +0000 (02:33 +0000)]
* stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26966
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 02:31:35 +0000 (02:31 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26965
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26964
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 01:47:29 +0000 (01:47 +0000)]
* gcc.c-torture/compile/990517-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26963
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 01:24:24 +0000 (01:24 +0000)]
* fold-const.c (fold_truthop): When converting a one-bit
comparison don't sign extend the constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26962
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 01:18:59 +0000 (01:18 +0000)]
* execute/990326-1.c: Force bitfields to be aligned.
(e4, f4): New tests.
(main): Call them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26961
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26960
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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. Clean up code to
match prevailing coding style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26959
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26958
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 00:30:56 +0000 (00:30 +0000)]
* vxppc.h (CPP_SPEC): Fix support for vararg functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26957
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26956
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 16 May 1999 20:59:39 +0000 (20:59 +0000)]
revert
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26955
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 16 May 1999 20:52:10 +0000 (20:52 +0000)]
and another one
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26954
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 16 May 1999 20:48:42 +0000 (20:48 +0000)]
* init.c (build_new_1): suspend_momentary while calculating size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26953
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 16 May 1999 20:40:00 +0000 (20:40 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26952
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 16 May 1999 19:31:51 +0000 (19:31 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26951
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 16 May 1999 00:45:04 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26950
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Sat, 15 May 1999 18:19:39 +0000 (18:19 +0000)]
update derived files
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26949
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Sat, 15 May 1999 15:46:16 +0000 (15:46 +0000)]
fix INTEGER*8 subscripts, add -fflatten-arrays
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26948
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 15 May 1999 13:29:36 +0000 (13:29 +0000)]
* fixinc/hackshell.tpl: Fix mis-applied patch.
* fixinc/inclhack.sh: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26947
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 15 May 1999 02:21:35 +0000 (02:21 +0000)]
P
* fixinc/mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of
targets that do not need any fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26946
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 15 May 1999 02:21:32 +0000 (02:21 +0000)]
�
* fixinc/mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of
targets that do not need any fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26945
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 15 May 1999 02:17:31 +0000 (02:17 +0000)]
Delete accidentally duplicated test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26944
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 15 May 1999 02:15:03 +0000 (02:15 +0000)]
Add Stu
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26943
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 15 May 1999 02:06:37 +0000 (02:06 +0000)]
* configure.in: Add shared library support for the Hurd
(*-*-gnu*).
* config/gnu.ml: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26942
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 15 May 1999 00:45:04 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26941
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 14 May 1999 19:19:30 +0000 (19:19 +0000)]
* config/c4x/c4x.md (set_lo_sum+2): New splitter to load large
const_ints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26940
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 14 May 1999 19:16:36 +0000 (19:16 +0000)]
* config/c4x/c4x.md (decrement_and_branch_on_count): Disabled.
(doloop_begin, doloop_end): New patterns.
(*rptb_init): Added extra operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26939
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 14 May 1999 15:53:47 +0000 (15:53 +0000)]
Fix previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26938
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 14 May 1999 15:46:05 +0000 (15:46 +0000)]
�
* config/c4x/c4x.md (*umulqi3_highpart_clobber): Fix operand 2
constraints order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26937
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 14 May 1999 15:46:02 +0000 (15:46 +0000)]
X
* config/c4x/c4x.md (*umulqi3_highpart_clobber): Fix operand 2
constraints order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26936
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Fri, 14 May 1999 13:44:11 +0000 (13:44 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26935
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Fri, 14 May 1999 13:34:09 +0000 (13:34 +0000)]
Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26934
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Fri, 14 May 1999 13:33:17 +0000 (13:33 +0000)]
(FD_ZERO): Fix operand numbers in asm input operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26933
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 14 May 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26932
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Thu, 13 May 1999 19:01:19 +0000 (19:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26930
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 13 May 1999 15:45:03 +0000 (15:45 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26929
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 13 May 1999 15:42:58 +0000 (15:42 +0000)]
�
* class.c (push_lang_context): Turn off DECL_IGNORED_P for
primitive Java types, if we actually see `extern "C"'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26928
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 13 May 1999 15:42:53 +0000 (15:42 +0000)]
h
* class.c (push_lang_context): Turn off DECL_IGNORED_P for
primitive Java types, if we actually see `extern "C"'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26927
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Thu, 13 May 1999 14:33:37 +0000 (14:33 +0000)]
Thu May 13 13:23:38 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* check-init.c (check_init): Removed code accepting to see things
falling through default:, when doing xrefs.
* java-tree.h (do_not_fold): New global variable, declared.
* parse.y (do_not_fold): New global variable, defined.
(java_complete_expand_method): Set `do_not_fold' to the value of
`flag_emit_xref'. When doing xrefs: copy the thrown exceptions,
and reinstall them after them have been purged; do not check for
initializations; do not issue missing return errors.
(java_complete_lhs): Do not attempt to patch INSTANCEOF_EXPR nodes
when doing xrefs.
(patch_binop): Skip the fold part when doing xrefs.
(build_string_concatenation): Skip the concatenation part when
doing xrefs.
(patch_synchronized_statement): Do not generate a try-finally when
doing xrefs.
(patch_throw_statement): When doing xrefs, do not call BUILD_THROW
and keep the location where the throw was seen.
* typeck.c (convert): When `do_not_fold' is set, do not attempt
any treatment on the converted node an simply return a NOP_EXPR of
the targeted type.
* xref.c (xref_get_data): New function, defined.
* xref.h (xref_get_data): New function, declared.
(XREF_GET_DATA): Use xref_get_data.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26926
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 13 May 1999 12:38:44 +0000 (12:38 +0000)]
* rs6000.c (mask_constant): Delete.
(mask_operand): Move mask_constant() body to here.
* rs6000.h (mask_constant): Delete declaration.
* rs6000.md (nabsdi2): Reverse subtraction in splitter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26925
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 13 May 1999 12:05:02 +0000 (12:05 +0000)]
* gjavah.c (print_include): Cast the result of `strlen' to int
when comparing against a signed value.
(add_namelet): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26924
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 13 May 1999 09:18:43 +0000 (09:18 +0000)]
* gcc.dg/noreturn-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26923
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 1999 01:25:49 +0000 (01:25 +0000)]
* cpp.texi: Fix some typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26922
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 1999 01:23:42 +0000 (01:23 +0000)]
* tmpnam.c (L_tmpnam): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26921
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 1999 01:08:10 +0000 (01:08 +0000)]
* gcc.dg/990513-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26920
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 1999 01:03:24 +0000 (01:03 +0000)]
* gcc.c-torture/execute/990513-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26919
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 1999 00:57:05 +0000 (00:57 +0000)]
* loop.c (maybe_eliminate_biv): Check regno against
max_reg_before_loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26918
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 1999 00:51:03 +0000 (00:51 +0000)]
* i386.c (memory_address_info): Correct the scale
factor test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26917
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 1999 00:47:11 +0000 (00:47 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26916
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 1999 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26915
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 13 May 1999 00:38:09 +0000 (00:38 +0000)]
* arm.md (nop): Backout Apr 27 change. Ensure REGISTER_PREFIX is
applied to each register.
* aof.h (ASM_FILE_START): Define register `r0'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26914
138bc75d-0d04-0410-961f-
82ee72b054a4