OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years ago * print-tree.c (print_node_brief, print_node): Print sign of Inf.
amylaar [Fri, 6 Oct 2006 15:59:47 +0000 (15:59 +0000)]
* print-tree.c (print_node_brief, print_node): Print sign of Inf.

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

17 years ago * config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Define
amylaar [Fri, 6 Oct 2006 14:44:18 +0000 (14:44 +0000)]
* config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Define

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

17 years ago * config/i386/sync.md ("sync_add<mode>", "sync_sub<mode>",
uros [Fri, 6 Oct 2006 11:51:29 +0000 (11:51 +0000)]
* config/i386/sync.md ("sync_add<mode>", "sync_sub<mode>",
"sync_ior<mode>", "sync_and<mode>", "sync_xor<mode>"):
Use <modeconstraint> instead of "r" as operand 1 constraint.

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

17 years ago2006-10-06 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 6 Oct 2006 11:47:56 +0000 (11:47 +0000)]
2006-10-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29368
* include/bits/basic_string.h: Adjust rfind documentation.
* include/ext/vstring.h: Likewise.

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

17 years ago2006-10-06 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 6 Oct 2006 09:57:43 +0000 (09:57 +0000)]
2006-10-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29354
* include/bits/sstream.tcc (basic_stringbuf<>::seekpos(pos_type,
ios_base::openmode)): Allow for seek to pos_type(off_type(0))
when the stream is empty.
* testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: New.
* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: New.

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

17 years ago * gimplify.c (gimplify_type_sizes) [POINTER_TYPE, REFERENCE_TYPE]:
hainque [Fri, 6 Oct 2006 09:12:09 +0000 (09:12 +0000)]
* gimplify.c (gimplify_type_sizes) [POINTER_TYPE, REFERENCE_TYPE]:
Don't recurse on the pointed-to type.
* c-decl.c (grokdeclarator) [cdk_pointer]: If we are in a NORMAL or
DECL context, attach an artificial TYPE_DECL to anonymous pointed-to
types with components of variable size.

* testsuite/gcc.dg/typename-vla-1.c: New case.
* testsuite/gnat.dg/forward_vla.adb: New case.

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

17 years ago * config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp.
dannysmith [Fri, 6 Oct 2006 08:46:18 +0000 (08:46 +0000)]
* config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp.

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

17 years ago * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
dannysmith [Fri, 6 Oct 2006 08:32:33 +0000 (08:32 +0000)]
* testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
'<' to '<='.

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

17 years ago * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
dannysmith [Fri, 6 Oct 2006 08:25:32 +0000 (08:25 +0000)]
* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
* configure: Regenerate.
* fortran.c  (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.

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

17 years ago * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
dannysmith [Fri, 6 Oct 2006 08:21:49 +0000 (08:21 +0000)]
* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
* configure: Regenerate.

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

17 years ago * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
dannysmith [Fri, 6 Oct 2006 08:21:22 +0000 (08:21 +0000)]
* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
* configure: Regenerate.

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

17 years ago PR tree-optimization/29290
jakub [Fri, 6 Oct 2006 07:27:28 +0000 (07:27 +0000)]
PR tree-optimization/29290
* tree-loop-linear.c (linear_transform_loops): Bail if loop_nest has
multiple exits.

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

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

17 years ago PR target/29198
jakub [Fri, 6 Oct 2006 07:25:02 +0000 (07:25 +0000)]
PR target/29198
* config/i386/i386.c (legitimize_pic_address): Reject TLS symbols.
* config/i386/predicates.md (local_symbolic_operand): Likewise.

* gcc.dg/tls/opt-12.c: New test.

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

17 years ago PR fortran/28415
jakub [Fri, 6 Oct 2006 07:23:00 +0000 (07:23 +0000)]
PR fortran/28415
* trans-decl.c (gfc_finish_var_decl): With -fno-automatic, don't
make artificial variables or pointer to variable automatic array
TREE_STATIC.

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

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

17 years ago PR c/29091
jakub [Fri, 6 Oct 2006 07:15:48 +0000 (07:15 +0000)]
PR c/29091
* varasm.c (output_constant): If TREE_VECTOR_CST_ELTS chain is shorter than
the number of vector elements fill the rest with zeros.

* gcc.dg/pr29091.c: New test.

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

17 years ago * scanner.c (skip_free_comments): Return bool instead of void.
jakub [Fri, 6 Oct 2006 07:10:55 +0000 (07:10 +0000)]
* scanner.c (skip_free_comments): Return bool instead of void.
(gfc_next_char_literal): Don't return ' ' if & is missing after
!$omp or !$.  Use skip_{free,fixed}_comments directly instead
of gfc_skip_comments.

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

17 years ago * lib/target-supports.exp
jsm28 [Fri, 6 Oct 2006 00:47:35 +0000 (00:47 +0000)]
* lib/target-supports.exp
(check_effective_target_vect_cmdline_needed): Handle i?86-*-* the
same as x86_64-*-*; check for LP64.

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

17 years agoDaily bump.
gccadmin [Fri, 6 Oct 2006 00:17:15 +0000 (00:17 +0000)]
Daily bump.

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

17 years agoUpdate comment
mrs [Thu, 5 Oct 2006 23:12:04 +0000 (23:12 +0000)]
Update comment

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

17 years agogcc/
rsandifo [Thu, 5 Oct 2006 22:19:35 +0000 (22:19 +0000)]
gcc/
* config/mips/mips.c (mips_pass_by_reference): Do not return false
for EABI if type is NULL.  Use a size check based on GET_MODE_SIZE
instead.

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

17 years ago2006-10-05 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Thu, 5 Oct 2006 21:21:53 +0000 (21:21 +0000)]
2006-10-05  Steven G. Kargl  <kargl@gcc.gnu.org>

* Makefile.am: Use $(M4) instead of m4.
* Makefile.in: Regenerated.

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

17 years ago * sv.po: Update.
jsm28 [Thu, 5 Oct 2006 17:03:18 +0000 (17:03 +0000)]
* sv.po: Update.

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

17 years ago * config/bfin/bfin.md (subsi3): Lose expander, change previously
bernds [Thu, 5 Oct 2006 10:46:41 +0000 (10:46 +0000)]
* config/bfin/bfin.md (subsi3): Lose expander, change previously
unnamed pattern into subsi3.  Use correct constraints/predicates.
* config/bfin/bfin.h (CONST_OK_FOR_K): Handle "KN7".
* config/bfin/predicates.md (reg_or_neg7bit_operand_p): New.

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

17 years ago2006-10-05 Gary Benson <gbenson@redhat.com>
gary [Thu, 5 Oct 2006 09:32:57 +0000 (09:32 +0000)]
2006-10-05  Gary Benson  <gbenson@redhat.com>

* java/net/SocketPermission.java
(processHostport): Cope with IPv6 addresses with a
one-digit first component.

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

17 years ago * doc/loop.texi: Add data references analysis description.
irar [Thu, 5 Oct 2006 08:47:11 +0000 (08:47 +0000)]
    * doc/loop.texi: Add data references analysis description.

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

17 years ago2006-10-04 Brooks Moses <bmoses@stanford.edu>
brooks [Thu, 5 Oct 2006 04:58:18 +0000 (04:58 +0000)]
2006-10-04  Brooks Moses  <bmoses@stanford.edu>

* gfortran.texi: (Current Status): update and rewrite to reflect
actual status more accurately.

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

17 years agoDaily bump.
gccadmin [Thu, 5 Oct 2006 00:17:15 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago2006-10-04 Brooks Moses <bmoses@stanford.edu>
brooks [Wed, 4 Oct 2006 23:07:39 +0000 (23:07 +0000)]
2006-10-04  Brooks Moses  <bmoses@stanford.edu>

* gfortran.texi: Consistently refer to the compiler as "GNU
Fortran".
* intrinsic.texi: Ditto.
* invoke.texi: Ditto.

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

17 years ago2006-10-04 Brooks Moses <bmoses@stanford.edu>
brooks [Wed, 4 Oct 2006 22:40:45 +0000 (22:40 +0000)]
2006-10-04  Brooks Moses  <bmoses@stanford.edu>

* doc/gcov.texi: Add formatting to "Invoking gcov" section head.

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

17 years agogcc/
rth [Wed, 4 Oct 2006 21:09:20 +0000 (21:09 +0000)]
gcc/
        * Makefile.in (libgcc.mk, LIBGCC_DEPS): Add emutls.c.
        * builtin-types.def (BT_WORD): Make unsigned.
        (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
        * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
        (BUILT_IN_EMUTLS_REGISTER_COMMON): New.
        * c-decl.c (grokdeclarator): Don't error if !have_tls.
        * c-parser.c (c_parser_omp_threadprivate): Likewise.
        * cgraph.c (decide_is_variable_needed): Look at force_output.
        Recurse for emulated tls.
        * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Remove
        checks redundant with decide_is_variable_needed.
        (cgraph_build_static_cdtor): Do cgraph_varpool_assemble_pending_decls.
        * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
        emulated tls.
        * expr.c (emutls_var_address): New.
        (expand_expr_real_1): Expand emulated tls.
        (expand_expr_addr_expr_1): Likewise.
        * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
        * output.h (emutls_finish): Declare.
        * toplev.c (compile_file): Call it.
        * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
        address before wrapping in CONST.
        * varasm.c (emutls_htab, emutls_object_type): New.
        (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
        (get_emutls_object_name, get_emutls_object_type): New.
        (get_emutls_init_templ_addr, emutls_decl): New.
        (emutls_common_1, emutls_finish): New.
        (assemble_variable): When emulating tls, swap decls; generate
        constructor for the emutls objects.
        (do_assemble_alias): When emulating tls, swap decl and target name.
        (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
        for emulated tls.
        * emutls.c: New file.
        * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
        tls_object for real tls.

gcc/cp/
        * decl.c (grokvardecl): Don't error if !have_tls.
        (grokdeclarator): Likewise.
        * parser.c (cp_parser_omp_threadprivate): Likewise.

gcc/fortran/
        * f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address
        and __emutls_register_common.
        * openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls.
        * trans-common.c (build_common_decl): Don't check have_tls.
        * trans-decl.c (gfc_finish_var_decl): Likewise.
        * types.def (BT_WORD, BT_FN_PTR_PTR): New.
        (BT_FN_VOID_PTR_WORD_WORD_PTR): New.

gcc/testsuite/
        * lib/target-supports.exp (check_effective_target_tls): Redefine
        to mean non-emulated tls.
        * gcc.dg/tls/alias-1.c: Remove tls requirement.
        * gcc.dg/tls/asm-1.c, gcc.dg/tls/debug-1.c, gcc.dg/tls/diag-1.c,
        gcc.dg/tls/diag-2.c, gcc.dg/tls/diag-3.c, gcc.dg/tls/diag-4.c,
        gcc.dg/tls/diag-5.c, gcc.dg/tls/init-1.c, gcc.dg/tls/nonpic-1.c,
        gcc.dg/tls/opt-10.c, gcc.dg/tls/opt-5.c, gcc.dg/tls/opt-6.c,
        gcc.dg/tls/opt-8.c, gcc.dg/tls/opt-9.c, gcc.dg/tls/pic-1.c,
        gcc.dg/tls/struct-1.c, gcc.dg/tls/trivial.c: Likewise.

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

17 years ago2006-10-04 Brooks Moses <bmoses@stanford.edu>
brooks [Wed, 4 Oct 2006 18:30:49 +0000 (18:30 +0000)]
2006-10-04  Brooks Moses  <bmoses@stanford.edu>

* MAINTAINERS (Write After Approval): Add myself.

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

17 years ago2006-10-04 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 4 Oct 2006 16:54:19 +0000 (16:54 +0000)]
2006-10-04  Paul Thomas <pault@gcc.gnu.org>

PR fortran/29343
* resolve.c (resolve_allocate_expr): Exclude derived types from
search for dependences between allocated variables and the
specification expressions for other allocations in the same
statement.

2006-10-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29343
* gfortran.dg/alloc_alloc_expr_2.f90: New test.

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

17 years ago Fix bug in constraint-check generator, reported by Rask Ingemann
zack [Wed, 4 Oct 2006 16:41:55 +0000 (16:41 +0000)]
Fix bug in constraint-check generator, reported by Rask Ingemann
Lambertsen:
* genpreds.c (add_constraint): Don't remove anything from the
expression here.
(write_tm_constrs_h): Detect whether "op" argument is used, and
mark it ARG_UNUSED if it isn't.
(write_insn_const_int_ok_for_constraint): Skip the part of the
expression that would test whether "op" (which is not available
here) is a CONST_INT.

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

17 years ago * gfortran.dg/bounds_check_fail_1.f90: New test.
fxcoudert [Wed, 4 Oct 2006 15:44:32 +0000 (15:44 +0000)]
* gfortran.dg/bounds_check_fail_1.f90: New test.

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

17 years ago2006-10-02 Ryan Mansfield <rmansfield@qnx.com>
rsandifo [Wed, 4 Oct 2006 10:21:08 +0000 (10:21 +0000)]
2006-10-02  Ryan Mansfield  <rmansfield@qnx.com>

PR c++/28448
* doc/invoke.texi (fdiagnostics-show-option): Fix typos.

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

17 years ago2006-10-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 4 Oct 2006 07:57:34 +0000 (07:57 +0000)]
2006-10-04  Benjamin Kosnik  <bkoz@redhat.com>
    Mike Stump  <mrs@apple.com>

* testsuite/27_io/ios_base/storage/2.cc: Fail on Darwin 8.[0-4].* only.
* testsuite/23_containers/vector/resize/1.cc: Same.

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

17 years ago2006-10-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 4 Oct 2006 07:52:14 +0000 (07:52 +0000)]
2006-10-04  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util/performance/priority_queue/mem_usage/
pop_test.hpp: Correct typo.
* testsuite/util/performance/assoc/mem_usage/
multimap_insert_test.hpp: Same.
* testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.

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

17 years ago PR c++/29020
mmitchel [Wed, 4 Oct 2006 06:53:55 +0000 (06:53 +0000)]
PR c++/29020
* friend.c (do_friend): Improve comments; add assertion.
* parser.c (cp_parser_nested_name_specifier_opt): Resolve
typenames for qualified names used in declarations, even when
caching qualified name lookup.
PR c++/29020
* g++.dg/template/friend48.C: New test.

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

17 years ago2006-10-04 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 4 Oct 2006 04:48:35 +0000 (04:48 +0000)]
2006-10-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29098
* resolve.c (resolve_structure_cons): Do not return FAILURE if
component expression is NULL.

2006-10-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29098
* gfortran.dg/default_initialization_2.f90: New test.

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

17 years ago * config/i386/darwin-libgcc.10.5.ver: Update to symbol list for
geoffk [Wed, 4 Oct 2006 01:38:30 +0000 (01:38 +0000)]
* config/i386/darwin-libgcc.10.5.ver: Update to symbol list for
current Leopard versions.
* config/rs6000/darwin-libgcc.10.5.ver: Likewise.

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

17 years agoDaily bump.
gccadmin [Wed, 4 Oct 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago2006-10-03 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 3 Oct 2006 21:40:24 +0000 (21:40 +0000)]
2006-10-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20779
PR fortran/20891
* resolve.c (find_sym_in_expr): New function that returns true
if a symbol is found in an expression.
(resolve_allocate_expr): Check whether the STAT variable is
itself allocated in the same statement.  Use the call above to
check whether any of the allocated arrays are used in array
specifications in the same statement.

2006-10-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20779
PR fortran/20891
* gfortran.dg/alloc_alloc_expr_1.f90: New test.

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

17 years ago2006-10-03 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Tue, 3 Oct 2006 21:28:05 +0000 (21:28 +0000)]
2006-10-03  Steven G. Kargl  <kargl@gcc.gnu.org>

* arith.c (gfc_check_real_range):  Use correct exponent range for
subnormal numbers.

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

17 years ago2006-10-03 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 3 Oct 2006 20:13:03 +0000 (20:13 +0000)]
2006-10-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29284
PR fortran/29321
PR fortran/29322
* trans-expr.c (gfc_conv_function_call): Check the expression
and the formal symbol are present when testing the actual
argument.

PR fortran/25091
PR fortran/25092
* resolve.c (resolve_entries): It is an error if the entries
of an array-valued function do not have the same shape.

2006-10-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29284
* gfortran.dg/optional_assumed_charlen_1.f90: New test.

PR fortran/29321
PR fortran/29322
* gfortran.dg/missing_optional_dummy_2.f90: New test.

PR fortran/25091
PR fortran/25092
* gfortran.dg/entry_array_specs_1.f90: New test.

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

17 years ago2006-10-03 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Tue, 3 Oct 2006 19:18:09 +0000 (19:18 +0000)]
2006-10-03  Steven G. Kargl  <kargl@gcc.gnu.org>

        * gfortran.dg/nearest_1.f90: Add -O0 because -ffloat-store is
        insufficient to inhibit some test failures at -O3.  Do testing
        on integers.

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

17 years ago PR c++/29138
mmitchel [Tue, 3 Oct 2006 18:39:32 +0000 (18:39 +0000)]
PR c++/29138
* decl2.c (grokfield): Don't handle access declarations here.
* parser.c (cp_parser_using_declaration): Handle access
declarations too.
(cp_parser_block_declaration): Adjust calls to
cp_parser_using_declaration.
(cp_parser_member_declaration): Likewise.  Use
cp_parser_using_declaration to look for access_declarations.
PR c++/29138
* g++.dg/inherit/access8.C: New test.
* g++.dg/template/dtor4.C: Tweak error messages.

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

17 years ago PR c++/29138
mmitchel [Tue, 3 Oct 2006 18:04:10 +0000 (18:04 +0000)]
PR c++/29138
* decl2.c (grokfield): Don't handle access declarations here.
* parser.c (cp_parser_using_declaration): Handle access
declarations too.
(cp_parser_block_declaration): Adjust calls to
cp_parser_using_declaration.
(cp_parser_member_declaration): Likewise.  Use
cp_parser_using_declaration to look for access_declarations.
PR c++/29138
* g++.dg/inherit/access8.C: New test.
* g++.dg/template/dtor4.C: Tweak error messages.

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

17 years ago2006-10-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 3 Oct 2006 17:01:57 +0000 (17:01 +0000)]
2006-10-03  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util/testsuite_allocator.h (allocation_tracker): To
tracker_allocator_counter.
(allocation_tracker::allocationTotal): To get_allocation_count.
(allocation_tracker::deallocationTotal): To get_deallocation_count.
(allocation_tracker::constructCount): To get_construct_count.
(allocation_tracker::destructCount): To get_destruct_count.
(allocation_tracker::resetCounts): To reset.
(tracker_alloc): To tracker_allocator.
* testsuite/util/performance/mem: Remove.
* testsuite/util/performance/mem/mem_track_allocator_base.hpp: Remove.
* testsuite/util/performance/mem/mem_track_allocator.hpp: Remove.
* testsuite/27_io/basic_stringbuf/4.cc: Adjust for new names
or includes.
* testsuite/ext/hash_set/check_construct_destroy.cc: Same.
* testsuite/ext/slist/check_construct_destroy.cc: Same.
* testsuite/performance/ext/pb_ds/
hash_random_int_erase_mem_usage.cc: Same.
* testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
* testsuite/performance/ext/pb_ds/
priority_queue_text_pop_mem_usage.cc: Same.
* testsuite/23_containers/vector/capacity/2.cc: Same.
* testsuite/23_containers/vector/cons/4.cc: Same.
* testsuite/23_containers/vector/check_construct_destroy.cc: Same.
* testsuite/23_containers/deque/cons/2.cc: Same.
* testsuite/23_containers/deque/check_construct_destroy.cc: Same.
* testsuite/23_containers/list/check_construct_destroy.cc: Same.
* testsuite/23_containers/set/check_construct_destroy.cc: Same.
* testsuite/util/testsuite_allocator.h
* testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp
* testsuite/util/performance/assoc/mem_usage/multimap_insert_test.hpp
* testsuite/util/performance/assoc/mem_usage/erase_test.hpp
* testsuite/util/testsuite_allocator.cc: Same.

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

17 years ago * utils.c: Fix a typo.
kazu [Tue, 3 Oct 2006 16:36:41 +0000 (16:36 +0000)]
* utils.c: Fix a typo.

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

17 years ago * decl.c, utils.c: Fix comment typos.
kazu [Tue, 3 Oct 2006 16:28:45 +0000 (16:28 +0000)]
* decl.c, utils.c: Fix comment typos.

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

17 years ago * doc/install.texi: Fix typos.
kazu [Tue, 3 Oct 2006 16:26:54 +0000 (16:26 +0000)]
* doc/install.texi: Fix typos.

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

17 years ago * builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX.
ebotcazou [Tue, 3 Oct 2006 16:25:00 +0000 (16:25 +0000)]
* builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX.
* doc/tm.texi (Basic Stack Layout): Document FRAME_ADDR_RTX.
* config/sparc/sparc.h (FRAME_ADDR_RTX): Define.

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

17 years agoAdd PR numbers for previously installed fix.
ghazi [Tue, 3 Oct 2006 16:17:57 +0000 (16:17 +0000)]
Add PR numbers for previously installed fix.

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

17 years ago2006-10-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 3 Oct 2006 14:26:14 +0000 (14:26 +0000)]
2006-10-03  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util/native_type/priority_queue/native_pq_tag.hpp: Remove.
* testsuite/util/statistic/sample_var.hpp: Rename to...
* testsuite/util/statistic/sample_variance.hpp: ... this.
* testsuite/util/statistic/res_recorder.hpp: Rename to...
* testsuite/util/statistic/result_recorder.hpp: ... this.
* testsuite/util/statistic/sample_mean.hpp: Format.
* testsuite/util/statistic/sample_mean_confidence_checker.hpp: Same.
* testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
* testsuite/util/regression/trait/erase_if_fn.hpp: Same.
* testsuite/util/regression/trait/assoc/trait.hpp: Same.
* testsuite/util/native_type/priority_queue/
native_priority_queue.hpp: Same.
* testsuite/util/native_type/assoc/native_tree_tag.hpp: Same.
* testsuite/util/native_type/assoc/native_hash_tag.hpp: Same.
* testsuite/util/native_type/assoc/native_hash_map.hpp: Same.
* testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/
modify_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
subscript_insert_test.hpp: Same.
* testsuite/util/performance/time/timing_test_base.hpp: Same.

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

17 years ago PR middle-end/27478
fxcoudert [Tue, 3 Oct 2006 13:44:09 +0000 (13:44 +0000)]
PR middle-end/27478

* trans-decl.c (gfc_get_fake_result_decl): Mark var as
TREE_ADDRESSABLE.

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

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

17 years ago2006-10-03 Gary Benson <gbenson@redhat.com>
gary [Tue, 3 Oct 2006 10:27:28 +0000 (10:27 +0000)]
2006-10-03  Gary Benson  <gbenson@redhat.com>

* java/net/InetAddress.java
(<clinit>): Reorder the static initializers.

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

17 years ago PR c++/29291
reichelt [Tue, 3 Oct 2006 10:08:22 +0000 (10:08 +0000)]
PR c++/29291
* init.c (build_new): Check for invalid init.

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

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

17 years ago * ChangeLog: Add missing entries to last entry.
uros [Tue, 3 Oct 2006 06:33:02 +0000 (06:33 +0000)]
* ChangeLog: Add missing entries to last entry.

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

17 years ago * gcc-dg/pthread-init-common.h: Define _GNU_SOURCE. Add tests for
uros [Tue, 3 Oct 2006 06:01:49 +0000 (06:01 +0000)]
    * gcc-dg/pthread-init-common.h: Define _GNU_SOURCE. Add tests for
        PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP,
        PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP,
        PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP and
        PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP mutex initializers.

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

17 years ago * inclhack.def (glibc_mutex_init): Also fix
uros [Tue, 3 Oct 2006 05:52:05 +0000 (05:52 +0000)]
* inclhack.def (glibc_mutex_init): Also fix
PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.

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

17 years ago2006-10-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 3 Oct 2006 04:09:49 +0000 (04:09 +0000)]
2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/19260
* gfortran.dg/continuation.f90: Rename to continuation_1.f90.
* gfortran.dg/continuation_2.f90: New test.

PR fortran/19262
* gfortran.dg/continuation_3.f90: New test.
* gfortran.dg/continuation_4.f90: New test.
* gfortran.dg/continuation_5.f: New test.
* gfortran.dg/continuation_6.f: New test.

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

17 years ago2006-10-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 3 Oct 2006 03:58:20 +0000 (03:58 +0000)]
2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR fortran/19262
    * gfortran.h (gfc_option_t): Add max_continue_fixed and max_continue_free.
    * options.c (gfc_init_options): Initialize fixed form and free form
    consecutive continuation line limits.
    * scanner.c (gfc_scanner_init_1): Initialize continue_line
    and continue_count. (gfc_next_char_literal): Count the number of
    continuation lines in the current statement and warn if
    limit is exceeded.

2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR fortran/19260
    * scanner.c (gfc_next_char_literal): Add check for missing '&'
    and warn if in_string, otherwise return ' '.

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

17 years ago * unwind-dw2-fde-darwin.c (getsectdatafromheader_64): Fix first
mrs [Tue, 3 Oct 2006 01:20:22 +0000 (01:20 +0000)]
* unwind-dw2-fde-darwin.c (getsectdatafromheader_64): Fix first
arg to be struct mach_header_64* instead.

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

17 years agoDaily bump.
gccadmin [Tue, 3 Oct 2006 00:17:16 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago PR c++/29226
mmitchel [Mon, 2 Oct 2006 22:21:02 +0000 (22:21 +0000)]
PR c++/29226
* typeck.c (cxx_sizeof_or_alignof_type): Tidy.  In templates, do
not try to actually evaluate sizeof for a VLA type.
PR c++/29226
* g++.dg/template/vla1.C: New test.

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

17 years ago2006-10-02 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 2 Oct 2006 16:09:19 +0000 (16:09 +0000)]
2006-10-02  Paolo Carlini  <pcarlini@suse.de>

* include/ext/rc_string_base.h (_M_compare<wchar_t>):
Protect with _GLIBCXX_USE_WCHAR_T.
* include/ext/sso_string_base.h (_M_compare<wchar_t>):
Likewise.
(__sso_string_base<>::_M_destroy): Inline.

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

17 years ago2006-10-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 2 Oct 2006 14:53:41 +0000 (14:53 +0000)]
2006-10-02  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pb_ds/detail/basic_types.hpp (comp_hash_): Remove,
format.
* include/ext/pb_ds/detail/types_traits.hpp
(types_traits::comp_hash): Use pair typedef.
* include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.

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

17 years ago2006-10-02 Gary Benson <gbenson@redhat.com>
gary [Mon, 2 Oct 2006 10:54:43 +0000 (10:54 +0000)]
2006-10-02  Gary Benson  <gbenson@redhat.com>

* java/net/InetAddress.java
(checkConnect): Reinstated.
(loopbackAddress): Ensure initialized from non-null object.

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

17 years ago PR fortran/29210
fxcoudert [Mon, 2 Oct 2006 09:21:45 +0000 (09:21 +0000)]
PR fortran/29210

* primary.c (match_sym_complex_part): Named constants as real or
imaginary part of complex a named constant are only allowed in
Fortran 2003.

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

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

17 years ago PR c/29154
jakub [Mon, 2 Oct 2006 06:11:49 +0000 (06:11 +0000)]
PR c/29154
* gimplify.c (gimplify_self_mod_expr): Run inner expression's post
side effects after the outer expression's post side effects.

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

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

17 years ago PR c++/29105
mmitchel [Mon, 2 Oct 2006 04:12:51 +0000 (04:12 +0000)]
PR c++/29105
* pt.c (tsubst_baselink): Substituteinto the qualifying scope.
* semantics.c (baselink_for_fns): Build a baselink, even when
processing a template.
PR c++/29105
* g++.dg/template/member6.C: New test.
* g++.dg/parse/typename7.C: Adjust error markers.

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

17 years ago PR c++/29080
mmitchel [Mon, 2 Oct 2006 04:12:30 +0000 (04:12 +0000)]
PR c++/29080
* parser.c (cp_parser_postfix_dot_deref_expression): Use
BASELINK_ACCESS_BINFO as the qualifying scope when calling
adjust_result_of_qualified_name_lookup.
PR c++/29080
* g++.dg/template/member7.C: New test.

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

17 years agoDaily bump.
gccadmin [Mon, 2 Oct 2006 00:17:15 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago2006-10-01 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 2 Oct 2006 00:12:50 +0000 (00:12 +0000)]
2006-10-01  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (xor_combine<>::_M_initialize_max_aux): New.
(xor_combine<>::operator()()): Tweak per N2079.
* include/tr1/random.tcc (xor_combine<>::_M_initialize_max_aux):
Define.
(xor_combine<>::_M_initialize_max): Use it.
* testsuite/tr1/5_numerical_facilities/random/xor_combine/
cons/default.cc: Adjust.
* docs/html/ext/tr1.html: Adjust.

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

17 years ago2006-10-01 Sandra Loosemore <sandra@codesourcery.com>
sandra [Sun, 1 Oct 2006 23:38:08 +0000 (23:38 +0000)]
2006-10-01  Sandra Loosemore  <sandra@codesourcery.com>

* gcc/tree.h (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET):  Fix
comments to reflect actual behavior and relationship between
DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET, and DECL_OFFSET_ALIGN.

* gcc/doc/c-tree.texi (Working with declarations): Fix documentation
of FIELD_DECL likewise.

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

17 years ago2006-10-01 Brooks Moses <bmoses@stanford.edu>
kargl [Sun, 1 Oct 2006 19:11:31 +0000 (19:11 +0000)]
2006-10-01  Brooks Moses  <bmoses@stanford.edu>

* gfortran.texi: Corrected references to MALLOC intrinsic.
* invoke.texi: Minor cleanup and clarification to the Dialect
Options section.

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

17 years ago2006-10-01 Ryan Mansfield <rmansfield@qnx.com>
sayle [Sun, 1 Oct 2006 19:03:24 +0000 (19:03 +0000)]
2006-10-01  Ryan Mansfield  <rmansfield@qnx.com>

PR c/20533
* doc/extend.texi: Add used variable attribute description.

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

17 years ago2006-10-01 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 1 Oct 2006 10:39:16 +0000 (10:39 +0000)]
2006-10-01  Paolo Carlini  <pcarlini@suse.de>

* include/ext/type_traits.h: Avoid _T, badname for some targets;
also avoid plain T.

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

17 years ago2006-10-01 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 1 Oct 2006 08:27:49 +0000 (08:27 +0000)]
2006-10-01  Paolo Carlini  <pcarlini@suse.de>

* config/io/basic_file_stdio.cc: As an extension, and
consistently with C facilities, allow for in|out|app and
in|out|app|binary openmodes.
* testsuite/27_io/basic_filebuf/open/char/4.cc: New.

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

17 years ago * libgfortran.h: Add prototype for internal_unpack_c16.
fxcoudert [Sun, 1 Oct 2006 07:54:09 +0000 (07:54 +0000)]
* libgfortran.h: Add prototype for internal_unpack_c16.

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

17 years ago * inclhack.def (pthread_mutex_init): New fix.
uros [Sun, 1 Oct 2006 05:47:33 +0000 (05:47 +0000)]
    * inclhack.def (pthread_mutex_init): New fix.
        * tests/base/pthread.h: Update.

        * fixincl.x: Regenerate.

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

17 years ago2006-09-30 Brooks Moses <bmoses@stanford.edu>
kargl [Sun, 1 Oct 2006 00:51:21 +0000 (00:51 +0000)]
2006-09-30  Brooks Moses  <bmoses@stanford.edu>

* invoke.texi:  Add mention of BOZ constants and integer
overflow to -fno-range-check.
* fortran.texi:  Add mention of -fno-range-check to
section on BOZ contants.

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

17 years agoDaily bump.
gccadmin [Sun, 1 Oct 2006 00:17:32 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago * intrinsics/f2c_specifics.F90: Special-case conjg functions so
fxcoudert [Sat, 30 Sep 2006 22:32:41 +0000 (22:32 +0000)]
* intrinsics/f2c_specifics.F90: Special-case conjg functions so
that their suffices are _4 and _8 instead of _c4 and _c8.

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

17 years ago PR c/24010
jsm28 [Sat, 30 Sep 2006 19:46:06 +0000 (19:46 +0000)]
PR c/24010
* c.opt (Woverride-init): New.
* c-opts.c (c_common_post_options): Default warn_override_init to
extra_warnings.
* c-typeck.c (add_pending_init, output_init_element): Warn for
overriding initializers without side effects.
* doc/invoke.texi (-Woverride-init): Document.
(-Wextra): Update.

testsuite:
* gcc.dg/Woverride-init-1.c, gcc.dg/Woverride-init-2.c,
gcc.dg/Woverride-init-3.c: New tests.

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

17 years ago * include/java-interp.h (prepared): Change type to pc_t.
kseitz [Sat, 30 Sep 2006 19:20:16 +0000 (19:20 +0000)]
    * include/java-interp.h (prepared): Change type to pc_t.
        (insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
        * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
        (insn_index): Implement for bytecode interpreter.
        * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
        qualifier to resolve_pool_entry.
        [!DIRECT_THREADED] (AVAL2U): Likewise.
        [!DIRECT_THREADED] bytecode() cannot be called without an object.
        Changed all typos.
        [!DIRECT_THREADED] Likewise for defining_class.

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

17 years ago2006-09-30 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Sat, 30 Sep 2006 19:10:54 +0000 (19:10 +0000)]
2006-09-30  Bernhard Fischer  <aldot@gcc.gnu.org>

* resolve.c: Fix commentary typo.  Fix whitespace.

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

17 years ago PR rtl-optimization/28096
ebotcazou [Sat, 30 Sep 2006 13:31:29 +0000 (13:31 +0000)]
PR rtl-optimization/28096
* ifcvt.c (check_cond_move_block): Return FALSE if the source of an
assignment has already been used as a destination earlier in the
block.

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

17 years ago2006-09-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 30 Sep 2006 10:25:12 +0000 (10:25 +0000)]
2006-09-30  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pb_ds/detail/types_traits.hpp (store_extra_false_type):
To false_type.
(store_extra_true_type): To true_type.
(no_throw_copies_true_type): To true_type.
(no_throw_copies_false_type): To false_type.
* include/ext/pb_ds/detail/cc_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
resize_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
entry_list_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
debug_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
debug_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
resize_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
find_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
debug_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
debug_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.

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

17 years ago2006-09-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 30 Sep 2006 00:39:20 +0000 (00:39 +0000)]
2006-09-29  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Formating fixes.
* include/ext/pb_ds/detail/basic_tree_policy/
null_node_metadata.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same.
* include/ext/pb_ds/detail/basic_types.hpp: Same.
* include/ext/pb_ds/detail/list_update_policy/
mtf_lu_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/list_update_policy/
counter_lu_metadata.hpp: Same.
* include/ext/pb_ds/detail/list_update_policy/
sample_update_policy.hpp: Same.
* include/ext/pb_ds/detail/list_update_policy/
counter_lu_policy_imp.hpp: Same.
* include/ext/pb_ds/list_update_policy.hpp: Same.

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

17 years agoDaily bump.
gccadmin [Sat, 30 Sep 2006 00:17:18 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago2006-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Fri, 29 Sep 2006 22:21:53 +0000 (22:21 +0000)]
2006-09-29  Steven G. Kargl  <kargl@gcc.gnu.org>

* intrinsics/cpu_time.c:  Add cpu_time_10 and cpu_time_16 routines.

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

17 years ago PR other/25035
jsm28 [Fri, 29 Sep 2006 21:18:51 +0000 (21:18 +0000)]
PR other/25035
* configure.ac (AC_EXEEXT): Remove.
(GCC_NO_EXECUTABLES): Call.
(ssp_use_symver): Default to no if unable to link.
(AC_CHECK_FUNCS): Hardwire results if unable to link.
* aclocal.m4, configure, Makefile.in: Regenerate.

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

17 years ago PR fortran/18791
fxcoudert [Fri, 29 Sep 2006 20:41:11 +0000 (20:41 +0000)]
    PR fortran/18791

        * gfortran.dg/specifics_1.f90: New test.
        * gfortran.fortran-torture/execute/specifics.f90: Add tests for
        complex specifics.

        * m4/specific.m4: Special-case cabs so that its return type is
        real. Special-case conjg so that their suffices are _4, _8, _10 and
        _16 instead of _c4, _c8, _c10 and _c16.
        * intrinsics/f2c_specifics.F90: Special-case conjg functions so
        that their suffices are _4 and _8 instead of _c4 and _c8.
        * generated/_conjg_c4.F90: Regenerate.
        * generated/_conjg_c8.F90: Regenerate.
        * generated/_conjg_c10.F90: Regenerate.
        * generated/_conjg_c16.F90: Regenerate.
        * generated/_abs_c4.F90: Regenerate.
        * generated/_abs_c8.F90: Regenerate.
        * generated/_abs_c10.F90: Regenerate.
        * generated/_abs_c16.F90: Regenerate.

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

17 years ago * gcc.dg/pthread-init-1.c, pthread-init-2.c,
ghazi [Fri, 29 Sep 2006 19:33:50 +0000 (19:33 +0000)]
* gcc.dg/pthread-init-1.c, pthread-init-2.c,
pthread-init-common.h: New.

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

17 years ago * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
ghazi [Fri, 29 Sep 2006 19:14:58 +0000 (19:14 +0000)]
* inclhack.def (solaris_mutex_init_2): Update for Solaris9.
Prevent it from running on solaris10 or later.
(solaris_once_init_2): Fix comment.
* tests/base/pthread.h: Update.

* fixincl.x: Regenerate.

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

17 years ago2006-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Fri, 29 Sep 2006 17:39:52 +0000 (17:39 +0000)]
2006-09-29  Steven G. Kargl  <kargl@gcc.gnu.org>

* gfortran.dg/nearest_1.f90: Add -ffloat-store to defeat extra
precision on some archs.

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

17 years ago2006-09-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 29 Sep 2006 13:38:58 +0000 (13:38 +0000)]
2006-09-29  Benjamin Kosnik  <bkoz@redhat.com>
            Howard Hinnant  <hhinnant@apple.com>
            Paolo Carlini  <pcarlini@suse.de>

* include/ext/type_traits.h (__remove_unsigned): Fix up for signed
char, bool, wchar_t, and floating point types.
(__add_unsigned): Same.
* testsuite/ext/type_traits: New.
* testsuite/ext/type_traits.cc: Move...
* testsuite/ext/type_traits/numeric_traits.cc: ...here.
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: New.
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: New.
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: New.
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: New.
* testsuite/ext/type_traits/add_unsigned.cc: New.
* testsuite/ext/type_traits/remove_unsigned.cc: New.

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

17 years ago * acinclude.m4 (enable_symvers): Default to no if unable to link.
jsm28 [Fri, 29 Sep 2006 12:19:45 +0000 (12:19 +0000)]
* acinclude.m4 (enable_symvers): Default to no if unable to link.
* configure: Regenerate.

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

17 years agoFix nits.
ebotcazou [Fri, 29 Sep 2006 06:52:47 +0000 (06:52 +0000)]
Fix nits.

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