- 11 Oct, 2002 13 commits
-
-
* objs-gcc.sh: Don't install GDB testsuite if GDB was not built. * btest-gcc.sh: Don't run GDB testsuite if it doesn't exist. From-SVN: r58062
Geoffrey Keating committed -
PR c++/5661 * cp-tree.h (variably_modified_type_p): New function. (grokdeclarator) Tighten check for variably modified types as fields. * pt.c (convert_template_argument): Do not allow variably modified types as template arguments. * tree.c (variably_modified_type_p): New function. PR c++/5661 * g++.dg/ext/vlm1.C: New test. * g++.dg/ext/vlm2.C: Likewise. From-SVN: r58060
Mark Mitchell committed -
From-SVN: r58059
Gabriel Dos Reis committed -
PRs C++/6803, C++/7721 and C++/7803 * decl.c (grokdeclarator): Gracefully handle template-name as decl-specifier. From-SVN: r58058
Gabriel Dos Reis committed -
2002-10-11 Jason Molenda <jmolenda@apple.com> * init.c (build_field_list): Provide uses_unions_p with a default value. From-SVN: r58056
Jason Molenda committed -
* NEWS: Document removal of "new X = ..." extension. * class.c (initialize_array): Set TREE_HAS_CONSTRUCTOR on brace-enclosed initializers. * cp-tree.h (CP_AGGREGATE_TYPE_P): New macro. (initialize_local_var): Remove declaration. (expand_static_init): Likewise. * decl.c (next_initializable_field): New function. (reshape_init): Likewise. (check_initializer): Use them. Build dynamic initializer for aggregates here too. (initialize_local_var): Simplify, and incorporate cleanup insertion code as well. (destroy_local_var): Remove. (cp_finish_decl): Tidy. (expand_static_init): Fold checks for whether or not a variable needs initialization into this function. Simplify. * decl2.c (do_static_initialization): Simplify. * init.c (build_init): Do not set TREE_SIDE_EFFECTS when it will be done for us automatically. (expand_default_init): Handle brace-enclosed initializers correctly. (expand_aggr_init_1): Remove RTL-generation code. (build_vec_init): Remove "new X = ..." support. * parse.y (new_initializer): Likewise. * rtti.c (get_pseudo_ti_init): Set TREE_HAS_CONSTRUCTOR on brace-enclosed initializer. (create_pseudo_type_info): Likewise. * typeck2.c (store_init_value): Don't try to handle digest_init being called more than once. (digest_init): Tidy handling of brace-enclosed initializers. * g++.dg/init/array1.C: Remove invalid braces. * g++.dg/init/brace1.C: New test. * g++.dg/init/copy2.C: Likewise. * g++.dg/init/copy3.C: Likewise. * g++.old-deja/g++.ext/arrnew.C: Change WARNING to ERROR. * g++.old-deja/g++.mike/p9129.C: Add ERROR on invalid use of braces. From-SVN: r58053
Mark Mitchell committed -
From-SVN: r58052
Neil Booth committed -
* sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI register for mperm_w operation. From-SVN: r58051
J"orn Rennecke committed -
From-SVN: r58050
Joern Rennecke committed -
From-SVN: r58048
GCC Administrator committed -
2002-10-10 Benjamin Kosnik <bkoz@redhat.com> * config/linker-map.gnu (GLIBCPP_3.2.1): Add. (GLIBCPP_3.2): Don't export locale::_S_*. * src/ios.cc: Move globals into __gnu_cxx. Make old exported symbols match. * src/locale.cc: Same. * src/localename.cc: Same. * src/globals.cc: Same. From-SVN: r58042
Benjamin Kosnik committed -
* extend.texi (Vector Extensions): Remove comment about single element vectors. From-SVN: r58041
Aldy Hernandez committed -
cp: * decl.c (typename_hash): Use htab_hash_pointer. gcc: * fold-const.c (size_htab_hash): Use htab_hash_pointer. * function.c (insns_for_mem_hash): Likewise. * varasm.c (STRHASH): Likewise. java: * class.c (JAVA_TREEHASHHASH_H): Use htab_hash_pointer. From-SVN: r58036
Kaveh R. Ghazi committed
-
- 10 Oct, 2002 17 commits
-
-
2002-10-10 Stuart Hastings <stuart@apple.com> * cse.c (struct cse_reg_info): Add subreg_ticked. (SUBREG_TICKED): New. (get_cse_reg_info): Initialize SUBREG_TICKED. (mention_regs): Use it. (invalidate): Set SUBREG_TICKED. (invalidate_for_call): Likewise. (addr_affects_sp_p): Likewise. From-SVN: r58035
Stuart Hastings committed -
* decl.c (duplicate_decls): Don't call decl_attributes. From-SVN: r58034
Jim Wilson committed -
2002-10-10 Phil Edwards <pme@gcc.gnu.org> * docs/html/21_strings/howto.html: Write #5, char_traits. * docs/html/17_intro/porting.texi: Expand on os_include_dir. * docs/html/17_intro/porting.html: Regenerate. From-SVN: r58031
Phil Edwards committed -
* config/i386/i386.md (tls_local_dynamic_base): Put pic reg into proper operand. From-SVN: r58029
Jakub Jelinek committed -
* config/ip2k/ip2k.c (function_epilogue): Optimize stack deallocation. * config/ip2k/libgcc.S: Combine routines used by function epilogue. From-SVN: r58027
Denis Chertykov committed -
* cse.c (fold_rtx): Don't perform associative optimization for DIV and UDIV. From-SVN: r58026
Jim Wilson committed -
* gcc.c-torture/execute/20021010-1.c: New test. From-SVN: r58025
Jim Wilson committed -
From-SVN: r58022
Mike Stump committed -
* 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
David Edelsohn committed -
PR target/5610 * invoke.texi (-msse-math): Kill (-msse): Add note to mfpmath=sse. From-SVN: r58019
Jan Hubicka committed -
PR target/7723 * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves. From-SVN: r58015
Jan Hubicka committed -
* 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
Michael Koch committed -
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
Neil Booth committed -
From-SVN: r58009
GCC Administrator committed -
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
Michael Koch committed -
* 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
Michael Koch committed -
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
Benjamin Kosnik committed
-
- 09 Oct, 2002 10 commits
-
-
From-SVN: r58000
Richard Henderson committed -
2002-10-09 Phil Edwards <pme@gcc.gnu.org> * btest-gcc.sh, objs-gcc.sh: Update TARGET comments. From-SVN: r57999
Phil Edwards committed -
From-SVN: r57998
Zack Weinberg committed -
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
Zack Weinberg committed -
From-SVN: r57994
Kaveh R. Ghazi committed -
From-SVN: r57993
Geoffrey Keating committed -
* loop.c: Revert 2002-08-15 change. (LOOP_REGNO_NREGS): Ensure type is int. From-SVN: r57992
Kaveh R. Ghazi committed -
From-SVN: r57991
Kaveh R. Ghazi committed -
* 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
David Edelsohn committed -
* 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
Kaveh R. Ghazi committed
-