]> gcc.gnu.org Git - gcc.git/log
gcc.git
19 years agosol2-c.c (cmn_err_char_table): Allow width for %b formats.
Joseph Myers [Wed, 8 Jun 2005 16:28:39 +0000 (17:28 +0100)]
sol2-c.c (cmn_err_char_table): Allow width for %b formats.

* config/sol2-c.c (cmn_err_char_table): Allow width for %b
formats.

testsuite:
* gcc.dg/format/cmn_err-1.c: Update.

From-SVN: r100763

19 years agore PR target/20666 (SPARC builtins should be folded if possible)
James A. Morrison [Wed, 8 Jun 2005 16:03:31 +0000 (16:03 +0000)]
re PR target/20666 (SPARC builtins should be folded if possible)

2005-06-08  James A. Morrison  <phython@gcc.gnu.org>

        PR target/20666
        * config/sparc/sparc.c (sparc_fold_builtin): New function
        (sparc_vis_mul8x16): New function.
        (sparc_handle_vis_mul8x16): New function.
        (TARGET_FOLD_BUILTIN): Define to sparc_fold_builtin.

From-SVN: r100762

19 years agoMessageFormat.java (parse): When parsing strings, check for an empty pattern trailer.
Ziga Mahkovec [Wed, 8 Jun 2005 15:46:08 +0000 (17:46 +0200)]
MessageFormat.java (parse): When parsing strings, check for an empty pattern trailer.

2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>

* java/text/MessageFormat.java (parse): When parsing strings, check
for an empty pattern trailer.

From-SVN: r100761

19 years agoNXConstStr.h, [...]: Do not include Objective-C headers as system headers.
David Ayers [Wed, 8 Jun 2005 15:13:17 +0000 (17:13 +0200)]
NXConstStr.h, [...]: Do not include Objective-C headers as system headers.

2005-06-08  David Ayers  <d.ayers@inode.at>

* objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
objc/encoding.h, objc/hash.h, objc/objc-api.h,
objc/runtime.h, objc/sarray.h, objc/thr.h,
objc/typedstream.h: Do not include Objective-C headers as
system headers.

From-SVN: r100760

19 years agore PR rtl-optimization/10588 ([PPC] i==0||j==0 should use cntlzw and srawi)
David Edelsohn [Wed, 8 Jun 2005 14:46:09 +0000 (14:46 +0000)]
re PR rtl-optimization/10588 ([PPC] i==0||j==0 should use cntlzw and srawi)

* config/rs6000/rs6000.md (call_indirect_nonlocal_aix32): Prefer
CTR to LR.
(call_indirect_nonlocal_aix64): Same.
(call_value_indirect_nonlocal_aix32): Same.
(call_value_indirect_nonlocal_aix64): Same.

PR target/10588
(eq): Use CLZ splitter for compare with zero.

From-SVN: r100759

19 years agore PR testsuite/21702 (Typo in gcc/testsuite/gcc.target/i386/i386.exp)
Alex V. Breger [Wed, 8 Jun 2005 12:02:19 +0000 (12:02 +0000)]
re PR testsuite/21702 (Typo in gcc/testsuite/gcc.target/i386/i386.exp)

PR testsuite/21702
* gcc.target/i386/i386.exp: Fix comment typo.

From-SVN: r100758

19 years agore PR c++/19497 (Invalid declaration in template diagnosed too late)
Nathan Sidwell [Wed, 8 Jun 2005 11:49:23 +0000 (11:49 +0000)]
re PR c++/19497 (Invalid declaration in template diagnosed too late)

cp:
PR c++/19497
* cp-tree.def (USING_DECL): Update documentation.
* cp-tree.h (DECL_DEPENDENT_P): New.
(USING_DECL_DECLS, USING_DECL_SCOPE): New.
* class.c (handle_using_decl): Move most of the processing to ...
* name-lookup.c (do_class_using_decl): ... here.  Make stricter.
(push_using_decl): Use USING_DECL_SCOPE.
(cp_emit_debug_info_for_using): Make extern.
* cxx-pretty-print.c (pp_cxx_statement) <USING_DECL case>: Adjust.
* name-lookup.h (cp_emit_debug_info_for_using): Declare.
* pt.c (tsubst_decl) <USING_DECL case>: Use do_class_using_decl
when tsubsting.
(tsubst_expr): Use USING_DECL_SCOPE.
* search.c (lookup_field_1): Use DECL_DEPENDENT_P.
* semantics.c (finish_member_declaration): Likewise.
testsuite:
PR c++/19497
* g++.dg/inherit/using5.C: New.
* g++.dg/inherit/using6.C: New.

From-SVN: r100757

19 years agore PR c++/19894 (pointer-to-void member not rejected in template)
Volker Reichelt [Wed, 8 Jun 2005 11:09:13 +0000 (11:09 +0000)]
re PR c++/19894 (pointer-to-void member not rejected in template)

PR c++/19894
* pt.c (tsubst): Reject pointer-to-member of type void.

* g++.dg/template/ptrmem15.C: New test.

PR c++/20563
* parser.c (cp_parser_label_declaration): Deal with invalid/missing
identifiers.

* g++.dg/ext/label4.C: New test.

From-SVN: r100754

19 years agobfin.h (ASM_OUTPUT_ALIGN): Gas now emulates the behavior of the native assembler...
Bernd Schmidt [Wed, 8 Jun 2005 09:40:42 +0000 (09:40 +0000)]
bfin.h (ASM_OUTPUT_ALIGN): Gas now emulates the behavior of the native assembler in VDSP.

* config/bfin/bfin.h (ASM_OUTPUT_ALIGN): Gas now emulates the
behavior of the native assembler in VDSP. So change accordingly.

From-SVN: r100753

19 years agobfin.h (enum bfin_builtins): New.
Bernd Schmidt [Wed, 8 Jun 2005 09:25:11 +0000 (09:25 +0000)]
bfin.h (enum bfin_builtins): New.

* config/bfin/bfin.h (enum bfin_builtins): New.
* config/bfin/bfin.md (UNSPEC_VOLATILE_CSYNC, UNSPEC_VOLATILE_SSYNC):
New constants.
(csync, ssync): New insn patterns.
* config/bfin/bfin.c (bfin_init_builtins, bfin_expand_builtin):
New functions.
(def_builtin): New macro.
(TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.

From-SVN: r100752

19 years agoMAINTAINERS: Move myself from 'Write After Approval' to 'CPU Port Maintainers' sectio...
Andreas Schwab [Wed, 8 Jun 2005 09:15:21 +0000 (09:15 +0000)]
MAINTAINERS: Move myself from 'Write After Approval' to 'CPU Port Maintainers' section as...

* MAINTAINERS: Move myself from 'Write After Approval' to
'CPU Port Maintainers' section as m68k maintainer.

From-SVN: r100751

19 years agobfin.c (bfin_return_in_memory): Simplify; return everything larger than 8 bytes in...
Bernd Schmidt [Wed, 8 Jun 2005 08:53:59 +0000 (08:53 +0000)]
bfin.c (bfin_return_in_memory): Simplify; return everything larger than 8 bytes in memory.

* config/bfin/bfin.c (bfin_return_in_memory): Simplify; return
everything larger than 8 bytes in memory.

From-SVN: r100750

19 years agotree-data-ref.c (compute_estimated_nb_iterations, [...]): Fixed to use chrec_contains...
Sebastian Pop [Wed, 8 Jun 2005 08:47:05 +0000 (10:47 +0200)]
tree-data-ref.c (compute_estimated_nb_iterations, [...]): Fixed to use chrec_contains_undetermined to test the values of...

* tree-data-ref.c (compute_estimated_nb_iterations,
analyze_array_indexes, compute_overlap_steps_for_affine_1_2,
analyze_subscript_affine_affine, find_data_references_in_loop):
Fixed to use chrec_contains_undetermined to test the values of
loop->estimated_nb_iterations.
* tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop):
Compute the estimation only when loop->estimated_nb_iterations
has not yet been initialized.
(convert_step_widening, scev_probably_wraps_p): Add a call to
estimate_numbers_of_iterations_loop.
* tree-vrp.c (execute_vrp): Don't call estimate_numbers_of_iterations.

From-SVN: r100749

19 years agore PR debug/21946 (Invalid DWARF2 debug info emitted)
Eric Botcazou [Wed, 8 Jun 2005 07:48:16 +0000 (09:48 +0200)]
re PR debug/21946 (Invalid DWARF2 debug info emitted)

PR debug/21946
* dwarf2out.c (add_loc_descr_op_piece): Move to the
DWARF2_DEBUGGING_INFO section.

From-SVN: r100748

19 years agore PR target/21721 (fails to assemble, Use of p0 is not valid in this context)
Richard Henderson [Wed, 8 Jun 2005 07:26:58 +0000 (00:26 -0700)]
re PR target/21721 (fails to assemble, Use of p0 is not valid in this context)

        PR target/21721
        * config/ia64/ia64.c (emit_predicate_relation_info): Skip p0.

From-SVN: r100745

19 years ago* gcc.dg/tls/debug-1.c: New test.
Eric Botcazou [Wed, 8 Jun 2005 05:07:30 +0000 (07:07 +0200)]
* gcc.dg/tls/debug-1.c: New test.

From-SVN: r100743

19 years agore PR debug/21889 (Native Solaris assembler cannot grok DTP-relative debug symbols)
Eric Botcazou [Wed, 8 Jun 2005 05:05:45 +0000 (07:05 +0200)]
re PR debug/21889 (Native Solaris assembler cannot grok DTP-relative debug symbols)

PR target/21889
* target.h (gcc_target) <asm_out>: New field output_dwarf_dtprel.
* target-def.h (TARGET_ASM_OUTPUT_DWARF_DTPREL): New macro.
(TARGET_ASM_OUT): Add it.
* doc/tm.texi (Debugging Info): Document it.
* dwarf2out.c (output_loc_operands) <INTERNAL_DW_OP_tls_addr>:
Test it instead of ASM_OUTPUT_DWARF_DTPREL.
(loc_descriptor_from_tree_1) <VAR_DECL>: Likewise.
* system.h: Poison ASM_OUTPUT_DWARF_DTPREL.
* config/frv/frv-protos.h (frv_output_dwarf_dtprel): Delete.
* config/frv/frv.c (frv_output_dwarf_dtprel): Make static and unused.
(gen_inlined_tls_plt): Remove unused variable MEM.
(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to frv_output_dwarf_dtprel.
* config/frv/frv.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
* config/i386/i386-protos.h (i386_output_dwarf_dtprel): Delete.
* config/i386/i386.c (i386_output_dwarf_dtprel): Make static and
unused.
(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to i386_output_dwarf_dtprel.
* config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
* config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): Delete.
* config/ia64/ia64.c (ia64_output_dwarf_dtprel): Make static and
unused.
(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to ia64_output_dwarf_dtprel.
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
* config/rs6000/rs6000-protos.h (rs6000_output_dwarf_dtprel): Delete.
* config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): Make static and
unused.
(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to rs6000_output_dwarf_dtprel
* config/rs6000/rs6000.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
* config/s390/s390-protos.h (s390_output_dwarf_dtprel): Delete.
* config/s390/s390.c (s390_output_dwarf_dtprel): Make static and
unused.
(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to s390_output_dwarf_dtprel.
* config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
* config/sparc/sol2-gas.h (TARGET_SUN_TLS): Define to 0.
(TARGET_GNU_TLS): Define to 1.
* config/sparc/sparc-protos.h (sparc_output_dwarf_dtprel): Delete.
* config/sparc/sparc.c (sparc_output_dwarf_dtprel): Make static and
unused.
(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to sparc_output_dwarf_dtprel
if TARGET_GNU_TLS only.
* config/sparc/sparc.h (ASM_OUTPUT_DWARF_DTPREL): Delete.

* config.gcc (sparc64-*-solaris2*): Include tm-dwarf2.h last.
(sparc-*-solaris2*): Likewise on Solaris 7 and up.

From-SVN: r100742

19 years agomovq.c: New.
Dale Johannesen [Wed, 8 Jun 2005 03:24:28 +0000 (03:24 +0000)]
movq.c: New.

2005-06-07  Dale Johannesen  <dalej@apple.com>

* gcc.target/i386/movq.c:  New.

From-SVN: r100741

19 years agoi386.md (movqi_1): Fix case where source is memory and destination EDI.
Dale Johannesen [Wed, 8 Jun 2005 03:22:15 +0000 (03:22 +0000)]
i386.md (movqi_1): Fix case where source is memory and destination EDI.

2005-06-07  Dale Johannesen  <dalej@apple.com>

        * config/i386/i386.md (movqi_1):  Fix case where source
        is memory and destination EDI.

From-SVN: r100740

19 years ago* config/c4x/c4x.h (PREDICATE_CODES): Remove mem_operand.
Kazu Hirata [Wed, 8 Jun 2005 02:31:24 +0000 (02:31 +0000)]
* config/c4x/c4x.h (PREDICATE_CODES): Remove mem_operand.

From-SVN: r100738

19 years agosystem.h: Poison EXTRA_CC_MODES.
Eric Christopher [Wed, 8 Jun 2005 00:28:41 +0000 (00:28 +0000)]
system.h: Poison EXTRA_CC_MODES.

2005-06-07  Eric Christopher  <echristo@redhat.com>

* system.h: Poison EXTRA_CC_MODES.
* config/frv/frv.h (SELECT_CC_MODE): Rewrite comment.
* config/ia64/ia64.h (SELECT_CC_MODE): Ditto.
* doc/md.texi (Jump Patterns): Replace reference to
EXTRA_CC_MODES with machine-modes.def.
* doc/rtl.texi (Machine Modes): Ditto.

From-SVN: r100737

19 years agoDaily bump.
GCC Administrator [Wed, 8 Jun 2005 00:16:24 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100735.2

19 years agovarasm.c (initialize_cold_section_name): Fix alloca buffer overflow.
Richard Henderson [Wed, 8 Jun 2005 00:15:53 +0000 (17:15 -0700)]
varasm.c (initialize_cold_section_name): Fix alloca buffer overflow.

        * varasm.c (initialize_cold_section_name): Fix alloca buffer overflow.
        (assemble_start_function): Fix strcmp confusion.

From-SVN: r100733

19 years agoi386.h (enum ix86_entity): New.
Uros Bizjak [Tue, 7 Jun 2005 23:58:55 +0000 (01:58 +0200)]
i386.h (enum ix86_entity): New.

2005-06-07  Uros Bizjak  <uros@kss-loka.si>

* config/i386/i386.h (enum ix86_entity): New.
(enum ix86_stack_slot): New.
(OPTIMIZE_MODE_SWITCHING): Redefine to use
ix86_optimize_mode_switching[] array.
(NUM_MODES_FOR_MODE_SWITCHING): Redefine for 4 entities.
(MODE_NEEDED): Use ix86_mode_needed() function.
(EMIT_MODE_SET): Redefine for changed emit_i387_cw_initialization ()
function.
(struct machine_function): Use optimize_mode_switching[] array.

* config/i386/i386.c (MAX_386_STACK_LOCALS): Remove.
(ix86_mode_needed): New function.
(emit_i387_cw_initialization): Cleanup. Use mode to calculate
correct stack positions for stored control words.
(assign_386_stack_local): Use enum ix86_stack_slot. Change assert.
(ix86_expand_builtin) [IX86_BUILTIN_LDMXCSR]: Change constant to
SLOT_TEMP.
[IX86_BUILTIN_STMXCSR]: Same.

* config/i386/i386-protos.h (assign_stack_local): Change prototype.
(emit_i387_cw_initialization): Change prototype.
(ix86_mode_needed): New prototype.

* config/i386/i386.md (i387_cw attribute): Change order of elements.
(truncdfsf2, truncxfsf2, truncxfdf2, fix_trunc<mode>_fisttp_i387_1)
(*fix_trunc<mode>_i387_1, lrint<mode>2, *fist<mode>2_floor_1)
(*fist<mode>2_ceil_1): Change constant in call to
assign_386_stack_local to SLOT_TEMP.
(*fix_trunc<mode>_i387_1): Change constant in call to
assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_TRUNC.
Use new ix86_optimize_mode_switching[] array.
(frndintxf2_floor, *fist<mode>2_floor_1): Change constants in call to
assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_FLOOR.
Use new ix86_optimize_mode_switching[] array.
(frndintxf2_ceil, *fist<mode>2_ceil_1):  Change constants in call to
assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_CEIL.
Use new ix86_optimize_mode_switching[] array.
(frndintxf2_trunc): Change constants in call to
assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_TRUNC.
Use new ix86_optimize_mode_switching[] array.
(frndintxf2_mask_pm): Change constants in call to
assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_MASK_PM.
Use new ix86_optimize_mode_switching[] array.

(define_peephole2): Change constant from 17 to FLAGS_REG;

From-SVN: r100732

19 years agore PR rtl-optimization/21528 (Boost shared_ptr_test.cpp fails with -O3)
Richard Henderson [Tue, 7 Jun 2005 23:45:06 +0000 (16:45 -0700)]
re PR rtl-optimization/21528 (Boost shared_ptr_test.cpp fails with -O3)

        PR rtl-opt/21528
        * rtlanal.c (reg_overlap_mentioned_p) <MEM>: Handle 'E' formats.

From-SVN: r100730

19 years ago20050607-1.c: New.
Dale Johannesen [Tue, 7 Jun 2005 23:36:52 +0000 (23:36 +0000)]
20050607-1.c: New.

2005-06-07  Dale Johannesen  <dalej@apple.com>

        * gcc.dg/20050607-1.c:  New.

From-SVN: r100729

19 years agotree-nested.c (finalize_nesting_tree_1): Disable warn_padded around layout_type call.
Dale Johannesen [Tue, 7 Jun 2005 23:35:58 +0000 (23:35 +0000)]
tree-nested.c (finalize_nesting_tree_1): Disable warn_padded around layout_type call.

2005-06-07  Dale Johannesen  <dalej@apple.com>

        * tree-nested.c (finalize_nesting_tree_1):  Disable
        warn_padded around layout_type call.

From-SVN: r100728

19 years agotree-ssa-loop-ivopts.c (rewrite_use_outer): Unshare the expression before emiting it.
Zdenek Dvorak [Tue, 7 Jun 2005 22:44:56 +0000 (00:44 +0200)]
tree-ssa-loop-ivopts.c (rewrite_use_outer): Unshare the expression before emiting it.

* tree-ssa-loop-ivopts.c (rewrite_use_outer): Unshare the expression
before emiting it.

From-SVN: r100727

19 years agopredicates.md: Revert previous patch.
Eric Christopher [Tue, 7 Jun 2005 22:17:31 +0000 (22:17 +0000)]
predicates.md: Revert previous patch.

2005-06-07  Eric Christopher  <echristo@redhat.com>

        * config/mips/predicates.md: Revert previous patch.

From-SVN: r100726

19 years agore PR middle-end/21850 (misscompiling comparision from vector to integer)
Jakub Jelinek [Tue, 7 Jun 2005 21:45:07 +0000 (23:45 +0200)]
re PR middle-end/21850 (misscompiling comparision from vector to integer)

PR middle-end/21850
* tree.c (get_unwidened): Stop at NOP_EXPR/CONVERT_EXPR that convert
from vector types.

* gcc.c-torture/execute/20050607-1.c: New test.

From-SVN: r100725

19 years agocpplib.pot: Regenerate.
Jakub Jelinek [Tue, 7 Jun 2005 21:34:55 +0000 (23:34 +0200)]
cpplib.pot: Regenerate.

* cpplib.pot: Regenerate.

* gcc.pot: Regenerate.

From-SVN: r100724

19 years agoarchive.c, [...]: Include hash.h.
David Ayers [Tue, 7 Jun 2005 21:04:19 +0000 (23:04 +0200)]
archive.c, [...]: Include hash.h.

2005-06-07  David Ayers  <d.ayers@inode.at>

* archive.c, init.c, selector.c: Include hash.h.
* archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
Include Objective-C headers with quotes and objc/ directory
prefix.

From-SVN: r100723

19 years agotree-ssa-threadupdate.c (struct thread_stats_d): Declare.
Diego Novillo [Tue, 7 Jun 2005 21:01:14 +0000 (21:01 +0000)]
tree-ssa-threadupdate.c (struct thread_stats_d): Declare.

* tree-ssa-threadupdate.c (struct thread_stats_d): Declare.
(thread_stats): New local variable.
(redirect_edges): Increment count of threaded edges.
(thread_through_all_blocks): Initialize thread_stats.
Display number of threaded jumps if TDF_STATS is enabled.

From-SVN: r100722

19 years agore PR libfortran/21926 ([4.0 only] matmul does not deal with non-packed result)
Thomas Koenig [Tue, 7 Jun 2005 20:46:17 +0000 (20:46 +0000)]
re PR libfortran/21926 ([4.0 only] matmul does not deal with non-packed result)

2005-06-07  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21926
* m4/matmul.m4:  Correct zeroing of result for non-packed
arrays with lowest stride is one.
* generated/matmul_c4.c:  Regenerated.
* generated/matmul_c8.c:  Regenerated.
* generated/matmul_i4.c:  Regenerated.
* generated/matmul_i8.c:  Regenerated.
* generated/matmul_r4.c:  Regenerated.
* generated/matmul_r8.c:  Regenerated.

2005-06-07  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21926
* gfortran.fortran-torture/execute/intrinsic_matmul.f90:
Test case where the return array has lowest stride one,
but isn't packed.

From-SVN: r100721

19 years agosbitmap.h (sbitmap_iter_init): Consistently treat bit_num as the current bit index...
Kazu Hirata [Tue, 7 Jun 2005 20:45:08 +0000 (20:45 +0000)]
sbitmap.h (sbitmap_iter_init): Consistently treat bit_num as the current bit index with no modulo.

* sbitmap.h (sbitmap_iter_init): Consistently treat bit_num as
the current bit index with no modulo.

From-SVN: r100720

19 years ago* 20050423-1.c: Testcase for PR tree-optimization/20742.
Sebastian Pop [Tue, 7 Jun 2005 19:54:23 +0000 (19:54 +0000)]
20050423-1.c: Testcase for PR tree-optimization/20742.

From-SVN: r100719

19 years agoFixes PR 18403 and meta PR 21861.
Sebastian Pop [Tue, 7 Jun 2005 19:51:25 +0000 (21:51 +0200)]
Fixes PR 18403 and meta PR 21861.

* Makefile.in (tree-chrec.o): Depend on CFGLOOP_H and TREE_FLOW_H.
* tree-chrec.c: Include cfgloop.h and tree-flow.h.
(evolution_function_is_invariant_rec_p,
evolution_function_is_invariant_p): New.
(chrec_convert): Use an extra parameter AT_STMT for refining the
information that is passed down to convert_step.  Integrate the
code that was in count_ev_in_wider_type.
* tree-chrec.h (count_ev_in_wider_type): Removed.
(chrec_convert): Modify its declaration.
(evolution_function_is_invariant_p): Declared.
(evolution_function_is_affine_p): Use evolution_function_is_invariant_p.
* tree-flow.h (can_count_iv_in_wider_type): Renamed convert_step.
(scev_probably_wraps_p): Declared.
* tree-scalar-evolution.c (count_ev_in_wider_type): Removed.
(follow_ssa_edge_in_rhs, interpret_rhs_modify_expr):
Use an extra parameter AT_STMT for refining the information that is
passed down to convert_step.
(follow_ssa_edge_inner_loop_phi, follow_ssa_edge,
analyze_scalar_evolution_1): Initialize AT_STMT with the current
analyzed statement.
(instantiate_parameters_1): Don't know yet how to initialize AT_STMT.
* tree-ssa-loop-ivopts.c (idx_find_step): Update the use of
can_count_iv_in_wider_type to use convert_step.
* tree-ssa-loop-niter.c (can_count_iv_in_wider_type_bound): Move
code that is independent of the loop over the known iteration
bounds to convert_step_widening, the rest is moved to
proved_non_wrapping_p.
(scev_probably_wraps_p): New.
(can_count_iv_in_wider_type): Renamed convert_step.
* tree-vrp.c (adjust_range_with_scev): Take an extra AT_STMT parameter.
Use scev_probably_wraps_p for computing init_is_max.
(vrp_visit_assignment): Pass the current analyzed statement to
adjust_range_with_scev.
(execute_vrp): Call estimate_numbers_of_iterations for refining the
information provided by scev analyzer.

testsuite:

* testsuite/gcc.dg/vect/vect-77.c: Remove xfail from lp64.
* testsuite/gcc.dg/vect/vect-78.c: Same.

From-SVN: r100718

19 years agotarget-supports.exp (check_effective_target_sync_int_long): Add s390 and s390x targets.
Adrian Straetling [Tue, 7 Jun 2005 19:27:01 +0000 (19:27 +0000)]
target-supports.exp (check_effective_target_sync_int_long): Add s390 and s390x targets.

2005-06-07  Adrian Straetling  <straetling@de.ibm.com>

* lib/target-supports.exp (check_effective_target_sync_int_long):
Add s390 and s390x targets.

From-SVN: r100717

19 years agopredicates.md (sleu_operand): Use IN_RANGE to specify range of operand.
Eric Christopher [Tue, 7 Jun 2005 19:09:34 +0000 (19:09 +0000)]
predicates.md (sleu_operand): Use IN_RANGE to specify range of operand.

2005-06-07  Eric Christopher  <echristo@redhat.com>

* config/mips/predicates.md (sleu_operand): Use
IN_RANGE to specify range of operand.

From-SVN: r100716

19 years agomissed entry
Nathan Sidwell [Tue, 7 Jun 2005 17:46:02 +0000 (17:46 +0000)]
missed entry

missed entry
       * cp-tree.def (DEFAULT_ARG): Adjust documentation.
* cp-tree.h (DEFARG_INSTANTIATIONS): New.
(struct tree_default_arg): Add instantiations member.
* parser.c (cp_parser_late_parsing_default_args): Adjust to use a
VEC.
* pt.c (tsubst_arg_types): Likewise.

From-SVN: r100715

19 years agore PR tree-optimization/21847 (misscompiling of the following java code)
Steven Bosscher [Tue, 7 Jun 2005 16:54:16 +0000 (16:54 +0000)]
re PR tree-optimization/21847 (misscompiling of the following java code)

PR tree-optimization/21847
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): With
-fnon-call-exceptions, also mark statements inherently
necessary if they may throw.

From-SVN: r100714

19 years agoacinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex tests.
Benjamin Kosnik [Tue, 7 Jun 2005 16:52:32 +0000 (16:52 +0000)]
acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex tests.

2005-06-07  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
tests.
* configure: Regenerated.

From-SVN: r100713

19 years agos390.md: ("UNSPECV_MB", "UNSPECV_CAS"): New constants.
Adrian Straetling [Tue, 7 Jun 2005 16:35:27 +0000 (16:35 +0000)]
s390.md: ("UNSPECV_MB", "UNSPECV_CAS"): New constants.

2005-06-07  Adrian Straetling  <straetling@de.ibm.com>

gcc/ChangeLog:
* config/s390/s390.md: ("UNSPECV_MB", "UNSPECV_CAS"): New constants.
("type"): Add "sem" to 'type' attribute.
("memory_barrier", "*memory_barrier", "sync_compare_and_swapdi",
"sync_compare_and_swapsi", "sync_compare_and_swap_ccdi",
"sync_compare_and_swap_ccsi", "*sync_compare_and_swap_ccdi",
"*sync_compare_and_swap_ccsi"): New patterns.
* config/s390/2064.md: ("z_sem"): New insn_reservation.
* config/s390/2084.md: ("x_sem"): New insn_reservation.
* config/s390/s390.c: (s390_compare_emitted): New global variable.
(s390_emit_compare): Do not emit comparison again after cas.
* config/s390/s390.h (s390_compare_emitted): Declare.

libstdc++/ChangeLog:
* config/cpu/s390/atomicity.h: (__exchange_and_add,
__atomic_add): Use the builtins for atomic memory operations.

From-SVN: r100711

19 years agosbitmap.h (sbitmap_iterator, [...]): New.
Kazu Hirata [Tue, 7 Jun 2005 14:30:25 +0000 (14:30 +0000)]
sbitmap.h (sbitmap_iterator, [...]): New.

* sbitmap.h (sbitmap_iterator, sbitmap_iter_init,
sbitmap_iter_cond, sbitmap_iter_next): New.
* bt-load.c, cfganal.c, combine.c, ddg.c, flow.c,
modulo-sched.c, sbitmap.c, sched-rgn.c, tree-into-ssa.c,
tree-outof-ssa.c, tree-ssa-alias.c, tree-ssa-live.c: Update
uses of EXECUTE_IF_SET_IN_SBITMAP to the new style.

From-SVN: r100709

19 years agotree-ssa-address.c: New file.
Zdenek Dvorak [Tue, 7 Jun 2005 12:01:47 +0000 (14:01 +0200)]
tree-ssa-address.c: New file.

* tree-ssa-address.c: New file.
* Makefile.in (tree-ssa-address.o): Add.
* expr.c (expand_expr_real_1): Do not handle REF_ORIGINAL on
INDIRECT_REFs.  Handle TARGET_MEM_REFs.
* tree-eh.c (tree_could_trap_p): Handle TARGET_MEM_REFs.
* tree-flow.h (struct mem_address): New.
(struct affine_tree_combination): Moved from tree-ssa-loop-ivopts.c.
(create_mem_ref, addr_for_mem_ref, get_address_description,
maybe_fold_tmr, multiplier_allowed_in_address_p,
multiply_by_cost):  Declare.
* tree-mudflap.c (mf_xform_derefs_1): Handle TARGET_MEM_REFs.
* tree-pretty-print.c (dump_generic_node): Ditto.
* tree-ssa-loop-im.c (for_each_index): Ditto.
* tree-ssa-loop-ivopts.c (may_be_unaligned_p,
find_interesting_uses_address): Ditto.
(rewrite_address_base, build_addr_strip_iref): Removed.
(struct affine_tree_combination): Moved to tree-flow.h.
(get_ref_tag, copy_ref_info): New functions.
(rewrite_use_address): Produce TARGET_MEM_REFs.
(tree_ssa_iv_optimize): Do not call update_ssa
and rewrite_into_loop_closed_ssa.
(tree_to_aff_combination): Use build_fold_addr_expr instead of
build_addr_strip_iref.
(unshare_aff_combination): New function.
(fold_affine_sum): Removed.
(get_computation_at): Use get_computation_aff.  Unshare the result.
(get_computation_aff, multiplier_allowed_in_address_p): New function.
(multiply_by_cost): Exported.
(get_address_cost): Use multiplier_allowed_in_address_p.
* tree-ssa-operands.c (get_tmr_operands): New function.
(get_expr_operands): Handle TARGET_MEM_REFs.
* tree.c (copy_node_stat): Copy annotations for TARGET_MEM_REFs.
(build): Handle 7 arguments.
(build7_stat): New function.
* tree.def (TARGET_MEM_DEF): New.
* tree.h (REF_ORIGINAL): Removed.
(TMR_SYMBOL, TMR_BASE, TMR_INDEX, TMR_STEP, TMR_OFFSET, TMR_ORIGINAL,
TMR_TAG, build7): New macros.
(build7_stat, tree_mem_ref_addr, copy_mem_ref_info): Declare.
* tree-ssa-ccp.c (fold_stmt_r): Call maybe_fold_tmr.
* doc/c-tree.texi: Document TARGET_MEM_REF.
* doc/tree-ssa.texi: Add TARGET_MEM_REF to gimple grammar.

* gcc.dg/tree-ssa/loop-2.c: Update outcome.
* gcc.dg/tree-ssa/loop-3.c: Update outcome.
* gcc.dg/tree-ssa/loop-4.c: Update outcome.
* gcc.dg/tree-ssa/loop-9.c: New test.

From-SVN: r100708

19 years agocp-tree.def (DEFAULT_ARG): Adjust documentation.
Nathan Sidwell [Tue, 7 Jun 2005 11:56:11 +0000 (11:56 +0000)]
cp-tree.def (DEFAULT_ARG): Adjust documentation.

* cp-tree.def (DEFAULT_ARG): Adjust documentation.
* cp-tree.h (DEFARG_INSTANTIATIONS): New.
(struct tree_default_arg): Add instantiations member.
* parser.c (cp_parser_late_parsing_default_args): Adjust to use a
VEC.
* pt.c (tsubst_arg_types): Likewise.

From-SVN: r100707

19 years agore PR debug/21946 (Invalid DWARF2 debug info emitted)
Jakub Jelinek [Tue, 7 Jun 2005 10:17:34 +0000 (12:17 +0200)]
re PR debug/21946 (Invalid DWARF2 debug info emitted)

PR debug/21946
* dwarf2out.c (add_loc_descr_op_piece): New function.
(multiple_reg_loc_descriptor, concat_loc_descriptor,
loc_descriptor): Use it.
* var-tracking.c: Include regs.h and expr.h.
(emit_note_insn_var_location): Skip over pieces where offset
is smaller than previous offset plus previous piece mode size.
Optimize adjacent hard registers or memory locations.
* Makefile.in (var-tracking.o): Depend on $(REGS_H) and $(EXPR_H).

From-SVN: r100706

19 years agoc-typeck.c (c_finish_if_stmt): Use void_type_node as type for COND_EXPR.
Richard Guenther [Tue, 7 Jun 2005 10:10:22 +0000 (10:10 +0000)]
c-typeck.c (c_finish_if_stmt): Use void_type_node as type for COND_EXPR.

2005-06-07  Richard Guenther  <rguenth@gcc.gnu.org>

* c-typeck.c (c_finish_if_stmt): Use void_type_node as type
for COND_EXPR.
* gimplify.c (gimplify_cond_expr): No need to fix up the
type of COND_EXPRs.

From-SVN: r100705

19 years agotree-ssa.c (tree_ssa_useless_type_conversion_1): Fix comments.
Richard Guenther [Tue, 7 Jun 2005 10:05:09 +0000 (10:05 +0000)]
tree-ssa.c (tree_ssa_useless_type_conversion_1): Fix comments.

2005-06-07  Richard Guenther  <rguenth@gcc.gnu.org>

* tree-ssa.c (tree_ssa_useless_type_conversion_1): Fix
comments.

From-SVN: r100704

19 years agoconfigure.in: Enable target-libffi again for *-*-linux* and *-*-elf.
Hans-Peter Nilsson [Tue, 7 Jun 2005 09:32:14 +0000 (09:32 +0000)]
configure.in: Enable target-libffi again for *-*-linux* and *-*-elf.

* configure.in <cris-*, crisv32-*>: Enable target-libffi again for
*-*-linux* and *-*-elf.
* configure: Regenerate.

From-SVN: r100703

19 years agoparser.c (cp_parser_late_parsing_default_args): Fix overeager assert in previous...
Nathan Sidwell [Tue, 7 Jun 2005 08:45:32 +0000 (08:45 +0000)]
parser.c (cp_parser_late_parsing_default_args): Fix overeager assert in previous patch.

cp:
* parser.c (cp_parser_late_parsing_default_args): Fix overeager
assert in previous patch.
testsuite:
* g++.dg/parse/defarg10.C: New.

From-SVN: r100702

19 years agohost-darwin.c (segv_handler): Widen the possible 'stwux' instructions that are consid...
Geoffrey Keating [Tue, 7 Jun 2005 08:23:43 +0000 (08:23 +0000)]
host-darwin.c (segv_handler): Widen the possible 'stwux' instructions that are considered to be stack decrements.

* config/rs6000/host-darwin.c (segv_handler): Widen the possible
'stwux' instructions that are considered to be stack decrements.

From-SVN: r100701

19 years agortlanal.c (subreg_offset_representable_p): Handle objects with holes.
Geoffrey Keating [Tue, 7 Jun 2005 08:18:15 +0000 (08:18 +0000)]
rtlanal.c (subreg_offset_representable_p): Handle objects with holes.

* rtlanal.c (subreg_offset_representable_p): Handle objects
with holes.

From-SVN: r100700

19 years agobtest-gcc.sh: Add support for option --add-passes-despite-regression.
Hans-Peter Nilsson [Tue, 7 Jun 2005 07:42:22 +0000 (07:42 +0000)]
btest-gcc.sh: Add support for option --add-passes-despite-regression.

* btest-gcc.sh: Add support for option
--add-passes-despite-regression.

From-SVN: r100699

19 years agoChangeLog: Fix date on last commit.
Jerry DeLisle [Tue, 7 Jun 2005 07:27:20 +0000 (07:27 +0000)]
ChangeLog: Fix date on last commit.

2005-06-07  Jerry DeLisle <jvdelisle@verizon.net>

* ChangeLog: Fix date on last commit.

From-SVN: r100698

19 years agointrinsic.texi: Add documentation for dcmplx...
Jerry DeLisle [Tue, 7 Jun 2005 06:56:58 +0000 (06:56 +0000)]
intrinsic.texi: Add documentation for dcmplx...

2005-06-03  Jerry DeLisle <jvdelisle@verizon.net>

* intrinsic.texi: Add documentation for dcmplx, digits,
dim, idim, ddim, dot_product, dprod, dreal, and dtime.

From-SVN: r100697

19 years agoPR libstdc++/21770 (cont: __gnu_debug::string)
Paolo Carlini [Tue, 7 Jun 2005 02:55:06 +0000 (02:55 +0000)]
PR libstdc++/21770 (cont: __gnu_debug::string)

2005-06-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/21770 (cont: __gnu_debug::string)
* include/debug/string: Use _Base typedefs for pointer, const_pointer,
reference, const_reference, size_type, difference_type.
* testsuite/21_strings/basic_string/2.cc: New.

From-SVN: r100693

19 years agoPR libstdc++/21770 (cont: debug-mode)
Paolo Carlini [Tue, 7 Jun 2005 02:23:44 +0000 (02:23 +0000)]
PR libstdc++/21770 (cont: debug-mode)

2005-06-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/21770 (cont: debug-mode)
* include/debug/deque: Use _Base typedefs for pointer, const_pointer,
reference, const_reference.
* include/debug/list: Likewise.
* include/debug/map.h: Likewise.
* include/debug/multimap.h: Likewise.
* include/debug/multiset.h: Likewise.
* include/debug/set.h: Likewise.
* include/debug/vector: Likewise.

From-SVN: r100692

19 years agomode-switching.c (optimize_mode_switching): Fix n_exprs parameter in call to pre_edge...
Uros Bizjak [Tue, 7 Jun 2005 02:12:13 +0000 (04:12 +0200)]
mode-switching.c (optimize_mode_switching): Fix n_exprs parameter in call to pre_edge_lcm.

        * mode-switching.c (optimize_mode_switching): Fix n_exprs parameter
in call to pre_edge_lcm.

From-SVN: r100690

19 years ago* zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0.
Rainer Orth [Tue, 7 Jun 2005 01:41:16 +0000 (01:41 +0000)]
* zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0.

From-SVN: r100689

19 years ago* gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
Keith Seitz [Tue, 7 Jun 2005 01:18:02 +0000 (01:18 +0000)]
* gnu/classpath/jdwp/transport/JdwpConnection.java: New file.

From-SVN: r100688

19 years ago* gnu/classpath/jdwp/util/Signature.java: New file.
Keith Seitz [Tue, 7 Jun 2005 00:57:03 +0000 (00:57 +0000)]
* gnu/classpath/jdwp/util/Signature.java: New file.

From-SVN: r100687

19 years agoDaily bump.
GCC Administrator [Tue, 7 Jun 2005 00:17:21 +0000 (00:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100683.2

19 years agolinux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5.
Kaz Kojima [Mon, 6 Jun 2005 23:57:25 +0000 (23:57 +0000)]
linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5.

* config/sh/linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5.
(SH_DWARF_FRAME_PR, SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACL)
(SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_PC, SH_DWARF_FRAME_FPUL):
Likewise.
(SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_FPSCR): Define to the correct
dwarf register number for SHmedia.
(shmedia_fallback_frame_state): New.
(MD_FALLBACK_FRAME_STATE_FOR): Define to it for SH5.

* config/sh/linux.h (FUNCTION_PROFILER): Provide SHMEDIA version.

From-SVN: r100681

19 years agoconfigure.in (unsupported_languages): New macro.
Hans-Peter Nilsson [Mon, 6 Jun 2005 23:39:28 +0000 (23:39 +0000)]
configure.in (unsupported_languages): New macro.

* configure.in (unsupported_languages): New macro.
<mmix-knuth-mmixware>: Set unsupported_languages.  Name explicit
non-ported target libraries in noconfigdirs.
<cris-*, crisv32-*> Ditto, except for non-aout, non-elf,
non-linux-gnu.  Remove libgcj_ex_libffi.
  <lang_frag loop>: Set add_this_lang=no if the language is in
unsupported_languages.
* configure: Regenerate.

From-SVN: r100680

19 years agolibiberty.h (XOBFINISH): New.
Gabriel Dos Reis [Mon, 6 Jun 2005 21:14:31 +0000 (21:14 +0000)]
libiberty.h (XOBFINISH): New.

libiberty/
2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * libiberty.h (XOBFINISH): New.

gcc/
2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * c-lex.c (lex_string): Use XOBFINISH.
        * collect2.c (extract_string, dump_file): Likewise.
        * dbxout.c (dbxout_finish_complex_stabs): Likewise.
        * gcc.c (init_spec, build_search_list, convert_filename,
        set_collect_gcc_options, do_spec_2, do_spec_1, main):
        * Likewise.
        * genpreds.c (write_predicate_subfunction): Likewise.
        * genflags.c (main): Likewise.
        * read-rtl.c (mode_attr_index, apply_macro_to_string,
        join_c_conditions, read_quoted_string, read_braced_string,
        read_rtx_1): Likewise.
        * stringpool.c (ggc_alloc_string): Likewise.
        * tlink.c (obstack_fgets, recompile_files): Likewise.

From-SVN: r100678

19 years agoexgettext: Handle gmsgid and cmsgid arguments specially, as gcc-internal-format and...
Jakub Jelinek [Mon, 6 Jun 2005 19:31:40 +0000 (21:31 +0200)]
exgettext: Handle gmsgid and cmsgid arguments specially, as gcc-internal-format and c-format.

gcc/po/
* exgettext: Handle gmsgid and cmsgid arguments specially,
as gcc-internal-format and c-format.  Because of xgettext
bug, invoke xgettext once with --language=c, once with
--language=GCC-source and then merge together.  Fail if
xgettext is not 0.14.5 or later.
gcc/
* intl.h (G_): New macro.
* rtl-error.c (error_for_asm, warning_for_asm): Use gmsgid
instead of msgid for argument name.
* tree-ssa.c (warn_uninit): Likewise.
* c-parser.c (c_parser_error): Likewise.
* config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise.
* config/darwin-c.c (BAD): Likewise.
* config/c4x/c4x-c.c (BAD): Likewise.
* c-pragma.c (GCC_BAD, GCC_BAD2): Likewise.
* c-errors.c (pedwarn_c99, pedwarn_c90): Likewise.
* c-common.c (c_parse_error): Likewise.
* diagnostic.c (diagnostic_set_info, verbatim, inform, warning,
warning0, pedwarn, error, sorry, fatal_error, internal_error):
Likewise.
(fnotice): Use cmsgid instead of msgid for argument name.
* gcov.c (fnotice): Likewise.
* protoize.c (notice): Likewise.
* final.c (output_operand_lossage): Likewise.
* gcc.c (fatal, notice): Likewise.
(error): Use gmsgid instead of msgid for argument name.
* collect2.c (notice, fatal_perror, fatal): Use cmsgid instead
of msgid for argument name.
(error): Use gmsgid instead of msgid for argument name.
* c-decl.c (locate_old_decl, implicit_decl_warning): Use G_()
instead of N_().
* c-typeck.c (readonly_error, convert_for_assignment): Likewise.
* tree-inline.c (inline_forbidden_p_1): Likewise.
* ABOUT-GCC-NLS: Require gettext 0.14.5 or later.  Mention the new
conventions for marking translations.
* doc/install.texi: Mention gettext 0.14.5 or later requirement.
gcc/cp/
* error.c (locate_error): Use gmsgid instead of msgid for argument
name.
(cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise.
gcc/java/
* jv-scan.c (fatal_error, warning, warning0): Use gmsgid instead of
msgid for argument name.
* gjavah.c (error): Likewise.
* java-tree.h (parse_error_context): Likewise.
* parse.y (parse_error_context, parse_warning_context,
issue_warning_error_from_context): Likewise.

From-SVN: r100676

19 years agotree-chrec.c (reset_evolution_in_loop): Use build3 instead of build2.
Jakub Jelinek [Mon, 6 Jun 2005 19:27:55 +0000 (21:27 +0200)]
tree-chrec.c (reset_evolution_in_loop): Use build3 instead of build2.

* tree-chrec.c (reset_evolution_in_loop): Use build3 instead of
build2.

From-SVN: r100675

19 years agore PR middle-end/21897 (Segementation fault in fold_ternary)
Jakub Jelinek [Mon, 6 Jun 2005 19:26:10 +0000 (21:26 +0200)]
re PR middle-end/21897 (Segementation fault in fold_ternary)

* fold-const.c (operand_equal_p): Don't return 1, if element
chains for 2 VECTOR_CSTs are not the same length.

PR regression/21897
* fold-const.c (fold_ternary) <case BIT_FIELD_REF>: Don't crash if
not all VECTOR_CST elements are given.

* gcc.c-torture/execute/20050604-1.c: New test.

From-SVN: r100674

19 years agocombine.c (try_combine): Use hard_regno_nregs array instead of HARD_REGNO_NREGS macro.
Jakub Jelinek [Mon, 6 Jun 2005 19:22:19 +0000 (21:22 +0200)]
combine.c (try_combine): Use hard_regno_nregs array instead of HARD_REGNO_NREGS macro.

* combine.c (try_combine): Use hard_regno_nregs array instead of
HARD_REGNO_NREGS macro.
* config/rs6000/rs6000.c (rs6000_split_multireg_move,
rs6000_register_move_cost, rs6000_memory_move_cost): Likewise.
* config/ia64/ia64.c (mark_reg_gr_used_mask): Likewise.

From-SVN: r100673

19 years agotree-ssa-reassoc.o: New.
Daniel Berlin [Mon, 6 Jun 2005 18:55:59 +0000 (18:55 +0000)]
tree-ssa-reassoc.o: New.

2005-06-06  Daniel Berlin  <dberlin@dberlin.org>

* tree-ssa-reassoc.o: New.
(OBJS-common): Add tree-ssa-reassoc.o
* timevar.def: Add TV_TREE_REASSOC
* tree-optimize.c (pass_reassoc): Add call.
* tree-pass.h (pass_reassoc): Add.
* tree-ssa-reassoc.c: New file.

From-SVN: r100671

19 years agoexpr.c (do_store_flag): Remove check for non-negative BRANCH_COST.
Eric Christopher [Mon, 6 Jun 2005 18:13:31 +0000 (18:13 +0000)]
expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.

2005-06-06  Eric Christopher  <echristo@redhat.com>

target/21927
* expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.

From-SVN: r100670

19 years agore PR c++/21903 (Default argument of template function causes a compile-time error)
Nathan Sidwell [Mon, 6 Jun 2005 17:29:41 +0000 (17:29 +0000)]
re PR c++/21903 (Default argument of template function causes a compile-time error)

cp:
PR 21903
* cp-tree.def (DEFAULT_ARG): Document TREE_CHAIN use.
* parser.c (cp_parser_late_parsing_default_args): Propagate parsed
argument to any early instantiations.
* pt.c (tsubst_arg_types): Chain early instantiation of default arg.
testsuite:
PR 21903
* g++.dg/parse/defarg9.C: New.

From-SVN: r100669

19 years ago[multiple changes]
Paolo Carlini [Mon, 6 Jun 2005 16:59:55 +0000 (16:59 +0000)]
[multiple changes]

2005-06-06  Paolo Carlini  <pcarlini@suse.de>

        Port from libstdcxx_so_7-branch:
2004-09-24  Paolo Carlini  <pcarlini@suse.de>
    Jonathan Wakely  <redi@gcc.gnu.org>

* include/bits/stl_list.h (list::list(size_type, value_type,
const allocator_type&): Implement according to the letter of the
standard, i.e., don't use two overloads, not equivalent in case
of non default constructible T.
(list::resize(size_type, const value_type&)): Fix the signature:
according to the standard the second argument is by value; also,
don't use two overloads.
* include/bits/list.tcc (list::resize(size_type, const value_type&)):
Adjust consistently the signature.
* include/bits/stl_deque.h (deque::deque(size_type, value_type,
const allocator_type&)): Likewise.
(deque::resize(size_type, const value_type&)): Likewise.
* include/bits/stl_vector.h (vector::vector(size_type, value_type,
const allocator_type&)): Likewise.
(vector::resize(size_type, const value_type&)): Likewise.
* testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
* testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
* testsuite/23_containers/list/explicit_instantiation/2.cc: New.
* testsuite/23_containers/map/explicit_instantiation/2.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
* testsuite/23_containers/set/explicit_instantiation/2.cc: New.
* testsuite/23_containers/vector/explicit_instantiation/2.cc: New.

* include/bits/deque.tcc: Minor formatting fix.

From-SVN: r100668

19 years agox86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with HAVE_GAS_MAX_SKIP_P2ALIGN.
Rainer Orth [Mon, 6 Jun 2005 14:45:29 +0000 (14:45 +0000)]
x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with HAVE_GAS_MAX_SKIP_P2ALIGN.

* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with
HAVE_GAS_MAX_SKIP_P2ALIGN.
(HAVE_AS_DWARF2_DEBUG_LINE): Remove.

From-SVN: r100665

19 years agore PR c++/20637 (Confusing message with different using declarations)
Nathan Sidwell [Mon, 6 Jun 2005 14:18:22 +0000 (14:18 +0000)]
re PR c++/20637 (Confusing message with different using declarations)

cp:
PR c++/20637
* cp-tree.h (add_method): Add using_decl parameter.
* class.c (add_method): Add using_decl parameter.  Adjust error
messages.
(handle_using_decl): Pass the using decl to add_method.
(clone_function_decl): Adjust add_member calls.
* decl2.c (check_classfn): Likewise.
* method.c (lazily_declare_fn): Likewise.
* semantics.c (finish_member_declaration): Likewise.

* method.c (synthesize_method): Use inform, not warning.
testsuite:
PR c++/20637
* g++.dg/inherit/using4.C: New.
* g++.dg/overload/error1.C: Adjust expected errors.
* g++.old-deja/g++.benjamin/warn02.C: Likewise.
* g++.old-deja/g++.brendan/arm2.C: Likewise.
* g++.old-deja/g++.other/redecl2.C: Likewise.
* g++.old-deja/g++.other/redecl4.C: Likewise.
* g++.old-deja/g++.pt/memtemp78.C: Likewise.

From-SVN: r100664

19 years agoMakefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to getopt.h dependency.
Rainer Orth [Mon, 6 Jun 2005 14:08:35 +0000 (14:08 +0000)]
Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to getopt.h dependency.

* Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to
getopt.h dependency.
(mips-tdump.o): Likewise.

From-SVN: r100663

19 years agopredict.c (tree_predict_edge): Don't drop useless predictions; check that it is not...
Jan Hubicka [Mon, 6 Jun 2005 12:31:35 +0000 (14:31 +0200)]
predict.c (tree_predict_edge): Don't drop useless predictions; check that it is not called too late in the game.

* predict.c (tree_predict_edge): Don't drop useless predictions;
check that it is not called too late in the game.
(gate_estimate_probability): New gate.
(pass_profile): Gate.
* tree-mudflap.c (mf_build_check_statement_for): Do not drop
predictions; update CFG instead.
* cfgrtl.c (rtl_verify_flow_info): Check that predcitions are consumed.

From-SVN: r100662

19 years ago* config-lang.in (target_libs): Remove target-gperf.
Hans-Peter Nilsson [Mon, 6 Jun 2005 11:25:40 +0000 (13:25 +0200)]
* config-lang.in (target_libs): Remove target-gperf.

From-SVN: r100659

19 years agostl_function.h: ...
Peter Doerfler [Mon, 6 Jun 2005 10:00:34 +0000 (10:00 +0000)]
stl_function.h: ...

2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>

* include/bits/stl_function.h: ... and another one.

From-SVN: r100657

19 years agoAdd bfin-uclinux configuration.
Jie Zhang [Mon, 6 Jun 2005 09:46:39 +0000 (09:46 +0000)]
Add bfin-uclinux configuration.

From-SVN: r100656

19 years agostl_function.h: Fix typo in comment.
Peter Doerfler [Mon, 6 Jun 2005 09:21:07 +0000 (09:21 +0000)]
stl_function.h: Fix typo in comment.

2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>

* include/bits/stl_function.h: Fix typo in comment.

From-SVN: r100654

19 years agonatPlainSocketImplPosix.cc (setOption): Fix case fall-through bug.
Anthony Green [Mon, 6 Jun 2005 06:17:28 +0000 (06:17 +0000)]
natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug.

2005-06-05  Anthony Green  <green@redhat.com>

        * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
        fall-through bug.

From-SVN: r100650

19 years agobtest-gcc.sh: Don't pass --with-newlib when target is "*-linux*".
Hans-Peter Nilsson [Mon, 6 Jun 2005 05:59:07 +0000 (05:59 +0000)]
btest-gcc.sh: Don't pass --with-newlib when target is "*-linux*".

* btest-gcc.sh <Build>: Don't pass --with-newlib when target is
"*-linux*".

From-SVN: r100649

19 years ago* btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional.
Hans-Peter Nilsson [Mon, 6 Jun 2005 05:57:03 +0000 (05:57 +0000)]
* btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional.

From-SVN: r100648

19 years ago* doc/md.texi (Insn Splitting): Fix some wording.
Ben Elliston [Mon, 6 Jun 2005 03:57:36 +0000 (03:57 +0000)]
* doc/md.texi (Insn Splitting): Fix some wording.

From-SVN: r100647

19 years agof2c_5.f90: Add -w to dg-options
David Billinghurst [Mon, 6 Jun 2005 03:00:10 +0000 (03:00 +0000)]
f2c_5.f90: Add -w to dg-options

2005-06-05  David Billinghurst  <David.Billinghurst@riotinto.com>

* gfortran.dg/f2c_5.f90: Add -w to dg-options

From-SVN: r100646

19 years agors6000.c (rs6000_emit_swdivsf): New function.
David Edelsohn [Mon, 6 Jun 2005 02:32:27 +0000 (02:32 +0000)]
rs6000.c (rs6000_emit_swdivsf): New function.

        * config/rs6000/rs6000.c (rs6000_emit_swdivsf): New function.
        (rs6000_emit_swdivdf): New function.
        * config/rs6000/rs6000.md (fres): New pattern.
        (divsf3): Add approximation through rs6000_emit_swdivsf.
        (fred): New pattern.
        (divdf3): Add approximation through rs6000_emit_swdivdf.
        * config/rs6000/rs6000-protos.h (rs6000_emit_swdivsf): Declare.
        (rs6000_emit_swdivdf): Declare.
        * config/rs6000/rs6000.opt (mswdiv): New option.
        * doc/invoke.texi (RS/6000 and PowerPC Options): Document mswdiv.

From-SVN: r100645

19 years agoDaily bump.
GCC Administrator [Mon, 6 Jun 2005 00:16:21 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100643.2

19 years agogfortran.exp (gfortran_target_compile): Call dg-additional-files-options
David Billinghurst [Sun, 5 Jun 2005 23:42:19 +0000 (23:42 +0000)]
gfortran.exp (gfortran_target_compile): Call dg-additional-files-options

2005-06-05  David Billinghurst  <David.Billinghurst@riotinto.com>

* lib/gfortran.exp (gfortran_target_compile): Call
dg-additional-files-options
* gfortran.dg/f2c_4.f90: New file
* gfortran.dg/f2c_4.c: New file
* gfortran.dg/f2c_5.f90: New file
* gfortran.dg/f2c_5.c: New file

From-SVN: r100641

19 years agoacinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl too for ac_c99_complex.
Paolo Carlini [Sun, 5 Jun 2005 21:58:52 +0000 (21:58 +0000)]
acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl too for ac_c99_complex.

2005-06-05  Paolo Carlini  <pcarlini@suse.de>

* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
too for ac_c99_complex.
* configure: Regenerate.

From-SVN: r100639

19 years ago* gennews (files): Update for egcs-1.0 release pages consolidation.
Gerald Pfeifer [Sun, 5 Jun 2005 20:35:21 +0000 (20:35 +0000)]
* gennews (files): Update for egcs-1.0 release pages consolidation.

From-SVN: r100636

19 years ago* gfortran.dg/forall_1.f90: Set previously uninitialized variable.
Tobias Schlüter [Sun, 5 Jun 2005 18:49:22 +0000 (20:49 +0200)]
* gfortran.dg/forall_1.f90: Set previously uninitialized variable.

From-SVN: r100632

19 years agore PR middle-end/21846 (segfault in fold_binary compiling vpr with -O2 -funroll-loops)
Zdenek Dvorak [Sun, 5 Jun 2005 18:07:43 +0000 (20:07 +0200)]
re PR middle-end/21846 (segfault in fold_binary compiling vpr with -O2 -funroll-loops)

PR tree-optimization/21846
* tree-cfg.c (replace_uses_by): Update information stored at loops.
* tree-flow.h (substitute_in_loop_info): Declare.
* tree-scalar-evolution.c (initialize_scalar_evolutions_analyzer):
Ensure that chrec_dont_know and chrec_known have a type.
* tree-ssa-loop-niter.c (substitute_in_loop_info): New function.

From-SVN: r100631

19 years agore PR fortran/21912 (Wrong implied do-loop)
Tobias Schlüter [Sun, 5 Jun 2005 18:03:47 +0000 (20:03 +0200)]
re PR fortran/21912 (Wrong implied do-loop)

fortran/
PR fortran/21912
* trans-array.c (gfc_trans_array_constructor_value): Slightly reorder.
Generate correct exit condition in case of negative steps in
implied-do loops.
testsuite/
PR fortran/21912
* gfortran.dg/array_constructor_4.f90: New test.

From-SVN: r100630

19 years agore PR c++/21619 (__builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant)
Mark Mitchell [Sun, 5 Jun 2005 16:33:43 +0000 (16:33 +0000)]
re PR c++/21619 (__builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant)

PR c++/21619
* cp-tree.h (DECL_IS_BUILTIN_CONSTANT_P): New macro.
* parser.c (cp_parser_postfix_expression): Allow non-constant
expressions as arguments to __builtin_constant_p.
* tree.c (builtin_valid_in_constant_expr_p): Use
DECL_IS_BUILTIN_CONSTANT_P.

PR c++/21619
* g++.dg/ext/builtin9.C: New test.

From-SVN: r100626

19 years agoremoving
Dale Johannesen [Sun, 5 Jun 2005 16:20:14 +0000 (16:20 +0000)]
removing

From-SVN: r100625

19 years agoRemoving
Dale Johannesen [Sun, 5 Jun 2005 16:19:58 +0000 (16:19 +0000)]
Removing

From-SVN: r100624

19 years ago20050603-1.c: Move to gcc.dg.
Dale Johannesen [Sun, 5 Jun 2005 16:18:12 +0000 (16:18 +0000)]
20050603-1.c: Move to gcc.dg.

2005-06-05  Dale Johannesen  <dalej@apple.com>

* gcc.c-torture/execute/20050603-1.c:  Move to gcc.dg.
* gcc.c-torture/execute/20050603-2.c:  Ditto.

From-SVN: r100623

19 years agoinvoke.texi: Fix description of flags required for compatibility with g77.
Tobias Schlüter [Sun, 5 Jun 2005 13:13:09 +0000 (15:13 +0200)]
invoke.texi: Fix description of flags required for compatibility with g77.

* invoke.texi: Fix description of flags required for compatibility
with g77.

From-SVN: r100621

This page took 0.110085 seconds and 5 git commands to generate.