OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago PR tree-opt/20127
rth [Fri, 25 Feb 2005 01:56:14 +0000 (01:56 +0000)]
    PR tree-opt/20127
        * tree-sra.c (instantiate_element): Copy TREE_THIS_VOLATILE from
        the type.

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

16 years agoconfig/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for
fjahanian [Fri, 25 Feb 2005 01:16:17 +0000 (01:16 +0000)]
config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for
vector types if to use base reg for misaligned non-word ld/std.
OKed by David Edelsohn.

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

16 years agoDaily bump.
gccadmin [Fri, 25 Feb 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.

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

16 years ago PR target/14619
hp [Thu, 24 Feb 2005 22:17:42 +0000 (22:17 +0000)]
PR target/14619
* config/cris/cris.c (cris_target_asm_function_prologue): Create
dwarf2 label manually and put it after, not before the prologue.

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

16 years ago * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
dje [Thu, 24 Feb 2005 22:09:35 +0000 (22:09 +0000)]
    * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
        Fix formatting.

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

16 years ago * reload.c (operands_match_p): Only increment register number for
dje [Thu, 24 Feb 2005 22:06:06 +0000 (22:06 +0000)]
    * reload.c (operands_match_p): Only increment register number for
        SCALAR_INT_MODE_P modes in multiple hard registers.

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

16 years ago * decl.c, resolve.c, trans-array.c, trans.h: Fix comment typo(s).
reichelt [Thu, 24 Feb 2005 21:59:24 +0000 (21:59 +0000)]
* decl.c, resolve.c, trans-array.c, trans.h: Fix comment typo(s).

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

16 years ago * call.c, class.c, cp-tree.h, decl2.c, error.c, init.c, mangle.c,
reichelt [Thu, 24 Feb 2005 21:55:15 +0000 (21:55 +0000)]
* call.c, class.c, cp-tree.h, decl2.c, error.c, init.c, mangle.c,
        parser.c: Fix comment typo(s).

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

16 years ago * ChangeLog.5: Fix log message typo(s).
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

16 years ago PR target/19019
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

16 years ago2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
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

16 years ago PR target/20196
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

16 years ago PR c++/20175
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

16 years ago PR middle-end/19953
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

16 years ago * tree-ssa-ccp.c (visit_assignment): Verify that result of
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

16 years ago2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
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

16 years ago * print-tree.c (print_node_brief): Print LABEL_DECL_UID.
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

16 years agoUnrevert previously reversed patch, adding this patch:
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

16 years ago * config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")
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

16 years ago2005-02-24 James A. Morrison <phython@gcc.gnu.org>
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

16 years ago2005-02-24 James A. Morrison <phython@gcc.gnu.org>
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

16 years ago2005-02-24 James A. Morrison <phython@gcc.gnu.org>
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

16 years ago2005-02-24 James A. Morrison <phython@gcc.gnu.org>
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

16 years ago2005-02-24 James A. Morrison <phython@gcc.gnu.org>
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

16 years ago * tree-into-ssa.c: Re-organize internal functions.
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

16 years agoRevert yesterday's patch:
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

16 years ago PR middle-end/18902
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

16 years ago2005-02-24 Paolo Carlini <pcarlini@suse.de>
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

16 years ago2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
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

16 years ago PR c++/19878
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

16 years ago * cse.c (delete_trivially_dead_insns): Speed up by using
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

16 years ago * config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leaf
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

16 years agoTR1 mem_fn and function support
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

16 years agoDaily bump.
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

16 years ago * doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.
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

16 years agoFix problem found by CFLAGS=-fmudflap build.
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

16 years ago PR tree-optimization/20100
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

16 years agoFix out-of-bounds array access found by mudflap.
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

16 years ago* gfortran.h (gfc_component, gfc_actual_arglist, gfc_user_op): Make
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

16 years ago* gfortran.h (gfc_expr): Move 'operator', 'op1', 'op2', and 'uop'
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

16 years agofortran/
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

16 years agofortran/
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

16 years agogcc/cp/ChangeLog:
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

16 years ago PR target/20018
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

16 years ago * t-aix43 (SHLIB_INSTALL): Create directory for shared library.
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

16 years ago2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
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

16 years ago2005-02-23 Paolo Carlini <pcarlini@suse.de>
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

16 years agogcc/
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

16 years ago * gcc.dg/pr20017.c: Fix a comment typo.
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

16 years ago2005-02-22 Andrew Haley <aph@redhat.com>
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

16 years ago2005-02-23 Andreas Tobler <a.tobler@schweiz.ch>
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

16 years ago PR target/20159
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

16 years ago2005-02-23 Bud Davis <bdavis@gfortran.org>
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

16 years agoAllow darwin targeted ports to build tk, itcl and libgui.
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

16 years ago2005-02-23 Paolo Bonzini <bonzini@gnu.org>
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

16 years ago PR ada/19902
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

16 years ago2005-02-23 Michael Koch <konqueror@gmx.de>
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

16 years ago2005-02-23 Robert Schuster <thebohemian@gmx.net>
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

16 years ago2005-02-23 Michael Koch <konqueror@gmx.de>
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

16 years ago PR c++/20073
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

16 years ago PR c++/20073
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

16 years ago2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
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

16 years ago PR c++/19991
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

16 years ago PR tree-optimization/20100
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

16 years ago2004-02-22 Paul Thomas <paulthomas2@wannado.fr>
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

16 years agoFix FreeBSD __LDBL_MAX__ -pedantic -save-temps bug.
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

16 years agogcc/
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

16 years ago PR 19952
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

16 years agoAdd myself as write-after-approval
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

16 years ago2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
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

16 years agoDaily bump.
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

16 years ago * config/rs6000/aix.h (WINT_TYPE): Define.
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

16 years ago * config/rs6000/rs6000.c (rs6000_override_options): Default to
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

16 years ago PR libstdc++/20091
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

16 years ago * parser.c (cp_parser_direct_declarator): Always complain about
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

16 years ago2005-02-22 Mark Wielaard <address@bogus.example.com>
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

16 years ago2005-02-22 Jeroen Frijters <jeroen@frijters.net>
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

16 years ago* c-common.c (c_common_type_for_mode): Pass the mode's precision
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

16 years ago2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
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

16 years ago2005-02-22 Jeroen Frijters <jeroen@frijters.net>
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

16 years ago * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
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

16 years ago PR java/20056:
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

16 years ago PR java/20056:
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

16 years ago2005-02-22 Michael Koch <konqueror@gmx.de>
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

16 years ago2005-02-22 Paolo Carlini <pcarlini@suse.de>
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

16 years ago * tree-outof-ssa.c (SSANORM_USE_COALESCE_LIST): Remove.
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

16 years ago * cfg.c (cached_make_edge): Call make_edge if edge cache is
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

16 years ago * tree-into-ssa.c (rewrite_blocks): Move debug dumps from ...
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

16 years ago2005-02-22 Jeroen Frijters <jeroen@frijters.net>
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

16 years ago2005-02-22 Michael Koch <konqueror@gmx.de>
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

16 years ago2005-02-22 Paolo Carlini <pcarlini@suse.de>
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

16 years ago2005-02-22 Roman Kennke <roman@ontographics.com>
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

16 years ago * g++.dg/charset/asm1.c: Check for IBM1047 code set, not IBM-1047.
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

16 years ago * gcc.dg/charset/builtin1.c: Use dg-require-iconv "IBM1047".
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

16 years ago2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
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

16 years ago2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
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

16 years ago2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
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

16 years agoCheck in missed file from last commit.
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

16 years ago2004-02-21 Bud Davis <bdavis@gfortran.org>
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

16 years ago2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
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