OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago PR libfortran/26985
fxcoudert [Fri, 5 May 2006 11:08:23 +0000 (11:08 +0000)]
PR libfortran/26985

* m4/matmul.m4: Correct the condition for the memset call,
and remove the unneeded call to size0.
* generated/matmul_r4.c: Regenerate.
* generated/matmul_r8.c: Regenerate.
* generated/matmul_r10.c: Regenerate.
* generated/matmul_r16.c: Regenerate.
* generated/matmul_c4.c: Regenerate.
* generated/matmul_c8.c: Regenerate.
* generated/matmul_c10.c: Regenerate.
* generated/matmul_c16.c: Regenerate.
* generated/matmul_i4.c: Regenerate.
* generated/matmul_i8.c: Regenerate.
* generated/matmul_i16.c: Regenerate.

* gfortran.dg/matmul_2.f90: New test.

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

18 years ago2005-05-05 Laurent GUERBY <laurent@guerby.net>
guerby [Fri, 5 May 2006 08:43:04 +0000 (08:43 +0000)]
2005-05-05  Laurent GUERBY  <laurent@guerby.net>

       * ada/acats/run_all.sh: Use sync when main not found.

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

18 years ago * java-tree.h (uses_jv_markobj_p): Declare.
tromey [Fri, 5 May 2006 00:59:48 +0000 (00:59 +0000)]
* java-tree.h (uses_jv_markobj_p): Declare.
* class.c (uses_jv_markobj_p): Removed.
* boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): New define.
(get_boehm_type_descriptor): Use it.
(uses_jv_markobj_p): Moved from class.c.  Return bool.

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

18 years agoDaily bump.
gccadmin [Fri, 5 May 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago * java-tree.def (THIS_EXPR): Now a tcc_expression.
tromey [Thu, 4 May 2006 23:20:40 +0000 (23:20 +0000)]
* java-tree.def (THIS_EXPR): Now a tcc_expression.

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

18 years ago PR target/26481
dje [Thu, 4 May 2006 20:40:52 +0000 (20:40 +0000)]
    PR target/26481
        * config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint
        with output modifier.

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

18 years agogcc/
kazu [Thu, 4 May 2006 20:13:37 +0000 (20:13 +0000)]
gcc/
PR target/26765
* config/mips/mips.c (mips_symbolic_address_p): Return true
for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL,
SYMBOL_GOTTPREL, and SYMBOL_TLS.

gcc/testsuite/
PR target/26765
* gcc.target/mips/pr26765.c: New.

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

18 years ago2006-05-04 Andrew Haley <aph@redhat.com>
aph [Thu, 4 May 2006 18:44:53 +0000 (18:44 +0000)]
2006-05-04  Andrew Haley  <aph@redhat.com>

        * class.c (make_field_value): Always build_address_of fdecl if
        there is an initializer.

2006-05-03  Andrew Haley  <aph@redhat.com>

        PR libgcj/27352
        * expr.c (maybe_rewrite_invocation): New function.
        (rewrite_arglist_getclass): Likewise.
        (rules): New.
        (expand_invoke): Call maybe_rewrite_invocation.
        * parse.y (patch_invoke): Likewise.
        * java-tree.h: (maybe_rewrite_invocation): New function.

2006-05-03  Andrew Haley  <aph@redhat.com>

        PR libgcj/27352
        * java/lang/Class.java (getClassLoader(Class)): New.
        forName(String, Class): New.
        * java/lang/natClass.cc (getClassLoader(Class)): New.

2006-05-02  Andrew Haley  <aph@redhat.com>

        * prims.cc (_Jv_NewMultiArray): Check for phantom class.

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

18 years ago PR libgcj/26861:
tromey [Thu, 4 May 2006 17:35:05 +0000 (17:35 +0000)]
PR libgcj/26861:
* interpret.cc (run) <insn_getfield>: Removed 0xffff check.
<insn_putfield>: Likewise.
(NULLCHECK): Define unconditionally.
* link.cc (ensure_class_linked): Removed dead code.

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

18 years ago * java/lang/Class.h (JV_STATE_LOADING): Added comment.
tromey [Thu, 4 May 2006 15:29:22 +0000 (15:29 +0000)]
* java/lang/Class.h (JV_STATE_LOADING): Added comment.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
* gnu/gcj/runtime/natSystemClassLoader.cc: New file.
* gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
New field.
(loadedClasses): Removed.
(findClass): Declare.
(addClass): Add to nativeClasses, not loadedClasses.

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

18 years ago * gcc.target/bfin: New directory.
bernds [Thu, 4 May 2006 15:14:43 +0000 (15:14 +0000)]
* gcc.target/bfin: New directory.
* gcc.target/bfin/bfin.exp: New file.
* gcc.target/bfin/frmul.c: New file.
* gcc.target/bfin/arith.c: New file.
* gcc.target/bfin/mul-combine.c: New file.
* gcc.target/bfin/shift.c: New file.

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

18 years ago2006-05-04 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 4 May 2006 13:56:52 +0000 (13:56 +0000)]
2006-05-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/14287
PR tree-optimization/14844
PR tree-optimization/19792
PR tree-optimization/21608
PR tree-optimization/27090
* tree-ssa-pre.c (try_combine_conversion): New function.
(compute_avail): After constructing the value-handle
expression, use try_combine_conversion to combine NOP_EXPRs
with previous value-handle expressions and use the result if it
is available.

* gcc.dg/tree-ssa/ssa-fre-1.c: New testcase.
* gcc.dg/tree-ssa/ssa-fre-2.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-3.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-4.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-5.c: Likewise.

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

18 years ago2006-05-04 Andrew Haley <aph@redhat.com>
aph [Thu, 4 May 2006 13:54:15 +0000 (13:54 +0000)]
2006-05-04  Andrew Haley  <aph@redhat.com>

        PR java/26858
        * testsuite/libjava.lang/PR26858.xfail: Delete.

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

18 years ago * config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.
jsm28 [Thu, 4 May 2006 13:21:11 +0000 (13:21 +0000)]
* config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.

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

18 years ago * simplify.c (ascii_table): Fix wrong entry.
tobi [Thu, 4 May 2006 13:07:07 +0000 (13:07 +0000)]
* simplify.c (ascii_table): Fix wrong entry.

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

18 years ago PR middle-end/25962
hubicka [Thu, 4 May 2006 12:42:55 +0000 (12:42 +0000)]
PR middle-end/25962
* cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.

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

18 years ago * config/bfin/bfin.c: Include "optabs.h".
bernds [Thu, 4 May 2006 11:10:03 +0000 (11:10 +0000)]
* config/bfin/bfin.c: Include "optabs.h".
(bfin_rtx_costs): Some costs for vector operations, to allow combine
to do more work.
(enum bfin_builtins): Add a number of fractional and vector builtins.
(bfin_init_builtins): Likewise.
(struct builtin_description, bdesc_2arg, bdesc_1arg): New.
(safe_vector_operand, bfin_expand_binop_builtin,
bfin_expand_unop_builtin): New functions.
(bfin_expand_builtin): Handle the new builtins.
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
__ADSPBLACKFIN__.

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

18 years ago * config/bfin/predicates.md (const01_rtx): Tell generator programs
bernds [Thu, 4 May 2006 11:03:41 +0000 (11:03 +0000)]
* config/bfin/predicates.md (const01_rtx): Tell generator programs
that this only matches CONST_INTs.  All users changed to VOIDmode
operands.

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

18 years ago2006-05-04 Douglas Gregor <dgregor@cs.indiana.edu>
paolo [Thu, 4 May 2006 09:37:56 +0000 (09:37 +0000)]
2006-05-04  Douglas Gregor  <dgregor@cs.indiana.edu>

PR libstdc++/27404
* include/ext/rope (_Rope_const_iterator<>::operator*() const,
_Rope_iterator<>::operator*() const): Add.

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

18 years ago2006-05-04 Leehod Baruch <leehod@il.ibm.com>
razya [Thu, 4 May 2006 09:19:02 +0000 (09:19 +0000)]
2006-05-04  Leehod Baruch  <leehod@il.ibm.com>

        * see.c: New file.
        * Makefile.in (OBJS-common): Add see.o.
        (see.o): Add dependencies.
        * common.opt (fsee): New flag for the see optimization was added.
        * opts.c (flag_see): Initialized.
        * passes.c (init_optimization_passes, pass_see): New pass.
        * rtl.h (see_main): Declaration as extern.
        * timevar.def (TV_SEE): New.
        * tree-pass.h (pass_see): Declaration as extern.
        * invoke.texi (-fsee): Document.
        * recog.c (validate_simplify_insn): New function.
        * recog.h (validate_simplify_insn): Declaration as extern.
        * df-problems.c (df_chain_dump): Check for NULL.

2006-05-04  Kenneth Zadeck <zadeck@naturalbridge.com>
            Daniel Berlin  <dberlin@dberlin.org>

        * cfgrtl.c (insert_insn_bb_end_new): New function.
        * basic-block.h (insert_insn_bb_end_new): Declaration as extern.

2006-05-04  Leehod Baruch  <leehod.baruch@weizmann.ac.il>

        * df.h (struct web_entry): Moved from web.c.
        (union_defs): Declaration as extern.
        (unionfind_root): Likewise.
        (unionfind_union): Likewise.
        * web.c (struct web_entry): Moved to df.h.
        (unionfind_root): Remove static declaration.
        (unionfind_union): Likewise.
        (union_defs): Likewise and generalize to use callback function.
        (web_main): Update arguments for union_defs function call.

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

18 years ago2006-05-04 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 4 May 2006 07:44:37 +0000 (07:44 +0000)]
2006-05-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/26447
* tree-ssa-pre.c (realify_fake_stores): For necessary loads
produce SSA_NAME copies before the store stmt to avoid
breaking exception handling.

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

18 years ago PR tree-optimization/27285
jakub [Thu, 4 May 2006 06:43:50 +0000 (06:43 +0000)]
PR tree-optimization/27285
* gcc.c-torture/execute/pr27285.c: New test.

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

18 years ago PR middle-end/27388
jakub [Thu, 4 May 2006 06:34:06 +0000 (06:34 +0000)]
PR middle-end/27388
* gimplify.c (omp_is_private): If var is shared in some outer context,
return false instead of true.  Stop searching on parallel context
boundary.

* gcc.dg/gomp/pr27388-1.c: New test.
* gcc.dg/gomp/pr27388-2.c: New test.
* gcc.dg/gomp/pr27388-3.c: New test.

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

18 years ago PR c++/27359
jakub [Thu, 4 May 2006 06:29:16 +0000 (06:29 +0000)]
PR c++/27359
* parser.c (cp_parser_omp_for_loop): Only call
cp_parser_abort_tentative_parse if cp_parser_parse_definitely was not
called.

* g++.dg/gomp/pr27359.C: New test.

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

18 years agoPR java/8260
aoliva [Thu, 4 May 2006 02:02:01 +0000 (02:02 +0000)]
PR java/8260
* coverage.c: Use get_gcov_unsigned_t() instead of
unsigned_type_node all over.

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

18 years agoDaily bump.
gccadmin [Thu, 4 May 2006 00:17:19 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago2006-03-30 Steven G. Kargl <kargls@comcast.net>
kargl [Wed, 3 May 2006 21:24:11 +0000 (21:24 +0000)]
2006-03-30  Steven G. Kargl  <kargls@comcast.net>

PR fortran/26896
* lang.opt: Fix -Wtab description

PR fortran/20248
* lang.opt: New flag -fall-intrinsics.
* invoke.texi:  Document option.
* gfortran.h (options_t):  New member flag_all_intrinsics.
* options.c (gfc_init_options, gfc_handle_option): Set new option.
sort nearby misplaced options.
* intrinsic.c (add_sym, make_generic, make_alias):  Use it.

2006-03-30  Steven G. Kargl  <kargls@comcast.net>

* gfortran.dg/iargc.f90:  New test.

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

18 years ago2006-05-02 Andrew MacLeod <amacleod@redhat.com>
amacleod [Wed, 3 May 2006 17:13:37 +0000 (17:13 +0000)]
2006-05-02  Andrew MacLeod  <amacleod@redhat.com>

        PR tree-optimization/27381
* tree-phinodes.c (remove_phi_arg_num): When moving a phi argument,
maintain the same immediate_use links.
* tree-ssa-operands.c (dump_immediate_uses_for): Show iteration marker
node rather than segfaulting.

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

18 years ago PR fortran/27395
jakub [Wed, 3 May 2006 12:51:33 +0000 (12:51 +0000)]
PR fortran/27395
* gimplify.c (gimplify_scan_omp_clauses): Compare OMP_CLAUSE_CODE
rather than TREE_CODE to OMP_CLAUSE_REDUCTION.  Set also GOVD_SEEN
bit for OMP_CLAUSE_REDUCTION_PLACEHOLDER.

* testsuite/libgomp.fortran/pr27395-1.f90: New test.
* testsuite/libgomp.fortran/pr27395-2.f90: New test.

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

18 years ago2006-05-02 Daniel Berlin <dberlin@dberlin.org>
dberlin [Wed, 3 May 2006 03:19:22 +0000 (03:19 +0000)]
2006-05-02  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/26626
* tree-ssa-structalias.c (compute_points_to_sets): For now, solve
always.
* tree-ssa-operands.c (access_can_touch_variable): Allow
typecasting through union pointers.

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

18 years ago PR c++/27102
mmitchel [Wed, 3 May 2006 00:19:40 +0000 (00:19 +0000)]
PR c++/27102
* decl.c (grokdeclarator): Robustify checks for defining members
of incomplete types.
PR c++/27102
* g++.dg/template/crash49.C: New test.

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

18 years agoDaily bump.
gccadmin [Wed, 3 May 2006 00:18:06 +0000 (00:18 +0000)]
Daily bump.

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

18 years ago PR testsuite/27032
sje [Tue, 2 May 2006 22:16:13 +0000 (22:16 +0000)]
PR testsuite/27032
* gcc.c-torture/compile/pr23237.c: Move dg-do line.

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

18 years ago PR c++/26943
jakub [Tue, 2 May 2006 20:03:38 +0000 (20:03 +0000)]
PR c++/26943
* omp-low.c (maybe_lookup_decl_in_outer_ctx): New function.
(build_outer_var_ref): Use maybe_lookup_decl_in_outer_ctx
to find if var will be a global variable even in the nested context.
(omp_copy_decl): Only check for global variable at the end, it might
be overridden in outer contexts.
(scan_sharing_clauses): For global variables don't create a field.
(lower_rec_input_clauses): Do nothing for global shared variables.
Emit a barrier at the end of ILIST if there were any decls in both
firstprivate and lastprivate clauses.
(lower_send_clauses): Do nothing for global variables except for
COPYIN.

* testsuite/libgomp.c/pr26943-1.c: New test.
* testsuite/libgomp.c/pr26943-2.c: New test.
* testsuite/libgomp.c/pr26943-3.c: New test.
* testsuite/libgomp.c/pr26943-4.c: New test.
* testsuite/libgomp.c++/pr27337.C: Remove barrier.
* testsuite/libgomp.c++/pr26943.C: New test.

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

18 years ago * tree.c (unsigned_type_for, signed_type_for): Make sure a type
rakdver [Tue, 2 May 2006 19:59:21 +0000 (19:59 +0000)]
* tree.c (unsigned_type_for, signed_type_for): Make sure a type
of the correct signedness is returned.

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

18 years ago PR tree-optimization/27364
law [Tue, 2 May 2006 19:54:20 +0000 (19:54 +0000)]
PR tree-optimization/27364
* tree-vrp.c (vrp_int_const_binop): Fix detection of overflow from
multiply expressions.

* gcc.c-torture/execute/pr27364.c: New test.

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

18 years ago2006-05-02 Bryce McKinlay <mckinlay@redhat.com>
bryce [Tue, 2 May 2006 17:41:40 +0000 (17:41 +0000)]
2006-05-02  Bryce McKinlay  <mckinlay@redhat.com>

        * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
        -findirect-dispatch compilation.

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

18 years ago PR c++/27309
mmitchel [Tue, 2 May 2006 15:59:50 +0000 (15:59 +0000)]
PR c++/27309
* class.c (add_method): Call grok_special_member_properties.
* decl.c (grokdeclarator): Don't call it here.
(copy_fn_p): A TEMPLATE_DECL is never a copy constructor or
assignment operator.  Set TYPE_HAS_CONSTURCTOR if DECL is a
constructor.
(start_method): Don't call grok_special_member_properties.
* method.c (implicitly_declare_fn): Likewise.
* pt.c (instantiate_class_template): Likewise.
* decl2.c (grokfield): Likewise.
PR c++/27309
* g++.dg/parser/ctor5.C: New test.

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

18 years ago * tree-flow-inline.h (op_iter_init_phiuse): Fixed typo.
tromey [Tue, 2 May 2006 15:54:00 +0000 (15:54 +0000)]
* tree-flow-inline.h (op_iter_init_phiuse): Fixed typo.

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

18 years agogcc/
kazu [Tue, 2 May 2006 15:06:35 +0000 (15:06 +0000)]
gcc/
PR target/27387
* arm.c (arm_output_mi_thunk): Use pc-relative addressing when
-mthumb -fPIC are used.

testsuite/
PR target/27387
* gcc.target/arm/arm.exp: New.
* gcc.target/arm/pr27387.C: Likewise.

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

18 years agogcc/
kazu [Tue, 2 May 2006 15:04:52 +0000 (15:04 +0000)]
gcc/
PR target/27387
* arm.c (arm_output_mi_thunk): Use pc-relative addressing when
-mthumb -fPIC are used.

testsuite/
PR target/27387
* gcc.target/arm/arm.exp: New.
* gcc.target/arm/pr27387.C: Likewise.

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

18 years ago2006-05-02 Paul Thomas <pault@gcc.gnu.org>
sayle [Tue, 2 May 2006 14:13:17 +0000 (14:13 +0000)]
2006-05-02 Paul Thomas <pault@gcc.gnu.org>

        PR fortran/27269
        * module.c: Add static flag in_load_equiv.
        (mio_expr_ref): Return if no symtree and in_load_equiv.
        (load_equiv): If any of the equivalence members have no symtree, free
        the equivalence and the associated expressions.

        PR fortran/27324
        * trans-common.c (gfc_trans_common): Invert the order of calls to
        finish equivalences and gfc_commit_symbols.

        PR fortran/27269
        PR fortran/27324
        * gfortran.dg/module_equivalence_2.f90: New test.

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

18 years agoCorrect changelog date in last commit.
drow [Tue, 2 May 2006 14:00:22 +0000 (14:00 +0000)]
Correct changelog date in last commit.

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

18 years ago * texi2pod.pl: Handle -I.
drow [Tue, 2 May 2006 13:50:58 +0000 (13:50 +0000)]
* texi2pod.pl: Handle -I.

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

18 years agoFix mistake in my previous commit (n_of_executions_at_least should be
rakdver [Tue, 2 May 2006 13:16:37 +0000 (13:16 +0000)]
Fix mistake in my previous commit (n_of_executions_at_least should be
named n_of_executions_at_most).

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

18 years ago2006-05-02 Joshua Kinard <kumba@gentoo.org>
rsandifo [Tue, 2 May 2006 12:57:52 +0000 (12:57 +0000)]
2006-05-02  Joshua Kinard  <kumba@gentoo.org>

PR target/25871
* gcc/config/mips/mips.h (TRAMPOLINE_TEMPLATE): Avoid 32-bit moves
with 64-bit pointers.

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

18 years ago2006-05-02 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 2 May 2006 12:49:48 +0000 (12:49 +0000)]
2006-05-02  Paul Brook  <paul@codesourcery.com>

* config/arm/arm.c (add_minipool_forward_ref): Check if insn
and pool overlap.
(create_fix_barrier): Check that a suitable barrier location is
found.
(arm_reorg): Include ftmp->address in allowable range of addresses.

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

18 years ago2006-05-02 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Tue, 2 May 2006 11:38:35 +0000 (11:38 +0000)]
2006-05-02  David Billinghurst <David.Billinghurst@riotinto.com>

         PR ada/27366
         * ada/env.c (__gnat_clearenv): Use unsetenv() to clear
 environment on Cygwin.

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

18 years ago PR middle-end/27337
jakub [Tue, 2 May 2006 10:44:55 +0000 (10:44 +0000)]
PR middle-end/27337
* gimplify.c (gimplify_scan_omp_clauses): Handle INDIRECT_REF
around RESULT_DECL for result passed by reference.
(gimplify_expr): Call omp_notice_variable when RESULT_DECL is seen.
* omp-low.c (use_pointer_for_field): Don't look at
DECL_HAS_VALUE_EXPR_P for RESULT_DECLs.
(scan_omp_1): Call remap_decl on RESULT_DECLs.
(lower_rec_input_clauses): Don't allocate VLA memory for the second
time or var for passing by reference for
OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE clauses.  Allow creation of
TREE_ADDRESSABLE variables when passing by reference.

* omp-low.c (dump_omp_region): Fix output formatting.
cp/
* cp-gimplify.c (cxx_omp_privatize_by_reference): New function.
* cp-tree.h (cxx_omp_privatize_by_reference): New prototype.
* cp-objcp-common.h (LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE): Define.
testsuite/
* g++.dg/gomp/pr27337-1.C: New test.
* g++.dg/gomp/pr27337-2.C: New test.
libgomp/
* testsuite/libgomp.c++/pr27337.C: New test.

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

18 years ago PR middle-end/27328
jakub [Tue, 2 May 2006 10:41:44 +0000 (10:41 +0000)]
PR middle-end/27328
* omp-low.c (remove_exit_barrier): Handle NULL exit_bb.
(expand_omp_parallel): Likewise.
* tree-cfg.c (move_sese_region_to_fn): Likewise.

* gcc.dg/gomp/pr27328.c: New test.

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

18 years ago PR middle-end/27325
jakub [Tue, 2 May 2006 10:40:21 +0000 (10:40 +0000)]
PR middle-end/27325
* omp-low.c (lower_omp_sections): Call maybe_catch_exception
on statement list containing also constructors and destructors.
(lower_omp_single, lower_omp_for, lower_omp_parallel): Likewise.

* g++.dg/gomp/pr27325.C: New test.

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

18 years ago PR middle-end/27310
jakub [Tue, 2 May 2006 10:38:12 +0000 (10:38 +0000)]
PR middle-end/27310
* except.c (duplicate_eh_regions): Fix clearing of
cfun->eh->region_array entries.

* g++.dg/gomp/pr27310.C: New test.

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

18 years agoTrivial formatting fixes accumulated over the last few months.
bje [Tue, 2 May 2006 05:53:01 +0000 (05:53 +0000)]
Trivial formatting fixes accumulated over the last few months.

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

18 years agoFix typo.
dj [Tue, 2 May 2006 00:59:56 +0000 (00:59 +0000)]
Fix typo.

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

18 years ago* configure.ac (gcc_cv_nm): Don't use an in-tree nm if
dj [Tue, 2 May 2006 00:55:43 +0000 (00:55 +0000)]
* configure.ac (gcc_cv_nm): Don't use an in-tree nm if
build!=host.
(gcc_cv_objdump): Likewise.
* configure: Regenerated.

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

18 years agoDaily bump.
gccadmin [Tue, 2 May 2006 00:17:16 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago* configure.in: Restore CFLAGS if GM P isn't present.
dj [Tue, 2 May 2006 00:17:08 +0000 (00:17 +0000)]
* configure.in: Restore CFLAGS if GM P isn't present.
* configure: Regenerate.

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

18 years ago PR target/27374
kazu [Mon, 1 May 2006 21:55:02 +0000 (21:55 +0000)]
PR target/27374
* config/arm/vfp.md (*arm_movdi_vfp): Correct the output
templates for case 3 and 4.

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

18 years ago* vec.c: Include bconfig.h when appropriate.
dj [Mon, 1 May 2006 20:57:20 +0000 (20:57 +0000)]
* vec.c: Include bconfig.h when appropriate.
* Makefile.in (build/vec.o): Adjust dependencies.
* mkconfig.sh: Make sure config.h isn't used for build machine
compiles.

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

18 years ago * tree-into-ssa.c (phis_to_rewrite, blocks_with_phis_to_rewrite): New
rakdver [Mon, 1 May 2006 20:52:21 +0000 (20:52 +0000)]
* tree-into-ssa.c (phis_to_rewrite, blocks_with_phis_to_rewrite): New
variables.
(mark_phi_for_rewrite): New function.
(insert_phi_nodes_for, mark_use_interesting): Call
mark_phi_for_rewrite.
(rewrite_update_phi_arguments): Traverse only phis in phis_to_rewrite.
(update_ssa): Initialize and free phis_to_rewrite.

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

18 years ago PR rtl-optimization/27291
rakdver [Mon, 1 May 2006 20:46:22 +0000 (20:46 +0000)]
PR rtl-optimization/27291
* loop-doloop.c (add_test, doloop_modify): Handle the case condition is
folded to a constant.

* g++.dg/tree-ssa/pr27291.C: New test.

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

18 years ago PR tree-optimization/27283
rakdver [Mon, 1 May 2006 20:05:57 +0000 (20:05 +0000)]
PR tree-optimization/27283
* tree-ssa-loop-ivopts.c (struct nfe_cache_elt): Store just trees,
not whole # of iteration descriptions.
(niter_for_exit): Return just # of iterations.  Fail if # of iterations
uses abnormal ssa name.
(niter_for_single_dom_exit): Ditto.
(find_induction_variables, may_eliminate_iv): Expect niter_for_exit to
return just the number of iterations.

* g++.dg/tree-ssa/pr27283.C: New test.

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

18 years ago2006-05-01 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Mon, 1 May 2006 20:02:27 +0000 (20:02 +0000)]
2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>

* configure.ac: Simplify the mmap check a bit more.
* configure: Rebuilt.
* include/config.h.in: Likewise.

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

18 years ago PR tree-optimization/27144
rakdver [Mon, 1 May 2006 19:42:01 +0000 (19:42 +0000)]
PR tree-optimization/27144
* tree-ssa-loop-niter.c (derive_constant_upper_bound): New function.
(record_estimate): Only record constant upper bound.
(infer_loop_bounds_from_undefined): Call
compute_estimated_nb_iterations just once.
(proved_non_wrapping_p): Renamed to ...
(n_of_executions_at_most): ... this.  Expect bound to be a constant.
(convert_step_widening, scev_probably_wraps_p): Call
n_of_executions_at_most instead of proved_non_wrapping_p.
(substitute_in_loop_info): Do not replace values in bounds.
* cfgloop.h (struct nb_iter_bound): Remove "additional" field.  Update
comments.

* gcc.dg/tree-ssa/loop-16.c: New test.

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

18 years ago PR c/27358
rth [Mon, 1 May 2006 17:46:32 +0000 (17:46 +0000)]
    PR c/27358
        * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Move after
        c_parser_skip_to_pragma_eol.  Convert to switch statement.  Handle
        CPP_PRAGMA.

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

18 years ago * c-typeck.c (parser_build_binary_op): Don't call the function
sayle [Mon, 1 May 2006 16:51:19 +0000 (16:51 +0000)]
* c-typeck.c (parser_build_binary_op): Don't call the function
unsigned_conversion_warning to spot operand/result type overflow.
(build_binary_op): Instead, call convert_and_check instead of
convert to report the problem when the operands are promoted.
* c-common.c (unsigned_conversion_warning): Make static.
* c-common.h (unsigned_conversion_warning): Delete prototype.

* gcc.dg/Wconversion-3.c: New test case.
* gcc.dg/Wconversion-4.c: Likewise.

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

18 years ago * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
sayle [Mon, 1 May 2006 16:28:42 +0000 (16:28 +0000)]
* boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
before calling GC_register_has_static_roots_callback.
(_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
HAVE_DLADDR before calling dladdr.

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

18 years ago2006-05-01 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 1 May 2006 15:07:25 +0000 (15:07 +0000)]
2006-05-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/26726
* tree-ssa-loop-ivopts.c (idx_find_step): Mark source of the
problem ...
(find_interesting_uses_address): ... we work around here
by folding INDIRECT_REFs in the substituted base.

* g++.dg/tree-ssa/ivopts-1.C: New testcase.

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

18 years ago2006-05-01 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 1 May 2006 15:00:04 +0000 (15:00 +0000)]
2006-05-01  Paolo Carlini  <pcarlini@suse.de>

* acinclude.m4 (GLIBCXX_ENABLE_WCHAR_T): Always check the
presence of wctype.h, for use in GLIBCXX_ENABLE_C99.
* configure: Regenerate.

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

18 years ago * omp-low.c (dump_omp_region): Add newlines.
dnovillo [Mon, 1 May 2006 14:45:47 +0000 (14:45 +0000)]
* omp-low.c (dump_omp_region): Add newlines.

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

18 years ago2006-05-01 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 1 May 2006 11:30:26 +0000 (11:30 +0000)]
2006-05-01  Richard Guenther  <rguenther@suse.de>

* MAINTAINERS (Various Maintainers): Add myself as libgcc-math
maintainer.

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

18 years ago * common.opt (Woverflow): New command line option.
sayle [Mon, 1 May 2006 04:27:15 +0000 (04:27 +0000)]
* common.opt (Woverflow): New command line option.
* c-common.c (constant_expression_warning): Check warn_overflow.
(overflow_waring): Pass OPT_Woverflow to warning.
(unsigned_conversion_warning): Likewise.
(convert_and_check): Likewise.
* doc/invoke.texi: Document new command line option.

* gcc.dg/Woverflow-1.c: New test case.
* gcc.dg/Woverflow-2.c: Likewise.
* gcc.dg/Woverflow-3.c: Likewise.

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

18 years agoDaily bump.
gccadmin [Mon, 1 May 2006 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago PR c++/27094
mmitchel [Sun, 30 Apr 2006 23:21:38 +0000 (23:21 +0000)]
PR c++/27094
* pt.c (tsubst_default_argument): Increment function_depth around
call to tsubst_expr.
* parser.c (cp_parser_parameter_declaration): Likewise.
* decl2.c (mark_used): Tidy.
PR c++/27094
* g++.dg/template/defarg8.C: New test.

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

18 years ago * config/rs6000/rs6000.c (rs6000_override_options): Enable
dje [Sun, 30 Apr 2006 19:23:13 +0000 (19:23 +0000)]
    * config/rs6000/rs6000.c (rs6000_override_options): Enable
        TARGET_NO_FP_IN_TOC for section anchors.
        (optimization_options): Enable section anchors for all
        non-"Objective" languages.

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

18 years ago2006-04-30 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Sun, 30 Apr 2006 13:32:05 +0000 (13:32 +0000)]
2006-04-30  Kenneth Zadeck <zadeck@naturalbridge.com>

* MAINTAINERS (Write After Approval): Add myself.

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

18 years ago PR c++/27278
reichelt [Sun, 30 Apr 2006 10:34:05 +0000 (10:34 +0000)]
PR c++/27278
* decl.c (grok_op_properties): Skip operators with invalid args
when checking for class-type or enum-type args.

* g++.dg/parse/operator7.C: New test.

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

18 years ago2006-04-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 30 Apr 2006 03:19:37 +0000 (03:19 +0000)]
2006-04-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/27360

* io/list_read.c (read_logical):  Free line_buffer and free saved.

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

18 years agoDaily bump.
gccadmin [Sun, 30 Apr 2006 00:17:16 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago PR c++/11471
reichelt [Sat, 29 Apr 2006 21:39:54 +0000 (21:39 +0000)]
PR c++/11471
PR c++/27102
* g++.dg/template/crash48.C: New test.

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

18 years ago PR c++/27279
reichelt [Sat, 29 Apr 2006 20:48:45 +0000 (20:48 +0000)]
PR c++/27279
* decl.c (copy_fn_p): Skip functions with invalid first arg.

* g++.dg/parse/ctor4.C: New test.

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

18 years ago2006-04-29 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 29 Apr 2006 18:16:47 +0000 (18:16 +0000)]
2006-04-29  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
Special case main parsing loop for !_M_allocated (i.e., "C" locale).
(num_get<>::_M_extract_int): Likewise.
* include/bits/locale_facets.h (num_get<>::_M_find): New.

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

18 years ago PR fortran/25681
fxcoudert [Sat, 29 Apr 2006 16:31:26 +0000 (16:31 +0000)]
PR fortran/25681

* simplify.c (simplify_len): Character variables with constant
length can be simplified.

* gfortran.df/char_type_len.f90: New test.

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

18 years ago2006-04-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 29 Apr 2006 14:25:42 +0000 (14:25 +0000)]
2006-04-29  H.J. Lu  <hongjiu.lu@intel.com>

PR fortran/27351
* trans-array.c (gfc_conv_array_transpose): Move gcc_assert
before gfc_conv_expr_descriptor.

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

18 years ago2006-04-28 Bryce McKinlay <mckinlay@redhat.com>
bryce [Sat, 29 Apr 2006 01:35:50 +0000 (01:35 +0000)]
2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>

* link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
to resolve_method.
* interpret.cc (insn_invokevirtual): Use method->index, not
vtable_index. Check accflag FINAL to determine finals. Only do
explicit null check if calling a final method. Use
throw_null_pointer_exception.
(invokevirtual_resolved): Likewise.
(null_pointer_exc): Remove static field.
(throw_null_pointer_exception): Always define. Throw a new
NullPointerException every time.
* include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
field.
* include/execution.h (resolve_method): Remove vtable_index argument.

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

18 years agoDaily bump.
gccadmin [Sat, 29 Apr 2006 00:17:12 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago2006-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 29 Apr 2006 00:02:10 +0000 (00:02 +0000)]
2006-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/27304
* gfortran.dg/fmt_exhaust.f90: New test.

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

18 years ago2006-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 28 Apr 2006 23:55:30 +0000 (23:55 +0000)]
2006-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/27304
* io/transfer.c (formatted_transfer_scalar):  Generate error if data
descriptors are exhausted.
* io/format.c (next_format0): Fix comment.

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

18 years ago2006-04-28 Eric Christopher <echristo@apple.com>
echristo [Fri, 28 Apr 2006 20:52:01 +0000 (20:52 +0000)]
2006-04-28  Eric Christopher  <echristo@apple.com>

        * config/darwin-c.c (darwin_ms_struct): Move this
        (darwin_set_default_type_attributes): and this...
        * config/darwin.c: ... here.
        * config/darwin.h (darwin_ms_struct): Declare.

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

18 years agoThe condition the assert was flawed.
amacleod [Fri, 28 Apr 2006 20:39:18 +0000 (20:39 +0000)]
The condition the assert was flawed.

2006-04-28  Andrew MacLeod  <amacleod@redhat.com>

* tree-ssa-dom.c (propagate_rhs_into_lhs): Fix assert clause.

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

18 years ago PR c/25309
sayle [Fri, 28 Apr 2006 19:59:57 +0000 (19:59 +0000)]
PR c/25309
* c-typeck.c (struct spelling): Make I an unsigned HOST_WIDE_INT.
(push_array_bounds): Delete prototype.  Change BOUNDS argument to
an unsigned HOST_WIDE_INT.
(print_spelling): Use HOST_WIDE_INT_PRINT_UNSIGNED to output the
array index.
(really_start_incremental_init): No need to call convert because
bitsize_zero_node is already of type bitsizetype.
(push_init_level): Extract the value of constructor_index as an
unsigned HOST_WIDE_INT quantity, using tree_low_cst.
(process_init_element): Likewise.

* gcc.dg/large-size-array-2.c: New test case.

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

18 years ago2006-04-28 Jan Beulich <jbeulich@novell.com>
jbeulich [Fri, 28 Apr 2006 14:44:20 +0000 (14:44 +0000)]
2006-04-28  Jan Beulich  <jbeulich@novell.com>

* MAINTAINERS (Write After Approval): Add myself.

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

18 years ago2006-04-28 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 28 Apr 2006 14:36:14 +0000 (14:36 +0000)]
2006-04-28  Richard Guenther  <rguenther@suse.de>

PR target/26826
* gcc.target/i386/pr26826.c: New testcase.

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

18 years ago- add missing ChangeLog entry, see PR27334
doko [Fri, 28 Apr 2006 14:05:42 +0000 (14:05 +0000)]
- add missing ChangeLog entry, see PR27334

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

18 years ago * gcc.c (process_command): Add program name to GCC_EXEC_PREFIX
jsm28 [Fri, 28 Apr 2006 12:15:36 +0000 (12:15 +0000)]
* gcc.c (process_command): Add program name to GCC_EXEC_PREFIX
value before passing to make_relative_prefix.

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

18 years agogcc/
amodra [Fri, 28 Apr 2006 03:41:34 +0000 (03:41 +0000)]
gcc/
PR middle-end/27260
* builtins.c (expand_builtin_memset): Expand val in original mode.
gcc/testsuite/
PR middle-end/27260
* gcc.c-torture/execute/pr27260.c: New.

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

18 years ago PR middle-end/27095
amodra [Fri, 28 Apr 2006 03:36:15 +0000 (03:36 +0000)]
PR middle-end/27095
* gcc.dg/pr27095.c: New.

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

18 years ago PR c++/27292
mmitchel [Fri, 28 Apr 2006 02:40:58 +0000 (02:40 +0000)]
PR c++/27292
* tree.c (rvalue): Convert bitfields to their declared types.
PR c++/27292
* g++.dg/conversion/bitfield4.C: New test.

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

18 years agoDaily bump.
gccadmin [Fri, 28 Apr 2006 00:17:21 +0000 (00:17 +0000)]
Daily bump.

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

18 years ago2006-04-27 Eric Christopher <echristo@apple.com>
echristo [Thu, 27 Apr 2006 22:53:23 +0000 (22:53 +0000)]
2006-04-27  Eric Christopher  <echristo@apple.com>

        * target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket
        with #ifndef/#endif.
        * config/darwin-c.c (darwin_ms_struct): New.
        (darwin_pragma_ms_struct): Ditto.
        (darwin_set_default_type_attributes): Ditto.
        * config/darwin-protos.h (darwin_pragma_ms_struct): Declare.
        * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS):
        Register ms_struct pragma.
        * config/i386/darwin.h (REGISTER_TARGET_PRAGMAS): Declare.
        (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Ditto.
        * config/rs6000/rs6000.c (rs6000_set_default_type_attributes): Call
        darwin_set_default_type_attributes if TARGET_MACHO.

2006-04-27  Eric Christopher  <echristo@apple.com>

        * gcc.dg/pragma-ms_struct.c: New.

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