1. 05 Sep, 2002 16 commits
    • Oops, typo in dir name. · df4c36e6
      From-SVN: r56851
      Jakub Jelinek committed
    • install.texi: Correct text of s390-*-linux* and s390x-*-linux* URLs. · 225cee28
              * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
              URLs.  Fix AIX wording.
      
      From-SVN: r56850
      David Edelsohn committed
    • rs6000.c (rs6000_override_options): Make -fpic and -fPIC equivalent on Darwin. · c72bfda7
              * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
              -fPIC equivalent on Darwin.
      
      From-SVN: r56848
      Stan Shebs committed
    • ia64-unknown-linux-gnu: Add. · fcfe9bce
      	* config/abi/ia64-unknown-linux-gnu: Add.
      	* config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
      	* config/abi/alphaev67-unknown-linux-gnu: Add.
      	* config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
      
      From-SVN: r56847
      Jakub Jelinek committed
    • Makefile: Use more portable shell wildcard. · 64a6f971
      2002-09-05  Jonathan Wakely  <jw@kayari.org>
      
      	* docs/html/Makefile:  Use more portable shell wildcard.
      	* docs/html/makedoc.awk:  Nest elements correctly for XHTML conversion.
      	* docs/html/configopts.html, docs/html/documentation.html,
      	docs/html/explanations.html, docs/html/install.html,
      	docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
      	docs/html/17_intro/license.html, docs/html/18_support/howto.html,
      	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
      	docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
      	docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
      	docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
      	docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
      	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
      	docs/html/27_io/howto.html, docs/html/ext/howto.html,
      	docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Convert
      	to XHTML.
      	* docs/html/faq/index.txt:  Regenerate.
      
      From-SVN: r56845
      Jonathan Wakely committed
    • sh.c (sh_expand_builtin): Return early if encountering an error_mark for a type. · 3578cf63
      	* sh.c (sh_expand_builtin): Return early if encountering an
      	error_mark for a type.
      
      From-SVN: r56844
      J"orn Rennecke committed
    • s390.c (s390_expand_plus_operand): Do not require double-word scratch register. · 7974fe63
      	* config/s390/s390.c (s390_expand_plus_operand): Do not require
      	double-word scratch register.
      	config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
      
      	("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
      	"*cli"): Replace s_operand by memory_operand.
      	("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
      
      From-SVN: r56843
      Ulrich Weigand committed
    • verify.c (verify_jvm_instructions): Allow exception handler inside code that is… · b139fcfd
      verify.c (verify_jvm_instructions): Allow exception handler inside code that is being protected, but generate a warning.
      
      2002-08-28  Andrew Haley  <aph@redhat.com>
      
      	* verify.c (verify_jvm_instructions): Allow exception handler
      	inside code that is being protected, but generate a warning.
      	* except.c (link_handler): Initialize `expanded' in new eh_range.
      	(binding_depth, is_class_level, current_pc): Declare extern.
      
      From-SVN: r56842
      Andrew Haley committed
    • ctype_members.cc (ctype<wchar_t>::do_widen(char)): Switch to _M_c_locale_ctype around btowc call. · f373d4c7
      	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
      	Switch to _M_c_locale_ctype around btowc call.
      	(ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
      	Switch to _M_c_locale_ctype around mbsrtowcs call.
      	(ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
      	wctob call.
      	(ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
      	Switch to _M_c_locale_ctype around wcsrtombs call.
      
      From-SVN: r56841
      Jakub Jelinek committed
    • monetary_members.cc (moneypunct<wchar_t, [...]): Use __uselocale instead of… · 9a6d2071
      monetary_members.cc (moneypunct<wchar_t, [...]): Use __uselocale instead of setlocale for glibc 2.3.
      
      	* config/locale/gnu/monetary_members.cc
      	(moneypunct<wchar_t, true>::_M_initialize_moneypunct,
      	moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
      	__uselocale instead of setlocale for glibc 2.3.
      
      From-SVN: r56839
      Jakub Jelinek committed
    • c++locale_internal.h: New header. · 89671b70
      	* config/locale/generic/c++locale_internal.h: New header.
      	* config/locale/gnu/c++locale_internal.h: New header.
      	* config/locale/gnu/c_locale.cc: Include it.
      	* config/locale/gnu/collate_members.cc: Include it.
      	* config/locale/gnu/ctype_members.cc: Include it.
      	* config/locale/gnu/messages_members.cc: Include it.
      	* config/locale/gnu/monetary_members.cc: Include it.
      	* config/locale/gnu/numeric_members.cc: Include it.
      	* config/locale/gnu/time_members.cc: Include it.
      	(_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
      	glibc.
      	(_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
      	C locale.
      	* acinclude.m4: Include string.h when testing strcoll_l.
      	For glibc 2.3 provide __-prefixed prototypes.
      	(CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
      	* aclocal.m4, configure: Rebuilt.
      
      	* include/bits/locale_facets.h: Add declaration of specialization
      	here.
      	* config/locale/gnu/messages_members.cc: Add specialization for
      	messages<wchar_t>.
      	* config/locale/gnu/messages_members.h: Remove generic definition
      	of do_get.
      
      From-SVN: r56837
      Jakub Jelinek committed
    • Daily bump. · 60179904
      From-SVN: r56835
      GCC Administrator committed
    • Daily bump. · 84995810
      [[Split portion of a mixed commit.]]
      
      From-SVN: r56834.3
      GCC Administrator committed
    • h8300.c (asm_file_start): Add a missing semicolon. · f8cb5851
      	* config/h8300/h8300.c (asm_file_start): Add a missing
      	semicolon.
      
      From-SVN: r56829
      Kazu Hirata committed
    • rs6000.c (rs6000_flag_pic): New variable. · 0e5dbd9b
              * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
              (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
              (TARGET_BINDS_LOCAL_P): Define.
              (rs6000_override_options): Save original flag_pic value.
              (rs6000_elf_select_section): Call default_elf_select_section_1.
              (rs6000_elf_unique_section): Call default_unique_section_1.
              (rs6000_elf_in_small_data_p): New function.
              (rs6000_xcoff_asm_named_section): Determine storage mapping class.
              (rs6000_xcoff_select_section): Update based on defaults.
              (rs6000_xcoff_unique_section): Set to basic name if not common.
              (rs6000_binds_local_p): New function.
              * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
              targetm.have_srodata_section if SDATA_EABI.
              (TARGET_IN_SMALL_DATA_P): Define.
      
      From-SVN: r56826
      David Edelsohn committed
  2. 04 Sep, 2002 24 commits
    • loop.c (scan_loop): Don't mark separate insns out of a libcall for moving. · ed6cc1f5
      gcc:
      	* loop.c (scan_loop): Don't mark separate insns out of a libcall
      	for moving.
      	(move_movables): Abort if we see the first insn of a libcall.
      gcc/testsuite
      	* gcc.c-torture/execute/loop-14.c: New test.
      
      From-SVN: r56823
      J"orn Rennecke committed
    • typeck2.c (add_exception_specifier): Only pedwarn for an incomplete type. · 5aa3396c
              * typeck2.c (add_exception_specifier): Only pedwarn for an
              incomplete type.
              (require_complete_eh_spec_types): New fn.
              (cxx_incomplete_type_diagnostic): Also support pedwarning.
              * typeck.c (complete_type_or_diagnostic): Likewise.
              * call.c (build_call): Call require_complete_eh_spec_types.
              * rtti.c (get_pseudo_ti_desc): Give an error rather than aborting
              on an incomplete type.
      
      From-SVN: r56822
      Jason Merrill committed
    • std_limits.h (__glibcpp_f32_infinity_bytes, [...]): Remove. · 65e32b88
              * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
              __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
              __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
              __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
              __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
              __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
              __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
              __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
              __glibcpp_long_double_has_infinity): Remove.
              (std::numeric_limits<float>, std::numeric_limits<double>,
              std::numeric_limits<long double>): Use __builtin_huge_val
              to implement has_infinity and infinity().
              * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
              __glibcpp_long_double_infinity): Remove.
      
      From-SVN: r56821
      Richard Henderson committed
    • builtin-types.def (BT_FN_FLOAT): New. · ab5e2615
              * builtin-types.def (BT_FN_FLOAT): New.
              (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
              * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
              BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
              * builtins.c (fold_builtin_inf): New.
              (fold_builtin): Call it.
              * real.c (ereal_inf): New.
              * real.h: Declare it.
              * doc/extend.texi: Document new builtins.
      
      From-SVN: r56820
      Richard Henderson committed
    • cse.c (cse_insn): Avoid subreg games if the equivalence is already in the proper mode. · 9beb7d20
              * cse.c (cse_insn): Avoid subreg games if the equivalence
              is already in the proper mode.
      
      From-SVN: r56819
      Richard Henderson committed
    • re PR java/7830 (Off-by-one buffer overruns in fastjar tool) · a038cc83
      	From greenrd@hotmail.com:
      	* jartool.c (list_jar): Correctly determine when new `filename'
      	buffer must be allocated.  Fixes PR java/7830.
      
      From-SVN: r56818
      Tom Tromey committed
    • re PR c/7102 (unsigned char divisision results in floating exception) · 29984e05
              PR c/7102
              * optabs.c (expand_binop): Convert CONST_INTs in all cases.
      
      From-SVN: r56815
      Eric Botcazou committed
    • * pa.md (setccfp0, setccfp1): New patterns. · 8d46398e
      From-SVN: r56814
      John David Anglin committed
    • frv-protos.h (frv_init_builtins, [...]): Delete. · 14966b94
      	* frv-protos.h (frv_init_builtins, frv_expand_builtin,
      	frv_select_section, frv_select_rtx_section,
      	frv_encode_section_info, frv_unique_section): Delete.
      	* frv.c: Update for target hooks.
      	* frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
      	SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
      	EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
      
      From-SVN: r56810
      Kaveh R. Ghazi committed
    • ip2k-protos.h (function_prologue, [...]): Update to match target hook specification. · c8bf1a1a
      	* ip2k-protos.h (function_prologue, function_epilogue,
      	encode_section_info): Update to match target hook specification.
      	* ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
      	(function_prologue, function_epilogue, encode_section_info):
      	Update to match target hook specification.
      	* ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
      	ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
      	(NOTICE_UPDATE_CC): Cast to void.
      	* ip2k.md: Add defaults in switch statements.
      
      From-SVN: r56809
      Kaveh R. Ghazi committed
    • trouble.texi (Interoperation): Update information about C++ ABI issues. · 0484cb35
      2002-09-04  Janis Johnson  <janis187@us.ibm.com>
      
      	* trouble.texi (Interoperation): Update information about C++ ABI
      	issues.
      
      From-SVN: r56808
      Janis Johnson committed
    • * config/sparc/t-netbsd64: Disable multilib for now. · 3e62bd08
      From-SVN: r56807
      Jason Thorpe committed
    • target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro. · 275b6d80
              * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
              * target.h (gcc_target): Add have_srodata_section member.
              * varasm.c (section_category): Add SECCAT_SRODATA.
              (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
              READONLY_SDATA_SECTION defined.
              (decl_readonly_section_1): True for SECCAT_SRODATA also.
              (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
              (default_unique_section_1): Likewise.
      
      From-SVN: r56806
      David Edelsohn committed
    • expr.c (emit_group_load): Revise to allow splitting TCmode source into DImode pieces. · 015b1ad1
      	* expr.c (emit_group_load): Revise to allow splitting TCmode source
      	into DImode pieces.
      	* pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
      	* pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
      	for floating-point register class.
      	* pa.c (function_arg): Fix handling of modes wider than one word for
      	TARGET_64BIT.
      
      From-SVN: r56805
      John David Anglin committed
    • combine.c (make_compound_operation): Don't generate zero / sign extensions in floating point modes. · b10f2187
      	* combine.c (make_compound_operation): Don't generate zero / sign
      	extensions in floating point modes.
      
      From-SVN: r56804
      J"orn Rennecke committed
    • c-tree.texi: Fix overfull hboxes. · 478c9e72
      2002-09-04  Janis Johnson  <janis187@us.ibm.com>
      
      	* doc/c-tree.texi: Fix overfull hboxes.
      	* doc/cppopts.texi: Ditto.
      	* doc/extend.texi: Ditto.
      	* doc/gty.texi: Ditto.
      	* doc/invoke.texi: Ditto.
      	* doc/makefile.texi: Ditto.
      	* doc/rtl.texi: Ditto.
      	* doc/standards.texi: Ditto.
      	* doc/tm.texi: Ditto.
      
      From-SVN: r56802
      Janis Johnson committed
    • 2002-09-04 Michael Koch <konqueror@gmx.de> · 7b98d454
      	* java/net/DatagramSocket.java
      	(DatagramSocket): Added documentation.
      	(close): Likewise.
      	(getLocalAddress): Likewise.
      	(getLocalPort): Likewise.
      	(receive): Likewise.
      	(send): Likewise.
      	(setSoTimeout): Likewise.
      	(connect): New method.
      	(disconnect): New method.
      	(getInetAddress): New method (FIXME)
      	(getPort): New method.
      	(setReuseAddress): New method.
      	(getReuseAddress): New method.
      	(setBroadcast): New method.
      	(getBroadcast): New method.
      	(setTrafficClass): New method.
      	(getTrafficClass): New method.
      	* java/net/MulticastSocket.java):
      	(getTTL): Added @see in documentation.
      	(setTTL): Added @see in documentation.
      	(setLoopbackMode): New method.
      	(getLoopbackMode): New method.
      	* java/net/PlainSocketImpl.java:
      	Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
      	IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
      	* java/net/PlainDatagramSocketImpl.java
      	Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
      	IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
      	* java/net/natPlainSocketImpl.cc
      	(getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
      	IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
      	(setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
      	IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
      	This should also fix SO_KEEPALIVE
      	* java/net/natPlainDatagramSocketImpl.cc
      	(getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
      	IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
      	(setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
      	IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
      
      From-SVN: r56801
      Michael Koch committed
    • c-common.c (builtin_define_with_hex_fp_value): New. · 77e8a0cc
              * c-common.c (builtin_define_with_hex_fp_value): New.
              (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.
      
      From-SVN: r56800
      Richard Henderson committed
    • invoke.texi (-fshort-wchar): Move to Code Generation Options. · a9c60612
      2002-09-04  Janis Johnson  <janis187@us.ibm.com>
      
      	* doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
      	(-fpcc-struct-return, -freg-struct-return, -fshort-enums,
      	-fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
      	Warn that these options can break ABI compatibility.
      
      From-SVN: r56799
      Janis Johnson committed
    • real.c (ereal_to_decimal): Add digits parameter. · 4b67a274
      	* real.c (ereal_to_decimal): Add digits parameter.
      	* real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
      	* c-pretty-print.c (pp_c_real_literal): Update call.
      	* print-rtl.c (print_rtx): Likewise.
      	* print-tree.c (print_node_brief, print_node): Likewise.
      	* sched-vis.c (print_value): Likewise.
      	* config/arc/arc.c (arc_print_operand): Likewise.
      	* config/c4x/c4x.c (c4x_print_operand): Likewise.
      	* config/i370/i370.h (PRINT_OPERAND): Likewise.
      	* config/i386/i386.c (print_operand): Likewise.
      	* config/i960/i960.c (i960_print_operand): Likewise.
      	* config/ip2k/ip2k.c (asm_output_float): Likewise.
      	* config/m32r/m32r.c (m32r_print_operand): Likewise.
      	* config/m68hc11/m68hc11.c (print_operand): Likewise.
      	* config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
      	ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
      	* config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
      	ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
      	* config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
      	ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
      	* config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
      	ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
      	* config/mips/mips.c (print_operand): Likewise.
      	* config/ns32k/ns32k.c (print_operand): Likewise.
      	* config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
      	* config/vax/vax.h (PRINT_OPERAND): Likewise.
      	* doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
      
              * f/target.h (ffetarget_print_real1, ffetarget_print_real2): Update
              call to REAL_VALUE_TO_DECIMAL.
      
      From-SVN: r56798
      Richard Henderson committed
    • elf.h (TARGET_SECTION_TYPE_FLAGS): Define to xtensa_multibss_section_type_flags. · 01abf342
              * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
              xtensa_multibss_section_type_flags.
              * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
      
      From-SVN: r56797
      Bob Wilson committed
    • install-old.texi: Don't mention enquire. · cd42d3df
              * doc/install-old.texi: Don't mention enquire.
              * doc/sourcebuild.texi: Update float.h description.
      
      From-SVN: r56796
      Richard Henderson committed
    • * enquire.c: Remove. · 7fd6c930
      From-SVN: r56795
      Richard Henderson committed