- 25 Sep, 2002 14 commits
-
-
* cp/class.c (contains_empty_class_p): New method. (walk_subobject_offsets): Correct computation of field offset. (layout_empty_base): Correct placement of emtpy base classes. (layout_class_type): Warn about ABI changes. * doc/invoke.texi: Add more -Wabi examples. * gcc/testsuite/g++.dg/abi/empty5.C: New test. * gcc/testsuite/g++.dg/abi/empty6.C: New test. * gcc/testsuite/g++.dg/abi/vbase12.C: New test. From-SVN: r57508
Mark Mitchell committed -
* include/std/std_limits.h (numeric_limits<unsigned char>::digits): Fix typo. From-SVN: r57507
Mark Mitchell committed -
From-SVN: r57505
Adam Megacz committed -
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.tpl: Rewrite substituted lines to look autoconfy. * Makefile.in: Regenerate. * configure.in: Rewrite sed statements to look autoconfy. From-SVN: r57503
Nathanael Nerode committed -
* gcc.c-torture/execute/ieee/20010226-1.c: Early exit for too-small long double. From-SVN: r57502
Richard Henderson committed -
* java/net/DatagramSocket.java (DatagramSocket): Initialize new instance variables. (close): Reset new instance variables. (getLocalAddress): Remove unneeded SecurityManager usage. (getLocalPort): Check if socket is already bound. (isConnected): New method. (getInetAddress): Implemented. (getPort): Better Implementation, documentation fixed. (getRemoteSocketAddress): New method. * java/net/JarURLConnection.java (element): Typo fixed. (getMainAttributes): New method. (getAttributes): New method (stub only). (getManifest): New method (stub only). * java/net/NetPermission.java: Added serialVersionsUID. * java/net/Socket.java (connect): Check blocking mode of associated channel, documentation added. (getLocalSocketAddress): Better implementation. (getRemoteSocketAddress): Implemented. (isBound): New method. (setSendBufferSize): Documentation added. * java/net/SocketAddress.java: Added serialVersionsUID. * java/net/SocketPermission.java: Added serialVersionsUID. * java/net/URL.java (URL): Wrap for shorter lines, initialize new instance variables, documentation added. (equals): Check new instance variables too. (getContent): Documentation added. (getPath): Documentation added. (getAuthority): New method. (getHost): Documentation added. (getPort): Documentation added. (getDefaultPort): New method. (getProtocol): Documentation added. (getUserInfo): Documentation added. (set): Initialize new instance variables, documentation added. * java/net/URLStreamHandler.java (setURL): New method. * java/net/natPlainDatagramSocketImpl.cc (connect): Fix exception name. (disconnect): Fix exception name. From-SVN: r57501
Michael Koch committed -
From-SVN: r57500
Nathanael Nerode committed -
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.tpl: Autogenerate *-target-* lists, dependencies of all-target-foo on configure-target-foo. * Makefile.def: Ditto. * Makefile.in: Rebuild. From-SVN: r57499
Nathanael Nerode committed -
2002-09-25 Michael Koch <konqueror@gmx.de> * java/nio/channels/spi/AbstractSelectableChannel.java: New file. * java/nio/channels/DatagramChannel.java: extends AbstractSelectableChannel * java/nio/channels/ServerSocketChannel.java: extends AbstractSelectableChannel * java/nio/channels/SocketChannel.java: extends AbstractSelectableChannel * Makefile.am (ordinary_java_source_files): java/nio/channels/spi/AbstractSelectableChannel.java added. * Makefile.in: Regenerated. This commit fixes the CVS build problems, Sorry for the trouble. From-SVN: r57497
Michael Koch committed -
From-SVN: r57496
Richard Sandiford committed -
2002-09-25 Andrew Haley <aph@redhat.com> * MAINTAINERS: Add aph@redhat.com as Java maintainer. From-SVN: r57495
Andrew Haley committed -
* java/net/DatagramSocket.java (DatagramSocket): Exception documentation added. (bind): Exception documentation added, addded SecurityManager check, added SocketAddress type check. (getSoTimeout): Check impl. (receive): Fix SecurityManager check, check impl, documentation added. (send): Check channel mode, documentation added. (connect): New method. (disconnect): Implemented. (getLocalSocketAddress): New method. (getReceiveBufferSize): Check impl. (setReuseAddress): Check impl. (getReuseAddress): Check impl. (setBroadcast): Check impl. (getBroadcast): Check impl. (setTrafficClass): Check impl, Documentation cleared. (getTrafficClass): Check impl. (getSendBufferSize): Check impl. (setReceiveBufferSize): Check impl, documentation added. (setSendBufferSize): Documentation added. (setDatagramSocketImplFactory): New method. * java/net/HttpURLConnection.java (HTTP_INTERNAL_ERROR): The correct code is 500. (HTTP_NOT_IMPLEMENTED): Added new constant. (setFollowRedirects): Documentation added. (getInstanceFollowRedirects): New method. (setInstanceFollowRedirects): New method. (setRequestMethod): Documentation added. (getResponseCode): Documentation added. (getResponseMessage): Documentation added. * java/net/JarURLConnection.java (JarURLConnection): protected since JDK 1.4. (getJarEntry): java.io.IOException to IOException, documentation added. (getJarFile): Documentation added. * java/net/ServerSocket.java (ServerSocket): Private to public, exception added. (ServerSocket): java.io.IOException to IOException, documentation added. (bind): Check socket address type, documentation added. (bind): java.io.IOException to IOException, documentation added. (accept): Documentation added. (implAccept): Check ch is not non-blocking, documentation added. (setSoTimeout): Documentation fixed. (setReceiveBufferSize): Documentation added. * java/net/Socket.java (Socket): Documentation added. (bind): Documentation added. (connect): Check socket address type, documentation added. (getRemoteSocketAddress): New method. From-SVN: r57494
Michael Koch committed -
From-SVN: r57493
GCC Administrator committed -
* java/net/DatagramPacket (DatagramPacket): Exception documentation added. (setData): Likewise. (setSocketAddress): Likewise. * java/net/DatagramSocketImpl.java (peek): Documentation addded. (peekData): Documentation addded. (send): Documentation addded. (receive): Documentation addded. (connect): New method. (disconnect): New method. (joinGroup): New abstract method. (leaveGroup): New abstract method. * java/net/InetSocketAddress.java (InetSocketAddress): Documentation added. (equals): final keyword added. (getAddress): final keyword added. (getHostName): final keyword added. (getPort): final keyword added. (hashCode): final keyword added. (isUnresolved): final keyword added. * java/net/MulticastSocket.java (MulticastSocket): Documentation added. (MulticastSocket): New method. (joinGroup): Documentation added. (joinGroup): New method. (leaveGroup): Documentation added. (leaveGroup): New method. (send): Documentation added. * java/net/NetworkInterface.java (getByName): Documentation added. (getByInetAddress): Documentation added. (getNetworkInterfaces): Documentation added. * java/net/PlainDatagramSocketImpl.java (connect): New method. (disconnect): New method. * java/net/SocketImpl.java (create): Documentation added. (shutdownInput): Convert public to protected, as it always was. (shutdownOutput): Convert public to protected, as it always was. * java/net/SocketOptions.java (whole file): Reintented. * java/net/URLClassLoader.java (URLClassLoader): SecurityManager check added, documentation added. (findResources): Documentation added. (findClass): Documentation added. (newInstance): More correct method arguments. * java/net/URLConnection.java (connect): Documentation added. (getContent): Documentation added. (getPermission): Documentation added. (getInputStream): Documentation added. (getOutputStream): Documentation added. (setDoInput): Throw correct exception, documentation added. (setDoOutput): Throw correct exception, documentation added. (setAllowUserInteraction): Throw correct exception, documentation added. (setUseCaches): Throw correct exception, documentation added. (setIfModifiedSince): Throw correct exception, documentation added. (setRequestProperty): Throw exception, documentation added. (addRequestProperty): Throw exception, documentation added. (getRequestProperty): Throw exception, documentation added. (getRequestProperties): Documentation added. (setContentHandlerFactory): Documentation added. (guessContentTypeFromName): protected to public. (setFileNameMap): Documentation added. * java/net/URLDecoder.java (URLDecoder): New method. (decode): Documentation added. (whole file): Reindented. * java/net/URLEncoder.java (encode): Documentation added. * java/net/natPlainDatagramSocketImpl.cc (connect): New method. (disconnect): New method. * javax/naming/RefAddr: (addrType): addrType was never final. (equals): Fix typo in method name. * javax/naming/BinaryRefAddr: (equals): Fix typo in method name. From-SVN: r57487
Michael Koch committed
-
- 24 Sep, 2002 12 commits
-
-
2002-09-22 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.def: New file. * Makefile.tpl: New file. * Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'. * contrib/gcc_update: Note that Makefile.in is a generated file. * configure.in: Minor rearrangement. Simplify tests. From-SVN: r57484
Nathanael Nerode committed -
* config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in cases of optimizing "add sp,w" to "inc sp". From-SVN: r57481
Denis Chertykov committed -
From-SVN: r57479
Jason Thorpe committed -
From-SVN: r57476
Adam Nemet committed -
(FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it is defined. Co-Authored-By: Nick Clifton <nickc@redhat.com> From-SVN: r57475
Adam Nemet committed -
* config/s390/s390.c (preferred_la_operand_p): New function. * config/s390/s390-protos.h (preferred_la_operand_p): Declare it. * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ... ("*la_64_cc", "*la_31_cc", splitters): ... these. ("*la_31"): Deactivate for TARGET_64BIT. ("*la_31_and", "*la_31_and_cc"): New. From-SVN: r57473
Ulrich Weigand committed -
From-SVN: r57469
Kaveh R. Ghazi committed -
* config/elfos.h: Follow spelling conventions. * config/alpha/alpha.h: Likewise. * config/arc/arc.h: Likewise. * config/arm/arm.md: Likewise. * config/avr/avr.h: Likewise. * config/cris/cris.md: Likewise. * config/d30v/d30v.h: Likewise. * config/frv/frv.c: Likewise. * config/frv/frv.h: Likewise. * config/h8300/h8300.c: Likewise. * config/h8300/h8300.h: Likewise. * config/h8300/h8300.md: Likewise. * config/i386/cygwin.h: Likewise. * config/i386/i386.h: Likewise. * config/i386/sysv3.h: Likewise. * config/i960/i960.h: Likewise. * config/ia64/ia64.h: Likewise. * config/ia64/ia64.md: Likewise. * config/ip2k/ip2k.h: Likewise. * config/m32r/m32r.h: Likewise. * config/m68k/m68k.h: Likewise. * config/m88k/m88k.h: Likewise. * config/mcore/mcore.c: Likewise. * config/mcore/mcore.h: Likewise. * config/mcore/mcore.md: Likewise. * config/mips/mips.h: Likewise. * config/mmix/mmix.h: Likewise. * config/mmix/mmix.md: Likewise. * config/ns32k/netbsd.h: Likewise. * config/ns32k/ns32k.h: Likewise. * config/ns32k/ns32k.md: Likewise. * config/pa/pa.h: Likewise. * config/romp/romp.h: Likewise. * config/rs6000/rs6000.h: Likewise. * config/rs6000/rs6000.md: Likewise. * config/sparc/sparc.h: Likewise. * config/stormy16/stormy-abi: Likewise. * config/stormy16/stormy16.h: Likewise. * config/vax/vax.h: Likewise. From-SVN: r57468
Kazu Hirata committed -
From-SVN: r57467
GCC Administrator committed -
maintainer-scripts: * update_version: Do not check in files which are unchanged. * gcc_release: Only update the version in gcc/version.c. gcc: * version.c (version_string): Now const char[]. * version.h: Update to match. gcc/ada: * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o. * Makefile.in (TOOLS_LIBS): Add ../../version.o. * gnatvsn.ads: Gnat_Version_String is now a function. * gnatvsn.adb: New file. When asked for Gnat_Version_String, copy the C version_string into a String and return it. * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb, gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb: Remove pragma Ident (Gnat_Version_String). If this was the sole use of package Gnatvsn, remove the with statement too. * gnat1drv.adb: Tweak -gnatv output. gcc/f: * Make-lang.in (g77spec.o): Don't depend on f/version.h. (f/parse.o): Depend on version.h not f/version.h. (g77version.o, f/version.o): Delete all references. * com.c (ffecom_init_0): Fix transposed array indices in bsearch test. * g77spec.c: Don't include f/version.h or refer to ffe_version_string. * parse.c: Use version_string, not ffe_version_string. * version.c, version.h: Delete files. libf2c: * libF77/Version.c: Rename junk to __LIBF77_VERSION__. Add external decls for __LIBI77_VERSION__ and __LIBU77_VERSION__. Delete __G77_LIBF77_VERSION__ (g77__fvers__): Print all three __LIB*77_VERSION__ strings, and __VERSION__ if we have it; nothing else. * libI77/Version.c: Provide only __LIBI77_VERSION__ (formerly junk). * libU77/Version.c: Provide only __LIBU77_VERSION__ (formerly junk). From-SVN: r57461
Zack Weinberg committed -
* Removed extraneous ABORT() From-SVN: r57460
Adam Megacz committed -
* config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET, MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill. (TARGET_SWITCHES): Don't reference them. * config/i386/i386.c (override_options): Use target_flags_explicit to examine bits set by the user. From-SVN: r57458
Richard Henderson committed
-
- 23 Sep, 2002 13 commits
-
-
From-SVN: r57456
Dale Johannesen committed -
Fix for PR libgcj/6576: * java/util/ResourceBundle.java (tryBundle): Cache `null' if we didn't find a given bundle. (getBundle): Don't require base bundle. (setParent): Removed old comment. (tryLocalBundle): Try components even if preceding components were empty. From-SVN: r57442
Tom Tromey committed -
* arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate at least one byte of space. From-SVN: r57441
Richard Earnshaw committed -
* c-common.h (flag_abi_version): Fix typo in comment. * doc/invoke.texi (flag_abi_version): Document default value. From-SVN: r57440
Mark Mitchell committed -
From-SVN: r57438
Hans-Peter Nilsson committed -
extend.texi (Extended Asm): Clarify that overlap between asm-declared register variables used in an asm and... * doc/extend.texi (Extended Asm): Clarify that overlap between asm-declared register variables used in an asm and the asm clobber list is not allowed. * stmt.c (decl_conflicts_with_clobbers_p): New function. (expand_asm_operands): Keep track of clobbered registers. Call decl_conflicts_with_clobbers_p for each input and output operand. If no conflicts found before, also do conflict sanity check when emitting clobbers. From-SVN: r57437
Hans-Peter Nilsson committed -
* c-common.c (cpp_define_data_format): Remove. (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__, __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__, __DOUBLE_BIT__, __LONG_DOUBLE_BIT__. * doc/cpp.texi: Don't document them either. (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): Document. (__TARGET_FLOAT_FORMAT__): Remove. From-SVN: r57436
Richard Henderson committed -
From-SVN: r57435
Richard Henderson committed -
* include/std/std_limits.h (__glibcpp_plain_char_is_signed, __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min, __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min, __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10, __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits, __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max, __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max, __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10, __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits, __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min, __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min, __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10, __glibcpp_bool_digits, __glibcpp_signed_char_min, __glibcpp_signed_char_max, __glibcpp_signed_char_digits, __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min, __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits, __glibcpp_unsigned_char_digits10, __glibcpp_char_min, __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10, __glibcpp_signed_short_min, __glibcpp_signed_short_max, __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10, __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max, __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10, __glibcpp_signed_int_min, __glibcpp_signed_int_max, __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10, __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max, __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10, __glibcpp_signed_long_min, __glibcpp_signed_long_max, __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10, __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max, __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10, __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits, __glibcpp_wchar_t_digits10): Remove. (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove. (__float_storage, __double_storage, __long_double_storage): Remove. (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New. (__glibcpp_digits, __glibcpp_digits10): New. (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins. (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins. (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed. (numeric_limits<T>::digits): Use __glibcpp_digits. (numeric_limits<T>::digits10): Use __glibcpp_digits10. * testsuite/18_support/numeric_limits.cc (test03): Don't use __glibcpp_s8_digits10 et al; check vs the installed versions of digits10 for particular sizes. * include/std/std_limits.h (__glibcpp_float_is_modulo, __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill. (numeric_limits<T>::is_modulo, T floating): Use false. From-SVN: r57434
Richard Henderson committed -
* ChangeLog: Follow spelling conventions. * ChangeLog.0: Likewise. * com.c: Likewise. * ffe.texi: Likewise. * g77.texi: Likewise. * intdoc.in: Likewise. * invoke.texi: Likewise. * news.texi: Likewise. * intdoc.texi: Regenerate. From-SVN: r57433
Kazu Hirata committed -
* c-common.c (flag_abi_version): New variable. * c-common.h (flag_abi_version): Declare it. * c-opts.c (missing_arg): Add -fabi-version. (c_common_decode_option): Process -fabi-version. * doc/invoke.texi (-fabi-version): Document it. (-Wabi): Add information about bit-fields in unions. * cp/class.c (layout_virtual_bases): Do not round the size of the type to a multiple of the alignment before laying out virtual bases. (layout_class_type): Correct handling of bit-fields that are wider than their type inside unions. Round the size of the type to a even number of bytes when computing the size without virtual bases. * cp/cp-tree.h (abi_version_at_least): New macro. * g++.dg/abi/bitfield6.C: New test. * g++.dg/abi/bitfield7.C: New test. * g++.dg/abi/bitfield8.C: New test. * g++.dg/abi/vbase11.C: New test. From-SVN: r57432
Mark Mitchell committed -
From-SVN: r57431
GCC Administrator committed -
boehm-gc: * Makefile.am (all-multi): Fix multilib parallel build. libf2c: * Makefile.in (all): Fix multilib parallel build. libffi: * Makefile.am (all-multi): Fix multilib parallel build. libiberty: * Makefile.in (all): Fix multilib parallel build. libjava: * Makefile.am (all-multi): Fix multilib parallel build. libobjc: * Makefile.in (all): Fix multilib parallel build. libstdc++-v3: * Makefile.am (all-multi): Fix multilib parallel build. zlib: * Makefile.am (all-multi): Fix multilib parallel build. From-SVN: r57423
Kaveh R. Ghazi committed
-
- 22 Sep, 2002 1 commit
-
-
* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC unless -fno-pic or -fno-PIC is specified. From-SVN: r57421
Jason Thorpe committed
-