aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-09-06ctype_noninline.h [...]: Remove using _C_legacy::__ctype_*.Jakub Jelinek2-16/+84
* 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* gcc.dg/cpp/_Pragma4.c: Fix typo.Neil Booth2-1/+5
From-SVN: r56891
2002-09-06h8300.c (enum shift_alg): Move to earlier in h8300.c.Dhananjay R. Deshpande2-153/+205
* 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-06Removed objc/formal-protocol-6.x as this testcase is now supposed to passNicola Pero1-0/+5
From-SVN: r56889
2002-09-06Removed - the testcase should not passNicola Pero1-2/+0
From-SVN: r56888
2002-09-06Compile ObjC @protocols into list of ObjC statically allocated instances,Nicola Pero2-1/+95
fixing long standing problems with standalone @protocols in ObjC files From-SVN: r56887
2002-09-06Fixed indentantion of my last ChangeLog entryNicola Pero1-1/+1
From-SVN: r56886
2002-09-06Fixed bugs in the ObjC -gen-decls optionNicola Pero2-11/+46
From-SVN: r56884
2002-09-06arm-protos.h (arm_gen_return_addr_mask): New prototype.Jason Thorpe5-2/+57
* 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-06weak: New directory.Stan Shebs14-74/+67
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-06s390.md ("*adddi3_cc", [...]): Use "nonimmediate_operand" instead of ↵Ulrich Weigand2-47/+67
"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-06configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 unconditionally when ↵Jakub Jelinek3-45/+47
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-06Daily bump.GCC Administrator7-7/+7
From-SVN: r56878
2002-09-05* regex.c: Only use "#pragma alloca" on AIX when not using gcc.Roger Sayle2-1/+5
From-SVN: r56871
2002-09-06* gcc.c-torture/execute/extzvsi.c: New test.Alan Modra2-0/+35
From-SVN: r56868
2002-09-06rs6000.md (extzvsi_internal2): Revert most of 2002-07-26 change.Alan Modra2-7/+10
* config/rs6000/rs6000.md (extzvsi_internal2): Revert most of 2002-07-26 change. Comment. From-SVN: r56867
2002-09-05re PR libstdc++/7811 (default locale not taken from environment)Paolo Carlini3-1/+33
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-05frv.c (frv_unique_section, [...]): Delete.Kaveh R. Ghazi2-128/+22
* 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-05In reload, retain only those clobbers added for variable-array handling.Dale Johannesen2-4/+12
From-SVN: r56863
2002-09-05arm.c (arm_return_in_memory): Implement ATPCS return-in-memory rules.Jason Thorpe3-1/+22
* 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-05real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time ↵Jason Thorpe2-4/+14
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-05xcoff.h (HOT_TEXT_SECTION_NAME): Delete.David Edelsohn2-2/+5
* config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete. (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete. From-SVN: r56856
2002-09-05weak-1.c: xfail on Darwin.Stan Shebs10-13/+33
* 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-05real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is not a compile-time ↵Jason Thorpe4-1/+38
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-05Oops, typo in dir name.Jakub Jelinek1-0/+0
From-SVN: r56851
2002-09-05install.texi: Correct text of s390-*-linux* and s390x-*-linux* URLs.David Edelsohn2-4/+9
* doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux* URLs. Fix AIX wording. From-SVN: r56850
2002-09-05rs6000.c (rs6000_override_options): Make -fpic and -fPIC equivalent on Darwin.Stan Shebs2-0/+9
* config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and -fPIC equivalent on Darwin. From-SVN: r56848
2002-09-05ia64-unknown-linux-gnu: Add.Jakub Jelinek3-0/+6069
* 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-05Makefile: Use more portable shell wildcard.Jonathan Wakely28-1210/+1516
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-05sh.c (sh_expand_builtin): Return early if encountering an error_mark for a type.J"orn Rennecke2-0/+7
* sh.c (sh_expand_builtin): Return early if encountering an error_mark for a type. From-SVN: r56844
2002-09-05s390.c (s390_expand_plus_operand): Do not require double-word scratch register.Ulrich Weigand3-69/+51
* 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-05verify.c (verify_jvm_instructions): Allow exception handler inside code that ↵Andrew Haley3-4/+14
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-05ctype_members.cc (ctype<wchar_t>::do_widen(char)): Switch to ↵Jakub Jelinek2-2/+40
_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
2002-09-05monetary_members.cc (moneypunct<wchar_t, [...]): Use __uselocale instead of ↵Jakub Jelinek2-4/+25
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
2002-09-05c++locale_internal.h: New header.Jakub Jelinek15-25/+192
* 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
2002-09-05Daily bump.GCC Administrator6-6/+6
From-SVN: r56835
2002-09-05Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r56834.3
2002-09-05h8300.c (asm_file_start): Add a missing semicolon.Kazu Hirata2-1/+6
* config/h8300/h8300.c (asm_file_start): Add a missing semicolon. From-SVN: r56829
2002-09-05* frv.c (frv_encode_section_info): Fix error in last change.Kaveh R. Ghazi2-1/+5
From-SVN: r56827
2002-09-04rs6000.c (rs6000_flag_pic): New variable.David Edelsohn3-138/+132
* 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
2002-09-04Fix struct rtx_const so veclo and vechi don't share storage.Dale Johannesen2-6/+13
From-SVN: r56825
2002-09-05loop.c (scan_loop): Don't mark separate insns out of a libcall for moving.J"orn Rennecke4-255/+308
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
2002-09-04typeck2.c (add_exception_specifier): Only pedwarn for an incomplete type.Jason Merrill7-16/+122
* 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
2002-09-04std_limits.h (__glibcpp_f32_infinity_bytes, [...]): Remove.Richard Henderson3-94/+26
* 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
2002-09-04builtin-types.def (BT_FN_FLOAT): New.Richard Henderson7-2/+141
* 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
2002-09-04cse.c (cse_insn): Avoid subreg games if the equivalence is already in the ↵Richard Henderson2-8/+22
proper mode. * cse.c (cse_insn): Avoid subreg games if the equivalence is already in the proper mode. From-SVN: r56819
2002-09-04re PR java/7830 (Off-by-one buffer overruns in fastjar tool)Tom Tromey2-2/+8
From greenrd@hotmail.com: * jartool.c (list_jar): Correctly determine when new `filename' buffer must be allocated. Fixes PR java/7830. From-SVN: r56818
2002-09-04re PR c/7102 (unsigned char divisision results in floating exception)Eric Botcazou3-13/+31
PR c/7102 * optabs.c (expand_binop): Convert CONST_INTs in all cases. From-SVN: r56815
2002-09-04* pa.md (setccfp0, setccfp1): New patterns.John David Anglin2-0/+24
From-SVN: r56814
2002-09-04frv-protos.h (frv_init_builtins, [...]): Delete.Kaveh R. Ghazi4-110/+60
* 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