Richard Henderson
36eea25f2b
* real.c (ereal_inf): Clear E before use.
...
From-SVN: r56925
2002-09-07 19:17:26 -07:00
Richard Henderson
ff6c6aa895
New tests.
...
From-SVN: r56924
2002-09-07 19:15:27 -07:00
Kazu Hirata
5c102b484a
h8300.md (udivmodqi4): Split the pattern into an expander and an anonymous pattern.
...
* config/h8300/h8300.md (udivmodqi4): Split the pattern into
an expander and an anonymous pattern. Zero out the upper half
of the dividend in the expander.
(udivmodqi4): Likewise.
From-SVN: r56923
2002-09-07 20:21:43 +00:00
Jan Hubicka
902c7fdf7c
com.c (ffe_type_for_mode): Handle long double.
...
2002-09-07 Jan Hubicka <jh@suse.cz>
* com.c (ffe_type_for_mode): Handle long double.
From-SVN: r56921
2002-09-07 21:18:16 +02:00
Jakub Jelinek
7d9857fde0
messages_members.cc: Add specialization for messages<wchar_t>.
...
* config/locale/generic/messages_members.cc: Add specialization for
messages<wchar_t>.
* config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
From-SVN: r56920
2002-09-07 21:06:57 +02:00
Adam Megacz
3a357ad127
natPlainDatagramSocket.cc: include ws2tcpip.h for definition of IP_TOS.
...
2002-09-07 Adam Megacz <adam@xwt.org>
* java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
definition of IP_TOS.
From-SVN: r56918
2002-09-07 19:01:16 +00:00
Kazu Hirata
8bd06267cf
h8300.c: Fix formatting.
...
* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
From-SVN: r56917
2002-09-07 14:14:55 +00:00
Zdenek Dvorak
39587bb9f3
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
2002-09-07 14:02:55 +00:00
Graham Stott
92d9256d25
* rtlanal.c (dead_or_set_regno_p): Fix typo.
...
From-SVN: r56915
2002-09-07 09:59:16 +00:00
GCC Administrator
62d8c4f11c
Daily bump.
...
From-SVN: r56914
2002-09-07 07:17:37 +00:00
Alan Modra
fea76d8251
* config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
...
From-SVN: r56907
2002-09-07 10:07:49 +09:30
Alan Modra
93638d7a89
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
2002-09-07 09:49:27 +09:30
Ziemowit Laski
370ce32a02
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
2002-09-06 23:32:13 +00:00
Krister Walfridsson
5fc0e5dfb4
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
2002-09-06 20:34:41 +00:00
Benjamin Kosnik
09ff0ee4cf
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
2002-09-06 19:52:38 +00:00
Jeff Law
942579db7e
* pentium.md (pentium-firstvboth): Fix typo.
...
From-SVN: r56901
2002-09-06 13:07:48 -06:00
Jakub Jelinek
750db234b1
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
2002-09-06 20:32:08 +02:00
Jakub Jelinek
0fe707cc0e
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
2002-09-06 20:30:36 +02:00
Jakub Jelinek
1c28b93579
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
2002-09-06 19:58:27 +02:00
Neil Booth
2ef835f288
* gcc.dg/cpp/_Pragma4.c: Fix typo.
...
From-SVN: r56891
2002-09-06 16:38:36 +00:00
Dhananjay R. Deshpande
c4dfc70c80
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
2002-09-06 10:16:10 -06:00
Nicola Pero
746b0682ed
Removed objc/formal-protocol-6.x as this testcase is now supposed to pass
...
From-SVN: r56889
2002-09-06 15:50:34 +00:00
Nicola Pero
a81a73c322
Removed - the testcase should not pass
...
From-SVN: r56888
2002-09-06 15:49:47 +00:00
Nicola Pero
5873a4c13b
Compile ObjC @protocols into list of ObjC statically allocated instances,
...
fixing long standing problems with standalone @protocols in ObjC files
From-SVN: r56887
2002-09-06 15:43:46 +00:00
Nicola Pero
22d4398d6d
Fixed indentantion of my last ChangeLog entry
...
From-SVN: r56886
2002-09-06 15:26:36 +00:00
Nicola Pero
e30d4c8210
Fixed bugs in the ObjC -gen-decls option
...
From-SVN: r56884
2002-09-06 15:25:35 +00:00
Jason Thorpe
fcd5374808
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
2002-09-06 14:54:48 +00:00
Stan Shebs
556d006c02
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
2002-09-06 13:00:39 +00:00
Ulrich Weigand
96fd3851d2
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
2002-09-06 12:39:17 +00:00
Jakub Jelinek
2225262510
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
2002-09-06 14:00:11 +02:00
GCC Administrator
78fdd6f637
Daily bump.
...
From-SVN: r56878
2002-09-06 07:17:10 +00:00
Roger Sayle
70c4e67a71
* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
...
From-SVN: r56871
2002-09-05 23:07:13 +00:00
Alan Modra
7d97b0549d
* gcc.c-torture/execute/extzvsi.c: New test.
...
From-SVN: r56868
2002-09-06 08:23:20 +09:30
Alan Modra
bc401279d9
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
2002-09-06 08:18:53 +09:30
Paolo Carlini
e2cbee7fd1
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
2002-09-05 21:13:07 +00:00
Kaveh R. Ghazi
b3fbfc0766
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
2002-09-05 20:58:49 +00:00
Dale Johannesen
41e34bab13
In reload, retain only those clobbers added for variable-array handling.
...
From-SVN: r56863
2002-09-05 20:41:11 +00:00
Jason Thorpe
dc0ba55a5b
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
2002-09-05 17:11:47 +00:00
Jason Thorpe
b5b620a4e8
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
2002-09-05 16:54:57 +00:00
David Edelsohn
dd19d1423e
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
2002-09-05 12:51:00 -04:00
Stan Shebs
8ef3ea700a
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
2002-09-05 16:49:02 +00:00
Jason Thorpe
3717da940a
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
2002-09-05 16:45:24 +00:00
Jakub Jelinek
df4c36e62d
Oops, typo in dir name.
...
From-SVN: r56851
2002-09-05 18:32:28 +02:00
David Edelsohn
225cee280e
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
2002-09-05 12:30:42 -04:00
Stan Shebs
c72bfda72e
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
2002-09-05 16:25:49 +00:00
Jakub Jelinek
fcfe9bce2d
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
2002-09-05 18:21:55 +02:00
Jonathan Wakely
64a6f97186
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
2002-09-05 15:47:54 +00:00
J"orn Rennecke
3578cf6341
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
2002-09-05 16:31:24 +01:00
Ulrich Weigand
7974fe63a5
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
2002-09-05 14:46:39 +00:00
Andrew Haley
b139fcfd92
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
2002-09-05 13:24:41 +00:00