Mark Mitchell [Wed, 16 Oct 2002 18:58:38 +0000 (18:58 +0000)]
re PR c++/7524 ([Regression from GCC 2.95.3] f(const float arg[3]) fails)
PR c++/7524
* g++.dg/init/array7.C: New test.
PR c++/7524
* method.c (do_build_assign_ref): Use cp_build_qualified_type, not
build_qualified_type.
From-SVN: r58217
Benjamin Kosnik [Wed, 16 Oct 2002 16:14:10 +0000 (16:14 +0000)]
linker-map.gnu: Add exports for codecvt constructors where size_t == unsigned long.
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Add exports for codecvt constructors
where size_t == unsigned long.
From-SVN: r58208
Tom Tromey [Wed, 16 Oct 2002 14:58:15 +0000 (14:58 +0000)]
re PR libgcj/8234 (ZipInputStream chokes when InputStream.read() returns small chunks)
Fix for PR libgcj/8234:
* java/util/zip/natInflater.cc (reset): Reset avail_in.
* java/util/zip/natDeflater.cc (reset): Reset avail_in.
From-SVN: r58205
Jan Hubicka [Wed, 16 Oct 2002 13:14:23 +0000 (13:14 +0000)]
re PR c++/7386 (ran gcc compiler and it said to report htebug)
PR target/7386
* i386.c (builtin_description):Drop cmpg[te]s[sd].
* xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
swapped alternative.
* doc/extend.texi (X86 Built-in Functions): Remove killed builtins.
From-SVN: r58202
GCC Administrator [Wed, 16 Oct 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58194
David O'Brien [Wed, 16 Oct 2002 03:45:02 +0000 (03:45 +0000)]
Remove bogus copyright message in my last entry.
From-SVN: r58188
Richard Henderson [Wed, 16 Oct 2002 00:40:39 +0000 (17:40 -0700)]
real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS as arguments.
gcc/
* real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
as arguments. Bound DIGITS by the available buffer size.
(real_to_hexadecimal): Likewise.
* real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
(REAL_VALUE_TO_DECIMAL): Remove.
* c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
use real_to_decimal directly, and with the proper arguments.
* doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
gcc/cp/
* error.c (dump_expr): Use real_to_decimal directly, and with
the new arguments.
gcc/f/
* target.h (ffetarget_print_real1, ffetarget_print_real2): Use
real_to_decimal directly, and with the new arguments.
From-SVN: r58187
Richard Henderson [Wed, 16 Oct 2002 00:36:17 +0000 (17:36 -0700)]
* jcf-parse.c (get_constant): Fix type warning.
From-SVN: r58186
Mark Mitchell [Tue, 15 Oct 2002 23:59:23 +0000 (23:59 +0000)]
decl.c (reshape_init): Fix typo.
* decl.c (reshape_init): Fix typo.
* cp-tree.h (operator_name_info_t): Add arity.
* lex.c (init_operators): Initialize it.
* mangle.c (write_conversion_operator_name): New function.
(write_unqualified_name): Use it.
(write_template_args): Accept template arguments as a TREE_LIST.
(write_expression): Adjust handling of qualified names to match
specification.
* g++.dg/init/array6.C: New test.
* g++.dg/abi/mangle13.C: Likewise.
* g++.dg/abi/mangle14.C: Likewise.
* g++.dg/abi/mangle15.C: Likewise.
From-SVN: r58185
Jim Wilson [Tue, 15 Oct 2002 22:46:31 +0000 (22:46 +0000)]
Fix x86 miscompilation of gdb mips simulator.
* reload1.c (merge_assigned_reloads): After converting overlapping
reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
* config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
From-SVN: r58184
Jason Merrill [Tue, 15 Oct 2002 22:03:53 +0000 (18:03 -0400)]
call.c (call_builtin_trap): New fn.
* call.c (call_builtin_trap): New fn.
(convert_arg_to_ellipsis): Use it. Downgrade error to warning.
(build_call): Don't set current_function_returns_abnormally outside
a function.
From-SVN: r58180
Jan Hubicka [Tue, 15 Oct 2002 20:09:32 +0000 (22:09 +0200)]
* expr.c (do_tablejump): Fix typo in my previous commit.
From-SVN: r58179
Andrew Haley [Tue, 15 Oct 2002 19:25:13 +0000 (19:25 +0000)]
cvs commit fubar.
From-SVN: r58178
Andrew Haley [Tue, 15 Oct 2002 19:00:24 +0000 (19:00 +0000)]
Fix bad checkin.
From-SVN: r58177
Andrew Haley [Tue, 15 Oct 2002 18:43:11 +0000 (18:43 +0000)]
EvaluationOrder.java (EvaluationOrder): New.
2002-10-15 Andrew Haley <aph@redhat.com>
* libjava.lang/EvaluationOrder.java (EvaluationOrder): New.
* libjava.lang/EvaluationOrder.out (EvaluationOrder): New.
From-SVN: r58176
Ranjit Mathew [Tue, 15 Oct 2002 18:41:47 +0000 (18:41 +0000)]
configure, [...]: Rebuilt.
2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
* configure, config.h.in: Rebuilt.
* configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
From-SVN: r58175
Mark Mitchell [Tue, 15 Oct 2002 18:07:24 +0000 (18:07 +0000)]
class.c (check_field_decls): Remove empty_p parameter.
* class.c (check_field_decls): Remove empty_p parameter. Instead,
clear CLASSTYPE_EMPTY_P.
(build_base_field): Likewise.
(build_base_fields): Likewise.
(check_bases_and_members): Likewise.
(create_vtbl_ptr): Likewise.
(layout_class_type): Likewise. Ensure that empty classes have
size zero when used as base classes in the 3.2 ABI.
(finish_struct_1): Initialize CLASSTYPE_EMPTY_P and
CLASSTYPE_NEARLY_EMPTY_P. Adjust calls to avoid passing empty_p
parameter.
(is_empty_class): Correct definition when using post-3.2 ABI.
* cp-tree.h (lang_type_class): Add empty_p.
(CLASSTYPE_EMPTY_P): New macro.
From-SVN: r58170
Richard Sandiford [Tue, 15 Oct 2002 17:02:56 +0000 (17:02 +0000)]
* config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
From-SVN: r58169
Ulrich Weigand [Tue, 15 Oct 2002 16:27:34 +0000 (16:27 +0000)]
s390.c (s390_split_branches): Add return value.
* config/s390/s390.c (s390_split_branches): Add return
value. Add parameters TEMP_REG and TEMP_USED. Use unspec 104.
(find_base_register_in_addr): New function.
(find_base_register_ref): New function.
(replace_base_register_ref): New function.
(struct constant_pool): Add members pool_insn, insns, and anchor.
Remove member last_insn.
(s390_start_pool): Initialize them.
(s390_end_pool): Emit pool placeholder insn.
(s390_add_pool_insn): New function.
(s390_find_pool): Use insns bitmap instead of addresses.
(s390_dump_pool): Replace placeholder insn. Emit anchor.
Replace unspec 104 by local-pool-relative references.
(s390_output_constant_pool): Output anchor label if required.
(s390_output_symbolic_const): Handle unspec 104 and 105.
(s390_add_pool): Remove, replace by ...
(s390_add_constant, s390_find_constant): ... these new functions.
(s390_add_anchor): New function.
(s390_chunkify_pool): Delete, replace by ...
(s390_chunkify_start, s390_chunkify_finish,
s390_chunkify_cancel): ... these new functions.
(s390_optimize_prolog): Add parameter TEMP_REGNO.
Recompute register live data for special registers.
(s390_fixup_clobbered_return_reg): New function.
(s390_machine_dependent_reorg): Rewrite to use new
s390_chunkify_... routines.
config/s390/s390.md ("reload_base"): Rename to ...
("reload_base_31"): ... this.
("reload_base_64"): New insn.
("reload_base2"): Remove.
("reload_anchor"): New insn.
("pool"): New insn.
s390.c (s390_pool_overflow): Remove.
s390.h (s390_pool_overflow): Likewise.
s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
From-SVN: r58168
Nathan Sidwell [Tue, 15 Oct 2002 16:01:02 +0000 (16:01 +0000)]
init.c (build_delete): Do not apply save_expr for arrays.
cp:
* init.c (build_delete): Do not apply save_expr for arrays.
(build_vec_delete): Likewise.
testsuite:
* g++.dg/init/ctor1.C: New test.
From-SVN: r58166
J"orn Rennecke [Tue, 15 Oct 2002 15:54:06 +0000 (15:54 +0000)]
* sh.md (movv8qi_i+2): Don't split if source is -1.
From-SVN: r58165
Janis Johnson [Tue, 15 Oct 2002 15:52:33 +0000 (15:52 +0000)]
install.texi: Formatting changes for conformance to HTML 4.01.
2002-10-15 Janis Johnson <janis187@us.ibm.com>
* doc/install.texi: Formatting changes for conformance to HTML 4.01.
From-SVN: r58164
Andrew Haley [Tue, 15 Oct 2002 15:29:12 +0000 (15:29 +0000)]
java-tree.h (java_inlining_merge_static_initializers): Declare.
2002-10-15 Andrew Haley <aph@redhat.com>
* java-tree.h (java_inlining_merge_static_initializers): Declare.
(java_inlining_map_static_initializers): Declare.
From-SVN: r58163
Ulrich Weigand [Tue, 15 Oct 2002 14:39:40 +0000 (14:39 +0000)]
* gcc.c-torture/execute/
20021015-1.c: New test.
From-SVN: r58159
Ulrich Weigand [Tue, 15 Oct 2002 14:38:10 +0000 (14:38 +0000)]
re PR rtl-optimization/7409 (loop optimization)
PR opt/7409
* loop.c (loop_regs_scan): Mark registers used for function
argument passing as MAY_NOT_OPTIMIZE.
From-SVN: r58158
J"orn Rennecke [Tue, 15 Oct 2002 13:25:16 +0000 (13:25 +0000)]
* gcc.dg/weak/typeof-2.c: For SH targets, return before baz3 test.
From-SVN: r58157
Jan Hubicka [Tue, 15 Oct 2002 08:24:36 +0000 (10:24 +0200)]
re PR c/7344 (performance regression on huge case statements)
* i386.md (movv2di_internal): New pattern.
(movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
(movv2di): New expander.
* i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
* i386.c (ix86_expand_timode_binop_builtin): Delete.
(builtin_description): Add SSE1 logicals; rename SSE2 logicals.
(ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
(ix86_expand_builtin): Likewise.
* i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
sse_andti3,
sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
sse_andnti3,
sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
sse_orti3,
sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
sse_xorti3): Kill.
(sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
(*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
*sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
(*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
*sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
* xmmintrin.h (__m128i): Define as __v2di.
PR c/7344
* predict.c (can_predict_insn_p): New function.
(estimate_probability): Avoid unnecesary work.
(process_note_prediction): Likewise.
* toplev.c (rest_of_compilation): Account early branch prediction pass
as TV_BRANCH_PROB.
PR c++/6419
(expand_expr): Use DECL_RTL_SET_P.
From-SVN: r58156
GCC Administrator [Tue, 15 Oct 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58155
Mark Mitchell [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.
* decl.c (layout_var_decl): Call layout_decl even for variables
whose type is an array with unspecified bounds.
From-SVN: r58149
Roger Sayle [Tue, 15 Oct 2002 05:01:07 +0000 (05:01 +0000)]
* combine.c (simplify_set): Treat MODE_CC registers like cc0.
From-SVN: r58148
Benjamin Kosnik [Tue, 15 Oct 2002 04:22:11 +0000 (04:22 +0000)]
globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to c_locale_impl.
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.
From-SVN: r58147
Benjamin Kosnik [Tue, 15 Oct 2002 01:05:30 +0000 (01:05 +0000)]
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
Benjamin Kosnik [Mon, 14 Oct 2002 22:13:34 +0000 (22:13 +0000)]
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
Richard Henderson [Mon, 14 Oct 2002 22:07:18 +0000 (15:07 -0700)]
* gcc.dg/
20020219-1.c: Disable for 16-bit targets.
From-SVN: r58141
Roger Sayle [Mon, 14 Oct 2002 21:48:12 +0000 (21:48 +0000)]
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
Mark Mitchell [Mon, 14 Oct 2002 21:19:05 +0000 (21:19 +0000)]
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
Mark Mitchell [Mon, 14 Oct 2002 21:09:25 +0000 (21:09 +0000)]
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
Falk Hueffner [Mon, 14 Oct 2002 19:57:18 +0000 (19:57 +0000)]
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
Alexandre Oliva [Mon, 14 Oct 2002 19:53:25 +0000 (19:53 +0000)]
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
Andrew Haley [Mon, 14 Oct 2002 19:02:56 +0000 (19:02 +0000)]
StaticConstructor.java: New.
2002-10-14 Andrew Haley <aph@redhat.com>
* libjava.lang/StaticConstructor.java: New.
* libjava.lang/StaticConstructor.out: New.
From-SVN: r58131
Richard Henderson [Mon, 14 Oct 2002 18:16:07 +0000 (11:16 -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): Revert last change.
* simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
From-SVN: r58130
Andrew Haley [Mon, 14 Oct 2002 18:12:12 +0000 (18:12 +0000)]
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
Graham Stott [Mon, 14 Oct 2002 18:02:43 +0000 (18:02 +0000)]
* stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
From-SVN: r58128
Aldy Hernandez [Mon, 14 Oct 2002 15:57:42 +0000 (15:57 +0000)]
* stmt.c: Fix typo in comment.
From-SVN: r58124
J"orn Rennecke [Mon, 14 Oct 2002 10:36:41 +0000 (10:36 +0000)]
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
Jakub Jelinek [Mon, 14 Oct 2002 10:07:58 +0000 (12:07 +0200)]
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
Richard Sandiford [Mon, 14 Oct 2002 07:17:41 +0000 (07:17 +0000)]
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
GCC Administrator [Mon, 14 Oct 2002 07:17:25 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58115
Richard Sandiford [Mon, 14 Oct 2002 07:15:39 +0000 (07:15 +0000)]
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
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