platform/upstream/linaro-gcc.git
19 years ago2005-05-30 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 30 May 2005 20:16:59 +0000 (20:16 +0000)]
2005-05-30  Paolo Carlini  <pcarlini@suse.de>

PR middle-end/21743
* gcc.dg/builtins-1.c: Activate disabled clog test.
* gcc.dg/torture/builtin-attr-1.c: Likewise.

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

19 years ago2005-05-30 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 30 May 2005 20:15:46 +0000 (20:15 +0000)]
2005-05-30  Paolo Carlini  <pcarlini@suse.de>

PR middle-end/21743
* builtins.def (BUILT_IN_CLOG, BUILT_IN_CLOGF, BUILT_IN_CLOGL):
Enable.
* doc/extend.texi: Add clog, clogf, clogl.

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

19 years ago2005-05-29 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 30 May 2005 20:00:50 +0000 (20:00 +0000)]
2005-05-29 Paul Thomas  <pault@gcc.gnu.org>

* testsuite/Changelog: Make up for my omission
to update for PR16939 etc patches.

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

19 years ago2005-05-29 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 30 May 2005 19:52:02 +0000 (19:52 +0000)]
2005-05-29 Paul Thomas  <pault@gcc.gnu.org>

* fortran/Changelog: Make up for my omission
to update for PR16939 etc patches.

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

19 years ago2005-05-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 30 May 2005 18:48:59 +0000 (18:48 +0000)]
2005-05-30  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/20303
* c-pragma.c: Include "vec.h".
(handle_pragma_visibility): Use VEC.

* doc/invoke.texi: Remove the nested visibility push limit.

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

19 years ago PR rtl-optimization/15422
sayle [Mon, 30 May 2005 18:02:08 +0000 (18:02 +0000)]
PR rtl-optimization/15422
* reg-stack.c (starting_stack_p): New static global.
(straighten_stack): Delete prototype. Change to update the stack
before the current insn.
(subst_stack_regs): Update call to straighten stack.
(emit_swap_insn): Delete prototype.  For the first insn in a
basic block, update stack_in instead of emitting a real swap.
(change_stack): When changing the stack before the first insn
in a basic block, update stack_in instead of emitting real code.
(compensate_edges): Clear starting_stack_p during compensation.
(convert_regs_1): Keep track of starting_stack_p whilst processing
a basic block.

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

19 years agoFix typo
mmitchel [Mon, 30 May 2005 16:29:22 +0000 (16:29 +0000)]
Fix typo

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

19 years agoFix typo
mmitchel [Mon, 30 May 2005 16:22:53 +0000 (16:22 +0000)]
Fix typo

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

19 years ago PR c++/21784
mmitchel [Mon, 30 May 2005 16:20:29 +0000 (16:20 +0000)]
PR c++/21784
* name-lookup.c (do_nonmember_using_decl): Ignore builtin
functions, even when the used name is not a function.

PR c++/21784
* g++.dg/lookup/using14.C: New test.

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

19 years ago2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
bryce [Mon, 30 May 2005 16:02:38 +0000 (16:02 +0000)]
2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>

PR libgcj/21821
* gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
MAXPATHLEN. Format exception message using a StringBuffer instead.

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

19 years ago * operators.def, optimize.c: Update copyright.
kazu [Mon, 30 May 2005 15:44:28 +0000 (15:44 +0000)]
* operators.def, optimize.c: Update copyright.

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

19 years ago * trans-expr.c: Fix comment typos.
kazu [Mon, 30 May 2005 15:33:32 +0000 (15:33 +0000)]
* trans-expr.c: Fix comment typos.

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

19 years ago * tree-ssa-ccp.c (const_val): Make it static.
kazu [Mon, 30 May 2005 15:23:54 +0000 (15:23 +0000)]
* tree-ssa-ccp.c (const_val): Make it static.

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

19 years ago * gcc.dg/c99-math-double-1.c, gcc.dg/c99-math-float-1.c,
kazu [Mon, 30 May 2005 15:13:30 +0000 (15:13 +0000)]
* gcc.dg/c99-math-double-1.c, gcc.dg/c99-math-float-1.c,
gcc.dg/c99-math-long-double-1.c, gcc.dg/c99-math.h: Remove
trailing ^M.

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

19 years ago * trans-expr.c: Remove trailing ^M.
kazu [Mon, 30 May 2005 15:03:46 +0000 (15:03 +0000)]
* trans-expr.c: Remove trailing ^M.

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

19 years ago * libgfortran/ChangeLog: fix date for previous commit.
fxcoudert [Mon, 30 May 2005 07:41:23 +0000 (07:41 +0000)]
* libgfortran/ChangeLog: fix date for previous commit.

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

19 years ago PR libfortran/20179
fxcoudert [Mon, 30 May 2005 07:38:36 +0000 (07:38 +0000)]
PR libfortran/20179
* io/unix.c (fd_close): Add test so that we don't close()
stdout and stderr.

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

19 years ago2005-05-29 Geoffrey Keating <geoffk@apple.com>
geoffk [Mon, 30 May 2005 06:10:05 +0000 (06:10 +0000)]
2005-05-29  Geoffrey Keating  <geoffk@apple.com>

PR target/21761
* config/rs6000/rs6000.md: Remove stray TARGET_32BIT from
pattern involving `:P'.

Index: testsuite/ChangeLog
2005-05-29  Geoffrey Keating  <geoffk@apple.com>

PR target/21761
* gcc.c-torture/compile/pr21761.c: New.

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

19 years ago * g++.old-deja/g++.eh/badalloc1.C: Make XFAIL only on darwin
geoffk [Mon, 30 May 2005 05:58:49 +0000 (05:58 +0000)]
* g++.old-deja/g++.eh/badalloc1.C: Make XFAIL only on darwin
before darwin8.

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

19 years ago * Makefile.in (install-cpp): Depend on installdirs.
geoffk [Mon, 30 May 2005 05:53:21 +0000 (05:53 +0000)]
* Makefile.in (install-cpp): Depend on installdirs.

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

19 years ago * tree-outof-ssa.c (_elim_graph): Change the type of edge_list
kazu [Mon, 30 May 2005 02:12:42 +0000 (02:12 +0000)]
* tree-outof-ssa.c (_elim_graph): Change the type of edge_list
to VEC(int,heap)*.
(new_elim_graph, clear_elim_graph, delete_elim_graph,
elim_graph_add_edge, elim_graph_remove_succ_edge,
FOR_EACH_ELIM_GRAPH_SUCC, FOR_EACH_ELIM_GRAPH_PRED): Use VEC
instead of VARRAY.

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

19 years ago2005-05-29 Michael Koch <konqueror@gmx.de>
tromey [Mon, 30 May 2005 02:01:15 +0000 (02:01 +0000)]
2005-05-29  Michael Koch  <konqueror@gmx.de>

PR libgcj/20273:
* java/util/LinkedHashMap.java (access): Set 'root.pred'.

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

19 years ago * raise.c (db): Add ATTRIBUTE_PRINTF_2.
ghazi [Mon, 30 May 2005 01:54:08 +0000 (01:54 +0000)]
* raise.c (db): Add ATTRIBUTE_PRINTF_2.

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

19 years agoCredit Janne for the issue patch.
kargl [Mon, 30 May 2005 00:27:11 +0000 (00:27 +0000)]
Credit Janne for the issue patch.

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

19 years agoPR fortran/20846
kargl [Mon, 30 May 2005 00:19:43 +0000 (00:19 +0000)]
PR fortran/20846
* gfortran.dg/inquire_8.f90: New test.

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

19 years ago fortran/PR20846
kargl [Mon, 30 May 2005 00:17:03 +0000 (00:17 +0000)]
 fortran/PR20846
 * io.c (gfc_match_inquire): Implement constraints on UNIT and FILE usage.

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

19 years agoDaily bump.
gccadmin [Mon, 30 May 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.
ghazi [Mon, 30 May 2005 00:04:09 +0000 (00:04 +0000)]
* ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.

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

19 years ago * cgraphunit.c, ipa-inline.c, loop-iv.c, modulo-sched.c,
kazu [Sun, 29 May 2005 19:38:34 +0000 (19:38 +0000)]
* cgraphunit.c, ipa-inline.c, loop-iv.c, modulo-sched.c,
opts.c, postreload-gcse.c, tree-browser.def, tree-eh.c,
tree-ssa-copyrename.c, tree-vect-analyze.c: Fix typos and
follow spelling conventions in error/dump messages.

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

19 years ago * ifcvt.c (noce_emit_move_insn): Construct a SET pattern directly
sayle [Sun, 29 May 2005 18:56:42 +0000 (18:56 +0000)]
* ifcvt.c (noce_emit_move_insn): Construct a SET pattern directly
if the RHS isn't suitable for calling emit_move_insn.

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

19 years ago * ChangeLog: add PR numbers
fxcoudert [Sun, 29 May 2005 18:38:11 +0000 (18:38 +0000)]
    * ChangeLog: add PR numbers
        * gfortran.dg/dollar_edit_descriptor-1.f: Add correct dg-options.

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

19 years ago * tree-ssa-ccp.c (ccp_fold): Return immediately after calling
kazu [Sun, 29 May 2005 18:28:44 +0000 (18:28 +0000)]
* tree-ssa-ccp.c (ccp_fold): Return immediately after calling
fold_unary and fold_binary.

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

19 years ago2005-05-29 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 29 May 2005 16:03:43 +0000 (16:03 +0000)]
2005-05-29 Paul Thomas  <pault@gcc.gnu.org>

* gfortran.dg/char_pointer_assign.f90:
Test character-pointerassignments and pointer assignments.
* gfortran.dg/char_pointer_dummy.f90:
Test character-pointer dummy arguments.
* gfortran.dg/char_pointer_func.f90:
Test character-pointer function returns.
* gfortran.dg/char_pointer_dependency.f90:
Test character-pointer functions with dependencies.

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

19 years ago2005-05-29 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 29 May 2005 16:02:09 +0000 (16:02 +0000)]
2005-05-29 Paul Thomas  <pault@gcc.gnu.org>

PR fortran/16939
PR fortran/17192
PR fortran/17193
PR fortran/17202
PR fortran/18689
PR fortran/18890
PR fortran/21297
* fortran/trans-array.c (gfc_conv_resolve_dependencies): Add string
length to temp_ss for character pointer array assignments.
* fortran/trans-expr.c (gfc_conv_variable): Correct errors in
dereferencing of characters and character pointers.
* fortran/trans-expr.c (gfc_conv_function_call): Provide string
length as return argument for various kinds of handling of return.
Return a char[]* temporary for character pointer functions and
dereference the temporary upon return.

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

19 years ago * reg-stack.c (propagate_stack): Always copy the source stack to
sayle [Sun, 29 May 2005 15:37:44 +0000 (15:37 +0000)]
* reg-stack.c (propagate_stack): Always copy the source stack to
the destination.  This routine is now only called when this is safe.
(better_edge): New function split out from convert_regs_1 to
determine which of two edges is better to propagate across.
(convert_regs_1):  We need only search for a best edge if the
stack layout hasn't been defined yet.  Use better_edge to help
find beste.  No longer traverse unnecessary edges.

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

19 years ago2005-05-29 Keith Besaw <kbesaw@us.ibm.com>
dorit [Sun, 29 May 2005 13:14:42 +0000 (13:14 +0000)]
2005-05-29  Keith Besaw  <kbesaw@us.ibm.com>

        * tree-ssa-alias.c (new_type_alias): New procedure to
        create a type memory tag for a pointer with a may-alias
        set determined from a variable declaration.
        * tree-flow.h: export declaration of new_type_alias
        * tree-optimize.c (init_tree_optimization_passes): document
        that pass_may_alias cannot be called after pass_vectorize.
        * tree-vect-transform (vect_create_data_ref_ptr): Call
        new_type_alias when an type memory tag isn't available
        for a reference.
        (vectorizable_store): Use copy_virtual_operands to update
        virtual defs in place (so that loop_version can be called).
        Call mark_for_renaming for the virtual defs in case peeling
        is done and virtual uses outside the loop need to be updated.

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

19 years ago * gfortran.dg/output_exponents_1.f90: New test.
fxcoudert [Sun, 29 May 2005 12:44:37 +0000 (12:44 +0000)]
* gfortran.dg/output_exponents_1.f90: New test.

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

19 years ago * gfortran.dg/dollar_edit_descriptor-1.f: New test.
fxcoudert [Sun, 29 May 2005 12:33:30 +0000 (12:33 +0000)]
* gfortran.dg/dollar_edit_descriptor-1.f: New test.

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

19 years ago PR libfortran/20006
fxcoudert [Sun, 29 May 2005 12:22:49 +0000 (12:22 +0000)]
PR libfortran/20006
* io.c (format_item_1): Add check and extension warning for
$ edit descriptor.
* io/format.c (parse_format_list): Set repeat count of $ format
node to 1.
* io/transfer.c (read_sf): Add g.seen_dollar to the test
concerning advancing I/O.
(data_transfer_init): Likewise.
(finalize_transfer): Likewise.

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

19 years ago PR tree-optimization/21639
dorit [Sun, 29 May 2005 06:47:08 +0000 (06:47 +0000)]
PR tree-optimization/21639
        * tree-complex.c (pass_lower_vector_s): Remove TODO_ggc_collect.

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

19 years ago * cal.c, decl.c, init.c, raise.c, trans.c, utils2.c: Fix
kazu [Sun, 29 May 2005 03:57:15 +0000 (03:57 +0000)]
* cal.c, decl.c, init.c, raise.c, trans.c, utils2.c: Fix
comment typos.
* gnat_rm.texi, gnat_ugn.texi: Fix typos.

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

19 years agoDaily bump.
gccadmin [Sun, 29 May 2005 00:16:18 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago PR c++/21340
mmitchel [Sun, 29 May 2005 00:16:05 +0000 (00:16 +0000)]
PR c++/21340
* method.c (implicitly_declare_fn): Clear processing_template_decl
when generating implicit declaration.

PR c++/21340
* g++.dg/init/ctor6.C: New test.

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

19 years ago PR tree-optimization/21562
hubicka [Sat, 28 May 2005 22:27:04 +0000 (22:27 +0000)]
PR tree-optimization/21562
* cfgexpand.c (construct_init_block): Deal properly with the case
of entry edge not pointing to very first basic block.

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

19 years ago2005-05-28 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 28 May 2005 21:57:03 +0000 (21:57 +0000)]
2005-05-28  Paolo Carlini  <pcarlini@suse.de>

Revert:
2005-05-18  Paolo Carlini  <pcarlini@suse.de>
    Nathan Myers  <ncm@cantrip.org>

PR libstdc++/19495
* include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
size_type instead of char and rename to _Raw_alloc.
* include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
Use the above.
* src/bitmap_allocator.cc: Add instantiation for size_type.
* src/mt_allocator.cc: Likewise.
* src/pool_allocator.cc: Likewise.
* include/ext/array_allocator.h: Tweak slightly, avoid assuming
the existence of an _Array::begin() and size() members.
* testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
of size_type, instead of char, thus avoiding problems with
rebinds, not treated correctly by array_allocator.

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

19 years ago * basic-block.h: Remove forward declaration of bb_ann_d.
kazu [Sat, 28 May 2005 21:19:59 +0000 (21:19 +0000)]
* basic-block.h: Remove forward declaration of bb_ann_d.

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

19 years ago * Makefile.in (OBJS-common): Add tree-cfgcleanup.o.
kazu [Sat, 28 May 2005 21:09:17 +0000 (21:09 +0000)]
* Makefile.in (OBJS-common): Add tree-cfgcleanup.o.
* tree-flow.h: Add prototypes for start_recording_case_labels
and end_recording_case_labels.
* tree-cfg.c (start_recording_case_labels,
end_recording_case_labels): Export.
(cleanup_tree_cfg_loop, modified_noreturn_calls,
cleanup_control_flow, cleanup_control_expr_graph,
remove_fallthru_edge, phi_alternatives_equal,
tree_forwarder_block_p, has_abnormal_incoming_edge_p,
remove_forwarder_block, cleanup_forwarder_blocks,
remove_forwarder_block_with_phi, merge_phi_nodes,
gate_merge_phi, pass_merge_phi): Move to ...
* tree-cfgcleanup.c: ... here.

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

19 years ago * tree-ssa-ccp.c (ccp_fold): Remove code that produces
kazu [Sat, 28 May 2005 21:03:53 +0000 (21:03 +0000)]
* tree-ssa-ccp.c (ccp_fold): Remove code that produces
non-gimple min minvariant.

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

19 years ago* gfortran.dg/subnormal_1.f90: new test.
kargl [Sat, 28 May 2005 18:35:20 +0000 (18:35 +0000)]
* gfortran.dg/subnormal_1.f90: new test.

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

19 years ago* arith.c (gfc_arith_init_1): Fix off by one problem;
kargl [Sat, 28 May 2005 18:28:31 +0000 (18:28 +0000)]
* arith.c (gfc_arith_init_1): Fix off by one problem;
  (gfc_check_integer_range): Chop extra bits in subnormal numbers.

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

19 years ago * tree-ssa-threadupdate.c: (create_edge_and_update_destination_phis):
hubicka [Sat, 28 May 2005 18:03:56 +0000 (18:03 +0000)]
* tree-ssa-threadupdate.c: (create_edge_and_update_destination_phis):
Update profile.
* value-prof.c (tree_divmod_fixed_value_transform): Be more verbose in
debug output.
(tree_mod_subtract): Fix profile updating code.
(tree_divmod_values_to_profile): Do not produce useless value profilers
for divisions.

* tree-prof.exp: Fix comment.
* value-prof-1.c: New.
* value-prof-2.c: New.
* value-prof-3.c: New.
* value-prof-4.c: New.

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

19 years ago* intrinsic.texi: added documentation for BIT_SIZE, BTEST, CHAR, CEILING
kargl [Sat, 28 May 2005 16:41:31 +0000 (16:41 +0000)]
* intrinsic.texi: added documentation for BIT_SIZE, BTEST, CHAR, CEILING
  and CMPLX

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

19 years ago * configure.ac: Check declarations for asprintf and vasprintf.
gdr [Sat, 28 May 2005 15:52:48 +0000 (15:52 +0000)]
* configure.ac: Check declarations for asprintf and vasprintf.
* config.in: Regenerate.
* configure: Likewise.

* charset.c (conversion_loop): Use XRESIZEVEC.
(convert_no_conversion): Likewise.
(convert_using_iconv): Likewise.
(init_iconv_desc): Cast return value of alloca.
(cpp_host_to_exec_charset): Use XNEWVEC.
(emit_numeric_escape): Use XRESIZEVEC.
(cpp_interpret_string): Use XNEWVEC.
(cpp_interpret_string): Use XRESIZEVEC.
(_cpp_interpret_identifier): Cast return value of alloca.
(_cpp_convert_input): Use XNEWVEC and XRESIZEVEC.
* directives.c (glue_header_name): Use XNEWVEC and XRESIZEVEC.
(parse_include): Use XNEWVEC.
(insert_pragma_entry): Rename local variable "new" to
"new_entry".
(save_registered_pragmas): Cast return value of xmemdup.
(destringize_and_run): Same for alloca.
(parse_assertion): Likewise.
(do_assert): Cast allocated storage to proper type.
(cpp_define): Likewise.
(_cpp_define_builtin): Likewise.
(cpp_undef): Likewise.
(handle_assertion): Likewise.
(cpp_push_buffer): Rename local variable "new" to "new_buffer".
* expr.c (CPP_UPLUS): Cast value to type cpp_ttype.
(CPP_UMINUS): Likewise.
(struct cpp_operator): Rename from struct operator.
(_cpp_expand_op_stack): Use XRESIZEVEC.
* files.c (pch_open_file): Use XNEWVEC.
(pch_open_file): Use XRESIZEVEC.
(read_file_guts): Use XNEWVEC and XRESIZEVEC.
(dir_name_of_file): Use XNEWVEC.
(make_cpp_file): Use XCNEW.
(make_cpp_dir): Likewise.
(allocate_file_hash_entries): USE XNEWVEC.
(cpp_included): Cast return value of htab_find_with_hash.
(append_file_to_dir): Use XNEWVEC.
(read_filename_string): Likewise. Use XRESIZEVEC too.
(read_name_map): Cast return value of alloca.  Use XRESIZEVEC.
(remap_filename): Use XNEWVEC.
(struct pchf_entry): Move definition out of struct pchf_data.
(_cpp_save_file_entries): Use XCNEWVAR.
(_cpp_read_file_entries): Use XNEWVAR.
* identifiers.c (alloc_node): Use XOBNEW.
* init.c (cpp_create_reader): Use XCNEW.
(cpp_init_builtins): Cast of b->value to enum builtin_type.
(read_original_directory): Cast return value of alloca.
* lex.c (add_line_note): Use XRESIZEVEC.
(warn_about_normalization): Use XNEWVEC.
(_cpp_lex_direct): Cast node->directive_index to (enum cpp_ttype).
(new_buff): Use XNEWVEC.
* line-map.c (linemap_add): Use XRESIZEVEC.
* macro.c (builtin_macro): Cast return value of alloca.
(paste_tokens): Likewise.
(expand_arg): Use XNEWVEC and XRESIZEVEC.
(_cpp_save_parameter): Use XRESIZEVEC.
(create_iso_definition): Cast allocated storage to proper type.
(_cpp_create_definition): Likewise.
(cpp_macro_definition): Use XRESIZEVEC.
* makedepend.c (add_clm): Use XNEW.
(add_dir): Likewise.
* mkdeps.c (munge): Use XNEWVEC.
(deps_init): Use XCNEW.
(deps_add_target): Use XRESIZEVEC.
(deps_add_default_target): Cast return value of alloca.
(deps_add_dep): Use XRESIZEVEC.
(deps_add_vpath): Likewise.  Use XNEWVEC too.
(deps_restore): Likewise.
* pch.c (save_idents): Use XNEW and XNEWVEC.
(cpp_save_state): Use XNEW.
(count_defs): Cast return value of htab_find.
(write_defs): Likewise.
(cpp_write_pch_deps): Use XNEWVEC.
(collect_ht_nodes): Use XRESIZEVEC.
(cpp_valid_state): Use XNEWVEC.
(save_macros): Use XRESIZEVEC.  Cast return value of xmemdup.
* symtab.c (ht_create): Use XCNEW.
(ht_lookup_with_hash): Cast return value of obstack_copy0.
(ht_expand): Use XCNEWVEC.
* system.h (HAVE_DESIGNATED_INITIALIZERS): False if __cplusplus.
(bool): Do not define if __cplusplus.

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

19 years ago * tree-inline.c (cfun_stack): Change the type to
kazu [Sat, 28 May 2005 15:43:14 +0000 (15:43 +0000)]
* tree-inline.c (cfun_stack): Change the type to
VEC(function_p,heap).
(push_cfun, pop_cfun): Use VEC instead of VARRAY.

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

19 years ago * tree-ssa-dom.c (vrp_element_p): Define.
kazu [Sat, 28 May 2005 15:30:22 +0000 (15:30 +0000)]
* tree-ssa-dom.c (vrp_element_p): Define.
(vrp_hash_elt): Change the type of records to
VEC(vrp_element_p,heap).
(vrp_free): New.
(tree_ssa_dominator_optimize): Pass vrp_free to htab_create.
Update uses of VRP records.
(simplify_cond_and_lookup_avail_expr, record_range): Update
uses of VRP records.

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

19 years agoinclude:
aj [Sat, 28 May 2005 11:40:59 +0000 (11:40 +0000)]
include:
2005-05-28  Eli Zaretskii  <eliz@gnu.org>

* libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if
needed.
(vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed.

libiberty:
2005-05-28  Eli Zaretskii  <eliz@gnu.org>

* configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
* config.in, configure: Regenerate.

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

19 years ago PR c++/21614
mmitchel [Sat, 28 May 2005 02:21:30 +0000 (02:21 +0000)]
PR c++/21614
* typeck.c (get_member_function_from_ptrfunc): Do not attempt
conversions to base classes of incomplete types.

PR c++/21614
* g++.dg/expr/ptrmem6.C: New test.
* g++.dg/expr/ptrmem6a.C: Likewise.

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

19 years ago./:
ian [Sat, 28 May 2005 01:38:11 +0000 (01:38 +0000)]
./:
* c-decl.c (add_stmt): Add C frontend specific version.
(stmts_are_full_exprs_p): Remove.
* c-common.h (STMT_IS_FULL_EXPR_P): Remove.
(stmts_are_full_exprs_p): Don't declare.
* c-semantics.c (add_stmt): Remove.
cp/:
* semantics.c (add_stmt): Add C++ frontend specific version.
* cp-tree.h (STMT_IS_FULL_EXPR_P): Define.
(stmts_are_full_exprs_p): Declare.

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

19 years agoDaily bump.
gccadmin [Sat, 28 May 2005 00:16:18 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * cp-tree.def (UNARY_PLUS_EXPR): New C++ unary tree code.
sayle [Fri, 27 May 2005 23:17:21 +0000 (23:17 +0000)]
* cp-tree.def (UNARY_PLUS_EXPR): New C++ unary tree code.
* parser.c (cp_parser_unary_expression): Use UNARY_PLUS_EXPR instead
of CONVERT_EXPR.
(cp_parser_unary_expression): Likewise.
* typeck.c (build_unary_op): Likewise.
* call.c (add_builtin_candidate, build_new_op): Likewise.
* error.c (dump_expr): Likewise.
* pt.c (tsubst_copy, tsubst_copy_and_build): Likewise.
* decl.c (ambi_op_p, grok_op_properties): Likewise.
* dump.c (dump_op): Likewise.
* lex.c (init_operators): Likewise.
* operators.def ("+"): Likewise.
* cp-gimplify.c (cp_gimplify_expr): Handle UNARY_PLUS_EXPR like a
conversion, if the result and argument types differ.
* tree.c (fold_if_not_in_template): Fold UNARY_PLUS_EXPR much
like a NOP_EXPR when !processing_template_decl.

* cxx-pretty-print.c (pp_cxx_cast_expression): Prototype.
(pp_cxx_unary_expression): Handle new UNARY_PLUS_EXPR tree code.

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

19 years ago * config/mips/mips-protos.h (mips_declare_object): Add printf
ghazi [Fri, 27 May 2005 23:08:31 +0000 (23:08 +0000)]
* config/mips/mips-protos.h (mips_declare_object): Add printf
attribute.
* config/mips/mips.c (mips_declare_object_name): Fix format
argument.

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

19 years ago * reg-stack.c (compensate_edge): Remove original prototype.
sayle [Fri, 27 May 2005 22:57:39 +0000 (22:57 +0000)]
* reg-stack.c (compensate_edge): Remove original prototype.
(propagate_stack): New function to copy the stack layout
at the start of a basic block from the layout at the end of
one of its predecessors.
(compensate_edge): Assume that both source and destination
blocks have already had their stack layouts defined.
(compensate_edges): Traverse all non-entry edges in the CFG
and call compensate_edge on each in turn.
(convert_regs_1): Change return type to void.  Call
propagate_stack instead of compensate_edge.
(convert_regs_2): Change return type to void.  Update call
to convert_regs_1 to ignore the (now void) return value.
(convert_regs): Update calls to convert_regs_2 to ignore
the (now void) return value.  After all the basic blocks have
been processed, call compensate_edges to actually emit new
insns.
(reg_to_stack): Initialize the aux info for each basic block
with FOR_EACH_BB instead of which FOR_EACH_BB_REVERSE.

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

19 years ago * except.c (can_throw_internal_1, can_throw_external_1): Add
hubicka [Fri, 27 May 2005 22:50:41 +0000 (22:50 +0000)]
* except.c (can_throw_internal_1, can_throw_external_1): Add
"is_resx" argument.
(can_throw_external, can_throw_internal): Bring into sync wrt
dealing resx.
* except.h (can_throw_internal_1, can_throw_external_1): Update
prototype.
* tree-eh.c (tree_can_throw_internal, tree_can_throw_external):
Deal properly with resx.

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

19 years ago * domwalk.c (walk_dominator_tree, init_walk_dominator_tree,
kazu [Fri, 27 May 2005 22:43:05 +0000 (22:43 +0000)]
* domwalk.c (walk_dominator_tree, init_walk_dominator_tree,
fini_walk_dominator_tree): Use VEC instead of VARRAY.
* domwalk.h (dom_walk_data): Change the type of
block_data_stack and free_block_data to VEC(void_p,heap)*.
* tree-ssa-dse.c (dse_initialize_block_local_data,
dse_optimize_stmt, dse_record_phis, dse_finalize_block): Use
VEC instead of VARRAY.

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

19 years ago * basic-block.h (basic_block_def): Add phi_nodes and
kazu [Fri, 27 May 2005 22:06:46 +0000 (22:06 +0000)]
* basic-block.h (basic_block_def): Add phi_nodes and
predictions.  Remove tree_annotations.
* predict.c (tree_predicted_by_p, tree_predict_edge,
combine_predictions_for_bb): Adjust references to predictions.
* tree-cfg.c (init_empty_tree_cfg, create_bb): Don't call
create_block_annotation.
(create_block_annotation, free_blocks_annotatios,
clear_blocks_annotations): Remove.
(dump_cfg_stats): Don't print out the memory spent on
bb_ann_d.
(delete_tree_cfg_annotations): Don't call free_blocks_annotations.
* tree-flow-inline.h (bb_ann): Remove.
(phi_nodes, set_phi_nodes): Update references to phi_nodes.
* tree-flow.h (bb_ann_d): Remove.
* tree-if-conv.c (process_phi_nodes): Update a reference to
phi_nodes.
* tree-phinodes.c (reserve_phi_args_for_new_edge,
create_phi_node, remove_phi_node): Likewise.
* tree-pretty-print.c (dump_generic_bb_buff): Don't call bb_ann.
* tree-ssa-dom.c (threaded_blocks): New.
(tree_ssa_dominator_optimize): Initialize, clear, and free
threaded_blocks. Update a call to thread_through_all_blocks.
(thread_across_edge): Use threaded_blocks instead of setting
incoming_edge_threaded.
* tree-ssa-threadupdate.c (threaded_through_all_blocks): Take
a bitmap of blocks that are threaded through.
* tree.h: Move the prototype of threaded_through_blocks to
tree-flow.h.

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

19 years ago2005-05-27 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 27 May 2005 21:27:48 +0000 (21:27 +0000)]
2005-05-27  Paolo Carlini  <pcarlini@suse.de>

* docs/html/abi.html: Mention 3.4.0 as the current baseline; add
a notice about the configure options.

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

19 years ago * cgraph.c: Include tree-gimple.h
hubicka [Fri, 27 May 2005 21:17:51 +0000 (21:17 +0000)]
* cgraph.c: Include tree-gimple.h
(cgraph_edge): Rename expr to stmt.
(cgraph_create_edge): Likewise.
(cgraph_clone_node): Likewise.
* cgraph.h (cgraph_node): Use call_stmt instead of call_expr.
* cgraphunit.c (record_call_1): Rename to ...
(record_reference): ... this one; do not build edges.
(cgraph_varpool_analyze_pending_decls): Call record_reference directly.
(current_basic_block): Kill.
(cgraph_create_edges): Rewrite to work on gimple statements nicely.
(verify_cgraph_node): Likewise.
* tree-inline.c (copy_body_r): Do not mess up with cgraph edges.
(copy_bb): Mess up with cgraph edges here; simplify EH handling.
(copy_edges_for_bb): Simplify EH handling.
(expand_call_inline): Pass statement to cgraph_edge and
cgraph_create_edge.

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

19 years ago2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
ziga [Fri, 27 May 2005 21:12:18 +0000 (21:12 +0000)]
2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>

* ChangeLog: Fix typo.

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

19 years ago2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
ziga [Fri, 27 May 2005 20:35:35 +0000 (20:35 +0000)]
2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>

* MAINTAINERS (Write After Approval): Add self.

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

19 years ago2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 May 2005 19:19:45 +0000 (19:19 +0000)]
2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/21674
        * include/bits/c++config: Remove extern template use when in debug
        mode, disable for non-weak systems.

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

19 years ago2005-05-27 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Fri, 27 May 2005 19:00:50 +0000 (19:00 +0000)]
2005-05-27  Thomas Koenig  <Thomas.Koenig@online.de>

        * runtime/in_pack_generic.c:  Adjust copyright years.
        (in_pack_generic):  Change dimension of auxiliary arrays from
        GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
        * runtime/in_unpack_generic.c:  Adjust copyright years.
        (in_unpack_generic):  Change dimension of auxiliary arrays from
        GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.

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

19 years ago* trans-array.c (gfc_trans_deferred_array): Use build_int_cst to force
kargl [Fri, 27 May 2005 18:20:52 +0000 (18:20 +0000)]
* trans-array.c (gfc_trans_deferred_array): Use build_int_cst to force
  like types in comparsion.

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

19 years ago2005-05-18 Richard Guenther <rguenth@gcc.gnu.org>
law [Fri, 27 May 2005 17:23:30 +0000 (17:23 +0000)]
2005-05-18  Richard Guenther  <rguenth@gcc.gnu.org>

        * tree-inline.c (copy_body_r): Manually fold *& to deal
        with ADDR_EXPRs with mismatched types for now.

2005-05-17  Richard Guenther  <rguenth@gcc.gnu.org>

        * gimplify.c (fold_indirect_ref_rhs): New function.
        (gimplify_modify_expr_rhs): Use it instead of pessimistic
        fold_indirect_ref.

2005-05-15  Richard Guenther  <rguenth@gcc.gnu.org>

        * fold-const.c (fold_indirect_ref_1): Add type argument;
        make sure the resulting expression is of this type.
        (build_fold_indirect_ref, fold_indirect_ref): Adjust callers.

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

19 years agogcc/
kazu [Fri, 27 May 2005 16:31:29 +0000 (16:31 +0000)]
gcc/
PR tree-optimization/21658
* tree-ssa-ccp.c (ccp_fold): Call fold_binary instead of
fold_binary_to_constant.  Likewise, call fold_unary instead of
fold_unary_to_constant.

testsuite/
PR tree-optimization/21658
* gcc.dg/tree-ssa/pr21658.c: New.

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

19 years ago * docs/html/test.html: Mention PCH_CXXFLAGS.
mmitchel [Fri, 27 May 2005 16:24:59 +0000 (16:24 +0000)]
* docs/html/test.html: Mention PCH_CXXFLAGS.
* testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
available stcd++.h PCH.
* testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.

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

19 years ago2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
bkoz [Fri, 27 May 2005 16:22:54 +0000 (16:22 +0000)]
2005-05-27  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

* src/misc-inst.cc: Remove unnecessary included files.

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

19 years ago2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 May 2005 16:09:15 +0000 (16:09 +0000)]
2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config: Remove extern template use when in debug
mode, disable for non-weak systems.

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

19 years agocp:
nathan [Fri, 27 May 2005 15:50:26 +0000 (15:50 +0000)]
cp:
PR c++/21455
* typeck.c (get_delta_difference): Cope with incomplete but equal
classes.  Reorder if.
testsuite:
PR c++/21455
* g++.dg/inherit/ptrmem3.C: New.

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

19 years ago2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 May 2005 15:01:45 +0000 (15:01 +0000)]
2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/20534
* include/debug/debug.h: Forwarding header, that pulls in details
only if in debug mode.
* include/debug/macros.h: ...transfer all the internal macros here.
* include/debug/functions.h: ...transfer all the functions here.
* include/debug/safe_iterator.h: Add functions.h, macros.h includes.
* include/debug/safe_sequence.h: Same.
* include/debug/vector: Tweak.
* include/Makefile.am (debug_headers): Add new includes.
* include/Makefile.in: Regenerate.
* testsuite/17_intro/no_assert_neg.cc: Add.

* include/ext/hash_set: Add debug mode include.
* include/ext/hash_map: Same.
* include/debug/hash_map: Fix included files to match actual files.
* include/debug/hash_set: Same.

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

19 years agocp:
nathan [Fri, 27 May 2005 14:23:47 +0000 (14:23 +0000)]
cp:
PR c++/21681
* parser.c (cp_parser_late_parsing_for_member): Disable access
checking for template functions.
testsuite:
PR c++/21681
* g++.dg/parse/template16.C: New.

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

19 years ago * vec.h: Implement integral type vector specialization.
nathan [Fri, 27 May 2005 13:26:02 +0000 (13:26 +0000)]
* vec.h: Implement integral type vector specialization.
(VEC_T): Define a non-GTY structure.
(VEC_T_GTY): Define a GTY structure.
(VEC_TA): Rename to ...
(VEC_TA_GTY): ... here.
(DEF_VEC_I, DEF_VEC_ALLOC_I): New.
(DEF_VEC_P, DEF_VEC_ALLOC_P): Adjust.
(DEF_VEC_FUNC_P, DEF_VEC_ALLOC_FUNC_P): New, broken out of
DEF_VEC_P and DEF_VEC_ALLOC_P.
(DEF_VEC_O, DEF_VEC_ALLOC_O): Adjust.
(DEF_VEC_FUNC_O, DEF_VEC_ALLOC_FUNC_O): New, broken out of
DEF_VEC_O and DEF_VEC_ALLOC_O.
* global.c: Use DEF_VEC_I, DEF_VEC_ALLOC_I.
* lambda-code.c: Likewise.
* tree-into-ssa.c: Likewise.
* tree-ssa-live.c: Likewise.

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

19 years ago * tree-into-ssa.c (update_ssa): Ensure that the operand cache
kazu [Fri, 27 May 2005 11:55:36 +0000 (11:55 +0000)]
* tree-into-ssa.c (update_ssa): Ensure that the operand cache
is up-to-date.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Call
update_stmt_if_modified before calling update_ssa.

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

19 years ago2005-05-27 Ralf Corsepius <ralf.corsepius@rtems.org>
corsepiu [Fri, 27 May 2005 07:54:06 +0000 (07:54 +0000)]
2005-05-27  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config/rs6000/t-rtems: Remove roe multilib variant.

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

19 years ago * gcc.dg/setjmp-2.c: Only run in 32-bit.
aj [Fri, 27 May 2005 06:13:54 +0000 (06:13 +0000)]
* gcc.dg/setjmp-2.c: Only run in 32-bit.

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

19 years agoCorrect Martin Loewis's last name ("oe" was "o" with umlaut) mangled by
rmathew [Fri, 27 May 2005 05:22:05 +0000 (05:22 +0000)]
Correct Martin Loewis's last name ("oe" was "o" with umlaut) mangled by
my editor in the previous commit.

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

19 years ago PR java/19870.
rmathew [Fri, 27 May 2005 05:15:26 +0000 (05:15 +0000)]
PR java/19870.
* java-tree.h (OUTER_FIELD_ACCESS_IDENTIFIER_P): Rename to
NESTED_FIELD_ACCESS_IDENTIFIER_P.
(FIELD_INNER_ACCESS): Rename to FIELD_NESTED_ACCESS.
(FIELD_INNER_ACCESS_P): Rename to FIELD_NESTED_ACCESS_P.
* jcf-write.c (generate_classfile): Use
NESTED_FIELD_ACCESS_IDENTIFIER_P instead of
OUTER_FIELD_ACCESS_IDENTIFIER_P.
* parse.y (build_outer_field_access): Rename to
build_nested_field_access. Support static fields and outer-to-inner
class accesses.
(outer_field_access_p): Rename to nested_field_access_p. Support
static fields and generalise to outer-to-inner class and sibling
inner class accesses.
(outer_field_expanded_access_p): Rename to
nested_field_expanded_access_p and support static fields.
(outer_field_access_fix): Rename to nested_field_access_fix and
support static fields.
(build_outer_field_access_expr): Rename to
build_nested_field_access_expr and support static fields.
(build_outer_field_access_methods): Rename to
build_nested_field_access_methods and support static fields. For
static fields, generate accessors without class instance parameters.
(build_outer_field_access_method): Rename to
build_nested_field_access_method and support static fields.
(build_outer_method_access_method): Use
NESTED_FIELD_ACCESS_IDENTIFIER_P instead of
OUTER_FIELD_ACCESS_IDENTIFIER_P.
(resolve_expression_name): Consider static field accesses across
nested classes.
(resolve_qualified_expression_name): Likewise.
(java_complete_lhs): Use nested_field_access_fix instead of
outer_field_access_fix.
(patch_unary_op): Rename outer_field_flag to nested_field_flag.
Use nested_field_expanded_access_p instead of
outer_field_expanded_access_p. Use nested_field_access_fix instead
of outer_field_access_fix.
(check_thrown_exceptions): Use NESTED_FIELD_ACCESS_IDENTIFIER_P
instead of OUTER_FIELD_ACCESS_IDENTIFIER_P.

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

19 years ago Testsuite adjustments for PR java/19870.
rmathew [Fri, 27 May 2005 05:11:44 +0000 (05:11 +0000)]
Testsuite adjustments for PR java/19870.
* testsuite/libjava.lang/PR19870.java: New testcase.
* testsuite/libjava.lang/PR19870.out: Expected output for the
testcase.
* testsuite/libjava.jacks/jacks.xfail: Add
8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2

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

19 years ago * gcc.dg/i386-sse-8.c: Run test on all archs.
aj [Fri, 27 May 2005 05:06:43 +0000 (05:06 +0000)]
* gcc.dg/i386-sse-8.c: Run test on all archs.
        * gcc.dg/2002122-2.c: Fix compiler flags.

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

19 years ago2005-05-26 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 27 May 2005 04:53:37 +0000 (04:53 +0000)]
2005-05-26  Chris Demetriou  <cgd@broadcom.com>

        * MAINTAINERS (Write After Approval): Remove self.

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

19 years ago * objc.dg/isa-field-1.m: Only run on darwin.
mrs [Fri, 27 May 2005 03:36:42 +0000 (03:36 +0000)]
    * objc.dg/isa-field-1.m: Only run on darwin.
        * objc.dg/lookup-1.m: Likewise.
        * objc.dg/try-catch-8.m: Likewise.

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

19 years ago * objc.dg/comp-types-8.m, objc.dg/encode-6.m,
mrs [Fri, 27 May 2005 02:55:21 +0000 (02:55 +0000)]
    * objc.dg/comp-types-8.m, objc.dg/encode-6.m,
        objc.dg/extra-semi.m, objc.dg/fix-and-continue-2.m,
        objc.dg/isa-field-1.m, objc.dg/lookup-1.m, objc.dg/method-15.m,
        objc.dg/method-16.m, objc.dg/method-17.m, objc.dg/method-18.m,
        objc.dg/method-19.m, objc.dg/next-runtime-1.m,
        objc.dg/no-extra-load.m, objc.dg/pragma-1.m, objc.dg/stubify-1.m,
        objc.dg/stubify-2.m, objc.dg/super-class-4.m,
        objc.dg/super-dealloc-1.m, objc.dg/super-dealloc-2.m,
        objc.dg/try-catch-6.m, objc.dg/try-catch-7.m,
        objc.dg/try-catch-8.m: New.

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

19 years ago PR tree-optimization/9814
sayle [Fri, 27 May 2005 02:46:01 +0000 (02:46 +0000)]
PR tree-optimization/9814
* ifcvt.c (noce_emit_move_insn): If we fail to recognize the move
instruction, add the necessary clobbers by re-expanding the RTL
for arithmetic operations via optab.c's expand_unop/expand_binop.
(noce_try_bitop): New function to optimize bit manipulation idioms
of the form "if (x & C) x = x op C" and "if (!(x & C) x = x op C".
(noce_process_if_block): Call noce_try_bitop.

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

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

19 years ago * objc.dg/comp-types-8.m, objc.dg/encode-6.m,
mrs [Fri, 27 May 2005 02:38:16 +0000 (02:38 +0000)]
    * objc.dg/comp-types-8.m, objc.dg/encode-6.m,
        objc.dg/extra-semi.m, objc.dg/fix-and-continue-2.m,
        objc.dg/isa-field-1.m, objc.dg/lookup-1.m, objc.dg/method-15.m,
        objc.dg/method-16.m, objc.dg/method-17.m, objc.dg/method-18.m,
        objc.dg/method-19.m, objc.dg/next-runtime-1.m,
        objc.dg/no-extra-load.m, objc.dg/pragma-1.m, objc.dg/stubify-1.m,
        objc.dg/stubify-2.m, objc.dg/super-class-4.m,
        objc.dg/super-dealloc-1.m, objc.dg/super-dealloc-2.m,
        objc.dg/try-catch-6.m, objc.dg/try-catch-7.m,
        objc.dg/try-catch-8.m: New.

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

19 years ago * reg-stack.c (convert_regs_entry, convert_regs_exit,
sayle [Fri, 27 May 2005 01:58:07 +0000 (01:58 +0000)]
* reg-stack.c (convert_regs_entry, convert_regs_exit,
convert_regs_1, convert_regs_2, convert_regs): Delete prototypes.
(reg_to_stack): Move to end of the file.  Initialize the per
basic block information here, instead of...
(convert_regs_entry): Here.
(convert_regs): Change unused return type to void.

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

19 years agoDaily bump.
gccadmin [Fri, 27 May 2005 00:16:26 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * c-pch.c, timevar.c, timevar.h, unwind-compat.c,
kazu [Fri, 27 May 2005 00:14:08 +0000 (00:14 +0000)]
* c-pch.c, timevar.c, timevar.h, unwind-compat.c,
unwind-dw2-fde-compat.c, unwind-dw2-fde.c, config/mmix/mmix.h,
config/rs6000/eabispe.h, config/rs6000/lynx.h,
config/sh/elf.h, config/sh/symbian-pre.h,
config/sparc/sparc-protos.h: Update copyright.

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

19 years ago * darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers
mrs [Thu, 26 May 2005 23:19:29 +0000 (23:19 +0000)]
    * darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers
        for Objective-C++.

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

19 years agoFix last patch.
aj [Thu, 26 May 2005 22:00:56 +0000 (22:00 +0000)]
Fix last patch.

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

19 years agoFix last checkin
aj [Thu, 26 May 2005 21:40:35 +0000 (21:40 +0000)]
Fix last checkin

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

19 years ago * lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
janis [Thu, 26 May 2005 21:25:27 +0000 (21:25 +0000)]
* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
remove extraneous semicolons.

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