Age | Commit message (Collapse) | Author | Files | Lines |
|
* calls.c (expand_call): Simplify noreturn call.
PR c/7344
* cfgbuild.c (make_edges): Create edge cache when we do have
large jumptable.
(do_tablejump): Note size of maximal jumptable.
* function.c (prepare_function_start): Zero out size.
* function.h (function): Add max_jumptable_ents.
* cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
From-SVN: r58063
|
|
* 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
|
|
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
|
|
From-SVN: r58059
|
|
PRs C++/6803, C++/7721 and C++/7803
* decl.c (grokdeclarator): Gracefully handle template-name as
decl-specifier.
From-SVN: r58058
|
|
2002-10-11 Jason Molenda <jmolenda@apple.com>
* init.c (build_field_list): Provide uses_unions_p with a default
value.
From-SVN: r58056
|
|
* 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
|
|
From-SVN: r58052
|
|
mperm_w operation.
* sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
register for mperm_w operation.
From-SVN: r58051
|
|
From-SVN: r58050
|
|
From-SVN: r58048
|
|
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
|
|
* extend.texi (Vector Extensions): Remove comment about single
element vectors.
From-SVN: r58041
|
|
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
|
|
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
|
|
* decl.c (duplicate_decls): Don't call decl_attributes.
From-SVN: r58034
|
|
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
|
|
* config/i386/i386.md (tls_local_dynamic_base): Put pic reg
into proper operand.
From-SVN: r58029
|
|
* config/ip2k/ip2k.c (function_epilogue): Optimize stack
deallocation.
* config/ip2k/libgcc.S: Combine routines used by function
epilogue.
From-SVN: r58027
|
|
* cse.c (fold_rtx): Don't perform associative optimization for DIV and
UDIV.
From-SVN: r58026
|
|
* gcc.c-torture/execute/20021010-1.c: New test.
From-SVN: r58025
|
|
From-SVN: r58022
|
|
* 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
|
|
PR target/5610
* invoke.texi (-msse-math): Kill
(-msse): Add note to mfpmath=sse.
From-SVN: r58019
|
|
PR target/7723
* i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
From-SVN: r58015
|
|
* 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
|
|
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
|
|
From-SVN: r58009
|
|
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
|
|
* 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-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
|
|
From-SVN: r58000
|
|
2002-10-09 Phil Edwards <pme@gcc.gnu.org>
* btest-gcc.sh, objs-gcc.sh: Update TARGET comments.
From-SVN: r57999
|
|
From-SVN: r57998
|
|
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
|
|
From-SVN: r57994
|
|
From-SVN: r57993
|
|
* loop.c: Revert 2002-08-15 change.
(LOOP_REGNO_NREGS): Ensure type is int.
From-SVN: r57992
|
|
From-SVN: r57991
|
|
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
|
|
* 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
|
|
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
|
|
From-SVN: r57984
|
|
Fix trivial typo in the last ChangeLog entry.
From-SVN: r57983
|
|
* cse.c (insn_live_p): Pass insn pattern, not full insn
to may_trap_p.
From-SVN: r57982
|
|
* cppmacro.c (paste_tokens): Only allow / to paste with =.
testsuite:
* gcc.dg/cpp/paste13.c: New test.
From-SVN: r57978
|
|
From-SVN: r57976
|
|
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
|
|
* 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
|
|
* c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
* doc/cpp.texi (Common Predefined Macros): Document.
From-SVN: r57966
|