gcc.git
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

25 years agoclass.c (push_lang_context): Turn off DECL_IGNORED_P for primitive Java types, if...
Per Bothner [Thu, 13 May 1999 15:42:58 +0000 (08:42 -0700)]
class.c (push_lang_context): Turn off DECL_IGNORED_P for primitive Java types, if we actually see `extern "C"'.


* class.c (push_lang_context):  Turn off DECL_IGNORED_P for
primitive Java types, if we actually see `extern "C"'.

From-SVN: r26928

25 years agoclass.c (push_lang_context): Turn off DECL_IGNORED_P for primitive Java types, if...
Per Bothner [Thu, 13 May 1999 15:42:53 +0000 (08:42 -0700)]
class.c (push_lang_context): Turn off DECL_IGNORED_P for primitive Java types, if we actually see `extern "C"'.

h
* class.c (push_lang_context):  Turn off DECL_IGNORED_P for
primitive Java types, if we actually see `extern "C"'.

From-SVN: r26927

25 years agocheck-init.c (check_init): Removed code accepting to see things falling through defau...
Alexandre Petit-Bianco [Thu, 13 May 1999 14:33:37 +0000 (14:33 +0000)]
check-init.c (check_init): Removed code accepting to see things falling through default:, when doing xrefs.

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.

From-SVN: r26926

25 years agors6000.c (mask_constant): Delete.
David Edelsohn [Thu, 13 May 1999 12:38:44 +0000 (12:38 +0000)]
rs6000.c (mask_constant): Delete.

* 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.

From-SVN: r26925

25 years agogjavah.c (print_include): Cast the result of `strlen' to int when comparing against...
Kaveh R. 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.

        * gjavah.c (print_include): Cast the result of `strlen' to int
        when comparing against a signed value.
        (add_namelet): Likewise.

From-SVN: r26924

25 years ago* gcc.dg/noreturn-1.c: New test.
Kaveh R. Ghazi [Thu, 13 May 1999 09:18:43 +0000 (09:18 +0000)]
* gcc.dg/noreturn-1.c: New test.

From-SVN: r26923

25 years ago* cpp.texi: Fix some typos.
Jeffrey A Law [Thu, 13 May 1999 01:25:49 +0000 (01:25 +0000)]
* cpp.texi: Fix some typos.

From-SVN: r26922

25 years ago* tmpnam.c (L_tmpnam): Fix typo.
Michael Hayes [Thu, 13 May 1999 01:23:42 +0000 (01:23 +0000)]
* tmpnam.c (L_tmpnam): Fix typo.

From-SVN: r26921

25 years ago* gcc.dg/990513-1.c: New test.
Franz Sirl [Thu, 13 May 1999 01:08:10 +0000 (01:08 +0000)]
* gcc.dg/990513-1.c: New test.

From-SVN: r26920

25 years ago* gcc.c-torture/execute/990513-1.c: New test.
Andreas Schwab [Thu, 13 May 1999 01:03:24 +0000 (01:03 +0000)]
* gcc.c-torture/execute/990513-1.c: New test.

From-SVN: r26919

25 years agoloop.c (maybe_eliminate_biv): Check regno against max_reg_before_loop.
Graham Stott [Thu, 13 May 1999 00:57:05 +0000 (18:57 -0600)]
loop.c (maybe_eliminate_biv): Check regno against max_reg_before_loop.

        * loop.c (maybe_eliminate_biv): Check regno against
        max_reg_before_loop.

From-SVN: r26918

25 years agoi386.c (memory_address_info): Correct the scale factor test.
Graham Stott [Thu, 13 May 1999 00:51:03 +0000 (18:51 -0600)]
i386.c (memory_address_info): Correct the scale factor test.

        * i386.c (memory_address_info): Correct the scale
        factor test.

From-SVN: r26917

25 years agoFix typo.
Jeff Law [Thu, 13 May 1999 00:47:11 +0000 (18:47 -0600)]
Fix typo.

From-SVN: r26916

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

From-SVN: r26915

25 years agoarm.md (nop): Backout Apr 27 change.
Nick Burrett [Thu, 13 May 1999 00:38:09 +0000 (00:38 +0000)]
arm.md (nop): Backout Apr 27 change.

        * arm.md (nop): Backout Apr 27 change. Ensure REGISTER_PREFIX is
        applied to each register.
        * aof.h (ASM_FILE_START): Define register `r0'.

From-SVN: r26914

25 years agoTighten target test to avoid false errors on aix.
Jeff Law [Thu, 13 May 1999 00:26:52 +0000 (18:26 -0600)]
Tighten target test to avoid false errors on aix.

From-SVN: r26913

25 years agocplus-dem.c (standard_symbol_characters): Renamed from standard_symbol_alphabet.
Marc Espie [Thu, 13 May 1999 00:24:18 +0000 (00:24 +0000)]
cplus-dem.c (standard_symbol_characters): Renamed from standard_symbol_alphabet.

        * cplus-dem.c (standard_symbol_characters): Renamed from
        standard_symbol_alphabet.  No longer modify TABLE.
        (hp_symbol_characters): Renamed from hp_symbol_alphabet.  No longer
        modify TABLE.
        (main): Corresponding changes.  Use strchr to determine if a
        character is valid.

From-SVN: r26912

25 years agoupdate derived files
Craig Burley [Wed, 12 May 1999 20:56:21 +0000 (16:56 -0400)]
update derived files

From-SVN: r26911

25 years agoCalendar.java (set): First call computeFields if needed.
Per Bothner [Wed, 12 May 1999 18:01:31 +0000 (11:01 -0700)]
Calendar.java (set): First call computeFields if needed.

x
* java/util/Calendar.java (set):  First call computeFields if needed.
* java/util/natGregorianCalendar.cc (computeTime):  Cast 1000 to jlong.

From-SVN: r26910

25 years agoCalendar.java (set): First call computeFields if needed.
Per Bothner [Wed, 12 May 1999 18:01:29 +0000 (11:01 -0700)]
Calendar.java (set): First call computeFields if needed.

d
* java/util/Calendar.java (set):  First call computeFields if needed.
* java/util/natGregorianCalendar.cc (computeTime):  Cast 1000 to jlong.

From-SVN: r26909