OSDN Git Service

pf3gnuchains/gcc-fork.git
19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

19 years ago* tree-ssa-loop-ivopts.c (computation_cost): Start register
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

19 years ago2005-02-21 Mark Wielaard <mark@klomp.org>
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

19 years ago * include/Makefile.am, include/Makefile.in: Fix accidental extra
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

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

19 years ago * include/tr1/memory: New file.
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

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

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

19 years ago2005-02-21 Douglas Gregor <dgregor@cs.indiana.edu>
paolo [Mon, 21 Feb 2005 23:15:35 +0000 (23:15 +0000)]
2005-02-21  Douglas Gregor  <dgregor@cs.indiana.edu>

        * g++.dg/other/cv_func.C: New test.
        * g++.dg/template/mem_func_ptr.C: New test.
        * g++.dg/template/qualttp20.C: We now get the xfail'd warning
        when we are being pedantic; we expect this test to pass now.
        * g++.old-deja/g++.pt/ptrmem5.C: We no longer receive a bogus
        error here.

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

19 years ago2005-02-21 Douglas Gregor <dgregor@cs.indiana.edu>
paolo [Mon, 21 Feb 2005 23:12:27 +0000 (23:12 +0000)]
2005-02-21  Douglas Gregor  <dgregor@cs.indiana.edu>

PR c++/19076
PR c++/6628
* cp-tree.h (cp_apply_type_quals_to_decl): Declared.
* decl.c (grokdeclarator): Pedwarn about qualifying a function
type.
Add qualifiers when declaring a typedef of a function type.
Member function pointers pick up the qualifiers of the typedef
used to declare them.
        Don't complain about creating cv-qualified function types.
Complain about qualified function typedefs that are used to
declare non-static member functions or free functions.
Use cp_apply_type_quals_to_decl.
(start_preparsed_function): Use cp_apply_type_quals_to_decl.
(grokclassfn): Use cp_apply_type_quals_to_decl.
* error.c (dump_type_suffix): Print qualifiers for function
types.
* pt.c (tsubst_decl): Use cp_apply_type_quals_to_decl.
(tsubst): When substituting a function type into a member
pointer type, pass along the qualifiers.
(unify): Unify member pointers to member function pointers.
* tree.c (cp_build_qualified_type_real): Function types may be
qualified. This includes restrict qualifiers.
* typeck.c (cp_apply_type_quals_to_decl): New function to replace
use of c_apply_type_quals_to_decl. Drops qualifiers that are being
added to function types.

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

19 years ago2005-02-21 Robert Schuster <theBohemian@gmx.net>
mkoch [Mon, 21 Feb 2005 22:40:35 +0000 (22:40 +0000)]
2005-02-21  Robert Schuster  <theBohemian@gmx.net>

* gnu/java/beans/IntrospectionIncubator.java
(addMethod) Reverts the patch that ntroduced a regression (see bug
https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).

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

19 years ago2005-02-21 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 21 Feb 2005 21:41:28 +0000 (21:41 +0000)]
2005-02-21  Michael Koch  <konqueror@gmx.de>

* java/awt/Checkbox.java
(next_checkbox_number): New static variable.
(generateName): New method.
(getUniqueLong): Likewise.
* java/awt/Window.java
(next_window_number): New static variable.
(generateName): New method.
(getUniqueLong): Likewise.

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

19 years ago PR libfortran/19302
ebotcazou [Mon, 21 Feb 2005 21:39:33 +0000 (21:39 +0000)]
PR libfortran/19302
* intrinsics/c99_functions.c (nextafterf): Special-case infinite
numbers.

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

19 years ago * config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.
scox [Mon, 21 Feb 2005 20:32:05 +0000 (20:32 +0000)]
* config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.

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

19 years ago * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
mark [Mon, 21 Feb 2005 20:29:00 +0000 (20:29 +0000)]
   * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
       exists.

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

19 years ago* io/write.c(output_float): Typo in error message.
kargl [Mon, 21 Feb 2005 19:59:58 +0000 (19:59 +0000)]
* io/write.c(output_float):  Typo in error message.

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