gcc.git
21 years agocfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness information.
Zdenek Dvorak [Sat, 7 Sep 2002 14:02:55 +0000 (16:02 +0200)]
cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness information.

* cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
information.

From-SVN: r56916

21 years ago* rtlanal.c (dead_or_set_regno_p): Fix typo.
Graham Stott [Sat, 7 Sep 2002 09:59:16 +0000 (09:59 +0000)]
* rtlanal.c (dead_or_set_regno_p): Fix typo.

From-SVN: r56915

21 years agoDaily bump.
GCC Administrator [Sat, 7 Sep 2002 07:17:37 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56914

21 years ago* config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
Alan Modra [Sat, 7 Sep 2002 00:37:49 +0000 (00:37 +0000)]
* config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.

From-SVN: r56907

21 years agotm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
Alan Modra [Sat, 7 Sep 2002 00:19:27 +0000 (00:19 +0000)]
tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.

* doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
* target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
(TARGET_ASM_OUT): Add the above here.
* target.h (struct gcc_target): Add "visibility" field.
* varasm.c (maybe_assemble_visibility): Call targetm visibility func.
* config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
(TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
(rs6000_legitimize_reload_address, first_reg_to_save): Formatting.

From-SVN: r56906

21 years agoc-lang.c (objc_is_id): New stub.
Ziemowit Laski [Fri, 6 Sep 2002 23:32:13 +0000 (23:32 +0000)]
c-lang.c (objc_is_id): New stub.

[gcc/ChangeLog]
2002-09-06  Ziemowit Laski <zlaski@apple.com>
        * c-lang.c (objc_is_id): New stub.
        * c-tree.h (objc_is_id): New forward declaration.
        * c-typeck.c (build_c_cast): Do not strip protocol
        qualifiers from 'id' type.
        * objc/objc-act.c (objc_comptypes): Correct handling
        of protocol qualifiers.
        (objc_is_id): New.

[gcc/testsuite/ChangeLog]
2002-09-05  Ziemowit Laski <zlaski@apple.com>

        * objc.dg/proto-lossage-1.m: New test.

From-SVN: r56905

21 years agoi386.h (GOT_SYMBOL_NAME): Define.
Krister Walfridsson [Fri, 6 Sep 2002 20:34:41 +0000 (22:34 +0200)]
i386.h (GOT_SYMBOL_NAME): Define.

* config/i386/i386.h (GOT_SYMBOL_NAME): Define.
* config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
(ix86_output_addr_diff_elt) Likewise.
(x86_output_mi_thunk) Likewise.
* config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.

From-SVN: r56904

21 years agolocalefwd.h: Tweak formatting.
Benjamin Kosnik [Fri, 6 Sep 2002 19:52:38 +0000 (19:52 +0000)]
localefwd.h: Tweak formatting.

2002-09-06  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/localefwd.h: Tweak formatting.
* docs/html/abi.txt: Add.

From-SVN: r56903

21 years ago* pentium.md (pentium-firstvboth): Fix typo.
Jeff Law [Fri, 6 Sep 2002 19:07:48 +0000 (13:07 -0600)]
* pentium.md (pentium-firstvboth): Fix typo.

From-SVN: r56901

21 years agoconfigure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.
Jakub Jelinek [Fri, 6 Sep 2002 18:32:08 +0000 (20:32 +0200)]
configure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.

* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
sparc targets.
* config/cpu/sparc/bits/atomicity.h: New file.
* config/cpu/sparc/sparc32/bits/atomicity.h: Removed.
* config/cpu/sparc/sparc64/bits/atomicity.h: Removed.

[[Split portion of a mixed commit.]]

From-SVN: r56897.2

21 years agoconfigure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.
Jakub Jelinek [Fri, 6 Sep 2002 18:30:36 +0000 (20:30 +0200)]
configure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.

* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
sparc targets.
* config/cpu/sparc/atomicity.h: New file.
* config/cpu/sparc/sparc32/atomicity.h: Removed.
* config/cpu/sparc/sparc64/atomicity.h: Removed.

From-SVN: r56896

21 years agoctype_noninline.h [...]: Remove using _C_legacy::__ctype_*.
Jakub Jelinek [Fri, 6 Sep 2002 17:58:27 +0000 (19:58 +0200)]
ctype_noninline.h [...]: Remove using _C_legacy::__ctype_*.

* config/os/gnu-linux/ctype_noninline.h
[_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
(ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
_S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
and return __ctype_b.
(ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
_GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
initialize using __ctype_{b,tolower,toupper}.
(ctype<char>::ctype(const mask*, bool, size_t)): If
_GLIBCPP_C_LOCALE_GNU, initialize using
_S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.

From-SVN: r56893

21 years ago* gcc.dg/cpp/_Pragma4.c: Fix typo.
Neil Booth [Fri, 6 Sep 2002 16:38:36 +0000 (16:38 +0000)]
* gcc.dg/cpp/_Pragma4.c: Fix typo.

From-SVN: r56891

21 years agoh8300.c (enum shift_alg): Move to earlier in h8300.c.
Dhananjay R. Deshpande [Fri, 6 Sep 2002 16:16:10 +0000 (10:16 -0600)]
h8300.c (enum shift_alg): Move to earlier in h8300.c.

        * h8300.c (enum shift_alg): Move to earlier in h8300.c.
        (enum shift_type, enum h8_cpu): Likewise.
        (INL, ROT, LOP, SPC macros): Likewise.
        (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
        const designator.
        (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
        space efficient algorithms when optimize for codesize.

From-SVN: r56890

21 years agoRemoved objc/formal-protocol-6.x as this testcase is now supposed to pass
Nicola Pero [Fri, 6 Sep 2002 15:50:34 +0000 (15:50 +0000)]
Removed objc/formal-protocol-6.x as this testcase is now supposed to pass

From-SVN: r56889

21 years agoRemoved - the testcase should not pass
Nicola Pero [Fri, 6 Sep 2002 15:49:47 +0000 (15:49 +0000)]
Removed - the testcase should not pass

From-SVN: r56888

21 years agoCompile ObjC @protocols into list of ObjC statically allocated instances,
Nicola Pero [Fri, 6 Sep 2002 15:43:46 +0000 (17:43 +0200)]
Compile ObjC @protocols into list of ObjC statically allocated instances,

fixing long standing problems with standalone @protocols in ObjC files

From-SVN: r56887

21 years agoFixed indentantion of my last ChangeLog entry
Nicola Pero [Fri, 6 Sep 2002 15:26:36 +0000 (15:26 +0000)]
Fixed indentantion of my last ChangeLog entry

From-SVN: r56886

21 years agoFixed bugs in the ObjC -gen-decls option
Nicola Pero [Fri, 6 Sep 2002 15:25:35 +0000 (17:25 +0200)]
Fixed bugs in the ObjC -gen-decls option

From-SVN: r56884

21 years agoarm-protos.h (arm_gen_return_addr_mask): New prototype.
Jason Thorpe [Fri, 6 Sep 2002 14:54:48 +0000 (14:54 +0000)]
arm-protos.h (arm_gen_return_addr_mask): New prototype.

* config/arm/arm-protos.h (arm_gen_return_addr_mask): New
prototype.
* config/arm/arm.c (arm_gen_return_addr_mask): New function.
* config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
rather than GEN_INT.
* config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
(return_addr_mask, *check_arch2): New.

From-SVN: r56883

21 years agoweak: New directory.
Stan Shebs [Fri, 6 Sep 2002 13:00:39 +0000 (13:00 +0000)]
weak: New directory.

2002-09-06  Stan Shebs  <shebs@apple.com>
            David Edelsohn  <edelsohn@gnu.org>

        * gcc.dg/weak: New directory.
        * gcc.dg/weak-[1-9].c: Move to new directory, remove all
        target-specific xfail bits.
        * gcc.dg/typeof-2.c: Move to new directory.
        * gcc.dg/weak.exp: New expect script.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r56882

21 years agos390.md ("*adddi3_cc", [...]): Use "nonimmediate_operand" instead of "register_operan...
Ulrich Weigand [Fri, 6 Sep 2002 12:39:17 +0000 (12:39 +0000)]
s390.md ("*adddi3_cc", [...]): Use "nonimmediate_operand" instead of "register_operand" as predicate for "%0"...

* config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
"*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
"*addsi3_carry1_cc", "*addsi3_carry1_cconly",
"*addsi3_carry2_cc", "*addsi3_carry2_cconly",
"*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
"adddf3", "*adddf3", "*adddf3_ibm",
"addsf3", "*addsf3", "*addsf3_ibm",
"muldi3", "mulsi3", "mulsidi3",
"muldf3", "*muldf3", "*muldf3_ibm",
"mulsf3", "*mulsf3", "*mulsf3_ibm",
"*anddi3_cc", "*anddi3_cconly", "anddi3",
"*andsi3_cc", "*andsi3_cconly", "andsi3",
"*iordi3_cc", "*iordi3_cconly", "iordi3",
"*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
"*xordi3_cc", "*xordi3_cconly", "xordi3",
"*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
instead of "register_operand" as predicate for "%0" operand.

From-SVN: r56881

21 years agoconfigure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 unconditionally when gcc_cv_as_...
Jakub Jelinek [Fri, 6 Sep 2002 12:00:11 +0000 (14:00 +0200)]
configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 unconditionally when gcc_cv_as_flags64 checks are gone.

* configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
unconditionally when gcc_cv_as_flags64 checks are gone.
* configure: Rebuilt.

From-SVN: r56880

21 years agoDaily bump.
GCC Administrator [Fri, 6 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56878

21 years ago* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
Roger Sayle [Thu, 5 Sep 2002 23:07:13 +0000 (23:07 +0000)]
* regex.c: Only use "#pragma alloca" on AIX when not using gcc.

From-SVN: r56871

21 years ago* gcc.c-torture/execute/extzvsi.c: New test.
Alan Modra [Thu, 5 Sep 2002 22:53:20 +0000 (22:53 +0000)]
* gcc.c-torture/execute/extzvsi.c: New test.

From-SVN: r56868

21 years agors6000.md (extzvsi_internal2): Revert most of 2002-07-26 change.
Alan Modra [Thu, 5 Sep 2002 22:48:53 +0000 (22:48 +0000)]
rs6000.md (extzvsi_internal2): Revert most of 2002-07-26 change.

* config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
2002-07-26 change.  Comment.

From-SVN: r56867

21 years agore PR libstdc++/7811 (default locale not taken from environment)
Paolo Carlini [Thu, 5 Sep 2002 21:13:07 +0000 (23:13 +0200)]
re PR libstdc++/7811 (default locale not taken from environment)

2002-09-05  Paolo Carlini  <pcarlini@unitus.it>
    Roland McGrath  <roland@redhat.com>

PR libstdc++/7811
* src/locale.cc (locale::locale(__s)): Use getenv instead
of setenv for the environment locale.
* testsuite/22_locale/ctor_copy_dtor.cc (test03): New.

Co-Authored-By: Roland McGrath <roland@redhat.com>
From-SVN: r56865

21 years agofrv.c (frv_unique_section, [...]): Delete.
Kaveh R. Ghazi [Thu, 5 Sep 2002 20:58:49 +0000 (20:58 +0000)]
frv.c (frv_unique_section, [...]): Delete.

* frv.c (frv_unique_section, frv_select_section,
frv_select_rtx_section): Delete.
(frv_in_small_data_p): New.
(TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
TARGET_ASM_SELECT_RTX_SECTION): Delete.
(TARGET_IN_SMALL_DATA_P): Define.

From-SVN: r56864

21 years agoIn reload, retain only those clobbers added for variable-array handling.
Dale Johannesen [Thu, 5 Sep 2002 20:41:11 +0000 (20:41 +0000)]
In reload, retain only those clobbers added for variable-array handling.

From-SVN: r56863

21 years agoarm.c (arm_return_in_memory): Implement ATPCS return-in-memory rules.
Jason Thorpe [Thu, 5 Sep 2002 17:11:47 +0000 (17:11 +0000)]
arm.c (arm_return_in_memory): Implement ATPCS return-in-memory rules.

* config/arm/arm.c (arm_return_in_memory): Implement ATPCS
return-in-memory rules.
* config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.

From-SVN: r56858

21 years agoreal.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time constant...
Jason Thorpe [Thu, 5 Sep 2002 16:54:57 +0000 (16:54 +0000)]
real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time constant for...

* real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
not a compile-time constant for the non-IBM case.
* config/arm/arm-protos.h (arm_float_words_big_endian): New
prototype.
* config/arm/arm.c (arm_float_words_big_endian): New function.
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
if TARGET_VFP  and not TARGET_HARD_FLOAT.
(ARM_FLAG_VFP, TARGET_VFP): Define.
(FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.

[ Missed arm.h in previous checkin, and pasto'd ChangeLog entry, which
  is now corrected. ]

From-SVN: r56857

21 years agoxcoff.h (HOT_TEXT_SECTION_NAME): Delete.
David Edelsohn [Thu, 5 Sep 2002 16:51:00 +0000 (16:51 +0000)]
xcoff.h (HOT_TEXT_SECTION_NAME): Delete.

        * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
        (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.

From-SVN: r56856

21 years agoweak-1.c: xfail on Darwin.
Stan Shebs [Thu, 5 Sep 2002 16:49:02 +0000 (16:49 +0000)]
weak-1.c: xfail on Darwin.

        * gcc.dg/weak-1.c: xfail on Darwin.
        * gcc.dg/weak-2.c: Ditto.
        * gcc.dg/weak-3.c: Ditto.
        * gcc.dg/weak-4.c: Ditto.
        * gcc.dg/weak-5.c: Ditto.
        * gcc.dg/weak-6.c: Ditto.
        * gcc.dg/weak-7.c: Ditto.
        * gcc.dg/weak-8.c: Ditto.
        * gcc.dg/weak-9.c: Ditto.

From-SVN: r56855

21 years agoreal.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time constant...
Jason Thorpe [Thu, 5 Sep 2002 16:45:24 +0000 (16:45 +0000)]
real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time constant for...

* real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
not a compile-time constant for the non-IBM case.
* config/arm/arm-protos.h (arm_float_words_big_endian): New
prototype.
* config/arm/arm.c (arm_float_words_big_endian): New function.
(TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__ if TARGET_VFP
and not TARGET_HARD_FLOAT.
(ARM_FLAG_VFP, TARGET_VFP): Define.
(FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.

From-SVN: r56854

21 years agoOops, typo in dir name.
Jakub Jelinek [Thu, 5 Sep 2002 16:32:28 +0000 (18:32 +0200)]
Oops, typo in dir name.

From-SVN: r56851

21 years agoinstall.texi: Correct text of s390-*-linux* and s390x-*-linux* URLs.
David Edelsohn [Thu, 5 Sep 2002 16:30:42 +0000 (16:30 +0000)]
install.texi: Correct text of s390-*-linux* and s390x-*-linux* URLs.

        * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
        URLs.  Fix AIX wording.

From-SVN: r56850

21 years agors6000.c (rs6000_override_options): Make -fpic and -fPIC equivalent on Darwin.
Stan Shebs [Thu, 5 Sep 2002 16:25:49 +0000 (16:25 +0000)]
rs6000.c (rs6000_override_options): Make -fpic and -fPIC equivalent on Darwin.

        * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
        -fPIC equivalent on Darwin.

From-SVN: r56848

21 years agoia64-unknown-linux-gnu: Add.
Jakub Jelinek [Thu, 5 Sep 2002 16:21:55 +0000 (18:21 +0200)]
ia64-unknown-linux-gnu: Add.

* 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

21 years agoMakefile: Use more portable shell wildcard.
Jonathan Wakely [Thu, 5 Sep 2002 15:47:54 +0000 (15:47 +0000)]
Makefile: Use more portable shell wildcard.

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

21 years agosh.c (sh_expand_builtin): Return early if encountering an error_mark for a type.
J"orn Rennecke [Thu, 5 Sep 2002 15:31:24 +0000 (15:31 +0000)]
sh.c (sh_expand_builtin): Return early if encountering an error_mark for a type.

* sh.c (sh_expand_builtin): Return early if encountering an
error_mark for a type.

From-SVN: r56844

21 years agos390.c (s390_expand_plus_operand): Do not require double-word scratch register.
Ulrich Weigand [Thu, 5 Sep 2002 14:46:39 +0000 (14:46 +0000)]
s390.c (s390_expand_plus_operand): Do not require double-word scratch register.

* 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

21 years agoverify.c (verify_jvm_instructions): Allow exception handler inside code that is being...
Andrew Haley [Thu, 5 Sep 2002 13:24:41 +0000 (13:24 +0000)]
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

21 years agoctype_members.cc (ctype<wchar_t>::do_widen(char)): Switch to _M_c_locale_ctype around...
Jakub Jelinek [Thu, 5 Sep 2002 07:54:26 +0000 (09:54 +0200)]
ctype_members.cc (ctype<wchar_t>::do_widen(char)): Switch to _M_c_locale_ctype around btowc call.

* 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

21 years agomonetary_members.cc (moneypunct<wchar_t, [...]): Use __uselocale instead of setlocale...
Jakub Jelinek [Thu, 5 Sep 2002 07:51:16 +0000 (09:51 +0200)]
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

21 years agoc++locale_internal.h: New header.
Jakub Jelinek [Thu, 5 Sep 2002 07:46:17 +0000 (09:46 +0200)]
c++locale_internal.h: New header.

* 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

21 years agoDaily bump.
GCC Administrator [Thu, 5 Sep 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56835

21 years agoDaily bump.
GCC Administrator [Thu, 5 Sep 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r56834.3

21 years agoh8300.c (asm_file_start): Add a missing semicolon.
Kazu Hirata [Thu, 5 Sep 2002 06:59:38 +0000 (06:59 +0000)]
h8300.c (asm_file_start): Add a missing semicolon.

* config/h8300/h8300.c (asm_file_start): Add a missing
semicolon.

From-SVN: r56829

21 years ago* frv.c (frv_encode_section_info): Fix error in last change.
Kaveh R. Ghazi [Thu, 5 Sep 2002 05:12:38 +0000 (05:12 +0000)]
* frv.c (frv_encode_section_info): Fix error in last change.

From-SVN: r56827

21 years agors6000.c (rs6000_flag_pic): New variable.
David Edelsohn [Thu, 5 Sep 2002 03:49:42 +0000 (03:49 +0000)]
rs6000.c (rs6000_flag_pic): New variable.

        * 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

21 years agoFix struct rtx_const so veclo and vechi don't share storage.
Dale Johannesen [Wed, 4 Sep 2002 23:59:56 +0000 (23:59 +0000)]
Fix struct rtx_const so veclo and vechi don't share storage.

From-SVN: r56825

21 years agoloop.c (scan_loop): Don't mark separate insns out of a libcall for moving.
J"orn Rennecke [Wed, 4 Sep 2002 23:38:25 +0000 (23:38 +0000)]
loop.c (scan_loop): Don't mark separate insns out of a libcall for moving.

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

21 years agotypeck2.c (add_exception_specifier): Only pedwarn for an incomplete type.
Jason Merrill [Wed, 4 Sep 2002 23:24:00 +0000 (19:24 -0400)]
typeck2.c (add_exception_specifier): Only pedwarn for an incomplete type.

        * 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

21 years agostd_limits.h (__glibcpp_f32_infinity_bytes, [...]): Remove.
Richard Henderson [Wed, 4 Sep 2002 23:22:18 +0000 (16:22 -0700)]
std_limits.h (__glibcpp_f32_infinity_bytes, [...]): Remove.

        * 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

21 years agobuiltin-types.def (BT_FN_FLOAT): New.
Richard Henderson [Wed, 4 Sep 2002 23:21:28 +0000 (16:21 -0700)]
builtin-types.def (BT_FN_FLOAT): New.

        * 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

21 years agocse.c (cse_insn): Avoid subreg games if the equivalence is already in the proper...
Richard Henderson [Wed, 4 Sep 2002 23:03:31 +0000 (16:03 -0700)]
cse.c (cse_insn): Avoid subreg games if the equivalence is already in the proper mode.

        * cse.c (cse_insn): Avoid subreg games if the equivalence
        is already in the proper mode.

From-SVN: r56819

21 years agore PR java/7830 (Off-by-one buffer overruns in fastjar tool)
Tom Tromey [Wed, 4 Sep 2002 22:40:55 +0000 (22:40 +0000)]
re PR java/7830 (Off-by-one buffer overruns in fastjar tool)

From greenrd@hotmail.com:
* jartool.c (list_jar): Correctly determine when new `filename'
buffer must be allocated.  Fixes PR java/7830.

From-SVN: r56818

21 years agore PR c/7102 (unsigned char divisision results in floating exception)
Eric Botcazou [Wed, 4 Sep 2002 22:24:12 +0000 (22:24 +0000)]
re PR c/7102 (unsigned char divisision results in floating exception)

        PR c/7102
        * optabs.c (expand_binop): Convert CONST_INTs in all cases.

From-SVN: r56815

21 years ago* pa.md (setccfp0, setccfp1): New patterns.
John David Anglin [Wed, 4 Sep 2002 22:05:43 +0000 (22:05 +0000)]
* pa.md (setccfp0, setccfp1): New patterns.

From-SVN: r56814

21 years agofrv-protos.h (frv_init_builtins, [...]): Delete.
Kaveh R. Ghazi [Wed, 4 Sep 2002 20:56:33 +0000 (20:56 +0000)]
frv-protos.h (frv_init_builtins, [...]): Delete.

* 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

21 years agoip2k-protos.h (function_prologue, [...]): Update to match target hook specification.
Kaveh R. Ghazi [Wed, 4 Sep 2002 20:32:35 +0000 (20:32 +0000)]
ip2k-protos.h (function_prologue, [...]): Update to match target hook specification.

* 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

21 years agotrouble.texi (Interoperation): Update information about C++ ABI issues.
Janis Johnson [Wed, 4 Sep 2002 20:28:38 +0000 (20:28 +0000)]
trouble.texi (Interoperation): Update information about C++ ABI issues.

2002-09-04  Janis Johnson  <janis187@us.ibm.com>

* trouble.texi (Interoperation): Update information about C++ ABI
issues.

From-SVN: r56808

21 years ago* config/sparc/t-netbsd64: Disable multilib for now.
Jason Thorpe [Wed, 4 Sep 2002 18:18:37 +0000 (18:18 +0000)]
* config/sparc/t-netbsd64: Disable multilib for now.

From-SVN: r56807

21 years agotarget-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
David Edelsohn [Wed, 4 Sep 2002 18:11:18 +0000 (18:11 +0000)]
target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.

        * 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

21 years agoexpr.c (emit_group_load): Revise to allow splitting TCmode source into DImode pieces.
John David Anglin [Wed, 4 Sep 2002 18:09:32 +0000 (18:09 +0000)]
expr.c (emit_group_load): Revise to allow splitting TCmode source into DImode pieces.

* 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

21 years agocombine.c (make_compound_operation): Don't generate zero / sign extensions in floatin...
J"orn Rennecke [Wed, 4 Sep 2002 17:49:58 +0000 (17:49 +0000)]
combine.c (make_compound_operation): Don't generate zero / sign extensions in floating point modes.

* combine.c (make_compound_operation): Don't generate zero / sign
extensions in floating point modes.

From-SVN: r56804

21 years agoc-tree.texi: Fix overfull hboxes.
Janis Johnson [Wed, 4 Sep 2002 17:35:59 +0000 (17:35 +0000)]
c-tree.texi: Fix overfull hboxes.

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

21 years ago2002-09-04 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 4 Sep 2002 17:35:22 +0000 (17:35 +0000)]
2002-09-04  Michael Koch  <konqueror@gmx.de>

* 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

21 years agoc-common.c (builtin_define_with_hex_fp_value): New.
Richard Henderson [Wed, 4 Sep 2002 17:11:32 +0000 (10:11 -0700)]
c-common.c (builtin_define_with_hex_fp_value): New.

        * c-common.c (builtin_define_with_hex_fp_value): New.
        (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.

From-SVN: r56800

21 years agoinvoke.texi (-fshort-wchar): Move to Code Generation Options.
Janis Johnson [Wed, 4 Sep 2002 16:36:45 +0000 (16:36 +0000)]
invoke.texi (-fshort-wchar): Move to Code Generation Options.

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

21 years agoreal.c (ereal_to_decimal): Add digits parameter.
Richard Henderson [Wed, 4 Sep 2002 16:24:24 +0000 (09:24 -0700)]
real.c (ereal_to_decimal): Add digits parameter.

* 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

21 years agoelf.h (TARGET_SECTION_TYPE_FLAGS): Define to xtensa_multibss_section_type_flags.
Bob Wilson [Wed, 4 Sep 2002 16:22:51 +0000 (16:22 +0000)]
elf.h (TARGET_SECTION_TYPE_FLAGS): Define to xtensa_multibss_section_type_flags.

        * 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

21 years agoinstall-old.texi: Don't mention enquire.
Richard Henderson [Wed, 4 Sep 2002 16:09:31 +0000 (09:09 -0700)]
install-old.texi: Don't mention enquire.

        * doc/install-old.texi: Don't mention enquire.
        * doc/sourcebuild.texi: Update float.h description.

From-SVN: r56796

21 years ago* enquire.c: Remove.
Richard Henderson [Wed, 4 Sep 2002 16:09:10 +0000 (09:09 -0700)]
* enquire.c: Remove.

From-SVN: r56795

21 years ago* sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
J"orn Rennecke [Wed, 4 Sep 2002 10:24:14 +0000 (10:24 +0000)]
* sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.

From-SVN: r56793

21 years ago* gcc.dg/typeof-2.c: New test.
Jakub Jelinek [Wed, 4 Sep 2002 08:58:49 +0000 (10:58 +0200)]
* gcc.dg/typeof-2.c: New test.

From-SVN: r56792

21 years agodecl.c (start_cleanup_fn): Clear interface_only before start_function, restore it...
Jakub Jelinek [Wed, 4 Sep 2002 08:50:16 +0000 (10:50 +0200)]
decl.c (start_cleanup_fn): Clear interface_only before start_function, restore it afterwards.

* decl.c (start_cleanup_fn): Clear interface_only before
start_function, restore it afterwards.

* g++.dg/other/cxa-atexit1.C: New test.

From-SVN: r56790

21 years agoDaily bump.
GCC Administrator [Wed, 4 Sep 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56788

21 years agoSocketOptions.java: added static variables to be JDK 1.4 compatible (SO_BROADCAST...
Michael Koch [Wed, 4 Sep 2002 05:34:12 +0000 (05:34 +0000)]
SocketOptions.java: added static variables to be JDK 1.4 compatible (SO_BROADCAST...

2002-09-04  Michael Koch  <konqueror@gmx.de>

       * java/net/SocketOptions.java: added static variables to be JDK 1.4
       compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
       IP_MULTICAST_LOOP, IP_TOS)

From-SVN: r56782

21 years agovarasm.c (default_section_type_flags): Append _1 to name with shlib parameter.
David Edelsohn [Wed, 4 Sep 2002 01:56:12 +0000 (01:56 +0000)]
varasm.c (default_section_type_flags): Append _1 to name with shlib parameter.

        * varasm.c (default_section_type_flags): Append _1 to name with
        shlib parameter.  Use original name to call new function with
        implicit flag_pic.
        (decl_readonly_section): Likewise.
        (default_elf_select_section): Likewise.
        (default_unique_section): Likewise.
        (default_bind_local_p): Likewise.
        (categorize_decl_for_section): Add shlib parameter to use in place
        of implicit flag_pic.
        * output.h: Declare new functions with _1 and shlib argument.

From-SVN: r56780

21 years agoinstall.texi: Fix typos, formatting problems, and obvious overfull/underfull boxes.
Janis Johnson [Tue, 3 Sep 2002 23:52:06 +0000 (23:52 +0000)]
install.texi: Fix typos, formatting problems, and obvious overfull/underfull boxes.

2002-09-03  Janis Johnson  <janis187@us.ibm.com>

* doc/install.texi: Fix typos, formatting problems, and obvious
overfull/underfull boxes.

From-SVN: r56777

21 years agoMakefile.in (TEXI_GCC_FILES): Add compat.texi.
Janis Johnson [Tue, 3 Sep 2002 22:47:41 +0000 (22:47 +0000)]
Makefile.in (TEXI_GCC_FILES): Add compat.texi.

2002-09-03  Janis Johnson  <janis187@us.ibm.com>

* Makefile.in (TEXI_GCC_FILES): Add compat.texi.
* doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
include its file, compat.texi.
* doc/compat.texi: New file with new chapter, Binary Compatibility.

From-SVN: r56774

21 years agoDebian BTS Bug #
Neil Booth [Tue, 3 Sep 2002 21:55:40 +0000 (21:55 +0000)]
Debian BTS Bug #

Debian BTS Bug #
* cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
* cpplib.c (destringize_and_run): Kludge around getting
tokens from in-progress macros.
(_cpp_do__Pragma): Simplify.
testsuite:
* gcc.dg/cpp/_Pragma4.c: New test.

From-SVN: r56773

21 years agoClass.h (_getDeclaredMethod): Declare.
Tom Tromey [Tue, 3 Sep 2002 21:33:46 +0000 (21:33 +0000)]
Class.h (_getDeclaredMethod): Declare.

* java/lang/Class.h (_getDeclaredMethod): Declare.
(_getMethod): Now private.
* java/lang/natClass.cc (_getDeclaredMethod): Renamed from
getDeclaredMethod.  Now returns NULL on failure.
* java/lang/Class.java (_getDeclaredMethod): Declare.
(getDeclaredMethod): No longer native; implements access checks.

From-SVN: r56772

21 years agoia64.h (EXTRA_SPECS): Remove cpp_cpu.
Steve Ellcey [Tue, 3 Sep 2002 21:09:54 +0000 (21:09 +0000)]
ia64.h (EXTRA_SPECS): Remove cpp_cpu.

* config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
(CPP_CPU_SPEC): Remove.
(TARGET_CPU_CPP_BUILTINS): New.
* config/ia64/hpux.h (CPP_PREDEFINES): Remove.
(CPP_SPEC): Remove.
(TARGET_OS_CPP_BUILTINS): New.
* config/ia64/linux.h (CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): New.
* config/ia64/aix.h (CPP_SPEC): Move some stuff to
TARGET_OS_CPP_BUILTINS.
(CPP_PREDEFINES): Remove.
(CPLUSPLUS_CPP_SPEC): Remove.
(TARGET_OS_CPP_BUILTINS): New.

From-SVN: r56771

21 years agostd_limits.h (__glibcpp_f32_min, [...]): Remove macros.
Richard Henderson [Tue, 3 Sep 2002 20:22:06 +0000 (13:22 -0700)]
std_limits.h (__glibcpp_f32_min, [...]): Remove macros.

* include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
__glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
__glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
__glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
__glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
__glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
__glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
__glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
__glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
__glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
__glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
__glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
__glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
__glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
__glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
__glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
__glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
__glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
__glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
__glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
__glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
__glibcpp_float_digits10, __glibcpp_float_radix,
__glibcpp_float_epsilon, __glibcpp_float_min_exponent,
__glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
__glibcpp_float_max_exponent10, __glibcpp_double_min,
__glibcpp_double_max, __glibcpp_double_digits,
__glibcpp_double_digits10, __glibcpp_double_radix,
__glibcpp_double_epsilon, __glibcpp_double_min_exponent,
__glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
__glibcpp_double_max_exponent10, __glibcpp_long_double_min,
__glibcpp_long_double_max, __glibcpp_long_double_digits,
__glibcpp_long_double_digits10, __glibcpp_long_double_radix,
__glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
__glibcpp_long_double_min_exponent10,
__glibcpp_long_double_max_exponent,
__glibcpp_long_double_max_exponent10): Remove macros.
(std::numeric_limits<float>, std::numeric_limits<double>,
std::numeric_limits<long double>): Use protected float.h macros.

From-SVN: r56770

21 years agoMakefile.in (USER_H): Add ginclude/float.h.
Richard Henderson [Tue, 3 Sep 2002 20:21:35 +0000 (13:21 -0700)]
Makefile.in (USER_H): Add ginclude/float.h.

        * Makefile.in (USER_H): Add ginclude/float.h.
        (FLOAT_H): Remove.
        (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
        (mostlyclean): Don't remove float.h intermediate files.
        (distclean): Don't remove float.h.
        * config.gcc: Remove all float_format references.
        * configure.in (float_format, float_h_file): Remove.

        * c-common.c: Include tree-inline.h.
        (builtin_define_with_int_value): New.
        (builtin_define_type_precision): Use it.
        (builtin_define_float_constants): New.
        (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
        __FLT_EVAL_METHOD__.
        * defaults.h (TARGET_FLT_EVAL_METHOD): New.
        * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
        * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
        * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
        (TARGET_FLT_EVAL_METHOD): New.

        * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
        config/float-i386.h, config/float-i64.h, config/float-m68k.h,
        config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
        * ginclude/float.h: New.

From-SVN: r56769

21 years agodarwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
Stan Shebs [Tue, 3 Sep 2002 20:09:18 +0000 (20:09 +0000)]
darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.

        * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
        (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
        (PREFERRED_DEBUGGING_TYPE): Ditto.
        (ASM_OUTPUT_IDENT): Remove empty definition.

From-SVN: r56768

21 years agoconfig.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and cxx_target.
Steve Ellcey [Tue, 3 Sep 2002 19:47:10 +0000 (19:47 +0000)]
config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and cxx_target.

* config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
cxx_target.
* config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
handling routine for builtin pragma.
* config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
Registered pragma handling routine.
* ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
(ia64_hpux_add_pragma_builtin) New subroutine used by above.
If builtin pragma seen for math routine and C89 conformance is
requested use different math function in order to set errno.
* t-ia64 (ia64-c.o): Add new rule for new file.

From-SVN: r56767

21 years agos390.md ("movti"): Add Q->Q alternative.
Ulrich Weigand [Tue, 3 Sep 2002 18:33:56 +0000 (18:33 +0000)]
s390.md ("movti"): Add Q->Q alternative.

* config/s390/s390.md ("movti"): Add Q->Q alternative.
("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
"movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.

("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
"*movsf_ss"): Remove.

From-SVN: r56765

21 years agopa32-regs.h (CLASS_CANNOT_CHANGE_MODE, [...]): Delete macros.
John David Anglin [Tue, 3 Sep 2002 18:01:23 +0000 (18:01 +0000)]
pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, [...]): Delete macros.

* pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
Delete macros.

From-SVN: r56764

21 years ago* h8300.c (asm_file_start): Corrected optimization comment.
Arati Dikey [Tue, 3 Sep 2002 17:25:02 +0000 (17:25 +0000)]
* h8300.c (asm_file_start): Corrected optimization comment.

From-SVN: r56761

21 years agoc-lang.c (recognize_objc_keyword): Remove, no longer used.
Stan Shebs [Tue, 3 Sep 2002 16:40:29 +0000 (16:40 +0000)]
c-lang.c (recognize_objc_keyword): Remove, no longer used.

        * c-lang.c (recognize_objc_keyword): Remove, no longer used.
        * c-tree.h (recognize_objc_keyword): Remove decl.
        * c-typeck.c (comp_target_types): Update a comment.

From-SVN: r56760

21 years agos390.c (s390_decompose_address): Remove STRICT parameter and register validity checks.
Ulrich Weigand [Tue, 3 Sep 2002 16:30:32 +0000 (16:30 +0000)]
s390.c (s390_decompose_address): Remove STRICT parameter and register validity checks.

* config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
and register validity checks.
(general_s_operand): Adapt to s390_decompose_address interface change.
(q_constraint): Likewise.
(s390_expand_plus_operand): Likewise.
(legitimiate_address_p): Likewise.
(legitimate_la_operand_p): Likewise.
(legitimize_la_operand): Likewise.
(print_operand_address): Likewise.
(print_operand): Likewise.

From-SVN: r56759

21 years agoFixed typo causing bloat when compiling ObjC programs with GNU runtime
Nicola Pero [Tue, 3 Sep 2002 10:39:40 +0000 (12:39 +0200)]
Fixed typo causing bloat when compiling ObjC programs with GNU runtime

From-SVN: r56753

21 years agoNew testcase
Nicola Pero [Tue, 3 Sep 2002 10:27:36 +0000 (12:27 +0200)]
New testcase

From-SVN: r56752

21 years agoDaily bump.
GCC Administrator [Tue, 3 Sep 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56751

21 years ago* config/i386/i386.md ("femms"): Add "memory" attr "none".
Graham Stott [Tue, 3 Sep 2002 00:43:17 +0000 (00:43 +0000)]
* config/i386/i386.md ("femms"): Add "memory" attr "none".

From-SVN: r56745

21 years ago* expr.c (expand_expr): Remove extraneous comment and code.
Graham Stott [Tue, 3 Sep 2002 00:33:34 +0000 (00:33 +0000)]
* expr.c (expand_expr): Remove extraneous comment and code.

From-SVN: r56744