aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-10-10aix52.h: New file.David Edelsohn4-1/+259
* config/rs6000/aix52.h: New file. * config/rs6000/t-aix52: New File. * config.gcc (rs6000-ibm-aix5.1.*): New entry. (rs6000-ibm-aix[56789].*): Default to AIX 5.2. From-SVN: r58021
2002-10-10re PR target/5610 (Not clear how to get FP operations to use SSE)Jan Hubicka2-1/+10
PR target/5610 * invoke.texi (-msse-math): Kill (-msse): Add note to mfpmath=sse. From-SVN: r58019
2002-10-10re PR target/7723 (Internal compiler error - Pentium3 sse - gcc 3.2)Jan Hubicka2-2/+6
PR target/7723 * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves. From-SVN: r58015
2002-10-102002-10-10 Michael Koch <konqueror@gmx.de>Michael Koch4-0/+36
* javax/swing/AbstractListModel.java (getListDataListeners): New stubbed method. javax/swing/DefaultBoundedRangeModel.java (getChangeListeners): New stubbed method. javax/swing/DefaultSingleSelectionModel.java (getChangeListeners): New stubbed method. From-SVN: r58011
2002-10-10re PR preprocessor/8179 (`echo | gcc -E -dM -ansi -` not working in gcc-3.3)Neil Booth2-2/+10
PR preprocessor/8179 * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location as cc1_options. (default_compilers): Pass debug options when preprocessing stdin. From-SVN: r58010
2002-10-10Daily bump.GCC Administrator2-2/+2
From-SVN: r58009
2002-10-10cvsignore: New file to ignore files generated during build.Michael Koch3-1/+8
2002-10-10 Michael Koch <konqueror@gmx.de> * gcj/.cvsignore: New file to ignore files generated during build. * include/.cvsignore: New file to ignore files generated during build. From-SVN: r58003
2002-10-102002-10-08 Michael Koch <konqueror@gmx.de>Michael Koch9-18/+299
* java/net/HttpURLConnection.java (getPermission): New method. (getErrorStream): New stub method. (getHeaderFieldDate): New stub method. * java/net/Inet4Address.java: (isLinkLocalAddress): Typo fixed. * java/net/InetAddress.java: (readResolve): New stubbed method (for serialization). (isAnyLocalAddress): New stubbed method. (isLoopbackAddress): New stubbed method. (isLinkLocalAddress): New stubbed method. (isSiteLocalAddress): New stubbed method. (isMCGlobal): New stubbed method. (isMCNodeGlobal): New stubbed method. (isMCLinkLocal): New stubbed method. (isMCSiteLocal): New stubbed method. (isMCOrgLocal): New stubbed method. (getCanonicalHostName): New stubbed method. (getByAddress): Create instances of Inet4Address/Inet6Address, instead of InetAddress, documentation added. * java/net/MulticastSocket.java (getInterface): Removed FIXME. (getNetworkInterface): New method. (setNetworkInterface): New method. * java/net/NetworkInterface.java: (toString): Use property "line.separator" instead of "\n". * java/net/URLConnection.java (getContent): New stubbed method. * java/net/URLStreamHandler.java: (equals): New stubbed method. (hostsEqual): New stubbed method. (hashCode): New stubbed method. * java/net/natNetworkInterface.cc: (getRealNetworkInterfaces): Create Inet4Address object instead of InetAddress. From-SVN: r58002
2002-10-10locale.cc: Fix comments, move ctors together.Benjamin Kosnik3-32/+119
2002-10-09 Benjamin Kosnik <bkoz@redhat.com> * src/locale.cc: Fix comments, move ctors together. * testsuite/22_locale/static_members.cc (test03): Add. From-SVN: r58001
2002-10-09* toplev.c (rest_of_compilation): Revert opt/2960 change.Richard Henderson2-2/+5
From-SVN: r58000
2002-10-09btest-gcc.sh, [...]: Update TARGET comments.Phil Edwards3-4/+10
2002-10-09 Phil Edwards <pme@gcc.gnu.org> * btest-gcc.sh, objs-gcc.sh: Update TARGET comments. From-SVN: r57999
2002-10-09Add PR numbers to entries for last commitZack Weinberg2-0/+2
From-SVN: r57998
2002-10-09c-decl.c (start_decl): Unconditionally issue error for 'typedef foo = bar'.Zack Weinberg8-73/+101
gcc: * c-decl.c (start_decl): Unconditionally issue error for 'typedef foo = bar'. (finish_decl): Remove special case for TYPE_DECL with initializer. * doc/extend.texi: Delete "Naming Types" section. Change all cross-references to that section to refer to "Typeof" instead. Add the useful safe-max()-macro example from "Naming Types" to "Typeof", rewritten using that extension. gcc/cp: * decl.c (start_decl): Unconditionally issue error for 'typedef foo = bar'. (cp_finish_decl): Remove special case for TYPE_DECL with initializer. (grokdeclarator): Remove redundant error for 'typedef foo = bar'. gcc/testsuite: * g++.dg/ext/typedef-init.C: New test. * gcc.dg/typedef-init.c: New test. From-SVN: r57995
2002-10-09* decl2.c (prune_vtable_vardecl): Delete unused function.Kaveh R. Ghazi2-10/+4
From-SVN: r57994
2002-10-09* objs-gcc.sh: On (non-linux) native hosts, use 'make bootstrap'.Geoffrey Keating2-0/+7
From-SVN: r57993
2002-10-09loop.c: Revert 2002-08-15 change.Kaveh R. Ghazi2-6/+11
* loop.c: Revert 2002-08-15 change. (LOOP_REGNO_NREGS): Ensure type is int. From-SVN: r57992
2002-10-09* parse.y (merge_string_cste): Add parentheses around & within |.Kaveh R. Ghazi2-1/+5
From-SVN: r57991
2002-10-09rs6000.md (extenddftf2): Change to define_insn which copies first FPR and ↵David Edelsohn2-33/+45
clears second. * config/rs6000/rs6000.md (extenddftf2): Change to define_insn which copies first FPR and clears second. (extendsftf2): Same. (floatditf2): Fix typo. (floatsitf2): Same. (fix_trunctfdi2): Same. (fix_trunctfsi2): Same. From-SVN: r57990
2002-10-09conflict.c (arc_hash): Change return type to hashval_t.Kaveh R. Ghazi6-18/+27
* conflict.c (arc_hash): Change return type to hashval_t. * cselib.c (get_value_hash): Likewise. * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash, state_hash, automata_list_hash): Likewise. * read-rtl.c (def_hash): Likewise. * tree.c (type_hash_hash): Likewise. From-SVN: r57987
2002-10-09rs6000.c (rs6000_ra_ever_killed): Call prologue_epilogue_contains instead of ↵Aldy Hernandez2-10/+16
using REG_MAYBE_DEAD notes. 2002-10-08 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes. From-SVN: r57985
2002-10-09* sh.md (ffssi2): Fix emitted code.J"orn Rennecke2-6/+11
From-SVN: r57984
2002-10-092002-10-09 Paolo Carlini <pcarlini@unitus.it>Paolo Carlini1-1/+1
Fix trivial typo in the last ChangeLog entry. From-SVN: r57983
2002-10-09cse.c (insn_live_p): Pass insn pattern, not full insn to may_trap_p.Ulrich Weigand2-1/+6
* cse.c (insn_live_p): Pass insn pattern, not full insn to may_trap_p. From-SVN: r57982
2002-10-09cppmacro.c (paste_tokens): Only allow / to paste with =.Neil Booth4-2/+18
* cppmacro.c (paste_tokens): Only allow / to paste with =. testsuite: * gcc.dg/cpp/paste13.c: New test. From-SVN: r57978
2002-10-09Daily bump.GCC Administrator2-2/+2
From-SVN: r57976
2002-10-09PR libstdc++/8071, libstdc++/8127, c++/6745Jonathan Lennox3-11/+121
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
2002-10-09rs6000.md (movdf splitter): Use gen_int_mode on 64-bit hosts.David Edelsohn2-8/+27
* 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
2002-10-09c-common.c (cb_register_builtins): Define __WCHAR_MAX__.Gabriel Dos Reis3-1/+9
* c-common.c (cb_register_builtins): Define __WCHAR_MAX__. * doc/cpp.texi (Common Predefined Macros): Document. From-SVN: r57966
2002-10-09* libgcc2.c (__floatdisf): Properly cure double rounding.Alan Modra2-1/+8
From-SVN: r57965
2002-10-08localefwd.h (class locale): Add static member _S_num_extra_categories...Paolo Carlini23-178/+609
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
2002-10-0820020720-1.x: Take out sparc XFAILs.Kaveh R. Ghazi2-12/+13
* 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
2002-10-08re PR c++/7754 (ICE SIGSEGV on union with template parameter)Mark Mitchell3-31/+53
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
2002-10-08re PR c++/7484 (warning with -Wmissing-declarations)Gabriel Dos Reis2-3/+9
PR doc/7484 * doc/invoke.texi (Option Summary): List -Wmissing-declarations as a C only option. From-SVN: r57958
2002-10-08t-linux64 (MULTILIB_OPTIONS): Remove mno-app-regs|mcmodel=medany.Jakub Jelinek2-6/+15
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
2002-10-08re PR target/8087 (sparc-sun-solaris2.7 C testsuite failures in ↵Roger Sayle2-0/+9
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
2002-10-08system.h (GCCBUGURL): Delete.Zack Weinberg2-4/+4
* 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
2002-10-08c-opts.c (c_common_decode_option): Add warn_strict_aliasing to -Wall.Nathan Sidwell8-9/+45
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
2002-10-08interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long ↵Ulrich Weigand2-1/+6
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
2002-10-08re PR java/8003 (gcj segfaults on simple java line of code)Tom Tromey2-6/+6
* parse.y (variable_declarator_id): Simplify error path for array declarator error. For PR java/8003. From-SVN: r57934
2002-10-08system.h (GCCBUGURL): Delete.Zack Weinberg9-21/+46
* 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
2002-10-08(__ev_set_acc_u64): Use __ev_create_u64 to convert uint64_t into ↵Nick Clifton2-4/+14
__ev64_opaque__. (__ev_set_acc_s64): Likewise, but using signed types. From-SVN: r57930
2002-10-08s390.md ("*doloop_si_long"): Add missing operand.Ulrich Weigand2-4/+9
* config/s390/s390.md ("*doloop_si_long"): Add missing operand. ("*doloop_di_long"): Likewise. From-SVN: r57929
2002-10-08parse.y (attach_init_test_initialization_flags): Check for error_mark_node.Andrew Haley2-2/+10
2002-10-08 Andrew Haley <aph@redhat.com> * parse.y (attach_init_test_initialization_flags): Check for error_mark_node. From-SVN: r57928
2002-10-08configure.host [s390*-*]: Enable Java interpreter.Ulrich Weigand3-0/+88
* configure.host [s390*-*]: Enable Java interpreter. Enable hash synchronization. Add sysdeps dir. * sysdep/s390/locks.h: New file. From-SVN: r57927
2002-10-08java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret raw data as _Jv_word ↵Ulrich Weigand4-29/+102
values, not ffi_raw. * 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
2002-10-08Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>Jan Hubicka2-1/+5
* print-rtl.c (print_rtx): Increase buffer size for real numbers. From-SVN: r57925
2002-10-08* config/mips/mips.md (define_attr cpu): Add r4111.Richard Sandiford2-1/+5
From-SVN: r57924
2002-10-08Fix bitmap bug.Anthony Green2-1/+5
From-SVN: r57919
2002-10-08Daily bump.GCC Administrator2-2/+2
From-SVN: r57918
2002-10-08Fix string concatenation bug.Anthony Green2-2/+17
From-SVN: r57912