OSDN Git Service

18 years ago2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 8 Jun 2004 13:30:33 +0000 (13:30 +0000)]
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR java/15769
        * libjava.compile/PR15769.java: New test.

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

18 years ago2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 8 Jun 2004 13:27:38 +0000 (13:27 +0000)]
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR java/15769
        * expr.c (java_truthvalue_conversion): Handle
        ORDERED_EXPR, and UNORDERED_EXPR as comparison operators,
        i.e. return the expression.

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

18 years ago PR rtl-optimization/15717
rakdver [Tue, 8 Jun 2004 13:26:04 +0000 (13:26 +0000)]
PR rtl-optimization/15717
* config/i386/i386.c (legitimate_constant_p): Do not allow
x - symbol_ref.

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

18 years agoCorrect indentation of one line.
kenner [Tue, 8 Jun 2004 12:25:03 +0000 (12:25 +0000)]
Correct indentation of one line.

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

18 years ago PR ada/15568
charlet [Tue, 8 Jun 2004 09:53:14 +0000 (09:53 +0000)]
PR ada/15568

* Makefile.in: Remove target specific SO_OPT on IRIX

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

18 years ago* gimplify.c (copy_if_shared_r): Revert:
aoliva [Tue, 8 Jun 2004 05:21:51 +0000 (05:21 +0000)]
* gimplify.c (copy_if_shared_r): Revert:
2004-05-21  Richard Henderson  <rth@redhat.com>
* gimplify.c [...] Don't mark VA_ARG_EXPRs volatile here.

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

18 years ago2004-06-08 Canqun Yang <canqun@nudt.edu.cn>
canqun [Tue, 8 Jun 2004 04:31:24 +0000 (04:31 +0000)]
2004-06-08  Canqun Yang  <canqun@nudt.edu.cn>

* MAINTAINERS (Write After Approval): Add myself.

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

18 years ago * expmed.c (add_cost, neg_cost, sdiv_pow2_cheap, smod_pow2_cheap):
sayle [Tue, 8 Jun 2004 04:30:48 +0000 (04:30 +0000)]
* expmed.c (add_cost, neg_cost, sdiv_pow2_cheap, smod_pow2_cheap):
Make arrays indexed by machine mode.  Rename negate_cost to neg_cost.
(init_expmed): Initialize these cost arrays as appropriate.
(store_bit_field, extract_bit_field): Correct whitespace.
(synth_mult, choose_mult_variant, expand_mult, expand_mult_highpart,
expand_mult_highpart_optab, expand_divmod): Update uses of add_cost,
neg_cost, sdiv_pow2_cheap, smod_pow2_cheap to index with mode,
word_mode or compute_mode as appropriate.

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

18 years ago PR c++/7841
giovannibajo [Tue, 8 Jun 2004 03:24:37 +0000 (03:24 +0000)]
PR c++/7841
* parser.c (cp_parser_direct_declarator): Reject constructor named
as qualified template-id.

PR c++/7841
* g++.old-deja/g++.pt/ctor2.C: Add error mark.

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

18 years agoDaily bump.
gccadmin [Tue, 8 Jun 2004 00:16:25 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Tue, 8 Jun 2004 00:16:20 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago2004-06-07 Dhruv Matani <dhruvbird@gmx.net>
paolo [Mon, 7 Jun 2004 21:56:16 +0000 (21:56 +0000)]
2004-06-07  Dhruv Matani  <dhruvbird@gmx.net>
    Paolo Carlini  <pcarlini@suse.de>

* testsuite/testsuite_performance.h
(resource_counter::allocated_memory): Make it return the right
number of bytes requested by the allocators/application. This is
the sbrk+mmaped memory.

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

18 years ago PR target/15783
ebotcazou [Mon, 7 Jun 2004 20:58:33 +0000 (20:58 +0000)]
PR target/15783
* config/sparc/sparc.c (function_arg_union_value): Add 'mode'
parameter.  Enumerate the registers inside the PARALLEL.
(function_arg): Adjust call to function_arg_union_value.
(function_value): Likewise.

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

18 years ago * real.c (real_copysign): New function to implement libm's copysign.
sayle [Mon, 7 Jun 2004 20:50:14 +0000 (20:50 +0000)]
* real.c (real_copysign): New function to implement libm's copysign.
* real.h (real_copysign): Prototype here.
* fold-const.c (tree_expr_nonnegative_p): The result of sqrt, sqrtf
and sqrtl can be negative, as sqrt(-0.0) = -0.0.  Correct whitespace.
* builtins.c (fold_builtin_isascii, fold_builtin_toascii,
fold_builtin_isdigit): Add function prototypes.
(fold_builtin_copysign): New function to fold copysign, copysignf
and copysignl.  Optimize copysign(x,x) as x.  Evaluate copysign of
constant arguments at compile-time using real_copysign.  Fold
copysign(X,Y) as fabs(X) if Y is always non-negative.
(fold_builtin_1): Correct minor whitespace/style issues.  Call
fold_builtin_copysign for BUILT_IN_COPYSIGN{,F,L}.

* gcc.dg/builtins-41.c: New test case.
* gcc.dg/builtins-42.c: New test case.

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

18 years ago * tree.c (iterative_hash_expr): Use real_hash.
amylaar [Mon, 7 Jun 2004 20:46:40 +0000 (20:46 +0000)]
* tree.c (iterative_hash_expr): Use real_hash.

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

18 years ago * g++.dg/ext/altivec-1.C: XFAIL powerpc-ibm-aix*.
dje [Mon, 7 Jun 2004 20:36:56 +0000 (20:36 +0000)]
    * g++.dg/ext/altivec-1.C: XFAIL powerpc-ibm-aix*.
        * g++.dg/ext/altivec-10.C: Same.
        * g++.dg/ext/altivec-2.C: Same.
        * g++.dg/ext/altivec-3.C: Same.
        * g++.dg/ext/altivec-4.C: Same.
        * g++.dg/ext/altivec-5.C: Same.
        * g++.dg/ext/altivec-6.C: Same.
        * g++.dg/ext/altivec-7.C: Same.
        * g++.dg/ext/altivec-8.C: Same.
        * g++.dg/ext/altivec-9.C: Same.
        * g++.old-deja/g++.abi/cxa_vec.C: Same.
        * g++.old-deja/g++.brendan/new3.C: Same.
        * gcc.c-torture/execute/eeprof-1.x: Same.

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

18 years ago * ada-tree.def (TRANSFORM_EXPR, ALLOCATE_EXPR, USE_EXPR): Deleted.
kenner [Mon, 7 Jun 2004 19:52:53 +0000 (19:52 +0000)]
* ada-tree.def (TRANSFORM_EXPR, ALLOCATE_EXPR, USE_EXPR): Deleted.
(STMT_STMT, USE_STMT): New statement codes.
(LOOP_STMT, EXIT_STMT): Make slight semantic changes.
* ada-tree.h: Reflect above changes.
  (struct tree_loop_id): Deleted.
(union lang_tree_node, struct lang_decl, struct lang_type):
Now just contains a tree node; update macros using TYPE_LANG_SPECIFIC
and DECL_LANGUAGE_SPECIFIC to reflect these changes.
(IS_ADA_STMT): New macro.
* decl.c (annotate_decl_with_node): New function.
(gnat_to_gnu_entity): Use it and Sloc_to_locus instead of set_lineno.
(gnat_to_gnu_entity, case object): Remove call to expand CONVERT_EXPR.
Call add_stmt_with_node to do needed assignments.
Add call to update setjmp buffer directly, not via EXPR_STMT.
(maybe_variable): Argment GNAT_NODE deleted.
* gigi.h (maybe_variable): Likewise.
(make_transform, add_stmt_with_node, set_block_for_group): New.
(gnat_gimplify_expr, gnat_expand_body, Sloc_to_locus): Likewise.
(set_block_jmpbuf_decl, get_block_jmpbuf_decl): Likewise.
(discard_file_names, gnu_block_stack, gnat_to_code): Deleted.
(set_lineno, set_lineno_from_sloc): Likewise.
(record_code_position, insert_code_for): Likewise.
(gnat_poplevel): Now returns void.
(end_subprog_body): Now takes argument.
* misc.c (cgraph.h, tree-inline.h): New includes.
(gnat_tree_size, LANG_HOOKS_TREE_SIZE): Deleted.
(gnat_post_options, LANG_HOOKS_POST_OPTIONS): New.
(gnat_parse_file): Don't set immediate_size_expand.
Call cgraph functions.
(gnat_expand_expr): Remove most cases.
(record_code_position, insert_code_for): Remove from here.
* trans.c (toplev.h, tree-gimple.h): Now included.
(discard_file_names): Deleted.
(gnu_block_stack, gnu_block_stmt_node, gnu_block_stmt_free_list): Del.
(first_nondeleted_insn, make_expr_stmt_from_rtl): Likewise.
(struct stmt_group, current_stmt_group, stmt_group_free_list): New.
(gnu_stack_free_list, record_cost_position, insert_code_for): Likewise.
(add_cleanup, push_stack, gnat_gimplify_stmt, add_cleanup): Likewise.
(gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Likewise.
(gnat_expand_body_1, gnat_gimplify_expr, annotate_with_node): Likewise.
(set_block_for_group, add_stmt_list): Likewise.
(start_stmt_group): Renamed from start_block_stmt.
(end_stmt_group): Likewise, from end_block_stmt.
(build_stmt_group): Likewise, from build_block_stmt, also add arg.
(gigi): Don't set discard_file_names or call set_lineno.
Disallow front end ZCX; call gnat_to_gnu, not gnat_to_code.
(tree_transform): Deleted, now renamed to be gnat_to_gnu.
Numerous changes throughout to reflect new names and complete
function-at-a-time implementation.
(gnat_expand_stmt): Delete or comment out all cases.
(process_inlined_subprograms): Use add_stmt.
(process_decls): Use gnat_to_gnu, not gnat_to_code, and don't
call set_lineno; also remove unneeded block handling.
(process_type): Remove unneeded block handling.
(build_unit_elab): Remove calls to deleted functions.
* utils.c (cgraph.h, tree-inline.h, tree-gimple.h): Now include.
(tree-dump.h): Likewise.
(struct ada_binding_level): Add field jmpbuf_decl.
(gnat_define_builtin, gnat_install_builtins): New.
(gnat_gimplify_function, gnat_finalize): Likewise.
(gnat_poplevel): No longer return BLOCK, set it instead.
Remove code dealing with nested functions.
(gnat_init_decl_processing): Also set size_type_node.
Call gnat_install_builtins.
(create_var_decl): Don't set DECL_INIT_BY_ASSIGN.
(create_subprog_decl): Change handling of inline_flag; set TREE_STATIC.
Remove special-case for "main".
(end_subprog_body): Add arg and rework for tree-ssa.
(convert): Don't use GNAT_NOP_EXPR or look for TRANSFORM_EXPR.
Add case for BOOLEAN_TYPE.
* utils2.c (rtl.h): Now include.
(build_call_raise): Test Debug_Flag_NN directly.
(build_call_alloc_dealloc): Don't use local stack allocation for now.
(gnat_mark_addressable, case GNAT_NOP_EXPR): Deleted.
(gnat_mark_addressable, case VAR_DECL): Handle both early & late cases.

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

18 years ago PR c/14765
jsm28 [Mon, 7 Jun 2004 19:49:31 +0000 (19:49 +0000)]
PR c/14765
* c-parse.in (compstmt_primary_start): Set last_expr_type to

* gcc.dg/pr14765-1.c: New test.

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

18 years ago PR c++/15815
mmitchel [Mon, 7 Jun 2004 19:23:28 +0000 (19:23 +0000)]
PR c++/15815
* lex.c (handle_pragma_interface): Deprecate.
(handle_pragma_implementation): Likewise.

PR c++/15815
* doc/extend.texi: Deprecate #pragma interface and #pragma

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

18 years agoPR middle-end/15666
aoliva [Mon, 7 Jun 2004 19:06:28 +0000 (19:06 +0000)]
PR middle-end/15666
* c-decl.c (finish_decl): Use change_decl_assembler_name for the
builtin decl as well.

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

18 years ago PR c/14649
sayle [Mon, 7 Jun 2004 18:49:36 +0000 (18:49 +0000)]
PR c/14649
* c-typeck.c (require_constant_value, require_constant_elements):
Move declarations to the top of the file.
(build_function_call): If we require a constant value, fold with
fold_initializer.  If the result is a constant, and the function
wasn't called using __builtin_foo, issue a pedantic warning.
(build_unary_op): If we require a constant value, fold tree with
(build_binary_op): Use require_constant_value to determine whether
to call fold or fold_initializer.

* gcc.dg/pr14649-1.c: New test case.

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

18 years ago2004-06-06 Sean McNeil <sean@mcneil.com>
tromey [Mon, 7 Jun 2004 18:39:30 +0000 (18:39 +0000)]
2004-06-06  Sean McNeil  <sean@mcneil.com>

* configure.ac: Add x86_64-*-freebsd* support.
* configure: Regenerate.

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

18 years ago * gimple-low.c (struct lower_data): Add the_return_label and
rth [Mon, 7 Jun 2004 17:53:03 +0000 (17:53 +0000)]
    * gimple-low.c (struct lower_data): Add the_return_label and
        (lower_function_body): Initialize and use them.
        (lower_return_expr): New.
        (lower_stmt): Call it.
        * gimplify.c (gimplify_return_expr): Force the argument to be either
        null or a result_decl.
        * tree-gimple.c: Update gimple grammer to match.
        * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Deny
        coalescing of result_decls.
        * gcc.dg/tree-ssa/20030728-1.c: Fixup return value to not match
        if temporaries.

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

18 years ago * g++.dg/eh/elide1.C: Remove XFAIL.
dje [Mon, 7 Jun 2004 17:49:50 +0000 (17:49 +0000)]
    * g++.dg/eh/elide1.C: Remove XFAIL.

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

18 years ago PR rtl-opt/15193
rth [Mon, 7 Jun 2004 17:21:05 +0000 (17:21 +0000)]
    PR rtl-opt/15193
        * expmed.c (extract_bit_field): Fix vector_extract return.
        * config/i386/i386.md (negv4sf2): New pattern.

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

18 years agoFix typo
mmitchel [Mon, 7 Jun 2004 16:20:40 +0000 (16:20 +0000)]
Fix typo

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

18 years ago PR c++/15337
mmitchel [Mon, 7 Jun 2004 15:54:15 +0000 (15:54 +0000)]
PR c++/15337
* error.c (c_sizeof_or_alignof_type): Use more detailed error

PR c++/15766
* parser.c (cp_parser_iteration_statement): Fix typo in error

PR c++/14777
* pt.c (tsubst_default_argument): Do not defer access checks
while substituting into the default argument.

PR c++/15554
* pt.c (tsubst_copy): Do not try to substitute for an enumeration
constant in a non-dependent context.

PR c++/15057
* except.c (build_throw): Ensure that temp_expr has been

PR c++/15337
* g++.dg/expr/sizeof3.C: New test.

PR c++/14777
* g++.dg/template/access14.C: New test.

PR c++/15554
* g++.dg/template/enum1.C: New test.

PR c++/15057
* g++.dg/eh/throw1.C: New test.

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

18 years ago2004-06-07 Robert Dewar <dewar@gnat.com>
charlet [Mon, 7 Jun 2004 14:16:34 +0000 (14:16 +0000)]
2004-06-07  Robert Dewar  <dewar@gnat.com>

* a-direct.ads, einfo.ads: Minor comment updates

* s-taprop-lynxos.adb, s-taprop-tru64.adb, s-taprop-irix.adb,
s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
s-taprop-dummy.adb, s-taprop-os2.adb, s-taprop-solaris.adb,
s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-vxworks.adb,
s-taprop-posix.adb, s-taprop.ads, exp_dbug.adb: Minor reformatting.

* s-interr-sigaction.adb: Remove unreferenced variable
(Attached_Interrupts).  Minor reformatting.
Avoid use of variable I (replace by J).

* par-ch10.adb: Fix text of one error message

* checks.adb, checks.ads, cstand.adb, vms_data.ads, errout.ads,
exp_aggr.adb, exp_ch3.adb, exp_ch3.ads, exp_ch5.adb, exp_ch6.adb,
exp_ch9.adb, exp_code.adb, gnat1drv.adb, lib-load.adb, lib-writ.adb,
opt.adb, par.adb, opt.ads, par-ch11.adb, par-ch3.adb, par-ch4.adb,
par-ch5.adb, par-ch6.adb, par-ch8.adb, par-ch9.adb, par-prag.adb,
par-util.adb, scng.adb, sem_aggr.adb, sem_attr.adb, sem_cat.adb,
        sem_ch10.adb, sem_ch10.adb, sem_ch11.adb, sem_ch12.adb, sem_ch2.adb,
sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb,
sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_eval.adb, sem_prag.adb,
sem_res.adb, sem_type.adb, sem_util.adb, sinfo.ads, snames.adb,
snames.ads, snames.h, sprint.adb, switch-c.adb: Modifications for Ada
2005 support.

2004-06-07  Doug Rupp  <rupp@gnat.com>

* mlib-tgt-vms.adb: Rename mlib-tgt-vms.adb mlib-tgt-vms-alpha.adb

* s-vaflop-vms.adb: Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb

* mlib-tgt-vms-ia64.adb: New file.

* Makefile.in: Rename mlib-tgt-vms.adb to mlib-tgt-vms-alpha.adb
Add mlib-tgt-vms-ia64.adb
Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb.
Move to alpha specific ifeq section.
Add VMS specific versions of symbols.adb
Renaming of 5q vms files.

* 5qsystem.ads renamed to system-vms_64.ads.

2004-06-07  Vincent Celier  <celier@gnat.com>

* a-calend.ads: Add a GNAT Note comment after function Time_Of to
explain that when a time of day corresponding to the non existing hour
on the day switching to DST is specified, Split may return a different
value for Seconds.

* gnatcmd.adb: Add processing of GNAT METRIC (for gnatmetric), similar

* g-os_lib.adb (OpenVMS): New Boolean value imported from System.
(Normalize_Pathname): Only resolve VMS logical names when on VMS.

* mlib-prj.adb (Build_Library): New flag Gtrasymobj_Needed, initialize
to False.
If Gtrasymobj_Needed is True, add the full path of g-trasym.obj to
the linking options.
(Build_Library.Check_Libs): On VMS, if there is a dependency on
g-trasym.ads, set Gtrasymobj_Needed to True.

* prj-attr.adb: Add new package Metrics for gnatmetric

* prj-nmsc.adb (Record_Other_Sources): Put source file names in
canonical case to take into account files with upper case characters on
(Ada_Check): Load the reference symbol file name in the name buffer to
check it, not the symbol file name.

* snames.ads, snames.adb: Add standard name Metrics (name of project
file package for gnatmetric).

* vms_conv.ads: Add Metric to Comment_Type

* vms_conv.adb (Initialize): Add component dor Metric in Command_List

* vms_data.ads: Add qualifiers for GNAT METRIC

* makegpr.adb (Link_Executables): Take into account the switches
specified in package Linker of the main project.

2004-06-07  Thomas Quinot  <quinot@act-europe.fr>

* bindgen.adb (Set_Unit_Number): Units is an instance of Table, and so
the index of the last element is Units.Last, not Units.Table'Last
(which is usually not a valid index within the actually allocated
storage for the table).

* exp_ch4.adb (Insert_Dereference_Action): Change predicate that
determines whether to generate a call to a checked storage pool
Dereference action.
Generate such a call only for a dereference that either comes from
source, or is the result of rewriting a dereference that comes from

2004-06-07  Romain Berrendonner  <berrendo@act-europe.fr>

* bindgen.adb (Gen_Output_File): Add support for GAP builds.

2004-06-07  Eric Botcazou  <ebotcazou@act-europe.fr>

(gnat_to_gnu_entity) <E_Array_Subtype>: For multi-dimensional arrays at
file level, elaborate the stride for inner dimensions in alignment
units, not bytes.

* exp_ch5.adb: Correct wrong reference to Component_May_Be_Bit_Aligned
in a comment.

2004-06-07  Javier Miranda  <miranda@gnat.com>

* exp_ch6.adb: Correct wrong modification in previous patch

2004-06-07  Vasiliy Fofanov  <fofanov@act-europe.fr>

* g-trasym.ads: Corrected comment to properly reflect level of support
on VMS.

2004-06-07  Hristian Kirtchev  <kirtchev@gnat.com>

* lib-xref.adb (Generate_Reference): Add nested function Is_On_LHS. It
includes case of a variable referenced on the left hand side of an
assignment, therefore remove redundant code. Variables and prefixes of
indexed or selected components are now marked as referenced on left
hand side. Warnings are now properly emitted when variables or prefixes
are assigned but not read.

* sem_warn.adb (Output_Unreferenced_Messages): Add additional checks to
left hand side referenced variables. Private access types do not
produce the warning "variable ... is assigned but never read".
Add also additional checks to left hand side referenced variables.
Aliased, renamed objects and access types do not produce the warning
"variable ... is assigned but never read" since other entities may read
the memory location.

2004-06-07  Jerome Guitton  <guitton@act-europe.fr>

* Makefile.in: In the powerpc/vxworks-specific section, restore
by mistake).

2004-06-07  Ed Schonberg  <schonberg@gnat.com>

* sem_ch4.adb (Remove_Abstract_Operations): Refine the removal of
predefined operators.
Removes spurious type errors from g-trasym-vms.adb.

* sem_res.adb (Rewrite_Renamed_Operator): If intrinsic operator is
distinct from the operator appearing in the source, call appropriate
routine to insert conversions when needed, and complete resolution of
(Resolve_Intrinsic_Operator): Fix cut-and-paste bug on transfer of
interpretations for rewritten right operand.
(Set_Mixed_Mode_Operand): Handle properly a universal real operand when
the other operand is overloaded and the context is a type conversion.

2004-06-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* ada-tree.def (BLOCK_STMT): Now has two operands.

* ada-tree.h: (BLOCK_STMT_BLOCK): New macro.

* gigi.h: (gnat_poplevel): Now returns a tree.

* trans.c (end_block_stmt): Add arg; all callers changed.
(tree_transform, case N_Case_Statement): Make a BLOCK_STMT for a WHEN.
(start_block_stmt): Clear BLOCK_STMT_BLOCK.
(add_stmt): Set TREE_TYPE.
(gnat_expand_stmt, case BLOCK_STMT): Handle BLOCK_STMT_BLOCK.
(gnat_expand_stmt, case BREAK_STMT): New case.

* utils.c (gnat_poplevel): Return a BLOCK, if we made one.

2004-06-07  Jose Ruiz  <ruiz@act-europe.fr>

* s-stchop.adsm s-stchop.adb, s-stchop-vxworks.adb: Remove the
procedure Set_Stack_Size that is not needed.

2004-06-07  Sergey Rybin  <rybin@act-europe.fr>

* gnat_ugn.texi: Clarify the case when non-standard naming scheme is
used for gnatpp input file and for the files upon which it depends

2004-06-07  Ben Brosgol  <brosgol@gnat.com>

* gnat_ugn.texi: Wordsmithing of "GNAT and Libraries" chapter

2004-06-07  Arnaud Charlet  <charlet@act-europe.fr>

* gnatvsn.ads: Bump version numbers appropriately.
Add new build type.

2004-06-07  Pascal Obry  <obry@gnat.com>

* gnat_ugn.texi: Improve comments about imported names and link names
on Windows. Add a note about the requirement to use -k gnatdll's option
when working with a DLL which has stripped stdcall symbols (no @nn

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

18 years agoCorrect previous ChangeLog entry.
zlaski [Mon, 7 Jun 2004 08:50:50 +0000 (08:50 +0000)]
Correct previous ChangeLog entry.

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

18 years ago[gcc/testsuite/ChangeLog]
zlaski [Mon, 7 Jun 2004 08:48:31 +0000 (08:48 +0000)]
2004-06-07  David Ayers  <d.ayers@inode.at>
    Ziemowit Laski  <zlaski@apple.com>

* lib/objc.exp (objc_target_compile): Revert the '-framework
Foundation' flag fix, since bare Darwin does not ship
with the Foundation framework.
* objc/execute/next_mapping.h: Provide a local NSConstantString
@interface and @implementation.
(objc_constant_string_init): A constructor function, used to
initialize the NSConstantString meta-class object.
* objc/execute/string1.m: Include "next_mapping.h" instead of
* objc/execute/string2.m: Likewise.
* objc/execute/string3.m: Likewise.
* objc/execute/string4.m: Likewise.

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

18 years ago2004-06-06 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 7 Jun 2004 08:17:35 +0000 (08:17 +0000)]
2004-06-06  Paolo Bonzini  <bonzini@gnu.org>

* config.in: Regenerate.

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

18 years ago * tree-cfg.c (tree_verify_flow_info): Make sure that labels in
steven [Mon, 7 Jun 2004 06:11:59 +0000 (06:11 +0000)]
* tree-cfg.c (tree_verify_flow_info): Make sure that labels in
SWITCH_LABELS are always sorted.

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

18 years ago * hooks.c (hook_int_void_1): New generic hook.
steven [Mon, 7 Jun 2004 06:04:14 +0000 (06:04 +0000)]
* hooks.c (hook_int_void_1): New generic hook.
* hooks.h (hook_int_void_1): Add prototype.
Define to hook_int_void_1.
* config/c4x/c4x.md: Replace dummies for the old pipeline model
with dummies for the new one.

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

18 years ago * Makefile.am (LIBICONV): Declare.
sayle [Mon, 7 Jun 2004 05:18:36 +0000 (05:18 +0000)]
* Makefile.am (LIBICONV): Declare.
(makedepend_LDADD): Use LIBICONV.
* Makefile.in: Regenerate.

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

18 years ago2004-06-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 7 Jun 2004 02:38:46 +0000 (02:38 +0000)]
2004-06-06  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.c-torture/execute/ieee/fp-cmp-4.c (FLOAT): New. Default
to double. Replace double with FLOAT.
* gcc.c-torture/execute/ieee/fp-cmp-8.c: Likewise.

* gcc.c-torture/execute/ieee/fp-cmp-4e.c: New file.
* gcc.c-torture/execute/ieee/fp-cmp-4f.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-4l.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-4q.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-8e.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-8f.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-8l.c: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-8q.c: Likewise.

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

18 years ago * tree.h (lvalue_or_else): Delete function prototype.
sayle [Mon, 7 Jun 2004 02:10:55 +0000 (02:10 +0000)]
* tree.h (lvalue_or_else): Delete function prototype.
* c-typeck.c (lvalue_or_else): Make static.  Add static prototype.
* cp/cp-tree.h (lvalue_or_else): Add function prototype.

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

18 years agoDaily bump.
gccadmin [Mon, 7 Jun 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Mon, 7 Jun 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago2004-06-06 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Sun, 6 Jun 2004 20:52:10 +0000 (20:52 +0000)]
2004-06-06  Jerry Quinn  <jlquinn@optonline.net>

* java/util/zip/ZipEntry.java (setTime): Remove scaling.

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

18 years ago PR target/14542
ciceron [Sun, 6 Jun 2004 17:01:07 +0000 (17:01 +0000)]
PR target/14542
* config/m68hc11/m68hc11.md (move peephole2): Emit a use note to avoid
a live change of a register after peephole replacement.

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

18 years ago PR c/13519
jsm28 [Sun, 6 Jun 2004 15:21:59 +0000 (15:21 +0000)]
PR c/13519
* c-typeck.c (composite_type, common_pointer_type): New functions.
(common_type): Split parts into composite_type and
common_pointer_type.  Ensure that arithmetic operations return
unqualified types without attributes.  Don't make composite type
of signed enum and compatible integer be unsigned.
(build_conditional_expr, build_binary_op): Use
* c-decl.c (merge_decls): Use composite_type.
* c-tree.h (composite_type): Declare.

* gcc.c-torture/enum-3.c, gcc.dg/pr13519-1.c: New tests.

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

18 years ago PR target/14457
ciceron [Sun, 6 Jun 2004 13:56:33 +0000 (13:56 +0000)]
PR target/14457
* config/m68hc11/m68hc11.c (splitable_operand): New predicate.
* config/m68hc11/m68hc11-protos.h (splitable_operand): Declare.
* config/m68hc11/m68hc11.h (PREDICATE_CODES): Register it.
(inhibit_libc): Must define.
* config/m68hc11/m68hc11.md ("movhi_const0"): Use splitable_operand.
("*andhi3_gen", "iorhi3", "*iorhi3_gen"): Likewise.
("xorhi3"): Likewise.

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

18 years ago * cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in
ebotcazou [Sun, 6 Jun 2004 13:03:08 +0000 (13:03 +0000)]
* cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in
always_inline pass.

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

18 years ago2004-06-05 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 6 Jun 2004 04:23:01 +0000 (04:23 +0000)]
2004-06-05  Andrew Pinski  <pinskia@physics.uc.edu>

        * Makefile.am (LIBINTL): Declare
        (makedepend_LDADD): Use LIBINTL.
        * Makefile.in: Regenerate.

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

18 years agoMissed these two in previous commit.
davem [Sun, 6 Jun 2004 03:57:35 +0000 (03:57 +0000)]
Missed these two in previous commit.

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

18 years ago2004-06-05 David S. Miller <davem@nuts.davemloft.net>
davem [Sun, 6 Jun 2004 03:56:16 +0000 (03:56 +0000)]
2004-06-05  David S. Miller  <davem@nuts.davemloft.net>

* config/sparc/linux.h (TARGET_C99_FUNCTIONS): Set.
* config/sparc/linux64.h (TARGET_C99_FUNCTIONS): Likewise.

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

18 years ago PR c++/15503
giovannibajo [Sun, 6 Jun 2004 02:08:18 +0000 (02:08 +0000)]
PR c++/15503
* parser.c (cp_parser_mem_initializer_id): Gracefully reject
'typename', and accept 'template'.

PR c++/15503
* g++.dg/template/meminit2.C: New test.

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

18 years agoDaily bump.
gccadmin [Sun, 6 Jun 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Sun, 6 Jun 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * regclass.c (init_reg_sets): Check for missing registers in target
bernie [Sat, 5 Jun 2004 21:23:06 +0000 (21:23 +0000)]
* regclass.c (init_reg_sets): Check for missing registers in target

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

18 years agolibcpp:
zack [Sat, 5 Jun 2004 20:58:06 +0000 (20:58 +0000)]
* Makefile.am: Add makedepend.
* Makefile.in, aclocal.m4: Regenerate.
* charset.c: Insert a space to avoid a warning.
* directives.c: Include mkdeps.h.
(_cpp_handle_directive): Reenable macro expander if appropriate.
(undefine_macros): Inline body of _cpp_free_definition for speed.
Do not call undef callback or _cpp_warn_if_unused_macro.
(cpp_get_deps): New interface.
* files.c (search_cache): Add pfile argument.  Check for file
that would be found by "" or <> search here...
(_cpp_find_file): ...not here.  Correct recorded start_dir of
files found by directory-of-current-file search that would be
found by "" or <> search.
* init.c (cpp_add_dependency_target): Delete.
* internal.h (struct lexer_state): Add discarding_output flag.
* lex.c (lex_identifier): Compute hash function while scanning.
* macro.c (cpp_scan_nooutput): Disable macro expansion outside
* makedepend.c: New file.
* mkdeps.c (struct deps): Add vpath vector.
(apply_vpath, deps_add_vpath): New function.
(deps_free): Free vpath vector.
(deps_add_dep, deps_add_target): Use apply_vpath.
* symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
(ht_lookup_with_hash): New function.
* cpplib.h, mkdeps.h: Update prototypes.
* symtab.h: Update prototypes.

* Makefile.in (MKDEPS_H): New shorthand.
(c-opts.o): Update dependencies.
* c-opts.c: Include mkdeps.h.
(handle_deferred_opts): Use cpp_get_deps and deps_add_target,
not cpp_add_dependency_target.

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

18 years ago * config/v850/v850.c (v850_use_dfa_pipeline_interface): New.
steven [Sat, 5 Jun 2004 16:35:55 +0000 (16:35 +0000)]
* config/v850/v850.c (v850_use_dfa_pipeline_interface): New.
* config/v850/v850.md: Convert to DFA scheduler description.

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

18 years ago2004-06-05 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 5 Jun 2004 15:19:52 +0000 (15:19 +0000)]
2004-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/SwingConstants.java
(NEXT): New constant.
(PREVIOUS): Likewise.

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

18 years ago2004-06-05 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 5 Jun 2004 15:16:46 +0000 (15:16 +0000)]
2004-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/UIManager.java
(LookAndFeel): Made public.
(LookAndFeel.getName): Likewise.
(LookAndFeel.getClassName): Likewise.

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

18 years agoPR fortran/15478
tobi [Sat, 5 Jun 2004 14:41:42 +0000 (14:41 +0000)]
PR fortran/15478
* gfortran.texi: The documentation doesn't contain infomration on
how to report bugs, and shouldn't, so remove the line which
says it does.

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

18 years agoFix date on ChangeLog entry from previous commit
tobi [Sat, 5 Jun 2004 14:39:34 +0000 (14:39 +0000)]
Fix date on ChangeLog entry from previous commit

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

18 years agoPR fortran/15478
tobi [Sat, 5 Jun 2004 14:34:56 +0000 (14:34 +0000)]
PR fortran/15478
* doc/install.texi: Document GMP as prerequisite. Document
--with-gmp and --with-gmp-dir configure options.
* fortran/gfortran.texi: Remove section 'Compiling and testing',
remove TOC reference to it.

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

18 years ago * intrinsic.c (sort_actual): Keep track of type of missing
tobi [Sat, 5 Jun 2004 11:34:52 +0000 (11:34 +0000)]
* intrinsic.c (sort_actual): Keep track of type of missing
arguments. (Missing from previous commit.)

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

18 years ago * combine.c(simplify_shift_const): Check shift amount is a
grahams [Sat, 5 Jun 2004 07:59:39 +0000 (07:59 +0000)]
* combine.c(simplify_shift_const): Check shift amount is a

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

18 years ago * toplev.c (init_asm_output): Add explicit 'b' to mode when
dannysmith [Sat, 5 Jun 2004 07:28:27 +0000 (07:28 +0000)]
    * toplev.c (init_asm_output): Add explicit 'b' to mode when
        opening asm_out_file.
        * c-pch.c (c_common_write_pch): Remove unnecessary fflush before
        reading asm_out_file. Replace fflush after reading asm_out_file
        with fseek.
        * hosthooks-def.h (HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY): Define
        default and add to HOST_HOOKS_INITIALIZER.
        * hosthooks.h (gt_pch_alloc_granularity): Declare hook function.
        * ggc-common.c (default_gt_pch_alloc_granularity): New function.
        (gt_pch_save): Use host_hooks.gt_pch_alloc_granularity
        to set mmi.offset padding.
         * config.gcc (i[34567]86-*-mingw32*): Set target_gtfiles to
        (i[34567]86-*-pe | i[34567]86-*-cygwin*): Likewise.
        (i[34567]86-*-uwin*): Likewise.
        *i[34567]86-*-interix3*): Likewise.
        * config.host (i[34567]86-*-mingw32*): Set out_host_hook_obj.
        * config/i386/host-mingw32.c: New file.
        * config/i386/x-mingw32: Add rule for host-mingw32.o.
        * config/i386/winnt.c: (struct extern_list) Tag as GTY.
        (extern_head): Likewise.
        (struct export_list) Likewise.
        (export_head): Likewise.
        (i386_pe_record_external_function): Use ggc_alloc.
        (i386_pe_record_exported_symbol): Likewise.
        Include "gt-winnt.h" at end.
        * doc/hostconfig.texi: Document

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

18 years ago * config/m68k/m68k.h: Remove comments copied over from tm.texi.
bernie [Sat, 5 Jun 2004 06:49:00 +0000 (06:49 +0000)]
* config/m68k/m68k.h: Remove comments copied over from tm.texi.
Rename 68000 and 68k to m68k for consistency in comments.  Remove
trailing whitespace before EOLs and before TABs.
(MAX_CODE_ALIGN): Remove unused macro.
(CALL_USED_REGISTERS): Reformat and add comments.

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

18 years agoDaily bump.
gccadmin [Sat, 5 Jun 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Sat, 5 Jun 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago2004-06-04 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 4 Jun 2004 20:13:14 +0000 (20:13 +0000)]
2004-06-04  Frank Ch. Eigler  <fche@redhat.com>

* gcc.c (MFLIB_SPEC): Remove library references, to require users
to enumerate -lmudflap* and dependencies when linking.

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

18 years ago2004-06-04 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 4 Jun 2004 20:12:01 +0000 (20:12 +0000)]
2004-06-04  Frank Ch. Eigler  <fche@redhat.com>

Portability improvements, e.g., libmudflap/15293.
* configure.in: Look for glibc extension functions.  Look for
support of -f{function,data}-sections.  Look for more headers.
Create testsuite/mfconfig.exp.  Correct more "test x.." thinkos.
* Makefile.am: Use $(SECTION_FLAGS).  Collapse piecemeal-compiled
mf-hooks* into usual single object per source.
* mf-hooks*.c: Remove all #if WRAP_foo conditionals.
* mf-hooks2.c: #include a bunch more system headers.  Define strnlen
if system doesn't provide one.
* mf-hooks3.c (struct pthread_info): Add stack_*_alloc fields.
(pthread_create): Use it to properly GC dead thread stacks.
* mf-runtime.c (__mf_violation): Correct snprintf type warning.
* testsuite/Makefile.am: Stop generating site.exp.
* testsuite/mfconfig.exp.in: New file.
* testsuite/config/default.exp: Load new mfconfig.exp.
* testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries.
(prune_gcc_output): Add glibc static linking warnings.
* testsuite/libmudflap.*/*frags.exp: Enumerate needed -lmudflap* libs.
* testsuite/libmudflap.c/pass46-frag.c: Ditto.
* configure, Makefile, aclocal.m4, config.h.in, testsuite/Makefile.in:
Regenerated with autoconf 2.57 and automake 1.7.

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

18 years ago2004-06-04 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 4 Jun 2004 18:34:22 +0000 (18:34 +0000)]
2004-06-04  Paolo Bonzini  <bonzini@gnu.org>

PR target/15822
* gcc.c-torture/execute/compare-fp-1.c,
gcc.c-torture/execute/compare-fp-4.x: Moved...
* gcc.c-torture/execute/ieee/compare-fp-1.c,
gcc.c-torture/execute/ieee/compare-fp-4.x: ...here.

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

18 years ago * configure.in (LIBMUDFLAPTH): Fix thinko.
bothner [Fri, 4 Jun 2004 17:20:22 +0000 (17:20 +0000)]
* configure.in (LIBMUDFLAPTH):  Fix thinko.

* configure.in:  Check for more headers.
* mf-hooks2.c:  Conditionalize on HAVE_SYS_SOCKET_H etc.

* mf-runtime.c:  In two places conditionalize on SIUSR1 rather than
HAVE_SIGNAL as mingw has signal.h but not SIUSR1.

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

18 years ago2004-06-04 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 4 Jun 2004 16:29:17 +0000 (16:29 +0000)]
2004-06-04  Paolo Bonzini  <bonzini@gnu.org>

PR target/15822
* dojump.c (do_jump): Fix uninitialized variable tcode1.

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

18 years ago2004-06-04 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Fri, 4 Jun 2004 16:10:20 +0000 (16:10 +0000)]
2004-06-04  Jerry Quinn  <jlquinn@optonline.net>

* Makefile.in (insn-conditions.o): Back out removal of reload.h.
* genconditions.c (write_header): Back out removal of reload.h.

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

18 years ago Re-apply hopefully fixed patch:
hubicka [Fri, 4 Jun 2004 16:07:58 +0000 (16:07 +0000)]
Re-apply hopefully fixed patch:
* i386.md (UNSPECV_EH_RETURN): Kill.
(eh_return): Use jump_insn.
(eh_return_si, eh_return_di): Change pattern to jump instruction.

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

18 years ago * cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.
law [Fri, 4 Jun 2004 15:01:49 +0000 (15:01 +0000)]
    * cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.

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

18 years ago * except.c (for_each_eh_region): New function.
steven [Fri, 4 Jun 2004 12:31:26 +0000 (12:31 +0000)]
* except.c (for_each_eh_region): New function.
* except.h (for_each_eh_region): Add a prototype for it.
* tree-cfg.c (update_eh_labels): New function, callback for
(label_for_bb): Make global static, unfortunately.
(cleanup_dead_labels): Also update label references for
exception regions.

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

18 years agoNew ObjC testcases to make sure Protocol-isEqual: is well implemented in the
nicola [Fri, 4 Jun 2004 01:24:34 +0000 (01:24 +0000)]
New ObjC testcases to make sure Protocol-isEqual: is well implemented in the
runtime library

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

18 years agoNew testcases
nicola [Fri, 4 Jun 2004 01:23:12 +0000 (01:23 +0000)]
New testcases

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

18 years agoImproved [Protocol -isEqual:], now more correct and faster
nicola [Fri, 4 Jun 2004 01:12:20 +0000 (01:12 +0000)]
Improved [Protocol -isEqual:], now more correct and faster

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

18 years ago2004-06-03 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 4 Jun 2004 00:37:56 +0000 (00:37 +0000)]
2004-06-03  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (struct irix_section_align_entry): Fix
        GTY marker.

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

18 years agoDaily bump.
gccadmin [Fri, 4 Jun 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Fri, 4 Jun 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * gcc_release (maybe_build_tarfile): New function.
jsm28 [Fri, 4 Jun 2004 00:02:04 +0000 (00:02 +0000)]
* gcc_release (maybe_build_tarfile): New function.
(build_tarfiles): Use maybe_build_tarfile.

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

18 years ago2004-06-03 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 3 Jun 2004 23:45:46 +0000 (23:45 +0000)]
2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>
            Jan Hubicka  <jh@suse.cz>

        PR c++/14639
        * method.c (use_think): Do not mark thunk as referenced.

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

18 years ago * toplev.c (check_global_declarations): Don't ask for
geoffk [Thu, 3 Jun 2004 23:16:21 +0000 (23:16 +0000)]
* toplev.c (check_global_declarations): Don't ask for
DECL_ASSEMBLER_NAME unless the function really is declared
static and not defined.

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

18 years ago PR c++/15428
austern [Thu, 3 Jun 2004 23:15:01 +0000 (23:15 +0000)]
PR c++/15428
* default.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): New name
* config/darwin.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Likewise.
* doc/tm.texi (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Rewrite
documentation to reflect the new macro name and to clarify its
* cp/decl2.c (maybe_emit_vtables): If TARGET_WEAK_NOT_IN_ARCHIVE_TOC
is nonzero, and if we see a noninline definition of a key method,
make the vtables nonweak.

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

18 years agorevert accidental checkin
cgf [Thu, 3 Jun 2004 22:38:00 +0000 (22:38 +0000)]
revert accidental checkin

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

18 years agofortran/
tobi [Thu, 3 Jun 2004 22:35:41 +0000 (22:35 +0000)]
* gfortran.h (gfc_actual_arglist): New field missing_arg_type.
* interface.c (compare_actual_formal): Keep type of omitted
optional arguments.
* trans-expr.c (gfc_conv_function_call): Add string length
argument for omitted string argument.

* gfortran.fortran-torture/execute/optstring_1.f90: New testcase.

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

18 years ago * rtl.def (VAR_LOCATION): Make RTX_EXTRA.
steven [Thu, 3 Jun 2004 22:17:20 +0000 (22:17 +0000)]
* rtl.def (VAR_LOCATION): Make RTX_EXTRA.

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

18 years ago2004-06-03 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 3 Jun 2004 22:15:08 +0000 (22:15 +0000)]
2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.c (machopic_indirect_data_reference): Copy
        the SYMBOL_REF_DECL from the original RTX for the new
        non-lazy pointer RTX.

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

18 years agoOne more comment update
tobi [Thu, 3 Jun 2004 22:01:10 +0000 (22:01 +0000)]
One more comment update

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

18 years ago * trans.c (gfc_finish_block, gfc_add_expr_to_block): Build statement
pbrook [Thu, 3 Jun 2004 21:56:54 +0000 (21:56 +0000)]
* trans.c (gfc_finish_block, gfc_add_expr_to_block): Build statement
lists instead of compound expr chains.
(gfc_trans_code): Annotate statement lists.

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

18 years ago* trans-array.c: Fix spelling in comments.
tobi [Thu, 3 Jun 2004 20:25:29 +0000 (20:25 +0000)]
* trans-array.c: Fix spelling in comments.

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

18 years ago * MAINTAINERS (Write After Approval): Add myself.
mgadams [Thu, 3 Jun 2004 18:53:35 +0000 (18:53 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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

18 years ago * tree.h: Remove include of version.h
mgadams [Thu, 3 Jun 2004 18:48:28 +0000 (18:48 +0000)]
* tree.h: Remove include of version.h
* c-cppbuiltin.c: Include version.h
* diagnostic.c: Include version.h
* dwarf2out.c: Include version.h
* toplev.c: Include version.h
* vmsdbgout.c: Include version.h
* Makefile.in: Remove dependency on version.h from TREE_H, and
add dependencies to required .o targets
* gjavah.c: Include version.h

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

18 years ago2004-06-03 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Thu, 3 Jun 2004 15:01:08 +0000 (15:01 +0000)]
2004-06-03  Jerry Quinn  <jlquinn@optonline.net>

(TARGET_H): Add insn-modes.h.
(tree-ssa.o, tree-cfg.o, tree-ssa-loop.o, toplev.o, passes.o,
loop.o, loop-doloop.o, unroll.o, cfgloop.o, cfgloopanal.o,
loop-iv.o, cfgloopmanip.o, loop-init.o, loop-unswitch.o,
loop-unroll.o, ddg.o, modulo-sched.o, predict.o,
cfglayout.o, ifcvt.o): Replace cfgloop.h with CFGLOOP_H.
(toplev.o, passes.o, cfghooks.o, cfgloopmanip.o, loop-init.o,
loop-unswitch.o, loop-unroll.o, ddg.o, modulo-sched.o,
bb-reorder.o, tracer.o, cfglayout.o): Replace cfglayout.h with
(ra.o, ra-build.o, ra-colorize.o, ra-debug.o, ra-rewrite.o):
Replace ra.h with RA_H.
(resource.o, regrename.o, insn-conditions.o, insn-emit.o,
insn-recog.o): Replace resource.h with RESOURCE_H.
(ddg.o, modulo-sched.o, haifa-sched.o, sched-deps.o, sched-rgn.o,
sched-ebb.o, sched-vis.o, out_object_file):  Replace sched-int.h
(web.o, lcm.o, df.o, ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
ra-rewrite.o): Replace df.h with DF_H.
(ddg.o, modulo-sched.o): Replace ddf.h with DDG_H.
(tree-outof-ssa.o, tree-ssa-live.o, tree-ssa-copyrename.o):
Replace tree-ssa-live.h with TREE_SSA_LIVE_H.
(insn-conditions.o): Remove unused reload.h.
* cfglayout.h: Add include guard.  Include basic-block.h.
* cfgloop.h: Add include guard.  Include basic-block.h, rtl.h.
* ddg.h: Include sbitmap.h, basic-block.h, df.h.
* df.h: Add include guard.  Include bitmap.h, sbitmap.h,
* genconditions.c:  Remove reload.h.
* ra.h: Add include guard.  Include bitmap.h, sbitmap.h,
hard-reg-set.h, insn-modes.h.
* resource.h: Add include guard.  Include hard-reg-set.h.
* sched-int.h:  Add include guard.  Include insn-attr.h,
basic-block.h, rtl.h.
* target.h: Add include guard.  Include insn-modes.h.
* tree-ssa-live.h: Include partition.h.

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

18 years ago2004-06-03 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 3 Jun 2004 14:07:53 +0000 (14:07 +0000)]
2004-06-03  Daniel Berlin  <dberlin@dberlin.org>
Kenneth Zadeck <zadeck@naturalbridge.com>

* tree-ssa-ccp.c (varying_ssa_edges): New worklist.
(add_var_to_ssa_edges_worklist): Add value argument.
Update callers.
Use new worklist.
(process_ssa_edge_worklist): New function.
(tree_ssa_ccp): Move worklist processing core to
process_ssa_edge_worklist, and just call that for the two worklists.

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

18 years ago * basic-block.c (tail_recursion_label_list): Don't declare.
steven [Thu, 3 Jun 2004 12:07:47 +0000 (12:07 +0000)]
* basic-block.c (tail_recursion_label_list): Don't declare.
(CLEANUP_PRE_SIBCALL): Remove.  Renumber the other CLEANUP_*
* cfgbuild.c (find_label_refs): Remove.
(find_basic_blocks_1): Don't handle CALL_PLACEHOLDER insns.
* cfgcleanup.c (tail_recursion_label_p): Remove.
(merge_blocks_move): Do not check for tail recursion.
(try_optimize_cfg): Likewise.
(cleanup_cfg): Never handle CLEANUP_PRE_SIBCALL.
* cfgrtl.c (tail_recursion_label_list): Remove.
* except.c (remove_unreachable_regions): Don't handle
(convert_from_eh_region_ranges_1, can_throw_internal,
can_throw_external): Likewise.
* function.c (free_after_compilation): Don't clear
(fixup_var_refs_insns): Don't handle CALL_PLACEHOLDER insns.
(identify_blocks_1): Don't recurse for CALL_PLACEHOLDER insns.
(reorder_blocks_1): Likewise.
* function.h (struct function): Remove x_tail_recursion_label
member.  Don't define tail_recursion_label.
* jump.c (mark_all_labels): Don't handle CALL_PLACEHOLDER insns.
* print-rtl.c (print_rtx): Likewise.
* rtl.def (CALL_PLACEHOLDER): Remove.
* rtl.h (sibcall_use_t): Remove enum.
replace_call_placeholder): Remove function prototypes.
* stmt.c (tail_recursion_args): Remove.
(optimize_tail_recursion): Remove.
(expand_return): Don't check for possible tail recursion.
* tree.h (optimize_tail_recursion): Remove prototype.

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

18 years ago2004-06-03 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 3 Jun 2004 10:23:12 +0000 (10:23 +0000)]
2004-06-03  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(requestFocus): Revert last changes.
(gtkRequestFocus): Removed.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
Renamed to ...
Reverted last patch.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
Reverted comment change.

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

18 years ago* configure.in: Fix --enable-bootstrap breakage introduced in trees without
cgf [Thu, 3 Jun 2004 04:53:00 +0000 (04:53 +0000)]
* configure.in: Fix --enable-bootstrap breakage introduced in trees without
* configure: Regenerate.

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

18 years agoDaily bump.
gccadmin [Thu, 3 Jun 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Thu, 3 Jun 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * tree-cfg.c (tree_find_edge_insert_loc): Allow inserting before
hubicka [Wed, 2 Jun 2004 21:13:55 +0000 (21:13 +0000)]
* tree-cfg.c (tree_find_edge_insert_loc):  Allow inserting before

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

18 years agoWhen a class template is explicitly instantiated, its member should be too.
austern [Wed, 2 Jun 2004 21:12:54 +0000 (21:12 +0000)]
When a class template is explicitly instantiated, its member should be too.
* cp-tree.h (instantiate_decl): new boolean parameter,
undefined_ok. Current behavior is equivalent to its being 0.
* decl2.c (mark_used): Add new argument when calling instantiate_decl
* pt.c (mark_decl_instantiated): Unconditionally make
instantiations explicit unconditionally
(do_decl_instantiation): Don't call SET_DECL_EXPLICIT_INSTANTIATION,
since mark_decl_instantiated now does it.
(instantiate_class_member): New.  Instantiate a member of an
explicitly instantiated class template.
(do_type_instantiation): Explicitly instantiate members of an
explicitly instantiated class template.
(instantiate_decl): if undefined_ok is nonzero, and if we're
trying to explicitly instantiated a template with no definition,
change it to an implicit instantiation.
(instantiate_pending_templates): Add new argument to instantiate_decl.
* tree.c (cp_cannot_inline_tree_fn): Likewise.

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