reichelt [Thu, 24 Feb 2005 21:47:26 +0000 (21:47 +0000)]
* ChangeLog.5: Fix log message typo(s).
* ChangeLog.7: Likewise.
* ChangeLog.tree-ssa: Likewise.
* cfgexpand.c: Fix comment typo(s).
* conflict.c: Likewise.
* defaults.h: Likewise.
* dwarf2out.c: Likewise.
* gcse.c: Likewise.
* ggc-page.c: Likewise.
* tree-eh.c: Likewise.
* tree-ssa-dom.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95516
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 24 Feb 2005 21:33:04 +0000 (21:33 +0000)]
PR target/19019
* mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects.
* config/rs6000/darwin-ldouble.c: Only use the .symver directives
if SHARED is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95515
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 24 Feb 2005 21:32:53 +0000 (21:32 +0000)]
2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
wchar_t use with _GLIBCXX_USE_WCHAR_T.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95514
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 24 Feb 2005 21:23:14 +0000 (21:23 +0000)]
PR target/20196
* config/rs6000/rs6000.md (LTU, GTU sCC splitters): Add earlyclobber,
allow splitting only if operands 0 and 3 don't overlap.
* gcc.c-torture/execute/
20050224-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95513
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 24 Feb 2005 21:21:28 +0000 (21:21 +0000)]
PR c++/20175
* decl.c (reshape_init): Don't warn about missing braces if STRING_CST
initializes a char/wchar_t array.
* g++.dg/warn/Wbraces2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95512
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 24 Feb 2005 20:00:09 +0000 (20:00 +0000)]
PR middle-end/19953
* builtins.c (fold_builtin_complex_mul, fold_builtin_complex_div): New.
(fold_builtin_1): Call them.
* fold-const.c (fold_complex_mult_parts): Split out from ...
(fold_complex_mult): ... here. Fix typo in both imaginary case.
(fold_complex_div_parts, fold_complex_div): New.
(fold): Use them.
* tree.h (fold_complex_mult_parts, fold_complex_div_parts): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95511
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 24 Feb 2005 18:58:04 +0000 (18:58 +0000)]
* tree-ssa-ccp.c (visit_assignment): Verify that result of
VIEW_CONVERT_EXPR is_gimple_min_invariant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95510
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 24 Feb 2005 18:55:51 +0000 (18:55 +0000)]
2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
_GLIBCXX_USE_C99_COMPLEX.
* acinclude.m4: Same.
* acconfig.h: Same.
* configure: Regenerate.
* config.h.in: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95508
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 24 Feb 2005 18:53:40 +0000 (18:53 +0000)]
* print-tree.c (print_node_brief): Print LABEL_DECL_UID.
(print_node): Likewise.
Print TYPE_SIZES_GIMPLIFIED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95507
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 24 Feb 2005 18:26:27 +0000 (18:26 +0000)]
Unrevert previously reversed patch, adding this patch:
* module.c (find_true_name): Deal with NULL module.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95506
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 24 Feb 2005 16:59:25 +0000 (16:59 +0000)]
* config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")
("mulqihi3", "mulhisi3", "mulsidi3", "umulsidi3"): Mark input
operands as commutative in constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95505
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 16:24:25 +0000 (16:24 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
PR other/19896
* execute/execute.exp: New file.
* execute/funccall.tree, execute/funccall-2.tree, execute/initial.tree,
execute/main.tree, execute/static.tree: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95504
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 16:23:14 +0000 (16:23 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
PR other/19896
* treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
rest_of_decl_compilation on static variables.
(pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95503
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 16:14:19 +0000 (16:14 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
PR other/19897
* compile/exit.tree, compile/extref.tree, compile/function-1.tree,
compile/syntax-1.tree: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95502
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 16:12:39 +0000 (16:12 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
* parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
Move function parameters check from ...
(function): ...Here. Update call to tree_code_create_function_initial.
(function_invocation): Use expressions_with_commas_opt instead of
expressions_with_commas.
(expressions_with_commas_opt): New rule.
* treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
for function parameters.
(tree_code_create_function_initial): Remove PARMS parameter.
Don't create PARM_DECLs for function parameters.
* treetree.h (tree_code_create_function_initial): Remove PARMS
parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95501
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Thu, 24 Feb 2005 15:59:25 +0000 (15:59 +0000)]
2005-02-24 James A. Morrison <phython@gcc.gnu.org>
* MAINTAINERS (Language Front Ends Maintainers): Add myself as
treelang maintainer.
(Write After Approval): Remove myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95500
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 24 Feb 2005 14:18:46 +0000 (14:18 +0000)]
* tree-into-ssa.c: Re-organize internal functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95499
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 24 Feb 2005 13:01:44 +0000 (13:01 +0000)]
Revert yesterday's patch:
2005-02-23 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.h (gfc_component, gfc_actual_arglist, ...
... argument. Copy string instead of pointing to it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95496
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 24 Feb 2005 09:24:17 +0000 (09:24 +0000)]
PR middle-end/18902
* c-opts.c (c_common_post_options): Set flag_complex_method to 2
for c99.
* common.opt (fcx-limited-range): New.
* opts.c (set_fast_math_flags): Set flag_cx_limited_range.
* toplev.c (flag_complex_method): Initialize to 1.
(process_options): Set flag_complex_method to 0 if
flag_cx_limited_range.
* doc/invoke.texi (-fcx-limited-range): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95493
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 24 Feb 2005 09:01:52 +0000 (09:01 +0000)]
2005-02-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1/functional (mem_fn): Avoid _T, badname on
Darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95492
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 24 Feb 2005 07:15:55 +0000 (07:15 +0000)]
2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/font/TextAttribute.java: changed names to lower case;
(readResolve): implemented.
Added doc comments all over.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95491
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 24 Feb 2005 02:42:17 +0000 (02:42 +0000)]
PR c++/19878
* decl.c (grokvardecl): Set DECL_INTERFACE_KNOWN for declarations
with internal linkage.
PR c++/19878
* g++.dg/init/const2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95490
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 24 Feb 2005 01:55:11 +0000 (01:55 +0000)]
* cse.c (delete_trivially_dead_insns): Speed up by using
NEXT_INSN and PREV_INSN directly instead of next_real_insn and
prev_real_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95488
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Thu, 24 Feb 2005 01:51:30 +0000 (01:51 +0000)]
* config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leaf
functions when -mid-shared-library is being used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95487
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Thu, 24 Feb 2005 01:16:08 +0000 (01:16 +0000)]
TR1 mem_fn and function support
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95486
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 24 Feb 2005 00:16:34 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95481
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Wed, 23 Feb 2005 23:11:08 +0000 (23:11 +0000)]
* doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.
(LINK_LIBGCC_SPECIAL_1): Don't mention it.
* gcc.c: Don't check for LINK_LIBGCC_SPECIAL.
* system.h: Poison LINK_LIBGCC_SPECIAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95476
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 23 Feb 2005 22:30:01 +0000 (22:30 +0000)]
Fix problem found by CFLAGS=-fmudflap build.
* Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95475
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 23 Feb 2005 22:20:48 +0000 (22:20 +0000)]
PR tree-optimization/20100
* gcc.c-torture/execute/pr20100-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95474
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 23 Feb 2005 22:16:07 +0000 (22:16 +0000)]
Fix out-of-bounds array access found by mudflap.
* gengtype.c (note_insn_name): Make 1 element larger.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95473
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 23 Feb 2005 22:14:12 +0000 (22:14 +0000)]
* gfortran.h (gfc_component, gfc_actual_arglist, gfc_user_op): Make
'name' a 'const char *'.
(gfc_symbol): Likewise, also for 'module'.
(gfc_symtree): Make 'name' a 'const char *'.
(gfc_intrinsic_sym): Likewise, also for 'lib_name'.
(gfc_get_gsymbol, gfc_find_gsymbol): Add 'const' qualifier to
'char *' argument.
(gfc_intrinsic_symbol): Use 'gfc_get_string' instead of 'strcpy' to
initialize 'SYM->module'.
* check.c (gfc_check_minloc_maxloc, check_reduction): Check for NULL
pointer instead of empty string.
* dump-parse-tree.c (gfc_show_actual_arglist): Likewise.
* interface.c (gfc_compare_types): Adapt check to account for possible
NULL pointer.
(compare_actual_formal): Check for NULL pointer instead of empty
string.
* intrinsic.c (gfc_current_intrinsic, gfc_current_intrinsic_arg):
Add 'const' qualifier.
(conv_name): Return a heap allocated string.
(find_conv): Add 'const' qualifier to 'target'.
(add_sym): Use 'gfc_get_string' instead of 'strcpy'.
(make_generic): Check for NULL pointer instead of emptystring.
(make_alias): Use 'gfc_get_string' instead of 'strcpy'.
(add_conv): No need to strcpy result from 'conv_name'.
(sort_actual): Check for NULL pointer instead of emptystring.
* intrinsic.h (gfc_current_intrinsic, gfc_current_intrinsic_arg):
Adapt prototype.
* module.c (compare_true_names): Compare pointers instead of strings
for 'module' member.
(find_true_name): Initialize string fields with gfc_get_string.
(mio_pool_string): New function.
(mio_internal_string): Adapt comment.
(mio_component_ref, mio_component, mio_actual_arg): Use
'mio_pool_string' instead of 'mio_internal_string'.
(mio_symbol_interface): Add 'const' qualifier to string arguments.
Add level of indirection. Use 'mio_pool_string' instead of
'mio_internal_string'.
(load_needed, read_module): Use 'gfc_get_string' instead of 'strcpy'.
(write_common, write_symbol): Use 'mio_pool_string' instead of
'mio_internal_string'.
(write_symbol0, write_symbol1): Likewise, also check for NULL pointer
instead of empty string.
(write_operator, write_generic): Pass correct type variable to
'mio_symbol_interface'.
(write_symtree): Use 'mio_pool_string' instead of
'mio_internal_string'.
* primary.c (match_keyword_arg): Adapt check to possible
case of NULL pointer. Use 'gfc_get_string' instead of 'strcpy'.
* symbol.c (gfc_add_component, gfc_new_symtree, delete_symtree,
gfc_get_uop, gfc_new_symbol): Use 'gfc_get_string' instead of
'strcpy'.
(ambiguous_symbol): Check for NULL pointer instead of empty string.
(gfc_find_gsymbol, gfc_get_gsymbol): Add 'const' qualifier on string
arguments.
* trans-array.c (gfc_trans_auto_array_allocation): Check for NULL
pointer instead of empty string.
* trans-decl.c (gfc_sym_mangled_identifier,
gfc_sym_mangled_function_id, gfc_finish_var_decl, gfc_get_symbol_decl,
gfc_get_symbol_decl): Likewise.
* trans-io.c (gfc_new_nml_name_expr): Add 'const' qualifier to
argument. Copy string instead of pointing to it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95472
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 23 Feb 2005 21:34:11 +0000 (21:34 +0000)]
* gfortran.h (gfc_expr): Move 'operator', 'op1', 'op2', and 'uop'
fields into new struct 'op' inside the 'value' union.
* arith.c (eval_intrinsic): Adapt all users.
* dependency.c (gfc_check_dependency): Likewise.
* dump-parse-tree.c (gfc_show_expr): Likewise.
* expr.c (gfc_get_expr): Don't clear removed fields.
(free_expr0, gfc_copy_expr, gfc_type_convert_binary,
gfc_is_constant_expr, simplify_intrinsic_op, check_init_expr,
check_intrinsic_op): Adapt to new field names.
* interface.c (gfc_extend_expr): Likewise. Also explicitly
nullify 'esym' and 'isym' fields of new function call.
* iresolve.c (gfc_resolve_dot_product, gfc_resolve_matmul):
Adapt to renamed structure fields.
* matchexp.c (build_node, match_level_1, match_expr): Likewise.
* module.c (mio_expr): Likewise.
* resolve.c (resolve_operator): Likewise.
(gfc_find_forall_index): Likewise. Only look through operands
if dealing with EXPR_OP
* trans-array.c (gfc_walk_op_expr): Adapt to renamed fields.
* trans-expr.c (gfc_conv_unary_op, gfc_conv_power_op,
gfc_conv_concat_op, gfc_conv_expr_op): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95471
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 23 Feb 2005 20:56:58 +0000 (20:56 +0000)]
fortran/
* gfortran.h (symbol_attribute): New 'untyped' field, fix comment
formatting.
* symbol.c (gfc_set_default_type): Issue error only once, by setting
and checking 'untyped' attribute.
testsuite/
* gfortran.dg/deftype_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95469
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 23 Feb 2005 19:02:29 +0000 (19:02 +0000)]
fortran/
* gfortran.h (gfc_get_namespace): Add second argument to prototype.
* intrinsic.c (gfc_intrinsic_init_1): Pass second argument to
gfc_get_namespace.
* module.c (mio_namespace_ref, load_needed): Likewise.
* parse.c (parse_interface, parse_contained): Likewise. Here the
correct second argument matters.
* symbol.c (gfc_get_namespace): Add parent_types argument, only copy
parent's implicit types if this is set.
(gfc_symbol_init_2): Pass second argument to gfc_get_namespace.
* trans-common.c (build_common_decl): Likewise.
testsuite/
* gfortran.dg/implicit_3.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95463
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 23 Feb 2005 18:57:43 +0000 (18:57 +0000)]
gcc/cp/ChangeLog:
* decl.c (grokvardecl): Don't exempt anonymous types from having
linkage for variables that have linkage other than "C".
gcc/testsuite/ChangeLog:
* g++.dg/lookup/anon2.C: Don't let access checks make it look like
the test passes.
* g++.dg/other/anon3.C: Accept a warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95462
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Wed, 23 Feb 2005 18:20:52 +0000 (18:20 +0000)]
PR target/20018
PR rtl-optimization/20097
* simplify-rtx.c (simplify_relational_operation_1): Avoid creating
BImode SUBREGs of SImode registers which confuse the ia64 backend.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95461
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 23 Feb 2005 18:18:24 +0000 (18:18 +0000)]
* t-aix43 (SHLIB_INSTALL): Create directory for shared library.
* t-aix52 (SHLIB_INSTALL): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95460
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Wed, 23 Feb 2005 17:36:26 +0000 (17:36 +0000)]
2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/16923
* gcj.texi (Invocation): Add descriptions of JvVMInitArgs and
JvVMOption.
2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/16923
* jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
value. Move argument parsing code to prims.cc.
* prims.cc (no_properties): Remove.
(_Jv_Compiler_Properties): Initialize to NULL.
(_Jv_Properties_Count): Initialize to 0.
(parse_verbose_args): New function.
(parse_init_args): New function.
(_Jv_CreateJavaVM): Call parse_init_args.
(_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
* gcj/cni.h (JvVMOption): New struct.
(JvVMInitArgs): Likewise.
(JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
void*.
* libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
(_Jv_VMInitArgs): Likewise.
* include/java-props.h (_Jv_Properties_Count): Declare.
* java/lang/natRuntime.cc (insertSystemProperties): Use
_Jv_Properties_Count in for loop exit condition.
* testsuite/libjava.jni/jni.exp
(gcj_invocation_compile_c_to_binary): New procedure.
(gcj_invocation_test_one): Likewise.
(gcj_jni_run): Run JNI invocation API tests.
* testsuite/libjava.jni/invocation/PR16923.c,
testsuite/libjava.jni/invocation/PR16923.java,
testsuite/libjava.jni/invocation/PR16923.out: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95459
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 23 Feb 2005 17:23:44 +0000 (17:23 +0000)]
2005-02-23 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_convertible.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_convertible/is_convertible.cc: New.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_convertible/typedefs.cc: Likewise.
* testsuite/testsuite_tr1.h: Add class DerivedType.
* include/tr1/type_traits (is_function): Don't mistake references
to function types for function types.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_function/is_function.cc: Add testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95458
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 23 Feb 2005 15:14:47 +0000 (15:14 +0000)]
gcc/
* genpreds.c: Update copyright.
cp/
* cp-objcp-common.h, error.c: Update copyright.
fortran/
* intrinsic.h, st.c: Update copyright.
treelang/
* parse.y: Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95457
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 23 Feb 2005 14:58:03 +0000 (14:58 +0000)]
* gcc.dg/pr20017.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95456
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 23 Feb 2005 14:05:13 +0000 (14:05 +0000)]
2005-02-22 Andrew Haley <aph@redhat.com>
PR libffi/20104
* src/powerpc/ffi.c (ffi_prep_cif_machdep): Bump alignment to
odd-numbered register pairs for 64-bit integer types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95455
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 23 Feb 2005 13:56:01 +0000 (13:56 +0000)]
2005-02-23 Andreas Tobler <a.tobler@schweiz.ch>
PR libffi/20104
* testsuite/libffi.call/return_ll1.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95454
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 23 Feb 2005 11:53:55 +0000 (11:53 +0000)]
PR target/20159
* config/sparc/t-elf (startup files): Assemble with CPP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95450
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Wed, 23 Feb 2005 10:45:07 +0000 (10:45 +0000)]
2005-02-23 Bud Davis <bdavis@gfortran.org>
* gfortran.dg/list_read_4.f90: Change to f90 comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95449
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 23 Feb 2005 10:12:44 +0000 (10:12 +0000)]
Allow darwin targeted ports to build tk, itcl and libgui.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95448
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 23 Feb 2005 09:09:17 +0000 (09:09 +0000)]
2005-02-23 Paolo Bonzini <bonzini@gnu.org>
* genpreds.c (mark_mode_tests): Handle non-VOIDmode match_operands.
(write_predicate_expr): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95447
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 23 Feb 2005 09:00:22 +0000 (09:00 +0000)]
PR ada/19902
* ada/acats/tests/cxa/cxa3004.a: Remove.
* ada/acats/tests/cxb/cxb30061.am: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95446
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 23 Feb 2005 08:33:26 +0000 (08:33 +0000)]
2005-02-23 Michael Koch <konqueror@gmx.de>
* Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95445
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 23 Feb 2005 08:26:36 +0000 (08:26 +0000)]
2005-02-23 Robert Schuster <thebohemian@gmx.net>
* gnu/java/nio/ChannelReader: Fixed comments.
2005-02-23 Robert Schuster <thebohemian@gmx.net>
* java/nio/channels/Channels: Added FIXMEs about
stub method implementation.
(newReader): Implemented.
* gnu/java/nio/ChannelReader: New class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95444
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 23 Feb 2005 07:18:05 +0000 (07:18 +0000)]
2005-02-23 Michael Koch <konqueror@gmx.de>
* java/text/SimpleDateFormat.java:
Removed unused import.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95443
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 23 Feb 2005 06:55:07 +0000 (06:55 +0000)]
PR c++/20073
* decl.c (start_decl_1): Don't clear TREE_READONLY.
(cp_finish_decl): Likewise.
(complete_vars): Call cp_apply_type_quals_to_decl.
* typeck.c (cp_apply_type_quals): Avoid setting TREE_READONLY in
cases where that's not valid.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95442
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 23 Feb 2005 06:52:08 +0000 (06:52 +0000)]
PR c++/20073
* decl.c (start_decl_1): Don't clear TREE_READONLY.
(cp_finish_decl): Likewise.
(complete_vars): Call cp_apply_type_quals_to_decl.
* typeck.c (cp_apply_type_quals): Avoid setting TREE_READONLY in
cases where that's not valid.
PR c++/20073
* g++.dg/init/const1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95441
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 23 Feb 2005 06:14:01 +0000 (06:14 +0000)]
2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
* scripts/check_performance: Tweaks.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
output file with extension that clean rules can find.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95440
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 23 Feb 2005 05:30:48 +0000 (05:30 +0000)]
PR c++/19991
* init.c (integral_constant_value): Iterate if the value of a decl
is itself a constant.
PR c++/20152
* parser.c (cp_parser_class_head): Check for redefintions here.
* semantics.c (begin_class_definition): Not here.
PR c++/20153
* decl2.c (build_anon_union_vars): Add type parameter.
(finish_anon_union): Pass it.
PR c++/20148
* error.c (dump_expr): Do not print the body of a BIND_EXPR.
Handle STATEMENT_LIST.
PR c++/19991
* g++.dg/parse/constant7.C: New test.
PR c++/20152
* g++.dg/parse/error27.C: New test.
* g++.dg/template/qualttp15.C: Adjust error markers.
* g++.old-deja/g++.other/struct1.C: Likewise.
PR c++/20153
* g++.dg/template/error17.C: New test.
PR c++/20148
* g++.dg/parser/error26.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95438
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Wed, 23 Feb 2005 05:08:32 +0000 (05:08 +0000)]
PR tree-optimization/20100
PR tree-optimization/20115
* tree-optimize.c (init_tree_optimization_passes): Remove
pass_maybe_create_global_var.
* tree-pass.h (pass_maybe_create_global_var): Remove.
* tree-ssa-alias.c (aliases_computed_p): Declare.
(struct alias_info): Add field NUM_PURE_CONST_CALLS_FOUND.
(count_calls_and_maybe_create_global_var): Remove.
(pass_maybe_create_global_var): Remove.
(init_alias_info): Do not declare aliases_computed_p.
(maybe_create_global_var): If the function contains no
call-clobbered variables and a mix of pure/const and regular
function calls, create .GLOBAL_VAR.
Mark all call-clobbered variables for renaming.
(merge_pointed_to_info): Update comment.
(add_pointed_to_var): Likewise.
(is_escape_site): Likewise.
Accept struct alias_info * instead of size_t *.
Update all users.
Update AI->NUM_CALLS_FOUND and AI->NUM_PURE_CONST_CALLS_FOUND
as necessary.
* tree-ssa-operands.c (get_call_expr_operands): If
ALIASES_COMPUTED_P is false, do not add call-clobbering
operands.
* tree-ssa.c (init_tree_ssa): Set ALIASES_COMPUTED_P to false.
(delete_tree_ssa): Likewise.
testsuite/ChangeLog
PR tree-optimization/20100
PR tree-optimization/20115
* gcc.dg/pr20115.c: New test.
* gcc.dg/pr20115-1.c: New test.
* gcc.dg/pr20100.c: New test.
* gcc.dg/tree-ssa/
20040517-1.c: Expect virtual operands for
call-clobbered variables after alias1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95437
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Wed, 23 Feb 2005 04:09:17 +0000 (04:09 +0000)]
2004-02-22 Paul Thomas <paulthomas2@wannado.fr>
Bud Davis <bdavis@gfortran.org>
* io/list_read.c (read_real): Handle separators properly
in list directed read.
2005-02-22 Bud Davis <bdavis@gfortran.org>
* gfortran.dg/list_read_4.f90: new test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95436
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 23 Feb 2005 01:35:07 +0000 (01:35 +0000)]
Fix FreeBSD __LDBL_MAX__ -pedantic -save-temps bug.
* toplev.c (backend_init): Don't call init_adjust_machine_modes here.
(do_compile): Do call it here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95432
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 23 Feb 2005 01:28:59 +0000 (01:28 +0000)]
gcc/
PR rtl-optimization/20017.
* passes.c (rest_of_handle_combine, rest_of_handle_cse,
rest_of_handle_cse2, rest_of_handle_gcse): Call
delete_dead_jumptables immediately before calling cleanup_cfg.
testsuite/
PR rtl-optimization/20017.
* gcc.dg/pr20017.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95431
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Wed, 23 Feb 2005 01:10:39 +0000 (01:10 +0000)]
PR 19952
* tree-if-conv.c (process_phi_nodes): Use bsi_after_labels and skip
all labels
* g++.dg/tree-ssa/pr19952.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95430
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Wed, 23 Feb 2005 01:06:05 +0000 (01:06 +0000)]
Add myself as write-after-approval
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95429
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Wed, 23 Feb 2005 01:05:46 +0000 (01:05 +0000)]
2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/20029:
* Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
(lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
* Makefile.in: Regenerate.
* configure.ac: Check for libXtst.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95428
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 23 Feb 2005 00:16:30 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95426
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 23 Feb 2005 00:00:43 +0000 (00:00 +0000)]
* config/rs6000/aix.h (WINT_TYPE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95421
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Tue, 22 Feb 2005 23:38:02 +0000 (23:38 +0000)]
* config/rs6000/rs6000.c (rs6000_override_options): Default to
natural alignment for 64-bit Darwin.
(rs6000_parse_alignment_option): Warn about uses of -malign-power
on 64-bit Darwin.
* doc/invoke.texi: Document this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95420
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 22 Feb 2005 23:17:14 +0000 (23:17 +0000)]
PR libstdc++/20091
* libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
decrement of uncaughtExceptions for rethrow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95419
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 22 Feb 2005 21:43:55 +0000 (21:43 +0000)]
* parser.c (cp_parser_direct_declarator): Always complain about
non-constant array bounds when in a function scope.
* semantics.c (finish_id_expression): Do not mark dependent names
as non-constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95417
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 22 Feb 2005 21:35:04 +0000 (21:35 +0000)]
2005-02-22 Mark Wielaard <address@bogus.example.com>
* java/security/AlgorithmParameterGenerator.java (getInstance):
Mention provider when throwing NoSuchProviderException.
* java/security/AlgorithmParameters.java (getInstance): Likewise.
* java/security/KeyFactory.java (getInstance): Likewise.
* java/security/KeyStore.java (getInstance): Likewise.
* java/security/SecureRandom.java (getInstance): Likewise.
* java/security/cert/CertificateFactory.java (getInstance): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95416
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 22 Feb 2005 21:11:29 +0000 (21:11 +0000)]
2005-02-22 Jeroen Frijters <jeroen@frijters.net>
* java/lang/reflect/Proxy.java,
java/net/URL.java,
java/security/SecureRandom.java,
java/util/Timer.java,
java/util/prefs/AbstractPreferences.java:
Don't catch java.lang.ThreadDeath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95415
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 22 Feb 2005 20:10:45 +0000 (20:10 +0000)]
* c-common.c (c_common_type_for_mode): Pass the mode's precision
to make_[un]signed_type, not the mode itself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95412
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 22 Feb 2005 19:07:40 +0000 (19:07 +0000)]
2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/font/TransformAttribute.java,
(TransformAttribute(AffineTransform)): throw
IllegalArgumentException for null transform.
(getTransform): return a copy of transform.
Added doc comments to all.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95408
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 22 Feb 2005 18:58:53 +0000 (18:58 +0000)]
2005-02-22 Jeroen Frijters <jeroen@frijters.net>
* java/io/Externalizable.java,
java/io/Serializable.java
(serialVersionUID): Removed.
* java/rmi/server/RemoteObject.java,
java/rmi/server/UID.java
(serialVersionUID): Made private.
* java/rmi/server/RemoteRef.java,
java/rmi/server/ServerRef.java
(serialVersionUID): Set proper value.
* java/security/interfaces/DSAPrivateKey.java,
java/security/interfaces/DSAPublicKey.java,
java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
java/security/interfaces/RSAPrivateCrtKey.java,
java/security/interfaces/RSAPrivateKey.java,
java/security/interfaces/RSAPublicKey.java,
javax/crypto/SecretKey.java
(serialVersionUID): Added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95406
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 22 Feb 2005 18:29:43 +0000 (18:29 +0000)]
* java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95405
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 22 Feb 2005 18:14:37 +0000 (18:14 +0000)]
PR java/20056:
* verify-impl.c (EITHER): New define.
(types_compatible): Handle it.
(check_field_constant): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95404
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 22 Feb 2005 18:14:04 +0000 (18:14 +0000)]
PR java/20056:
* verify.cc (type::EITHER): New constant.
(check_field_constant): Use it.
(type::compatible): Handle it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95403
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 22 Feb 2005 17:52:40 +0000 (17:52 +0000)]
2005-02-22 Michael Koch <konqueror@gmx.de>
* gnu/java/security/PolicyFile.java,
gnu/java/security/pkcs/PKCS7SignedData.java,
gnu/java/security/pkcs/SignerInfo.java:
Fixed copyright header.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95399
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 22 Feb 2005 17:07:07 +0000 (17:07 +0000)]
2005-02-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/functional: Fix License to GPL with exception.
* include/tr1/hashtable: Likewise.
* include/tr1/tuple: Likewise.
* include/tr1/type_traits: Likewise.
* include/tr1/type_traits_fwd.h: Likewise.
* include/tr1/unordered_map: Likewise.
* include/tr1/unordered_set: Likewise.
* include/tr1/utility: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95398
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 22 Feb 2005 16:48:34 +0000 (16:48 +0000)]
* tree-outof-ssa.c (SSANORM_USE_COALESCE_LIST): Remove.
(coalesce_ssa_name): Don't check for
SSANORM_USE_COALESCE_LIST.
(rewrite_out_of_ssa): Don't use SSANORM_USE_COALESCE_LIST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95397
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 22 Feb 2005 15:42:25 +0000 (15:42 +0000)]
* cfg.c (cached_make_edge): Call make_edge if edge cache is
not available. Use tail calls wherever possible.
(make_edge): Call unchecked_make_edge to create an edge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95396
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Tue, 22 Feb 2005 15:11:06 +0000 (15:11 +0000)]
* tree-into-ssa.c (rewrite_blocks): Move debug dumps from ...
(rewrite_into_ssa): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95395
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 22 Feb 2005 14:06:53 +0000 (14:06 +0000)]
2005-02-22 Jeroen Frijters <jeroen@frijters.net>
* java/beans/PropertyDescriptor.java
(PropertyDescriptor,setReadMethod): Set propertyType.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95393
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 22 Feb 2005 13:02:11 +0000 (13:02 +0000)]
2005-02-22 Michael Koch <konqueror@gmx.de>
* java/nio/DirectByteBufferImpl.java
(owner): Fixed formatting of javadoc.
* java/text/DateFormat.java
(getAvailableLocales): Fixed formatting.
* java/text/SimpleDateFormat.java:
Fixed formatting and import statement order.
* java/util/Calendar.java
(Calendar): Fixed javadoc to be HTML compliant.
* java/util/SimpleTimeZone.java:
Fixed javadocs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95392
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 22 Feb 2005 12:50:56 +0000 (12:50 +0000)]
2005-02-22 Paolo Carlini <pcarlini@suse.de>
* testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
auto_ptr_neg.cc: Add missing dg-do compile directive.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
auto_ptr_rvalue_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
shared_ptr_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
auto_ptr_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
reset_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
swap_neg.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95391
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 22 Feb 2005 12:16:00 +0000 (12:16 +0000)]
2005-02-22 Roman Kennke <roman@ontographics.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Fixed Button left and right margin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95389
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 22 Feb 2005 11:36:36 +0000 (11:36 +0000)]
* g++.dg/charset/asm1.c: Check for IBM1047 code set, not IBM-1047.
* g++.dg/charset/asm2.c: Likewise.
* g++.dg/charset/asm3.c: Likewise.
* g++.dg/charset/asm4.c: Likewise.
* g++.dg/charset/asm5.c: Likewise.
* g++.dg/charset/attribute1.c: Likewise.
* g++.dg/charset/attribute2.c: Likewise.
* g++.dg/charset/extern1.cc: Likewise.
* g++.dg/charset/extern2.cc: Likewise.
* g++.dg/charset/extern3.cc: Likewise.
* g++.dg/charset/function.cc: Likewise.
* g++.dg/charset/string.c: Likewise.
* g++.dg/charset/charset.exp: Likewise.
* lib/target-supports.exp (check_iconv_available): Fix comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95388
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 22 Feb 2005 06:57:03 +0000 (06:57 +0000)]
* gcc.dg/charset/builtin1.c: Use dg-require-iconv "IBM1047".
* gcc.dg/charset/asm1.c: Check for IBM1047 code set, not IBM-1047.
* gcc.dg/charset/asm2.c: Likewise.
* gcc.dg/charset/asm3.c: Likewise.
* gcc.dg/charset/asm4.c: Likewise.
* gcc.dg/charset/asm5.c: Likewise.
* gcc.dg/charset/asm6.c: Likewise.
* gcc.dg/charset/attribute1.c: Likewise.
* gcc.dg/charset/attribute2.c: Likewise.
* gcc.dg/charset/builtin1.c: Likewise.
* gcc.dg/charset/extern.c: Likewise.
* gcc.dg/charset/function.c: Likewise.
* gcc.dg/charset/string.c: Likewise.
* gcc.dg/charset/charset.exp:Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95385
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Tue, 22 Feb 2005 06:18:59 +0000 (06:18 +0000)]
2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
empty Runnable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95384
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Tue, 22 Feb 2005 06:13:04 +0000 (06:13 +0000)]
2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/17952:
* gnu/java/awt/peer/gtk/GtkWindowPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(getWidth): New method.
(getHeight): Likewise.
(create): Remove width, height and insets parameters. Move size
setup ...
(realize_cb): ... here. New function.
(connectSignals): Connect realize_cb.
(request_frame_extents): Remove FIXME. Move
postInsetsChangedEvent lookup ...
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
... here. Look up GtkWindowPeer getWidth and getHeight methods.
* jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
jmethodID.
(windowGetWidthID): Likewise.
(windowGetHeightID): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95383
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Tue, 22 Feb 2005 04:50:29 +0000 (04:50 +0000)]
2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/19842
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95382
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 22 Feb 2005 03:45:18 +0000 (03:45 +0000)]
Check in missed file from last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95381
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Tue, 22 Feb 2005 03:26:25 +0000 (03:26 +0000)]
2004-02-21 Bud Davis <bdavis@gfortran.org>
PR fortran/20086
* io/transfer.c (write_constant_string): accept an 'h' as
the start of a hollerith format string.
2005-02-21 Bud Davis <bdavis9659@comcast.net>
PR fortran/20086
* gfortran.dg/pr20086.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95379
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 22 Feb 2005 03:13:35 +0000 (03:13 +0000)]
2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
Merge serialization from GNU Classpath.
* gcj/method.h: Add missing #includes.
* java/io/ObjectInputStream.java (readClassDescriptor): Check for
primitive class IDs on the stream here...
(resolveClass): ...not here.
* java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
fields.
* java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
setLongNative, setIntNative, setShortNative, setCharNative,
setByteNative, setBooleanNative, setObjectNative): New native methods.
* java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
setLongNative, setIntNative, setShortNative, setCharNative,
setByteNative, setBooleanNative, setObjectNative): Implement them.
* java/io/natObjectInputStream.cc (allocateObject): Add new parameters
from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
the constructor here.
(callConstructor): Removed.
(getCallersClassLoader): Removed.
* java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
to control whether setting final field values is permitted. Call
getAddr() with checkFinal parameter instead of setAddr().
* java/lang/reflect/natField.cc (getType): Lookup and resolve field
only if not done already.
(getAddr): Add checkFinal parameter. Do the final field check only if
checkFinal is set.
(setAddr): Removed.
2005-02-21 Mark Wielaard <mark@klomp.org>
# Fixes bug #11957
* java/io/ObjectInputStream.java (resolveClass): Don't check "void"
twice.
2005-02-21 Mark Wielaard <mark@klomp.org>
Fixes bug #11618.
* java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
without a super class and us ObjectStreamClass.lookupForClassObject().
(resolveClass): Check for primitive types.
(lookupClass): Return null when argument is null.
2005-02-21 Jeroen Frijters <jeroen@frijters.net>
* java/io/ObjectInputStream.java
(readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
2005-02-21 Jeroen Frijters <jeroen@frijters.net>
* java/io/ObjectOutputStream.java
(writeObject, callWriteMethod): Replaced reflection with accessing
cached info in ObjectStreamClass.
(getMethod): Removed.
* java/io/ObjectStreamClass.java
(findMethod): Added check to make sure the method found has the
right modifiers.
(cacheMethods): Added writeReplace and writeObject methods.
(setFlags): Look at new writeObjectMethod field instead of doing
reflection again.
(writeReplaceMethod): New field.
(writeObjectMethod): New field.
2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
Jeroen Frijters <jeroen@frijters.net>
* java/io/ObjectInputStream.java
(newObject): Changed prototype. Get a constructor reflect object
directly.
(callConstructor): Removed.
(allocateObject): Changed prototype.
(readClassDescriptor): Build the constructor reflection directly.
(readObject): Invoke newObject using the new prototype.
* java/io/ObjectStreamClass.java
(firstNonSerializableParent): Removed.
(firstNonSerializableParentConstructor): Added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95378
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 22 Feb 2005 02:27:37 +0000 (02:27 +0000)]
gcc/ChangeLog:
PR tree-optimization/19786
* tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add one
tag to another's may-alias bitmap when adding to the other's list.
gcc/testsuite/ChangeLog:
PR tree-optimization/19786
* g++.dg/tree-ssa/pr19786.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95377
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 22 Feb 2005 02:00:56 +0000 (02:00 +0000)]
* tree-ssa-loop-ivopts.c (computation_cost): Start register
numbering at LAST_VIRTUAL_REGISTER+1 to avoid possibly using hard
registers in unsupported ways.
* expmed.c (init_expmed): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95373
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Tue, 22 Feb 2005 00:58:36 +0000 (00:58 +0000)]
2005-02-21 Mark Wielaard <mark@klomp.org>
* gnu/java/locale/LocaleInformation_en.java: Extend
localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
2005-02-21 Mark Wielaard <mark@klomp.org>
* java/text/SimpleDateFormat.java
(SimpleDateFormat(String, DateFormatSymbols)): Throw
NullPointerException when formatData is null.
2005-02-21 Mark Wielaard <mark@klomp.org>
* java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
taking dstSavings into account.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/text/SimpleDateFormat.java,
(parse): Set correct DST_OFFSET to the correct value.
2005-02-21 Mark Wielaard <mark@klomp.org>
* java/util/SimpleTimeZone.java (checkRule): Throw
IllegalArgumentException when month out of range.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/util/GregorianCalendar.java,
(add): Don't set fields directly anymore. Use set()
2005-02-21 Mark Wielaard <mark@klomp.org>
* java/text/SimpleDateFormat.java (CompiledField.toString):
Use StringBuffer, not StringBuilder.
(toString): Likewise.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/util/Calendar.java
(clear): Dates should clear to local time.
* java/util/GregorianCalendar.java
(computeTime): Fix priority problem with DAY_OF_WEEK,
Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/util/Calendar.java
(Calendar): Constructor should clear fields.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/text/SimpleDateFormat.java
(parse): Tweak handling of 2-year dates
* java/util/Calendar.java
(clear): Clear fields to correct value.
* java/util/GregorianCalendar.java
(computeTime): Correct handling of time zones.
Correct field minimum values.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/util/Calendar.java
(set) Invalidate all fields on first call to set().
2005-02-21 Sven de Marothy <sven@physto.se>
* java/util/GregorianCalendar.java
(computeTime): Fixed handling of time zones.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/util/Calendar.java
(clear): Set values to Epoch instead of zero.
(set): Set isSet to the relevant field pattern instead of just
the field.
* java/util/GregorianCalendar.java
(getBundle): Removed.
(getDayOfYear): Removed.
(getFirstDayOfMonth): New private method.
(nonLeniencyCheck): New private method.
(computeTime): Correct handling of insufficient data.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/util/Calendar.java: Invalidate ERA field on setting
the YEAR.
* java/util/SimpleTimeZone.java:
(getDaysInMonth): Reimplemented.
* java/util/GregorianCalendar.java:
(getLinearTime): Removed.
(isLeapYear(int,boolean)): Removed.
(before(), after()): Removed.
(computeTime): Reimplemented.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/util/Calendar.java: Reformatted.
* java/util/GregorianCalendar.java: Reformatted.
* java/util/SimpleTimeZone.java: Reformatted.
2005-02-21 Sven de Marothy <sven@physto.se>
* java/util/GregorianCalendar.java
(GregorianCalendar): Update fields in the constructor
2005-02-21 Noa Resare <noa@resare.com>
* java/util/Calendar.java (explicitDSTOffset): New instance field.
(set(int,int)): Set and use new field.
(set(int,int,int)): Check new field.
2005-02-21 Noa Resare <address@hidden>
* java/util/Calendar.java(set):
Fix for DST related regression.
2005-02-21 Jeroen Frijters <jeroen@frijters.net>
* java/util/Calendar.java
(setTimeInMillis): Added call to clear, removed computeFields call.
* java/util/Date.java
(Date(int,int,int,int,int,int)): Removed workaround for
GregorianCalendar bug.
* java/util/GregorianCalendar.java
(GregorianCalendar): Chained all constructors to a (new)
common constructor.
(computeTime): Fixed support for lenient month treatment.
(getLinearDay): Return long instead of int.
(calculateDay): Added fields argument and changed day argument
to long.
2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/SimpleDateFormat.java
Lots of documentation updates.
(readObject(java.io.ObjectInputStream)): Wraps
IllegalArgumentException as specified.
(compileFormat(String)): Uses standardChars
rather than the local pattern characters.
Throws IllegalArgumentException rather than
storing a -1 field.
(toString()): Extended to include all variables
in a better format.
(translateLocalizedPattern(String, String, String)):
Renamed to better define the use of this method.
2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/DateFormat.java:
Documented pattern character offset constants and
added new ones.
(Field): Added new static fields for new pattern chars.
* java/text/SimpleDateFormat.java:
(CompiledField): Changed name of FieldSizePair class
to CompiledField after adding the character as an
attribute. Changed fields to private and added
accessors to give encapsulation.
(CompiledField.CompiledField(int,int,char)): Extended
with character field.
(CompiledField.getField()): New accessor method.
(CompiledField.getSize()): New acceessor method.
(CompiledField.getCharacter()): New accessor method.
(CompiledField.toString()): Added primarily for debugging.
(standardChars): Now uses extended 24 character sequence.
(compileFormat(String)): Changed to use CompiledField.
(formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
java.text.FieldPosition)): Changed to use CompiledField.
New handler for RFC 822 timezones added.
2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/SimpleDateFormat.java:
(parse(String, java.text.ParsePosition)):
Changed 'E' and 'M' cases to use both
short and long names. Extended 'z'
case to also handle 'Z', and deal
with simple GMT offsets such as +0100.
(computeOffset(String)): New private method,
which converts a GMT offset specification,
such as GMT-0500 to a numeric offset in
milliseconds.
* java/util/TimeZone.java:
(timezones()): Added "CEST", the daylight
savings time version of "CET", or Central
European Time.
2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/text/SimpleDateFormat.java:
(parse): Set the DST offset to 0 when parsing
GMT offset timezones.
2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/text/SimpleDateFormat.java:
(parse): Use offset to set ZONE_OFFSET
rather than the DST_OFFSET, so that
GMT offset timezones change the right
one.
2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/SimpleDateFormat.java:
(getDateFormatSymbols()): return a copy
(setDateFormatSymbols(java.text.DateFormatSymbols)):
throw exception on null input
(clone()): implemented to clone
internal fields
2005-02-21 Sven de Marothy <sven@physto.se>
* java/text/SimpleDateFormat.java
(parse): comparison should be case-insensitive, ignore null
strings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95368
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 22 Feb 2005 00:17:16 +0000 (00:17 +0000)]
* include/Makefile.am, include/Makefile.in: Fix accidental extra
change from previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95366
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 22 Feb 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95364
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 22 Feb 2005 00:10:22 +0000 (00:10 +0000)]
* include/tr1/memory: New file.
* include/Makefile.am, include/Makefile.in: Add new TR1 header.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/not_shared.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/not_shared2.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/not_shared3.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/shared.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/still_shared.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/assign/assign.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/assign/auto_ptr.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/assign/auto_ptr_neg.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/assign/shared_ptr.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/assign/shared_ptr_neg.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/comparison/cmp.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/cons/auto_ptr.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/cons/auto_ptr_neg.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/cons/copy.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/cons/default.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/cons/pointer.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/cons/weak_ptr.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/cons/weak_ptr_expired.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/dest/dest.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/misc/io.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/misc/swap.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/modifiers/reset.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/modifiers/reset_neg.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/modifiers/swap.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/modifiers/swap_neg.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/observers/bool_conv.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/observers/get.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/observers/unique.cc: New test.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/observers/use_count.cc: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95361
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 21 Feb 2005 23:51:51 +0000 (23:51 +0000)]
2005-02-21 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (is_member_function_pointer):
Remove ugly workaround for c++/19076.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95360
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 21 Feb 2005 23:25:08 +0000 (23:25 +0000)]
2005-02-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
check for this == &_S_empty_rep, it's always false, here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95358
138bc75d-0d04-0410-961f-
82ee72b054a4