Benjamin Kosnik
51502ebc13
static_members.cc (test02): Less provincial.
...
2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/static_members.cc (test02): Less provincial.
From-SVN: r58144
2002-10-15 01:05:30 +00:00
Benjamin Kosnik
9fead1f53b
static_members.cc (test02): Disable for systems without named locale support.
...
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.
From-SVN: r58142
2002-10-14 22:13:34 +00:00
Richard Henderson
741fa37f8b
* gcc.dg/20020219-1.c: Disable for 16-bit targets.
...
From-SVN: r58141
2002-10-14 15:07:18 -07:00
Roger Sayle
4f770e7b9d
i386.c (k6_cost): Correct typo.
...
* config/i386/i386.c (k6_cost): Correct typo.
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r58139
2002-10-14 21:48:12 +00:00
Mark Mitchell
a3b885703b
re PR rtl-optimization/6631 (Miscompiled structure access)
...
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.
From-SVN: r58136
2002-10-14 21:19:05 +00:00
Mark Mitchell
77631fa7ed
re PR c++/7176 (g++ confused by friend and static member with same name)
...
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.
From-SVN: r58135
2002-10-14 21:09:25 +00:00
Falk Hueffner
f5204e6cb8
re PR target/7211 (Alpha prefetch hints interpreted wrong)
...
* 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.
From-SVN: r58133
2002-10-14 12:57:18 -07:00
Alexandre Oliva
40e6bc7e97
mips.c (print_operand): Increase buffer size for real numbers.
...
* config/mips/mips.c (print_operand): Increase buffer size for
real numbers.
From-SVN: r58132
2002-10-14 19:53:25 +00:00
Andrew Haley
006941eb2f
StaticConstructor.java: New.
...
2002-10-14 Andrew Haley <aph@redhat.com>
* libjava.lang/StaticConstructor.java: New.
* libjava.lang/StaticConstructor.out: New.
From-SVN: r58131
2002-10-14 19:02:56 +00:00
Richard Henderson
f4e3e61878
re PR rtl-optimization/8165 (builtin string functions SEGV on alpha-pc-linux-gnu at -O2)
...
PR opt/8165
* gcse.c (adjust_libcall_notes): Revert last change.
* simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
From-SVN: r58130
2002-10-14 11:16:07 -07:00
Andrew Haley
3eb429b2ce
tree-inline.c (remap_block): All local class initialization flags go in the outermost scope.
...
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.
From-SVN: r58129
2002-10-14 18:12:12 +00:00
Graham Stott
34146b9406
* stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
...
From-SVN: r58128
2002-10-14 18:02:43 +00:00
Aldy Hernandez
3a840c9310
* stmt.c: Fix typo in comment.
...
From-SVN: r58124
2002-10-14 15:57:42 +00:00
J"orn Rennecke
7457a126c6
c-common.c (c_common_type_for_mode): Add V2HImode case.
...
* 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.
From-SVN: r58123
2002-10-14 11:36:41 +01:00
Jakub Jelinek
0d1c5774b2
i386.h (ASM_OUTPUT_REG_PUSH, [...]): Handle TARGET_64BIT.
...
* config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
Handle TARGET_64BIT.
* gcc.dg/20021014-1.c: New test.
From-SVN: r58120
2002-10-14 12:07:58 +02:00
Richard Sandiford
adadd18328
vr.h (DRIVER_SELF_SPECS): Define.
...
* 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.
From-SVN: r58116
2002-10-14 07:17:41 +00:00
GCC Administrator
4eb9ac3926
Daily bump.
...
From-SVN: r58115
2002-10-14 07:17:25 +00:00
Richard Sandiford
db36994b97
tm.texi (DRIVER_SELF_SPECS): Document.
...
* 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.
From-SVN: r58109
2002-10-14 07:15:39 +00:00
Richard Henderson
11e5489b1e
* rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
...
From-SVN: r58102
2002-10-13 19:36:25 -07:00
Mark Wielaard
8fa7c5af3f
* mauve-libgcj: Enable Mauve tests that compile now.
...
From-SVN: r58100
2002-10-13 11:10:27 +00:00
Mark Wielaard
07fe984bc0
* libjava.mauve/xfails: Remove tests that now XPASS.
...
From-SVN: r58099
2002-10-13 11:07:24 +00:00
GCC Administrator
4c603a11df
Daily bump.
...
From-SVN: r58098
2002-10-13 07:17:07 +00:00
Danny Smith
9cfa115575
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
2002-10-13 06:35:15 +00:00
Benjamin Kosnik
b0b128027b
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
2002-10-13 04:46:58 +00:00
Neil Booth
4ca1256f1c
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
2002-10-12 17:10:20 +00:00
Naohiko Shimizu
cf860dc275
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
2002-10-12 09:38:01 -07:00
GCC Administrator
bf01920f80
Daily bump.
...
From-SVN: r58086
2002-10-12 07:17:07 +00:00
Jonathan Wakely
b06a1ea51f
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
2002-10-12 06:14:31 +00:00
Benjamin Kosnik
c0b80fecdf
static_members.cc (test02): Fix.
...
2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/static_members.cc (test02): Fix.
From-SVN: r58079
2002-10-12 04:37:51 +00:00
David O'Brien
520157677f
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
2002-10-12 04:01:04 +00:00
Geoffrey Keating
5dd78e9a69
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
2002-10-12 00:00:39 +00:00
Janis Johnson
8eb32f9496
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
2002-10-11 23:58:31 +00:00
Richard Henderson
e197b6fcab
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
2002-10-11 15:42:31 -07:00
Mark Wielaard
37d2b7e2dc
* gcj.texi (Compatibility): Add Limitations and Extensions section.
...
From-SVN: r58067
2002-10-11 22:12:48 +00:00
Mark Wielaard
9dac635528
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
2002-10-11 22:10:37 +00:00
Benjamin Kosnik
45c7cbd930
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
2002-10-11 21:10:10 +00:00
John David Anglin
a0bed689af
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
2002-10-11 21:10:00 +00:00
Jan Hubicka
db6556348d
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
2002-10-11 20:26:50 +00:00
Geoffrey Keating
ca91148bcd
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
2002-10-11 20:23:21 +00:00
Mark Mitchell
dac45b5c09
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
2002-10-11 19:55:21 +00:00
Gabriel Dos Reis
46dd38849b
Move ChangeLog entry where it belongs
...
From-SVN: r58059
2002-10-11 19:52:10 +00:00
Gabriel Dos Reis
2ee366b54a
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
2002-10-11 18:25:10 +00:00
Jason Molenda
01c3fb158c
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
2002-10-11 18:09:59 +00:00
Mark Mitchell
8e3df2def7
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
2002-10-11 16:50:44 +00:00
Neil Booth
98ddd678f0
* gcc.dg/cpp/assembler.S: Don't use -ansi.
...
From-SVN: r58052
2002-10-11 12:40:36 +00:00
J"orn Rennecke
750afc12b3
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
2002-10-11 12:36:21 +01:00
Joern Rennecke
0488fa7c8f
*** empty log message ***
...
From-SVN: r58050
2002-10-11 10:59:06 +01:00
GCC Administrator
d92b6b949d
Daily bump.
...
From-SVN: r58048
2002-10-11 07:17:12 +00:00
Benjamin Kosnik
a7817e1db2
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
2002-10-11 07:09:36 +00:00
Aldy Hernandez
349e9f4b0b
extend.texi (Vector Extensions): Remove comment about single element vectors.
...
* extend.texi (Vector Extensions): Remove comment about single
element vectors.
From-SVN: r58041
2002-10-11 04:15:14 +00:00