- 09 Oct, 2002 6 commits
-
-
* cse.c (insn_live_p): Pass insn pattern, not full insn to may_trap_p. From-SVN: r57982
Ulrich Weigand committed -
* cppmacro.c (paste_tokens): Only allow / to paste with =. testsuite: * gcc.dg/cpp/paste13.c: New test. From-SVN: r57978
Neil Booth committed -
From-SVN: r57976
GCC Administrator committed -
2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu> PR libstdc++/8071, libstdc++/8127, c++/6745 * streambuf.tcc (__copy_streambufs): Handle cases where __sbin->in_avail() returns 0, or where __sbin doesn't set gptr(). * testsuite/27_io/ostream_inserter_other.cc (test05): Add. From-SVN: r57970
Jonathan Lennox committed -
* config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on 64-bit hosts. (movtf_internal): Reference correct displacement for second value in memory. (movtf splitter): Correct generation of constants in 64-bit mode. From-SVN: r57969
David Edelsohn committed -
* c-common.c (cb_register_builtins): Define __WCHAR_MAX__. * doc/cpp.texi (Common Predefined Macros): Document. From-SVN: r57966
Gabriel Dos Reis committed
-
- 08 Oct, 2002 22 commits
-
-
From-SVN: r57965
Alan Modra committed -
2002-10-08 Paolo Carlini <pcarlini@unitus.it> Benjamin Kosnik <bkoz@redhat.com> * include/bits/localefwd.h (class locale): Add static member _S_num_extra_categories, encoding the number of additional categories. Change _S_num_categories to _S_categories_size. (class locale::_Impl): Add _M_c_cats. (class locale::_Impl::_M_names): Change to array of chars. (class locale::_Impl::_M_check_same_name): Use _S_extra_categories_size, tweak. (locale::locale(const locale&, _Facet*)): Ditto. * src/locale.cc (locale::locale(const char* )): Rewrite to deal with the environment in a POSIX-compliant way while being thread safe. (locale::name()): Update to output POSIX environment strings. * src/localename.cc (locale::_Impl::_Impl(const _Impl&, size_t): Use _S_categories_size_*, tweak. (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto. (locale::_Impl::_Impl(const char*, size_t)): Name each category individually. (locale::_Impl::_M_replace_categories): Use strcpy. * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct): Change default argument to NULL from _S_c_locale. (timepunct::_M_initialize_timepunct): Same. _S_c_locale cleanups. * src/codecvt.c: _S_c_locale simplification. * src/ctype.c: Same. * src/globals.cc: Add fake_name. * src/locale-inst.cc: Remove extra includes. * src/locale.cc: Remove extra includes. Add _S_extra_categories_size definition. Correct "C" initialization. (locale::facet::facet): Don't initialize _S_c_locale. (locale::facet::_M_remove_reference): Adjust. * src/localename: Use facet_vec, facet_name. (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set facet ref counts to one. Initialize _S_c_locale. (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref counts when installing unilaterally. * config/locale/generic/c_locale.cc: Add _S_categories definition. * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro. * config/locale/generic/time_members.cc: _S_c_locale cleanup. * config/locale/gnu/c_locale.cc: Add _S_categories definition. (_S_destroy_c_locale): Move checks against _S_c_locale here. * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro. * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale calls, _S_c_locale usage. * config/locale/gnu/monetary_members.cc: Same, tweaks. * config/locale/gnu/monetary_members.cc: Same. * config/locale/gnu/time_members.cc: Same. * config/os/gnu-linux/ctype_noninline.h: Use locale::classic(). * docs/html/22_locale/locale.html: Add bits about global locales and "C" setlocale. * testsuite/22_locale/facet.cc (test02): Add. * testsuite/22_locale/static_members.cc (test02): Add. * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r57964
Paolo Carlini committed -
* gcc.c-torture/execute/20020720-1.x: Take out sparc XFAILs. For remaining platforms, XFAIL during compile, not execute. Don't XFAIL at -O0. From-SVN: r57963
Kaveh R. Ghazi committed -
PR c++/7754 * decl2.c (finish_anon_union): Do not expand anonymous unions when procesing template functions. * pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable type. Call layout_decl. (tsubst_expr, case DECL_STMT): Handle anonymous unions. From-SVN: r57961
Mark Mitchell committed -
PR doc/7484 * doc/invoke.texi (Option Summary): List -Wmissing-declarations as a C only option. From-SVN: r57958
Gabriel Dos Reis committed -
2002-10-08 Jakub Jelinek <jakub@redhat.com> * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove mno-app-regs|mcmodel=medany. (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt. (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove. (CRTSTUFF_T_CFLAGS): Define. From-SVN: r57956
Jakub Jelinek committed -
re PR target/8087 (sparc-sun-solaris2.7 C testsuite failures in execute/20020720-1.c w/-m64 or on sparcv9/sparc64) PR target/8087 * simplify-rtx.c (avoid_constant_pool_reference): Allow constant pool references that are constructed using LO_SUM. From-SVN: r57942
Roger Sayle committed -
* system.h (GCCBUGURL): Delete. * version.c (bug_report_url): New. Add commentary about modifying both these strings in modified distributions. * version.h: Declare bug_report_url. * diagnostic.c, gcc.c, gcov.c, java/gjavah.c, java/jcf-dump.c, java/jv-scan.c: Globally replace GCCBUGURL with bug_report_url. From-SVN: r57940
Zack Weinberg committed -
gcc: * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to -Wall. * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak message. * flags.h (warn_strict_aliasing): Declare. * toplev.c (warn_strict_aliasing): Define. (lang_independent_options): Add it. * doc/invoke.texi (-Wstrict-aliasing): Document it. testsuite: * gcc.dg/alias-1.c: Tweak expected warning. From-SVN: r57938
Nathan Sidwell committed -
interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long temporary to implement insn_iushr shifts. * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long temporary to implement insn_iushr shifts. From-SVN: r57936
Ulrich Weigand committed -
* parse.y (variable_declarator_id): Simplify error path for array declarator error. For PR java/8003. From-SVN: r57934
Tom Tromey committed -
* system.h (GCCBUGURL): Delete. * version.c (bug_report_url): New. Add commentary about modifying both these strings in modified distributions. * version.h: Declare bug_report_url. * diagnostic.c, gcc.c, gcov.c, java/gjavah.c, java/jcf-dump.c, java/jv-scan.c: Globally replace GCCBUGURL with bug_report_url. From-SVN: r57932
Zack Weinberg committed -
(__ev_set_acc_s64): Likewise, but using signed types. From-SVN: r57930
Nick Clifton committed -
* config/s390/s390.md ("*doloop_si_long"): Add missing operand. ("*doloop_di_long"): Likewise. From-SVN: r57929
Ulrich Weigand committed -
2002-10-08 Andrew Haley <aph@redhat.com> * parse.y (attach_init_test_initialization_flags): Check for error_mark_node. From-SVN: r57928
Andrew Haley committed -
* configure.host [s390*-*]: Enable Java interpreter. Enable hash synchronization. Add sysdeps dir. * sysdep/s390/locks.h: New file. From-SVN: r57927
Ulrich Weigand committed -
* src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret raw data as _Jv_word values, not ffi_raw. (ffi_java_ptrarray_to_raw): Likewise. (ffi_java_rvalue_to_raw): New function. (ffi_java_raw_call): Call it. (ffi_java_raw_to_rvalue): New function. (ffi_java_translate_args): Call it. * src/ffitest.c (closure_test_fn): Interpret return value as ffi_arg, not int. * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing FFI_TYPE_POINTER case. (ffi_closure_helper_SYSV): Likewise. Also, assume return values extended to word size. From-SVN: r57926
Ulrich Weigand committed -
* print-rtl.c (print_rtx): Increase buffer size for real numbers. From-SVN: r57925
Jan Hubicka committed -
From-SVN: r57924
Richard Sandiford committed -
From-SVN: r57919
Anthony Green committed -
From-SVN: r57918
GCC Administrator committed -
From-SVN: r57912
Anthony Green committed
-
- 07 Oct, 2002 12 commits
-
-
* config/c4x/c4x.c (c4x_print_operand): Enlarge buffer for REAL_VALUE_TO_DECIMAL output. From-SVN: r57908
Michael Hayes committed -
From-SVN: r57907
Svein E. Seldal committed -
* java/lang/Thread.java (setDaemon): Check startable_flag, not isAlive(). From-SVN: r57906
Mark Wielaard committed -
* config/rs6000/rs6000.c (rs6000_override_options): Set real_format_for_mode for IBM extended format, if enabled. (easy_fp_constant): Add TFmode. (rs6000_legitimize_address): Add TFmode. (rs6000_legitimate_address): Same. (function_arg_advance): TFmode uses two FPRs. (rs6000_emit_prologue): Fix warning. (rs6000_output_function_epilogue): Add TFmode. (output_toc): Add TFmode. * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode. (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode. * rs6000.md (movtf splitter): Load TFmode constant. From-SVN: r57904
David Edelsohn committed -
2002-10-07 Jonathan Wakely <jw@kayari.org> * 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: Add DOCTYPEs. From-SVN: r57903
Jonathan Wakely committed -
From-SVN: r57902
Dale Johannesen committed -
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/Buffer.java: New stub file. * java/nio/charset/spi/CharsetProvider.java: Commented out all usages of class Charset. * Makefile.am (java_native_source_files): Added java/nio/Buffer.java. * Makefile.in: Regenerated. From-SVN: r57901
Michael Koch committed -
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/ByteBuffer.java: removed import of not commited class. From-SVN: r57900
Michael Koch committed -
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/ByteBuffer.java, java/nio/MappedByteBuffer.java: New files, forgot to add these dummies. * Makefile.am (java_native_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r57899
Michael Koch committed -
i960.c (i960_setup_incoming_varargs): Create a new rtx for comparing the argument pointer against zero. * config/i960/i960.c (i960_setup_incoming_varargs): Create a new rtx for comparing the argument pointer against zero. (i960_va_start): Similarly. From-SVN: r57897
Richard Henderson committed -
From-SVN: r57895
Richard Henderson committed -
From-SVN: r57894
Richard Henderson committed
-