aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-05-18* i386.c (output_float_compare): Avoid GNU-C extensions.Jan Hubicka2-61/+113
From-SVN: r27005
1999-05-18call.c (find_scoped_type, [...]): Lose.Jason Merrill6-137/+14
* 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
1999-05-18version.c: Bump to distinguish mainline tree from the gcc-2.95 branch.Jeff Law3-15898/+15908
* version.c: Bump to distinguish mainline tree from the gcc-2.95 branch. Also rotate the ChangeLog file. From-SVN: r27000
1999-05-18call.c (joust): Compare the types of the conv ops, not the target types of ↵Jason Merrill2-2/+7
the conversions. * call.c (joust): Compare the types of the conv ops, not the target types of the conversions. From-SVN: r26999
1999-05-18newJason Merrill1-0/+18
From-SVN: r26998
1999-05-18Makefile.am (ordinary_java_source_files): Added DatagramPacket.java...Warren Levy10-5/+848
* 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
1999-05-18ZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION.Tom Tromey19-72/+1547
* 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
1999-05-18java-except.h (struct eh_range): Removed unused `next' member.Tom Tromey4-56/+191
* 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
1999-05-17improve open-coding of complex divide, use new method in g77Craig Burley7-105/+426
From-SVN: r26993
1999-05-17Daily bump.Jeff Law1-1/+1
From-SVN: r26992
1999-05-17configure.in (arm*-*-netbsd*): Use collect2.Krister Walfridsson3-92/+114
* 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
1999-05-17cppspec.c: Insert -no-gcc into command line unless -gcc was given by user.Zack Weinberg5-45/+99
* 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
1999-05-17lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.Zack Weinberg1-2/+2
X * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given. From-SVN: r26989
1999-05-17lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.Zack Weinberg1-0/+5
� * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given. From-SVN: r26988
1999-05-17Fix ChangeLog entry.Zack Weinberg1-1/+1
From-SVN: r26987
1999-05-17lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.Zack Weinberg1-1/+1
P * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given. From-SVN: r26986
1999-05-17lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.Zack Weinberg1-0/+5
� * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given. From-SVN: r26985
1999-05-17lang-specs.h: Define __GNU_CC and __GNUC_MINOR__ only if -no-gcc was not given.Zack Weinberg2-4/+11
* lang-specs.h: Define __GNU_CC and __GNUC_MINOR__ only if -no-gcc was not given. From-SVN: r26984
1999-05-17Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to fixproto.Alexandre Oliva3-5/+28
* 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
1999-05-17stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for Linux.Mark Kettenis2-8/+15
* stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for Linux. From-SVN: r26982
1999-05-17* fixinc/fixincl.c: Remove #error, it is not portable.Alexandre Oliva2-1/+5
From-SVN: r26981
1999-05-17* libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.Mark Kettenis2-6/+13
From-SVN: r26980
1999-05-17* collect2.c (main): Fix typo in COLLECT2_HOST_INITIALIZATION.Marc Espie2-2/+6
From-SVN: r26979
1999-05-17parse.y (constructor_block_end:): New rule, tagged <node>.Alexandre Petit-Bianco3-1978/+1970
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
1999-05-17parse.y (statement_nsi:): Pop `for' statement block.Alexandre Petit-Bianco1-257/+264
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
1999-05-17parse.y (statement_nsi:): Pop `for' statement block.Alexandre Petit-Bianco2-4/+14
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
1999-05-17cp-tree.def (TEMPLATE_ID_EXPR): Update documentation.Mark Mitchell6-14/+63
* 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
1999-05-17natSystem.cc (init_properties): URL now points to sourceware.Tom Tromey2-1/+6
* java/lang/natSystem.cc (init_properties): URL now points to sourceware. From-SVN: r26974
1999-05-17Removed no-op pipeRainer Orth3-2/+4
From-SVN: r26973
1999-05-17Wait for children from chain_open()Rainer Orth3-1/+15
From-SVN: r26972
1999-05-17newJason Merrill2-0/+36
From-SVN: r26971
1999-05-17call.c (build_over_call): Don't throw away initializations/copies of empty ↵Mark Mitchell4-19/+71
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
1999-05-17tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match reality.Mark Mitchell3-3/+16
* 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
1999-05-16Bump for snapshotJeffrey A Law2-1/+5
From-SVN: r26967
1999-05-16* stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48.Mumit Khan2-0/+8
From-SVN: r26966
1999-05-16reg-stack.c: Do not emit pop insns after cc0 setter.Jan Hubicka3-26/+75
* 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
1999-05-16m68k.c (standard_68881_constant_p): Don't accept -0.0 as valid 68881 constant.Andreas Schwab2-1/+6
* m68k.c (standard_68881_constant_p): Don't accept -0.0 as valid 68881 constant. From-SVN: r26964
1999-05-16* gcc.c-torture/compile/990517-1.c: New test.Andreas Schwab2-1/+33
From-SVN: r26963
1999-05-16fold-const.c (fold_truthop): When converting a one-bit comparison don't sign ↵Andreas Schwab2-15/+18
extend the constant. * fold-const.c (fold_truthop): When converting a one-bit comparison don't sign extend the constant. From-SVN: r26962
1999-05-16990326-1.c: Force bitfields to be aligned.Andreas Schwab2-13/+34
* execute/990326-1.c: Force bitfields to be aligned. (e4, f4): New tests. (main): Call them. From-SVN: r26961
1999-05-16Daily bump.Jeff Law1-1/+1
From-SVN: r26960
1999-05-16cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance the *mangled ↵Stu Grossman2-6/+14
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
1999-05-16cse.c (cse_insn): Copy SRC_CONST before putting it in the REG_EQUAL note.Andreas Schwab2-0/+8
* cse.c (cse_insn): Copy SRC_CONST before putting it in the REG_EQUAL note. From-SVN: r26958
1999-05-16* vxppc.h (CPP_SPEC): Fix support for vararg functions.Mike Stump2-12/+20
From-SVN: r26957
1999-05-16decl2.c (build_expr_from_tree): Handle COMPONENT_REFs that indicate a ↵Mark Mitchell3-4/+37
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
1999-05-16revertJason Merrill4-765/+752
From-SVN: r26955
1999-05-16and another oneJason Merrill1-0/+2
From-SVN: r26954
1999-05-16* init.c (build_new_1): suspend_momentary while calculating size.Jason Merrill2-12/+13
From-SVN: r26953
1999-05-16decl2.c (finish_objects): Don't use .?tors.* if we don't have ↵Jason Merrill8-831/+829
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
1999-05-16cp-tree.h (permanent_p): New function.Mark Mitchell4-7/+29
* 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