OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years agoDaily bump.
gccadmin [Tue, 15 Oct 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58155 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * decl.c (layout_var_decl): Call layout_decl even for variables
mmitchel [Tue, 15 Oct 2002 06:14:58 +0000 (06:14 +0000)]
* decl.c (layout_var_decl): Call layout_decl even for variables
whose type is an array with unspecified bounds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58149 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * combine.c (simplify_set): Treat MODE_CC registers like cc0.
sayle [Tue, 15 Oct 2002 05:01:07 +0000 (05:01 +0000)]
* combine.c (simplify_set):  Treat MODE_CC registers like cc0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58148 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 15 Oct 2002 04:22:11 +0000 (04:22 +0000)]
2002-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
c_locale_impl.
* testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
* docs/html/abi.txt: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58147 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 15 Oct 2002 01:05:30 +0000 (01:05 +0000)]
2002-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/static_members.cc (test02): Less provincial.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58144 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 14 Oct 2002 22:13:34 +0000 (22:13 +0000)]
2002-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/static_members.cc (test02): Disable for
systems without named locale support.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
running the testsuites in "C" environment.
Add new tests.
* docs/html/22_locale/locale.html: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58142 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/20020219-1.c: Disable for 16-bit targets.
rth [Mon, 14 Oct 2002 22:07:18 +0000 (22:07 +0000)]
    * gcc.dg/20020219-1.c: Disable for 16-bit targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58141 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/i386.c (k6_cost): Correct typo.
sayle [Mon, 14 Oct 2002 21:48:12 +0000 (21:48 +0000)]
* config/i386/i386.c (k6_cost): Correct typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58139 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR optimization/6631
mmitchel [Mon, 14 Oct 2002 21:19:05 +0000 (21:19 +0000)]
PR optimization/6631
* Makefile.in (function.o): Depend on langhooks.h.
* alias.c (objects_must_conflict_p): Check honor_readonly when
examining TYPE_READONLY.
* function.c (assign_stack_temp_for_type): Likewise.

PR optimization/6631
* g++.dg/opt/const2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58136 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/7176
mmitchel [Mon, 14 Oct 2002 21:09:25 +0000 (21:09 +0000)]
PR c++/7176
* g++.dg/parse/friend1.C: New test.
* g++.old-deja/g++.pt/memtemp64.C: Adjust.

PR c++/7176
* lex.c (do_identifier): Add another option for the parsing
parameter.
* parse.y (do_id): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58135 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
rth [Mon, 14 Oct 2002 19:57:18 +0000 (19:57 +0000)]
    * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
        Swap zero extension arguments.
        (umaxhi3): Fix instruction class.
        PR target/7211
        (prefetch): Fix prefetch instructions.
        PR target/7238
        (pkwb): Fix output constraint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58133 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/mips/mips.c (print_operand): Increase buffer size for
aoliva [Mon, 14 Oct 2002 19:53:25 +0000 (19:53 +0000)]
* config/mips/mips.c (print_operand): Increase buffer size for
real numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58132 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-14 Andrew Haley <aph@redhat.com>
aph [Mon, 14 Oct 2002 19:02:56 +0000 (19:02 +0000)]
2002-10-14  Andrew Haley  <aph@redhat.com>

        * libjava.lang/StaticConstructor.java: New.
        * libjava.lang/StaticConstructor.out: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58131 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR opt/8165
rth [Mon, 14 Oct 2002 18:16:07 +0000 (18:16 +0000)]
    PR opt/8165
        * gcse.c (adjust_libcall_notes): Revert last change.
        * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58130 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-14 Andrew Haley <aph@redhat.com>
aph [Mon, 14 Oct 2002 18:12:12 +0000 (18:12 +0000)]
2002-10-14  Andrew Haley  <aph@redhat.com>

        * tree-inline.c (remap_block): All local class initialization
        flags go in the outermost scope.
        (expand_call_inline): Call java_inlining_map_static_initializers.
        (expand_call_inline): Call java_inlining_merge_static_initializers.
        * java/lang.c (merge_init_test_initialization): New.
        (java_inlining_merge_static_initializers): New.
        (inline_init_test_initialization): New.
        (java_inlining_map_static_initializers): New.

        * tree-inline.c (expand_call_inline): Convert retvar to expected
        type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58129 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
grahams [Mon, 14 Oct 2002 18:02:43 +0000 (18:02 +0000)]
 * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58128 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * stmt.c: Fix typo in comment.
aldyh [Mon, 14 Oct 2002 15:57:42 +0000 (15:57 +0000)]
* stmt.c: Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58124 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (c_common_type_for_mode): Add V2HImode case.
amylaar [Mon, 14 Oct 2002 10:36:41 +0000 (10:36 +0000)]
* c-common.c (c_common_type_for_mode): Add V2HImode case.
* tree.c (build_common_tree_nodes_2): Initialize
unsigned_V2HI_type_node and V2HI_type_node.
* tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
(unsigned_V2HI_type_node, V2HI_type_node): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58123 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
jakub [Mon, 14 Oct 2002 10:07:58 +0000 (10:07 +0000)]
* config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
Handle TARGET_64BIT.

* gcc.dg/20021014-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58120 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
rsandifo [Mon, 14 Oct 2002 07:17:41 +0000 (07:17 +0000)]
* config/mips/vr.h (DRIVER_SELF_SPECS): Define.
* config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
(MULTILIB_DIRNAMES): Remove long32.
(MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
(MULTILIB_REDUNDANT_DIRS): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58116 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 14 Oct 2002 07:17:25 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58115 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/tm.texi (DRIVER_SELF_SPECS): Document.
rsandifo [Mon, 14 Oct 2002 07:15:39 +0000 (07:15 +0000)]
* doc/tm.texi (DRIVER_SELF_SPECS): Document.
* gcc.c (driver_self_specs): New variable.
(do_self_spec): New function.
(main): Use it to process driver_self_specs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58109 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
rth [Mon, 14 Oct 2002 02:36:25 +0000 (02:36 +0000)]
    * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58102 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * mauve-libgcj: Enable Mauve tests that compile now.
mark [Sun, 13 Oct 2002 11:10:27 +0000 (11:10 +0000)]
    * mauve-libgcj: Enable Mauve tests that compile now.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58100 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libjava.mauve/xfails: Remove tests that now XPASS.
mark [Sun, 13 Oct 2002 11:07:24 +0000 (11:07 +0000)]
* libjava.mauve/xfails: Remove tests that now XPASS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58099 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 13 Oct 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58098 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * include/bits/stl_threads.h (_GLIBCPP_mutex,
dannysmith [Sun, 13 Oct 2002 06:35:15 +0000 (06:35 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58092 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sun, 13 Oct 2002 04:46:58 +0000 (04:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58091 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR preprocessor/7862
neil [Sat, 12 Oct 2002 17:10:20 +0000 (17:10 +0000)]
PR preprocessor/7862
PR preprocessor/8190
* gcc.c (cpp_unique_options): Don't delete .d files.
Remove stray whitespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58088 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
rth [Sat, 12 Oct 2002 16:38:01 +0000 (16:38 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58087 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 12 Oct 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58086 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-12 Jonathan Wakely <jw@kayari.org>
pme [Sat, 12 Oct 2002 06:14:31 +0000 (06:14 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58080 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 12 Oct 2002 04:37:51 +0000 (04:37 +0000)]
2002-10-11  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/static_members.cc (test02): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58079 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-11 David O'Brien <obrien@FreeBSD.org>
obrien [Sat, 12 Oct 2002 04:01:04 +0000 (04:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58078 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
geoffk [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.
(struct cse_reg_info): Make subreg_ticked unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58075 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-11 Janis Johnson <janis187@us.ibm.com>
janis [Fri, 11 Oct 2002 23:58:31 +0000 (23:58 +0000)]
2002-10-11  Janis Johnson  <janis187@us.ibm.com>

* doc/compat.texi: Add info about C++ libraries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58074 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR opt/8165
rth [Fri, 11 Oct 2002 22:42:31 +0000 (22:42 +0000)]
PR opt/8165
* gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
* gcc.c-torture/execute/20021011-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58071 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcj.texi (Compatibility): Add Limitations and Extensions section.
mark [Fri, 11 Oct 2002 22:12:48 +0000 (22:12 +0000)]
* gcj.texi (Compatibility): Add Limitations and Extensions section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58067 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Fix for PR libgcj/8142
mark [Fri, 11 Oct 2002 22:10:37 +0000 (22:10 +0000)]
Fix for PR libgcj/8142
* java/lang/natClassLoader.cc (findClass): Skip inner classes when
loading native modules.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58066 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 11 Oct 2002 21:10:10 +0000 (21:10 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58065 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfganal.c (dfs_enumerate_from): Use PARAMS.
danglin [Fri, 11 Oct 2002 21:10:00 +0000 (21:10 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58064 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * calls.c (expand_call): Simplify noreturn call.
hubicka [Fri, 11 Oct 2002 20:26:50 +0000 (20:26 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58063 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * objs-gcc.sh: Don't install GDB testsuite if GDB was not built.
geoffk [Fri, 11 Oct 2002 20:23:21 +0000 (20:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58062 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/5661
mmitchel [Fri, 11 Oct 2002 19:55:21 +0000 (19:55 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58060 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Move ChangeLog entry where it belongs
gdr [Fri, 11 Oct 2002 19:52:10 +0000 (19:52 +0000)]
Move ChangeLog entry where it belongs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58059 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PRs C++/6803, C++/7721 and C++/7803
gdr [Fri, 11 Oct 2002 18:25:10 +0000 (18:25 +0000)]
    PRs C++/6803, C++/7721 and C++/7803
        * decl.c (grokdeclarator): Gracefully handle template-name as
        decl-specifier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58058 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-11 Jason Molenda <jmolenda@apple.com>
zack [Fri, 11 Oct 2002 18:09:59 +0000 (18:09 +0000)]
2002-10-11  Jason Molenda  <jmolenda@apple.com>

* init.c (build_field_list): Provide uses_unions_p with a default
value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58056 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * NEWS: Document removal of "new X = ..." extension.
mmitchel [Fri, 11 Oct 2002 16:50:44 +0000 (16:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58053 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/cpp/assembler.S: Don't use -ansi.
neil [Fri, 11 Oct 2002 12:40:36 +0000 (12:40 +0000)]
* gcc.dg/cpp/assembler.S: Don't use -ansi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58052 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
amylaar [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58051 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago*** empty log message ***
amylaar [Fri, 11 Oct 2002 09:59:06 +0000 (09:59 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58050 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 11 Oct 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58048 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 11 Oct 2002 07:09:36 +0000 (07:09 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58042 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * extend.texi (Vector Extensions): Remove comment about single
aldyh [Fri, 11 Oct 2002 04:15:14 +0000 (04:15 +0000)]
* extend.texi (Vector Extensions): Remove comment about single
element vectors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58041 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
ghazi [Fri, 11 Oct 2002 01:28:28 +0000 (01:28 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58036 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-10 Stuart Hastings <stuart@apple.com>
geoffk [Thu, 10 Oct 2002 23:16:54 +0000 (23:16 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58035 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix C++ FE attribute alias failure.
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58034 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-10 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 10 Oct 2002 22:00:29 +0000 (22:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58031 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
jakub [Thu, 10 Oct 2002 21:46:09 +0000 (21:46 +0000)]
* config/i386/i386.md (tls_local_dynamic_base): Put pic reg
into proper operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58029 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ip2k/ip2k.c (function_epilogue): Optimize stack
denisc [Thu, 10 Oct 2002 19:45:59 +0000 (19:45 +0000)]
* config/ip2k/ip2k.c (function_epilogue): Optimize stack
deallocation.
* config/ip2k/libgcc.S: Combine routines used by function
epilogue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58027 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix miscompilation of testcase 20021010-1.c for v850 target with -O -mv850e.
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58026 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoTest miscompiled for v850 target with -O -mv850e due to cse bug.
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58025 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix spelling.
mrs [Thu, 10 Oct 2002 18:32:00 +0000 (18:32 +0000)]
Fix spelling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58022 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/aix52.h: New file.
dje [Thu, 10 Oct 2002 18:29:33 +0000 (18:29 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58021 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR target/5610
hubicka [Thu, 10 Oct 2002 17:38:35 +0000 (17:38 +0000)]
PR target/5610
* invoke.texi (-msse-math): Kill
(-msse): Add note to mfpmath=sse.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58019 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR target/7723
hubicka [Thu, 10 Oct 2002 15:10:31 +0000 (15:10 +0000)]
PR target/7723
* i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58015 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-10 Michael Koch <konqueror@gmx.de>
mkoch [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58011 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR preprocessor/8179
neil [Thu, 10 Oct 2002 07:33:25 +0000 (07:33 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58010 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 10 Oct 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58009 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-10 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 10 Oct 2002 05:21:53 +0000 (05:21 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58003 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-08 Michael Koch <konqueror@gmx.de>
mkoch [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58002 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 10 Oct 2002 05:15:29 +0000 (05:15 +0000)]
2002-10-09  Benjamin Kosnik  <bkoz@redhat.com>

* src/locale.cc: Fix comments, move ctors together.
* testsuite/22_locale/static_members.cc (test03): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58001 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * toplev.c (rest_of_compilation): Revert opt/2960 change.
rth [Wed, 9 Oct 2002 23:17:51 +0000 (23:17 +0000)]
    * toplev.c (rest_of_compilation): Revert opt/2960 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58000 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-09 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 9 Oct 2002 23:10:32 +0000 (23:10 +0000)]
2002-10-09  Phil Edwards  <pme@gcc.gnu.org>

* btest-gcc.sh, objs-gcc.sh:  Update TARGET comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57999 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoAdd PR numbers to entries for last commit
zack [Wed, 9 Oct 2002 21:32:31 +0000 (21:32 +0000)]
Add PR numbers to entries for last commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57998 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agogcc:
zack [Wed, 9 Oct 2002 21:27:38 +0000 (21:27 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57995 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * decl2.c (prune_vtable_vardecl): Delete unused function.
ghazi [Wed, 9 Oct 2002 21:08:42 +0000 (21:08 +0000)]
* decl2.c (prune_vtable_vardecl): Delete unused function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57994 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * objs-gcc.sh: On (non-linux) native hosts, use 'make bootstrap'.
geoffk [Wed, 9 Oct 2002 21:00:54 +0000 (21:00 +0000)]
* objs-gcc.sh: On (non-linux) native hosts, use 'make bootstrap'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57993 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * loop.c: Revert 2002-08-15 change.
ghazi [Wed, 9 Oct 2002 20:58:12 +0000 (20:58 +0000)]
* loop.c: Revert 2002-08-15 change.
(LOOP_REGNO_NREGS): Ensure type is int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57992 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * parse.y (merge_string_cste): Add parentheses around & within |.
ghazi [Wed, 9 Oct 2002 20:54:37 +0000 (20:54 +0000)]
* parse.y (merge_string_cste): Add parentheses around & within |.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57991 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
dje [Wed, 9 Oct 2002 20:54:05 +0000 (20:54 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57990 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * conflict.c (arc_hash): Change return type to hashval_t.
ghazi [Wed, 9 Oct 2002 17:26:27 +0000 (17:26 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57987 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-08 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 9 Oct 2002 15:54:55 +0000 (15:54 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57985 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.md (ffssi2): Fix emitted code.
amylaar [Wed, 9 Oct 2002 15:07:19 +0000 (15:07 +0000)]
* sh.md (ffssi2): Fix emitted code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57984 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-09 Paolo Carlini <pcarlini@unitus.it>
paolo [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57983 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cse.c (insn_live_p): Pass insn pattern, not full insn
uweigand [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57982 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cppmacro.c (paste_tokens): Only allow / to paste with =.
neil [Wed, 9 Oct 2002 09:56:09 +0000 (09:56 +0000)]
* cppmacro.c (paste_tokens): Only allow / to paste with =.
testsuite:
* gcc.dg/cpp/paste13.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57978 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Wed, 9 Oct 2002 07:17:31 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57976 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
bkoz [Wed, 9 Oct 2002 06:32:11 +0000 (06:32 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57970 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
dje [Wed, 9 Oct 2002 04:28:12 +0000 (04:28 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57969 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
gdr [Wed, 9 Oct 2002 00:13:57 +0000 (00:13 +0000)]
* c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
* doc/cpp.texi (Common Predefined Macros): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57966 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libgcc2.c (__floatdisf): Properly cure double rounding.
amodra [Tue, 8 Oct 2002 23:50:56 +0000 (23:50 +0000)]
* libgcc2.c (__floatdisf): Properly cure double rounding.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57965 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-08 Paolo Carlini <pcarlini@unitus.it>
bkoz [Tue, 8 Oct 2002 23:32:23 +0000 (23:32 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57964 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/execute/20020720-1.x: Take out sparc XFAILs. For
ghazi [Tue, 8 Oct 2002 23:21:40 +0000 (23:21 +0000)]
    * gcc.c-torture/execute/20020720-1.x: Take out sparc XFAILs.  For
        remaining platforms, XFAIL during compile, not execute.  Don't
        XFAIL at -O0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57963 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/7754
mmitchel [Tue, 8 Oct 2002 22:52:14 +0000 (22:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57961 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR doc/7484
gdr [Tue, 8 Oct 2002 22:24:14 +0000 (22:24 +0000)]
PR doc/7484
* doc/invoke.texi (Option Summary): List
-Wmissing-declarations as a C only option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57958 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-10-08 Jakub Jelinek <jakub@redhat.com>
davem [Tue, 8 Oct 2002 21:59:45 +0000 (21:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57956 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR target/8087
sayle [Tue, 8 Oct 2002 20:49:02 +0000 (20:49 +0000)]
PR target/8087
* simplify-rtx.c (avoid_constant_pool_reference):  Allow constant
pool references that are constructed using LO_SUM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57942 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * system.h (GCCBUGURL): Delete.
zack [Tue, 8 Oct 2002 19:45:17 +0000 (19:45 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57940 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agogcc:
nathan [Tue, 8 Oct 2002 19:20:18 +0000 (19:20 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57938 138bc75d-0d04-0410-961f-82ee72b054a4