Richard Henderson [Mon, 14 Oct 2002 02:36:25 +0000 (19:36 -0700)]
* rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
From-SVN: r58102
Mark Wielaard [Sun, 13 Oct 2002 11:10:27 +0000 (11:10 +0000)]
* mauve-libgcj: Enable Mauve tests that compile now.
From-SVN: r58100
Mark Wielaard [Sun, 13 Oct 2002 11:07:24 +0000 (11:07 +0000)]
* libjava.mauve/xfails: Remove tests that now XPASS.
From-SVN: r58099
GCC Administrator [Sun, 13 Oct 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58098
Danny Smith [Sun, 13 Oct 2002 06:35:15 +0000 (06:35 +0000)]
stl_threads.h (_GLIBCPP_mutex, [...]): Declare in namespace __gnu_cxx.
* include/bits/stl_threads.h (_GLIBCPP_mutex,
_GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
_GLIBCPP_mutex_address_init, _GLIBCPP_once):
Declare in namespace __gnu_cxx.
(_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
names.
Adjust copyright.
From-SVN: r58092
Benjamin Kosnik [Sun, 13 Oct 2002 04:46:58 +0000 (04:46 +0000)]
abi_check.cc (hash<string>): Specialize.
2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/abi_check.cc (hash<string>): Specialize.
Simplify. Check compatible symbol versions.
* config/linker-map.gnu: Clarify, explicitly export
std::codecvt::c* symbols.
* testsuite/22_locale/static_members.cc (test02): Avoid null strings.
From-SVN: r58091
Neil Booth [Sat, 12 Oct 2002 17:10:20 +0000 (17:10 +0000)]
re PR preprocessor/7862 (Interrupting gcc -MD removes .d file but not .o)
PR preprocessor/7862
PR preprocessor/8190
* gcc.c (cpp_unique_options): Don't delete .d files.
Remove stray whitespace.
From-SVN: r58088
Naohiko Shimizu [Sat, 12 Oct 2002 16:38:01 +0000 (01:38 +0900)]
pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
* pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
* pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
(pdp11_output_function_epilogue, output_ascii): Likewise.
(output_addr_const_pdp11): Likewise.
* pdp11.md (movdi): Use offsetable memory for floating store.
(lshrsi3, negsi2): Delete irrelevant comment.
From-SVN: r58087
GCC Administrator [Sat, 12 Oct 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58086
Jonathan Wakely [Sat, 12 Oct 2002 06:14:31 +0000 (06:14 +0000)]
howto.html: Correct nasting of XHTML elements.
2002-10-12 Jonathan Wakely <jw@kayari.org>
Gabriel Dos Reis <gdr@integrable-solutions.net>
* docs/html/21_strings/howto.html#5: Correct nasting of XHTML
elements. Correct allocator-related text.
Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>
From-SVN: r58080
Benjamin Kosnik [Sat, 12 Oct 2002 04:37:51 +0000 (04:37 +0000)]
static_members.cc (test02): Fix.
2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/static_members.cc (test02): Fix.
From-SVN: r58079
David O'Brien [Sat, 12 Oct 2002 04:01:04 +0000 (04:01 +0000)]
getopt.h: getopt is in unistd.h.
2002-10-11 David O'Brien <obrien@FreeBSD.org>
* getopt.h: getopt is in unistd.h. The Single UNIX(tm) Specification,
Version 2 Copyright (c)1997 The Open Group
Approved by: Committed as obvious.
From-SVN: r58078
Geoffrey Keating [Sat, 12 Oct 2002 00:00:39 +0000 (00:00 +0000)]
cse.c (mention_regs): Set SUBREG_TICKED to the register number, not the address of the REG.
* cse.c (mention_regs): Set SUBREG_TICKED to the register number,
not the address of the REG.
(struct cse_reg_info): Make subreg_ticked unsigned.
From-SVN: r58075
Janis Johnson [Fri, 11 Oct 2002 23:58:31 +0000 (23:58 +0000)]
compat.texi: Add info about C++ libraries.
2002-10-11 Janis Johnson <janis187@us.ibm.com>
* doc/compat.texi: Add info about C++ libraries.
From-SVN: r58074
Richard Henderson [Fri, 11 Oct 2002 22:42:31 +0000 (15:42 -0700)]
re PR rtl-optimization/8165 (builtin string functions SEGV on alpha-pc-linux-gnu at -O2)
PR opt/8165
* gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
* gcc.c-torture/execute/
20021011-1.c: New.
From-SVN: r58071
Mark Wielaard [Fri, 11 Oct 2002 22:12:48 +0000 (22:12 +0000)]
* gcj.texi (Compatibility): Add Limitations and Extensions section.
From-SVN: r58067
Mark Wielaard [Fri, 11 Oct 2002 22:10:37 +0000 (22:10 +0000)]
re PR libgcj/8142 ('$' in class names vs. dlopen 'dynamic string tokens')
Fix for PR libgcj/8142
* java/lang/natClassLoader.cc (findClass): Skip inner classes when
loading native modules.
From-SVN: r58066
Benjamin Kosnik [Fri, 11 Oct 2002 21:10:10 +0000 (21:10 +0000)]
acconfig.h (_GLIBCPP_SYMVER): Add.
2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_SYMVER): Add.
(_GLIBCPP_ASM_SYMVER): Add.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
hack around m4 issues with quoting '@'.
* src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
* src/globals.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
non-glibc systems.
From-SVN: r58065
John David Anglin [Fri, 11 Oct 2002 21:10:00 +0000 (21:10 +0000)]
cfganal.c (dfs_enumerate_from): Use PARAMS.
* cfganal.c (dfs_enumerate_from): Use PARAMS.
* genautomata.c (output_insn_code_cases): Likewise.
* real.c (real_format): Likewise.
* tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
ensure value is promoted before doing subtraction.
From-SVN: r58064
Jan Hubicka [Fri, 11 Oct 2002 20:26:50 +0000 (22:26 +0200)]
re PR c/7344 (performance regression on huge case statements)
* 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
Geoffrey Keating [Fri, 11 Oct 2002 20:23:21 +0000 (20:23 +0000)]
objs-gcc.sh: Don't install GDB testsuite if GDB was not built.
* 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
Mark Mitchell [Fri, 11 Oct 2002 19:55:21 +0000 (19:55 +0000)]
re PR c++/5661 (Gcc 3.0.3 Seg faults compiling bad code)
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
Gabriel Dos Reis [Fri, 11 Oct 2002 19:52:10 +0000 (19:52 +0000)]
Move ChangeLog entry where it belongs
From-SVN: r58059
Gabriel Dos Reis [Fri, 11 Oct 2002 18:25:10 +0000 (18:25 +0000)]
PRs C++/6803, C++/7721 and C++/7803
PRs C++/6803, C++/7721 and C++/7803
* decl.c (grokdeclarator): Gracefully handle template-name as
decl-specifier.
From-SVN: r58058
Jason Molenda [Fri, 11 Oct 2002 18:09:59 +0000 (18:09 +0000)]
init.c (build_field_list): Provide uses_unions_p with a default value.
2002-10-11 Jason Molenda <jmolenda@apple.com>
* init.c (build_field_list): Provide uses_unions_p with a default
value.
From-SVN: r58056
Mark Mitchell [Fri, 11 Oct 2002 16:50:44 +0000 (16:50 +0000)]
NEWS: Document removal of "new X = ..." extension.
* 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
Neil Booth [Fri, 11 Oct 2002 12:40:36 +0000 (12:40 +0000)]
* gcc.dg/cpp/assembler.S: Don't use -ansi.
From-SVN: r58052
J"orn Rennecke [Fri, 11 Oct 2002 11:36:21 +0000 (11:36 +0000)]
sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI register for mperm_w operation.
* sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
register for mperm_w operation.
From-SVN: r58051
Joern Rennecke [Fri, 11 Oct 2002 09:59:06 +0000 (10:59 +0100)]
*** empty log message ***
From-SVN: r58050
GCC Administrator [Fri, 11 Oct 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58048
Benjamin Kosnik [Fri, 11 Oct 2002 07:09:36 +0000 (07:09 +0000)]
linker-map.gnu (GLIBCPP_3.2.1): Add.
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
Aldy Hernandez [Fri, 11 Oct 2002 04:15:14 +0000 (04:15 +0000)]
extend.texi (Vector Extensions): Remove comment about single element vectors.
* extend.texi (Vector Extensions): Remove comment about single
element vectors.
From-SVN: r58041
Kaveh R. Ghazi [Fri, 11 Oct 2002 01:28:28 +0000 (01:28 +0000)]
decl.c (typename_hash): Use htab_hash_pointer.
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
Stuart Hastings [Thu, 10 Oct 2002 23:16:54 +0000 (23:16 +0000)]
cse.c (struct cse_reg_info): Add subreg_ticked.
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
Jim Wilson [Thu, 10 Oct 2002 22:29:05 +0000 (22:29 +0000)]
Fix C++ FE attribute alias failure.
* decl.c (duplicate_decls): Don't call decl_attributes.
From-SVN: r58034
Phil Edwards [Thu, 10 Oct 2002 22:00:29 +0000 (22:00 +0000)]
howto.html: Write #5, char_traits.
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
Jakub Jelinek [Thu, 10 Oct 2002 21:46:09 +0000 (23:46 +0200)]
i386.md (tls_local_dynamic_base): Put pic reg into proper operand.
* config/i386/i386.md (tls_local_dynamic_base): Put pic reg
into proper operand.
From-SVN: r58029
Denis Chertykov [Thu, 10 Oct 2002 19:45:59 +0000 (19:45 +0000)]
ip2k.c (function_epilogue): Optimize stack deallocation.
* config/ip2k/ip2k.c (function_epilogue): Optimize stack
deallocation.
* config/ip2k/libgcc.S: Combine routines used by function
epilogue.
From-SVN: r58027
Jim Wilson [Thu, 10 Oct 2002 19:40:34 +0000 (19:40 +0000)]
Fix miscompilation of testcase
20021010-1.c for v850 target with -O -mv850e.
* cse.c (fold_rtx): Don't perform associative optimization for DIV and
UDIV.
From-SVN: r58026
Jim Wilson [Thu, 10 Oct 2002 19:36:31 +0000 (19:36 +0000)]
Test miscompiled for v850 target with -O -mv850e due to cse bug.
* gcc.c-torture/execute/
20021010-1.c: New test.
From-SVN: r58025
Mike Stump [Thu, 10 Oct 2002 18:32:00 +0000 (18:32 +0000)]
Fix spelling.
From-SVN: r58022
David Edelsohn [Thu, 10 Oct 2002 18:29:33 +0000 (18:29 +0000)]
aix52.h: New file.
* 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
Jan Hubicka [Thu, 10 Oct 2002 17:38:35 +0000 (19:38 +0200)]
re PR target/5610 (Not clear how to get FP operations to use SSE)
PR target/5610
* invoke.texi (-msse-math): Kill
(-msse): Add note to mfpmath=sse.
From-SVN: r58019
Jan Hubicka [Thu, 10 Oct 2002 15:10:31 +0000 (17:10 +0200)]
re PR target/7723 (Internal compiler error - Pentium3 sse - gcc 3.2)
PR target/7723
* i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
From-SVN: r58015
Michael Koch [Thu, 10 Oct 2002 12:08:37 +0000 (12:08 +0000)]
2002-10-10 Michael Koch <konqueror@gmx.de>
* 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
Neil Booth [Thu, 10 Oct 2002 07:33:25 +0000 (07:33 +0000)]
re PR preprocessor/8179 (`echo | gcc -E -dM -ansi -` not working in gcc-3.3)
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
GCC Administrator [Thu, 10 Oct 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58009
Michael Koch [Thu, 10 Oct 2002 05:21:53 +0000 (05:21 +0000)]
cvsignore: New file to ignore files generated during build.
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 [Thu, 10 Oct 2002 05:19:22 +0000 (05:19 +0000)]
2002-10-08 Michael Koch <konqueror@gmx.de>
* 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
Benjamin Kosnik [Thu, 10 Oct 2002 05:15:29 +0000 (05:15 +0000)]
locale.cc: Fix comments, move ctors together.
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
Richard Henderson [Wed, 9 Oct 2002 23:17:51 +0000 (16:17 -0700)]
* toplev.c (rest_of_compilation): Revert opt/2960 change.
From-SVN: r58000
Phil Edwards [Wed, 9 Oct 2002 23:10:32 +0000 (23:10 +0000)]
btest-gcc.sh, [...]: Update TARGET comments.
2002-10-09 Phil Edwards <pme@gcc.gnu.org>
* btest-gcc.sh, objs-gcc.sh: Update TARGET comments.
From-SVN: r57999
Zack Weinberg [Wed, 9 Oct 2002 21:32:31 +0000 (21:32 +0000)]
Add PR numbers to entries for last commit
From-SVN: r57998
Zack Weinberg [Wed, 9 Oct 2002 21:27:38 +0000 (21:27 +0000)]
c-decl.c (start_decl): Unconditionally issue error for 'typedef foo = bar'.
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
Kaveh R. Ghazi [Wed, 9 Oct 2002 21:08:42 +0000 (21:08 +0000)]
* decl2.c (prune_vtable_vardecl): Delete unused function.
From-SVN: r57994
Geoffrey Keating [Wed, 9 Oct 2002 21:00:54 +0000 (21:00 +0000)]
* objs-gcc.sh: On (non-linux) native hosts, use 'make bootstrap'.
From-SVN: r57993
Kaveh R. Ghazi [Wed, 9 Oct 2002 20:58:12 +0000 (20:58 +0000)]
loop.c: Revert 2002-08-15 change.
* loop.c: Revert 2002-08-15 change.
(LOOP_REGNO_NREGS): Ensure type is int.
From-SVN: r57992
Kaveh R. Ghazi [Wed, 9 Oct 2002 20:54:37 +0000 (20:54 +0000)]
* parse.y (merge_string_cste): Add parentheses around & within |.
From-SVN: r57991
David Edelsohn [Wed, 9 Oct 2002 20:54:05 +0000 (20:54 +0000)]
rs6000.md (extenddftf2): Change to define_insn which copies first FPR and 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
Kaveh R. Ghazi [Wed, 9 Oct 2002 17:26:27 +0000 (17:26 +0000)]
conflict.c (arc_hash): Change return type to hashval_t.
* 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
Aldy Hernandez [Wed, 9 Oct 2002 15:54:55 +0000 (15:54 +0000)]
rs6000.c (rs6000_ra_ever_killed): Call prologue_epilogue_contains instead of 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
J"orn Rennecke [Wed, 9 Oct 2002 15:07:19 +0000 (15:07 +0000)]
* sh.md (ffssi2): Fix emitted code.
From-SVN: r57984
Paolo Carlini [Wed, 9 Oct 2002 11:59:59 +0000 (11:59 +0000)]
2002-10-09 Paolo Carlini <pcarlini@unitus.it>
Fix trivial typo in the last ChangeLog entry.
From-SVN: r57983
Ulrich Weigand [Wed, 9 Oct 2002 11:29:57 +0000 (11:29 +0000)]
cse.c (insn_live_p): Pass insn pattern, not full insn to may_trap_p.
* cse.c (insn_live_p): Pass insn pattern, not full insn
to may_trap_p.
From-SVN: r57982
Neil Booth [Wed, 9 Oct 2002 09:56:09 +0000 (09:56 +0000)]
cppmacro.c (paste_tokens): Only allow / to paste with =.
* cppmacro.c (paste_tokens): Only allow / to paste with =.
testsuite:
* gcc.dg/cpp/paste13.c: New test.
From-SVN: r57978
GCC Administrator [Wed, 9 Oct 2002 07:17:31 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57976
Jonathan Lennox [Wed, 9 Oct 2002 06:32:11 +0000 (06:32 +0000)]
PR libstdc++/8071, libstdc++/8127, c++/6745
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
David Edelsohn [Wed, 9 Oct 2002 04:28:12 +0000 (04:28 +0000)]
rs6000.md (movdf splitter): Use gen_int_mode on 64-bit hosts.
* 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
Gabriel Dos Reis [Wed, 9 Oct 2002 00:13:57 +0000 (00:13 +0000)]
c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
* c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
* doc/cpp.texi (Common Predefined Macros): Document.
From-SVN: r57966
Alan Modra [Tue, 8 Oct 2002 23:50:56 +0000 (23:50 +0000)]
* libgcc2.c (__floatdisf): Properly cure double rounding.
From-SVN: r57965
Paolo Carlini [Tue, 8 Oct 2002 23:32:23 +0000 (01:32 +0200)]
localefwd.h (class locale): Add static member _S_num_extra_categories...
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
Kaveh R. Ghazi [Tue, 8 Oct 2002 23:21:40 +0000 (23:21 +0000)]
20020720-1.x: Take out sparc XFAILs.
* 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
Mark Mitchell [Tue, 8 Oct 2002 22:52:14 +0000 (22:52 +0000)]
re PR c++/7754 (ICE SIGSEGV on union with template parameter)
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
Gabriel Dos Reis [Tue, 8 Oct 2002 22:24:14 +0000 (22:24 +0000)]
re PR c++/7484 (warning with -Wmissing-declarations)
PR doc/7484
* doc/invoke.texi (Option Summary): List
-Wmissing-declarations as a C only option.
From-SVN: r57958
Jakub Jelinek [Tue, 8 Oct 2002 21:59:45 +0000 (23:59 +0200)]
t-linux64 (MULTILIB_OPTIONS): Remove mno-app-regs|mcmodel=medany.
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
Roger Sayle [Tue, 8 Oct 2002 20:49:02 +0000 (20:49 +0000)]
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
Zack Weinberg [Tue, 8 Oct 2002 19:45:17 +0000 (19:45 +0000)]
system.h (GCCBUGURL): Delete.
* 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
Nathan Sidwell [Tue, 8 Oct 2002 19:20:18 +0000 (19:20 +0000)]
c-opts.c (c_common_decode_option): Add warn_strict_aliasing to -Wall.
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
Ulrich Weigand [Tue, 8 Oct 2002 18:12:42 +0000 (18:12 +0000)]
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
Tom Tromey [Tue, 8 Oct 2002 18:05:54 +0000 (18:05 +0000)]
re PR java/8003 (gcj segfaults on simple java line of code)
* parse.y (variable_declarator_id): Simplify error path for
array declarator error. For PR java/8003.
From-SVN: r57934
Zack Weinberg [Tue, 8 Oct 2002 17:27:39 +0000 (17:27 +0000)]
system.h (GCCBUGURL): Delete.
* 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
Nick Clifton [Tue, 8 Oct 2002 16:20:05 +0000 (16:20 +0000)]
(__ev_set_acc_u64): Use __ev_create_u64 to convert uint64_t into __ev64_opaque__.
(__ev_set_acc_s64): Likewise, but using signed types.
From-SVN: r57930
Ulrich Weigand [Tue, 8 Oct 2002 16:13:24 +0000 (16:13 +0000)]
s390.md ("*doloop_si_long"): Add missing operand.
* config/s390/s390.md ("*doloop_si_long"): Add missing operand.
("*doloop_di_long"): Likewise.
From-SVN: r57929
Andrew Haley [Tue, 8 Oct 2002 15:02:30 +0000 (15:02 +0000)]
parse.y (attach_init_test_initialization_flags): Check for error_mark_node.
2002-10-08 Andrew Haley <aph@redhat.com>
* parse.y (attach_init_test_initialization_flags): Check for
error_mark_node.
From-SVN: r57928
Ulrich Weigand [Tue, 8 Oct 2002 14:57:37 +0000 (14:57 +0000)]
configure.host [s390*-*]: Enable Java interpreter.
* configure.host [s390*-*]: Enable Java interpreter.
Enable hash synchronization. Add sysdeps dir.
* sysdep/s390/locks.h: New file.
From-SVN: r57927
Ulrich Weigand [Tue, 8 Oct 2002 14:55:03 +0000 (14:55 +0000)]
java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret raw data as _Jv_word 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
Jan Hubicka [Tue, 8 Oct 2002 14:50:58 +0000 (16:50 +0200)]
Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
* print-rtl.c (print_rtx): Increase buffer size for real numbers.
From-SVN: r57925
Richard Sandiford [Tue, 8 Oct 2002 14:01:39 +0000 (14:01 +0000)]
* config/mips/mips.md (define_attr cpu): Add r4111.
From-SVN: r57924
Anthony Green [Tue, 8 Oct 2002 07:19:34 +0000 (07:19 +0000)]
Fix bitmap bug.
From-SVN: r57919
GCC Administrator [Tue, 8 Oct 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57918
Anthony Green [Tue, 8 Oct 2002 07:10:49 +0000 (07:10 +0000)]
Fix string concatenation bug.
From-SVN: r57912
Michael Hayes [Mon, 7 Oct 2002 22:20:10 +0000 (22:20 +0000)]
c4x.c (c4x_print_operand): Enlarge buffer for REAL_VALUE_TO_DECIMAL output.
* config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
for REAL_VALUE_TO_DECIMAL output.
From-SVN: r57908
Svein E. Seldal [Mon, 7 Oct 2002 21:07:06 +0000 (21:07 +0000)]
* configure.in: Add tic4x target.
From-SVN: r57907
Mark Wielaard [Mon, 7 Oct 2002 21:02:38 +0000 (21:02 +0000)]
Thread.java (setDaemon): Check startable_flag, not isAlive().
* java/lang/Thread.java (setDaemon): Check startable_flag,
not isAlive().
From-SVN: r57906
David Edelsohn [Mon, 7 Oct 2002 19:12:04 +0000 (19:12 +0000)]
rs6000.c (rs6000_override_options): Set real_format_for_mode for IBM extended format, if enabled.
* 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
Jonathan Wakely [Mon, 7 Oct 2002 18:11:23 +0000 (18:11 +0000)]
configopts.html, [...]: Add DOCTYPEs.
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
Dale Johannesen [Mon, 7 Oct 2002 17:55:46 +0000 (17:55 +0000)]
Permit doloop treatment for preconditioned loops.
From-SVN: r57902
Michael Koch [Mon, 7 Oct 2002 13:56:38 +0000 (13:56 +0000)]
Buffer.java: New stub file.
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 [Mon, 7 Oct 2002 13:39:22 +0000 (13:39 +0000)]
ByteBuffer.java: removed import of not commited class.
2002-10-07 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBuffer.java:
removed import of not commited class.
From-SVN: r57900
Michael Koch [Mon, 7 Oct 2002 13:12:42 +0000 (13:12 +0000)]
ByteBuffer.java, [...]: New files, forgot to add these dummies.
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