mkoch [Wed, 25 Sep 2002 09:05:53 +0000 (09:05 +0000)]
2002-09-25 Michael Koch <konqueror@gmx.de>
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57494
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 25 Sep 2002 07:17:34 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57493
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 25 Sep 2002 05:05:07 +0000 (05:05 +0000)]
2002-09-25 Michael Koch <konqueror@gmx.de>
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57487
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 24 Sep 2002 22:51:57 +0000 (22:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57484
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Tue, 24 Sep 2002 19:15:22 +0000 (19:15 +0000)]
* config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
cases of optimizing "add sp,w" to "inc sp".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57481
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Tue, 24 Sep 2002 17:41:01 +0000 (17:41 +0000)]
* include/private/gcconfig.h: Fix NetBSD/mips parameters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57479
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 24 Sep 2002 17:30:54 +0000 (17:30 +0000)]
(thumb_unexpanded_epilogue): Don't generate epilogue for naked functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57476
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 24 Sep 2002 16:51:33 +0000 (16:51 +0000)]
(THUMB_FUNCTION_PROFILER): Remove.
(FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57475
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 24 Sep 2002 16:05:50 +0000 (16:05 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57473
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 24 Sep 2002 13:13:35 +0000 (13:13 +0000)]
* real.h (real_value): Make `exp' explicitly signed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57469
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 24 Sep 2002 12:49:05 +0000 (12:49 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57468
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 24 Sep 2002 07:17:21 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57467
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 24 Sep 2002 03:44:36 +0000 (03:44 +0000)]
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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57461
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Tue, 24 Sep 2002 00:59:52 +0000 (00:59 +0000)]
2002-08-23 Adam Megacz <adam@xwt.org>
* Removed extraneous ABORT()
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57460
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 24 Sep 2002 00:24:27 +0000 (00:24 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57458
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Mon, 23 Sep 2002 23:07:05 +0000 (23:07 +0000)]
Set current_sym_code in a case where it was missing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57456
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 23 Sep 2002 17:56:33 +0000 (17:56 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57442
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Mon, 23 Sep 2002 15:14:14 +0000 (15:14 +0000)]
* arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
at least one byte of space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57441
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 23 Sep 2002 15:00:42 +0000 (15:00 +0000)]
* c-common.h (flag_abi_version): Fix typo in comment.
* doc/invoke.texi (flag_abi_version): Document default value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57440
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 23 Sep 2002 12:21:04 +0000 (12:21 +0000)]
* gcc.dg/
20020919-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57438
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 23 Sep 2002 12:17:53 +0000 (12:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57437
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 23 Sep 2002 11:32:43 +0000 (11:32 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57436
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 23 Sep 2002 11:26:40 +0000 (11:26 +0000)]
* real.c (do_multiply): Normalize U before addition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57435
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 23 Sep 2002 11:24:57 +0000 (11:24 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57434
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 23 Sep 2002 11:23:07 +0000 (11:23 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57433
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 23 Sep 2002 09:22:17 +0000 (09:22 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57432
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 23 Sep 2002 07:17:31 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57431
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 23 Sep 2002 03:52:55 +0000 (03:52 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57423
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Sun, 22 Sep 2002 23:46:44 +0000 (23:46 +0000)]
* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
unless -fno-pic or -fno-PIC is specified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57421
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 22 Sep 2002 22:17:36 +0000 (22:17 +0000)]
Rotate 6 months of ChangeLog entries into ChangeLog.7
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57420
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 22 Sep 2002 19:23:20 +0000 (19:23 +0000)]
* c-common.c (preprocessing_trad_p): Define.
* pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
(TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
* pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
* pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
* pa-linux.h (CPP_PREDEFINES): Delete.
(TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
* pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
* pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
(TARGET_OS_CPP_BUILTINS): Define.
* pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
(TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES.
(SUBTARGET_SWITCHES): Provide default definition.
(TARGET_OPTIONS): Reformat. Use N_() macro.
(CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
(TARGET_CPU_CPP_BUILTINS): Define.
(TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
* doc/invoke.texi (msio, mwsio): Document new hppa options.
* doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
preprocessing_trad_p().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57416
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 22 Sep 2002 18:59:08 +0000 (18:59 +0000)]
* gcc.dg/
20020219-1.c: Add "-mdisable-indexing" option for target
hppa*-*-hpux*. Update test comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57415
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 22 Sep 2002 18:37:51 +0000 (18:37 +0000)]
* include/std/std_limits.h (__glibcpp_integral_traps): New.
(__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
__glibcpp_long_traps, __glibcpp_wchar_t_traps,
__glibcpp_long_long_traps, __glibcpp_plain_char_traps,
__glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
__glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
__glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
__glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
__glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
__glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
__glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
__glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
__glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
__glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
(numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
(numeric_limits<T>::is_modulo, T integral): Use true.
(numeric_limits<T>::is_bounded, T floating): Use true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57414
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 22 Sep 2002 18:36:38 +0000 (18:36 +0000)]
* include/std/std_limits.h (__glibcpp_f32_is_iec559,
__glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
__glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
__glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
__glibcpp_long_double_is_iec559): Remove.
(numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
(numeric_limits<double>, numeric_limits<long double>): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57413
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 22 Sep 2002 18:35:24 +0000 (18:35 +0000)]
* include/std/std_limits.h (__glibcpp_f32_round_error,
__glibcpp_f64_round_error, __glibcpp_f80_round_error,
__glibcpp_f96_round_error, __glibcpp_f128_round_error,
__glibcpp_float_round_error, __glibcpp_double_round_error,
__glibcpp_long_double_round_error, __glibcpp_float_round_style,
__glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
(numeric_limits<char>::epsilon, round_error): Use constant 0.
(numeric_limits<float>::round_error): Use constant 0.5.
(numeric_limits<float>::round_style): Use round_to_nearest.
(numeric_limits<double>, numeric_limits<long double>): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57412
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Sun, 22 Sep 2002 17:57:10 +0000 (17:57 +0000)]
* configure.in (with_headers): Skip copy if value is "yes".
(with_libs): Likewise.
* doc/install.texi: Document behavior of --with-headers and
--with-libs when arguments are omitted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57411
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 22 Sep 2002 14:09:34 +0000 (14:09 +0000)]
* dbxout.c: Follow spelling conventions.
* defaults.h: Likewise.
* df.c: Likewise.
* diagnostic.h: Likewise.
* doloop.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* flags.h: Likewise.
* flow.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* function.h: Likewise.
* gcc.c: Likewise.
* gcov-io.h: Likewise.
* gcov.c: Likewise.
* gcse.c: Likewise.
* genattrtab.c: Likewise.
* genconfig.c: Likewise.
* genrecog.c: Likewise.
* ggc-page.c: Likewise.
* ggc.h: Likewise.
* global.c: Likewise.
* gthr-win32.h: Likewise.
* integrate.c: Likewise.
* jump.c: Likewise.
* langhooks.c: Likewise.
* langhooks.h: Likewise.
* line-map.h: Likewise.
* local-alloc.c: Likewise.
* longlong.h: Likewise.
* loop.c: Likewise.
* loop.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57406
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 22 Sep 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57405
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 22 Sep 2002 03:15:38 +0000 (03:15 +0000)]
* i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
* i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
for -Os/TARGET_64BIT too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57399
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 22 Sep 2002 02:03:17 +0000 (02:03 +0000)]
* ChangeLog: Follow spelling conventions.
* ChangeLog.0: Likewise.
* ChangeLog.1: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.3: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* ChangeLog.6: Likewise.
* FSFChangeLog.10: Likewise.
* FSFChangeLog.11: Likewise.
* alias.c: Likewise.
* basic-block.h: Likewise.
* c-aux-info.c: Likewise.
* c-common.c: Likewise.
* c-common.h: Likewise.
* c-decl.c: Likewise.
* c-format.c: Likewise.
* c-semantics.c: Likewise.
* c-typeck.c: Likewise.
* calls.c: Likewise.
* cfganal.c: Likewise.
* cfgloop.c: Likewise.
* collect2.c: Likewise.
* combine.c: Likewise.
* conflict.c: Likewise.
* cppexp.c: Likewise.
* cppfiles.c: Likewise.
* cpphash.h: Likewise.
* cppinit.c: Likewise.
* cpplex.c: Likewise.
* cpplib.c: Likewise.
* cpplib.h: Likewise.
* cppmacro.c: Likewise.
* cse.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57398
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 21 Sep 2002 20:20:55 +0000 (20:20 +0000)]
* netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
LINK_SPEC.
(LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
* arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
(LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57397
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 21 Sep 2002 17:11:56 +0000 (17:11 +0000)]
PR opt/7930
* cse.c (fold_rtx): Calculate old_cost before we fold each
operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57395
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 21 Sep 2002 17:08:16 +0000 (17:08 +0000)]
* cse.c (fold_rtx): Calculate the old cost before we fold each
operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57394
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sat, 21 Sep 2002 16:36:45 +0000 (16:36 +0000)]
get the changelog right, stupid error on last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57393
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sat, 21 Sep 2002 16:33:09 +0000 (16:33 +0000)]
2002-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in (*-*-netbsd*): Use noconfigdirs, not skipdirs.
* configure.in (sh*-*-pe*): Ditto.
* configure.in (mips*-*-pe*): Ditto.
* configure.in (*arm-wince-pe): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57392
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 21 Sep 2002 16:32:49 +0000 (16:32 +0000)]
* c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
__GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
__TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
__TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
__TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
* doc/cpp.texi: Don't document them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57391
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 21 Sep 2002 16:27:40 +0000 (16:27 +0000)]
* c-common.c (builtin_define_float_constants): Use real_format
to get the floating-point parameters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57390
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 21 Sep 2002 16:16:24 +0000 (16:16 +0000)]
* jcf-parse.c (get_constant): Decode from IEEE no matter
what the target format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57389
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 21 Sep 2002 16:10:36 +0000 (16:10 +0000)]
* real.c (struct real_format): Move to real.h.
(real_format_for_mode): Rename from fmt_for_mode; update all users;
initialize with ieee defaults.
(real_to_target_fmt, real_from_target_fmt): New.
(ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
ieee_extended_intel_96_format, ieee_extended_intel_128_format,
ieee_quad_format, i370_single_format, i370_double_format,
c4x_single_format, c4x_extended_format): Rename from s/_format//.
(ieee_quad_format): Fix emin.
(format_for_size, init_real_once): Remove.
* real.h (struct real_format): Move from real.c.
(real_format_for_mode): Declare.
(real_to_target_fmt, real_from_target_fmt): Declare.
(ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
ieee_extended_intel_96_format, ieee_extended_intel_128_format,
ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
i370_single_format, i370_double_format, c4x_single_format,
c4x_extended_format): Declare.
* toplev.c (do_compile): Don't call init_real_once.
* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
* doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
* config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
* config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
* config/alpha/alpha.c (override_options): Set real_format_for_mode
for VAX, if enabled.
* config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
for C4X.
* config/i370/i370.h (OVERRIDE_OPTIONS): New.
* config/i370/i370.c (override_options): New.
* config/i370/i370-protos.h: Update.
* config/i386/i386.c (override_options): Set real_format_for_mode
for Intel 80-bit extended.
* config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
* config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
(OVERRIDE_OPTIONS): Move code...
* config/i960/i960.c (i960_initialize): ... here. Set
real_format_for_mode for Intel 80-bit extended.
* config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
for Intel 80-bit extended, if enabled.
* config/m68k/m68k.c (override_options): Set real_format_for_mode
for Motorola 96-bit extended.
* config/vax/vax.h (OVERRIDE_OPTIONS): New.
* config/vax/vax.c (override_options): New.
* config/vax/vax-protos.h: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57388
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 21 Sep 2002 12:51:56 +0000 (12:51 +0000)]
* ChangeLog: Follow spelling conventions.
* ChangeLog.2: Likewise.
* call.c: Likewise.
* class.c: Likewise.
* cp-tree.h: Likewise.
* cvt.c: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* except.c: Likewise.
* friend.c: Likewise.
* g++spec.c: Likewise.
* init.c: Likewise.
* lex.c: Likewise.
* mangle.c: Likewise.
* method.c: Likewise.
* operators.def: Likewise.
* optimize.c: Likewise.
* pt.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* semantics.c: Likewise.
* spew.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57387
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 21 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57386
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 21 Sep 2002 06:59:20 +0000 (06:59 +0000)]
2002-09-21 Michael Koch <konqueror@gmx.de>
* java/net/Socket.java
(sendUrgentData): New method.
(getChannel): New method.
* java/net/ServerSocket.java
(getChannel): New method.
(isBound): New method.
* java/net/DatagramSocket.java
(DatagramSocket): Two new methods.
(bind): New method.
(getChannel): New method.
(isBound): New method.
(send): Added newline to to make shorter lines.
* java/net/PlainDatagramSocketImpl.java
(mcastGrp): Added argument.
(join): Use new mcastGrp.
(leave): Use new mcastGrp.
(joinGroup): New method.
(leaveGroup): New method.
* java/net/natPlainDatagramSocketImpl.cc
(mcastGrp): Added argument, no yet really implemented.
(getOption): Added newline for shorter lines.
* java/net/natPlainSocketImpl.cc
(read, setOption, getOption): Added newline for shorter lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57380
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 21 Sep 2002 02:47:14 +0000 (02:47 +0000)]
* config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
#if TARGET_MACHO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57379
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 21 Sep 2002 02:19:44 +0000 (02:19 +0000)]
* ChangeLog: Follow spelling conventions.
* class.c: Likewise.
* decl.c: Likewise.
* expr.c: Likewise.
* gjavah.c: Likewise.
* java-tree.h: Likewise.
* jcf-dump.c: Likewise.
* jcf-parse.c: Likewise.
* jvspec.c: Likewise.
* lang.c: Likewise.
* mangle.c: Likewise.
* parse.y: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57378
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 21 Sep 2002 00:20:14 +0000 (00:20 +0000)]
* config/rs6000/rs6000.md (floatdisf2_internal2): Combine
insns. Supply missing clobber of scratch reg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57377
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 20 Sep 2002 23:47:00 +0000 (23:47 +0000)]
* config/m32r/m32r.c: Follow spelling conventions.
* config/m32r/m32r.h: Likewise.
* config/m32r/m32r.md: Likewise.
* config/m68k/m68k.c: Likewise.
* config/m88k/m88k.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mips/mips.c: Likewise.
* config/mips/mips.h: Likewise.
* config/mmix/mmix.c: Likewise.
* config/mn10200/mn10200.c: Likewise.
* config/ns32k/ns32k.h: Likewise.
* config/pa/pa.c: Likewise.
* config/pa/pa64-linux.h: Likewise.
* config/pdp11/pdp11.h: Likewise.
* config/romp/romp.c: Likewise.
* config/romp/romp.h: Likewise.
* config/rs6000/eabi.asm: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/rs6000.md: Likewise.
* config/rs6000/sysv4.h: Likewise.
* config/rs6000/xcoff.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57376
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 20 Sep 2002 23:36:30 +0000 (23:36 +0000)]
Don't clobber app register r5 in muldi3.
* config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57375
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 20 Sep 2002 22:08:34 +0000 (22:08 +0000)]
* config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
* config/i386/i386.c (legitimate_pic_address_disp_p): Handle
UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
(legitimate_address_p): Likewise.
(legitimize_address): Use @gotntpoff and @indntpoff.
(output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
(output_addr_const_extra): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57373
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 20 Sep 2002 21:42:25 +0000 (21:42 +0000)]
Fix v850 ICE.
* combine.c (try_combine): When split an instruction pair, where the
first has a sign_extend src, verify that the src and dest modes match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57371
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 20 Sep 2002 21:21:10 +0000 (21:21 +0000)]
* testsuite/gcc.dg/cpp/tr-warn2.c: Additional test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57370
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 20 Sep 2002 21:00:07 +0000 (21:00 +0000)]
2002-09-20 Nathanael Nerode <neroden@doctor.moo.mud.org>
* configure.in: Rearrange.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57369
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 20 Sep 2002 20:11:25 +0000 (20:11 +0000)]
* config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
(override_options): Do not initialize them.
(mips_const_double_ok): Allow no fp constants except zero,
and not even that for mips16.
(const_float_1_operand): Use dconst1.
* config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
Don't allow arbitrary constants; fix predicates and C constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57368
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 20 Sep 2002 20:03:40 +0000 (20:03 +0000)]
* gcc.dg/tls/struct-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57367
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 20 Sep 2002 19:44:09 +0000 (19:44 +0000)]
* cppmacro.c: Don't warn about function-like macros without
'(' during pre-expandion.
testsuite:
* gcc.dg/cpp/tr-warn2.c: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57366
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 20 Sep 2002 19:15:53 +0000 (19:15 +0000)]
Fix -O3 stdarg miscompilation.
* config/v850/v850.c (current_function_anonymous_args): Delete.
(expand_prologue): Use current_function_args_info.anonymous_args.
(expand_epilogue): Delete use of current_function_anonymous_args.
* config/v850/v850.h (struct cum_arg): Add anonymous_args field.
(INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
(current_function_anonymous_args): Delete extern declaration.
(SETUP_INCOMING_VARARGS): Set anonymous_args field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57363
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 20 Sep 2002 18:42:24 +0000 (18:42 +0000)]
* config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
to load_macho_picbase.
* config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
(load_macho_picbase): Take the symbol to use as a parameter.
(macho_correct_pic): New insn.
(builtin_setjmp_reciever): On Darwin, restore the PIC register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57360
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 20 Sep 2002 18:40:27 +0000 (18:40 +0000)]
* config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
(CAN_ELIMINATE): Likewise.
(INITIAL_ELIMINATION_OFFSET): Likewise.
(TOC_REGISTER): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57359
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 20 Sep 2002 17:50:48 +0000 (17:50 +0000)]
* real.c (real_hash): New.
* real.h: Declare it.
* cse.c (canon_hash): Use it.
* cselib.c (hash_rtx): Likewise.
* emit-rtl.c (const_double_htab_hash): Likewise.
* rtl.h (CONST_DOUBLE_REAL_VALUE): New.
* varasm.c (struct rtx_const): Reduce vector size; separate
integer and fp vectors.
(HASHBITS): Remove.
(const_hash_1): Rename from const_hash. Use real_hash. Do not
take modulus MAX_HASH_TABLE.
(const_hash): New. Do take modulus MAX_HASH_TABLE.
(output_constant_def): Do not take modulus MAX_HASH_TABLE.
(SYMHASH): Don't use HASHBITS.
(decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison.
(simplify_subtraction): Fix kind comparison.
(const_hash_rtx): Return unsigned int. Don't use HASHBITS.
Use a union to pun integer array.
* config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
only hash two words of integral CONST_DOUBLE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57356
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Fri, 20 Sep 2002 16:53:25 +0000 (16:53 +0000)]
* config/ia64/hpux.h (STARTFILE_SPEC): Modify.
(STARTFILE_PREFIX_SPEC): New.
(LINK_SPEC): Modify.
(LIB_SPEC): Modify.
(LIBGCC_SPEC): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57352
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 20 Sep 2002 16:40:31 +0000 (16:40 +0000)]
* config/i386/i386.c (legitimate_pic_address_disp_p): Allow
UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57351
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 20 Sep 2002 15:48:05 +0000 (15:48 +0000)]
* gcc.c-torture/execute/
20020720-1.x: Skip test on ARM-based systems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57350
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 20 Sep 2002 15:14:19 +0000 (15:14 +0000)]
* gcc.c-torture/execute/990208-1.x: XFAIL this at -O3 for ARM-based
systems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57349
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 20 Sep 2002 13:58:49 +0000 (13:58 +0000)]
Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
* config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
Add clobber of the condition code register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57347
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 20 Sep 2002 07:56:42 +0000 (07:56 +0000)]
* real.c (do_fix_trunc): Static.
(encode_ieee_single, encode_ieee_double, encode_ieee_extended,
encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
encode_i370_single, encode_i370_double, encode_c4x_single,
encode_c4x_extended): Add default abort case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57344
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 20 Sep 2002 07:33:25 +0000 (07:33 +0000)]
* real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
(struct realvaluetype): Remove.
(REAL_VALUE_TYPE): Use struct real_value.
(REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
(test_real_width): New.
* real.c: Global replace struct real_value with REAL_VALUE_TYPE.
(real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
(real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
real_isneg, real_isnegzero, real_identical, exact_real_inverse,
real_to_integer, real_to_integer2, real_to_decimal,
real_to_hexadecimal, real_from_string, real_from_integer,
real_inf, real_nan, real_2expN, real_convert, real_to_target,
real_from_target): Likewise.
* tree.h (struct tree_real_cst): Use real_value not realvaluetype.
* gengtype-yacc.y (bitfieldopt): Accept an ID as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57343
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 20 Sep 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57342
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 20 Sep 2002 06:36:36 +0000 (06:36 +0000)]
* real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
* defaults.h: ... here.
* config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57336
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 20 Sep 2002 03:06:25 +0000 (03:06 +0000)]
* config/mmix/mmix.md ("negdf2"): Rewrite.
("*expanded_negdf2"): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57332
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 20 Sep 2002 03:04:15 +0000 (03:04 +0000)]
* gcc.c-torture/execute/ieee/mzero3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57331
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 20 Sep 2002 02:40:51 +0000 (02:40 +0000)]
* cp-demangle.c (demangling_new): Cast 0 to enum.
(demangle_char): Cast return of strdup to char *.
(is_gnu_v3_mangled_ctor): Cast 0 to enum.
(is_gnu_v3_mangled_dtor): Likewise.
* cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
(work_stuff_copy_to_from): Cast return of xmalloc to char **.
* fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
* md5.c (md5_process_bytes): Cast results back to const void *.
(md5_process_block): Add cast to const md5_uint32 *.
* regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
* safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
unsigned short.
* splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
to void *.
* vasprintf.c (int_vasprintf): Cast return of malloc to char *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57330
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 20 Sep 2002 01:02:18 +0000 (01:02 +0000)]
Mention removed duplicate cxxfilt setting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57326
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 20 Sep 2002 00:52:14 +0000 (00:52 +0000)]
* lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not):
Adjust for c++filt moved to binutils.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57325
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 20 Sep 2002 00:21:54 +0000 (00:21 +0000)]
* libiberty.h (asprintf, vasprintf): Don't declare them if the
corresponding HAVE_DECL_ macro is 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57324
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 19 Sep 2002 23:39:34 +0000 (23:39 +0000)]
fix subreg optimization bug introduced 2002-05-25
* combine.c (simplify_set): When optimizing a subreg src with a
cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57323
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 19 Sep 2002 23:01:49 +0000 (23:01 +0000)]
* gcc.dg/
20020312-2.c: Update for darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57320
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Thu, 19 Sep 2002 18:54:56 +0000 (18:54 +0000)]
Remove creation of invalid subreg. PR 7705, 7339, 7720.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57315
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 19 Sep 2002 18:07:23 +0000 (18:07 +0000)]
Update email addresses for bugs and patches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57313
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 19 Sep 2002 17:44:49 +0000 (17:44 +0000)]
* java/lang/ClassLoader.java (resolveClass0): Set cause for
newly-created exception.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57310
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 19 Sep 2002 17:06:29 +0000 (17:06 +0000)]
* config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
and STRICT_LOW_PART within SET_DEST.
* config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
splitters, replacing pre-reload splitters.
("*zero_extendhisi2_31", "*zero_extendqisi2_31",
"*zero_extendqihi2_31"): New insns.
("*zero_extendqihi2_64"): Do not clobber CC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57309
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Thu, 19 Sep 2002 16:19:36 +0000 (16:19 +0000)]
2002-09-19 Devang Patel <dpatel@apple.com>
* cp/cp-tree.h: New prototype for walk_vtabls().
* cp/decl.c (walk_vtables_r): New function.
(struct cp_binding_level): Add new members, namespaces,
names_size and vtables.
(add_decl_to_level): Add decl in namespaces or vtables
chain, if conditions match.
(walk_vtables): New function.
(walk_namespaces_r): Travers separate namespace chain
for namespace decls.
(wrapup_globals_for_namespace): Use names_size instead
of list_length().
* cp/decl2.c (finish_file): Use walk_vtables() instead of
walk_globals() to walk vtable decls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57305
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Thu, 19 Sep 2002 15:52:10 +0000 (15:52 +0000)]
* config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
(DTORS_SECTION_ASM_OP): Ditto.
(READONLY_DATA_SECTION_ASM_OP): Moved.
(DATA_SECTION_ASM_OP): New.
(SDATA_SECTION_ASM_OP): New.
(BSS_SECTION_ASM_OP): New.
(SBSS_SECTION_ASM_OP): New.
(TEXT_SECTION_ASM_OP): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57304
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Sep 2002 13:51:24 +0000 (13:51 +0000)]
* config/fp-bit.c: Follow spelling conventions.
* config/d30v/d30v.c: Likewise.
* config/d30v/d30v.h: Likewise.
* config/fr30/fr30.c: Likewise.
* config/fr30/fr30.h: Likewise.
* config/fr30/fr30.md: Likewise.
* config/frv/frv.c: Likewise.
* config/frv/frv.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/h8300/lib1funcs.asm: Likewise.
* config/i370/i370.c: Likewise.
* config/i386/i386.h: Likewise.
* config/i386/i386.md: Likewise.
* config/i386/pentium.md: Likewise.
* config/i386/winnt.c: Likewise.
* config/i960/i960.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ip2k/ip2k.c: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/ip2k/ip2k.md: Likewise.
* config/ip2k/libgcc.S: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57303
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 19 Sep 2002 13:17:57 +0000 (13:17 +0000)]
2002-09-19 Stephen Clarke <stephen.clarke@superh.com>
* config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
(GOTOFF_P): Extend to allow gotoff plus constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57302
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 19 Sep 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57301
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 19 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57300
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Thu, 19 Sep 2002 04:26:25 +0000 (04:26 +0000)]
* testsuite/18_support/numeric_limits.cc (test_epsilon): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57295
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 19 Sep 2002 01:07:10 +0000 (01:07 +0000)]
* ifcvt.c (noce_process_if_block): Correctly detect X modified
with INSN_B before COND_EARLIEST. Don't check A and B for
modification in condition range. Reorder INSN_B for A==B properly.
(if_convert): Iterate until no matches for a block.
* gcc.c-torture/execute/
20020916-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57294
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 19 Sep 2002 00:37:24 +0000 (00:37 +0000)]
* calls.c (store_one_arg): Rename default_align to parm_align;
always adjust parm_align for downward padding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57292
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 19 Sep 2002 00:12:07 +0000 (00:12 +0000)]
* toplev.c (backend_init): Move init_real_once invocation ...
(do_compile): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57291
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 19 Sep 2002 00:10:10 +0000 (00:10 +0000)]
* sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
RTX_UNCHANGING_P markers for successful tail-recursive replacement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57290
138bc75d-0d04-0410-961f-
82ee72b054a4