OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago PR rtl-optimization/27616
ebotcazou [Mon, 4 Sep 2006 19:33:24 +0000 (19:33 +0000)]
PR rtl-optimization/27616
* cse.c (table_size): New static variable.
(new_basic_block): Initialize it to 0.
(remove_from_table): Decrement it.
(insert): Increment it.
(fold_rtx_mem_1): New function, renamed from fold_rtx_mem.
(fold_rtx_mem): Enforce a cap on the recursion depth.  Call
fold_rtx_mem_1 if under the cap.
(fold_rtx) <RTX_COMM_ARITH>: In the associative case, delay a little
the lookup of the equivalent expression and test for equality of the
first operand of the equivalent expression before in turn looking up
an equivalent constant for the second operand.

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

14 years agoRemove leading TAB.
ebotcazou [Mon, 4 Sep 2006 16:29:51 +0000 (16:29 +0000)]
Remove leading TAB.

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

14 years ago2006-09-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 4 Sep 2006 15:41:18 +0000 (15:41 +0000)]
2006-09-04  Benjamin Kosnik  <bkoz@redhat.com>

PR c++/28871
* include/ext/bitmap_allocator.h: Add comment for end of anonymous
namespace.
* include/ext/rope: Same.
* include/bits/cpp_type_traits.h: Same.
* include/tr1/tuple: Same.
* include/tr1/functional_iterate.h: Same.

* include/bits/cpp_type_traits.h: Revert anonymous namespace
change, use nested detail instead.

* testsuite/lib/libstdc++.exp (libstdc++_init): PCHFLAGS revert to
stdc++.h.

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

14 years agocp/
nathan [Mon, 4 Sep 2006 15:21:50 +0000 (15:21 +0000)]
cp/
PR 23287 Revert my 2006-09-01 patch.
* parser.c: Reverted.
* pt.c: Reverted.
testsuite/
PR c++/23287 Revert my 2006-09-01 patch
* g++.dg/parse/dtor12.C: Remove.

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

14 years ago2006-09-04 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 4 Sep 2006 08:00:35 +0000 (08:00 +0000)]
2006-09-04  Paolo Carlini  <pcarlini@suse.de>

* src/mt_allocator.cc (__pool<true>::_M_reclaim_block): Do
not name a variable __used, badname on BSD.

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

14 years agoDaily bump.
gccadmin [Mon, 4 Sep 2006 00:17:08 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * vi.po: Update.
jsm28 [Sun, 3 Sep 2006 11:54:34 +0000 (11:54 +0000)]
* vi.po: Update.

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

14 years ago * sv.po: Update.
jsm28 [Sun, 3 Sep 2006 11:52:48 +0000 (11:52 +0000)]
* sv.po: Update.

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

14 years agoDaily bump.
gccadmin [Sun, 3 Sep 2006 00:17:34 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2006-09-02 Lee Millward <lee.millward@codesourcery.com>
lmillward [Sat, 2 Sep 2006 14:15:37 +0000 (14:15 +0000)]
2006-09-02  Lee Millward  <lee.millward@codesourcery.com>

        PR c++/27670
        PR c++/27493
        PR c++/27494
        PR c++/27397
        * parser.c (cp_parser_template_parameter_list): Add
        invalid template parameters to the parameter list as
        error_mark_node.

        * g++.dg/template/operator9.C: New test.
        * g++.dg/template/operator7.C: New test.
        * g++.dg/template/operator8.C: New test.
        * g++.dg/template/crash57.C: New test.

        * g++.dg/template/typedef4.C: Adjust error markers.
        * g++.dg/template/typedef5.C: Likewise.

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

14 years ago2006-09-02 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 2 Sep 2006 08:31:45 +0000 (08:31 +0000)]
2006-09-02  Paolo Carlini  <pcarlini@suse.de>
    Richard Guenther  <rguenther@suse.de>

PR libstdc++/24469
* src/mt_allocator.cc (__pool<true>::_M_reserve_block,
__pool<true>::_M_reclaim_block): Fix the logic to avoid
races, exploit atomic counters stored in second part of
the memory pointed by _M_used.
(__pool<true>::_M_initialize): Adjust _M_used allocation.
* include/ext/mt_allocator.h (__pool<true>::_Bin_record):
Update comment.

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

14 years ago Revert this change:
geoffk [Sat, 2 Sep 2006 07:26:21 +0000 (07:26 +0000)]
Revert this change:
2006-03-17  Alexandre Oliva  <aoliva@redhat.com>
* dwarf2out.c (dwarf2out_stack_adjust): Always track the stack
pointer, instead of assuming it is possible to derive the
correct args size from a call insn.

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

14 years ago PR middle-end/27567
jakub [Sat, 2 Sep 2006 06:55:09 +0000 (06:55 +0000)]
PR middle-end/27567
* builtins.c (fold_builtin_memcpy, fold_builtin_memmove): Remove.
(fold_builtin_mempcpy): Rename to...
(fold_builtin_memory_op): ... this.  Optimize one element copy
into an assignment.
(fold_builtin_memset, fold_builtin_bzero, fold_builtin_bcopy): New
functions.
(expand_builtin_strcpy, expand_builtin_strncpy): Handle COMPOUND_EXPR.
(expand_builtin_memcpy, expand_builtin_mempcpy,
expand_builtin_memmove): Likewise.  Use fold_builtin_memory_op.
(fold_builtin_1): Handle BUILT_IN_MEMSET, BUILT_IN_BZERO and
BUILT_IN_BCOPY.  Use fold_builtin_memory_op for
BUILT_IN_MEM{CPY,PCPY,MOVE}.

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

14 years ago PR c++/28878
jakub [Sat, 2 Sep 2006 06:54:04 +0000 (06:54 +0000)]
PR c++/28878
* except.c (build_throw): Only set current_function_returns_abnormally
if cfun is not NULL.

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

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

14 years ago PR c++/26917
jakub [Sat, 2 Sep 2006 06:52:24 +0000 (06:52 +0000)]
PR c++/26917
* repo.c (repo_file): Remove.
(open_repo_file, reopen_repo_file_for_write): Return fopened
FILE * instead of setting global repo_file variable.
(init_repo): Adjust caller.
(finish_repo): Likewise.  Return instead of goto out before
reopen_repo_file_for_write has been called.

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

14 years ago* config/m32c/cond.md (cbranch<mode>4): Defer splitting until after reload.
dj [Sat, 2 Sep 2006 02:38:20 +0000 (02:38 +0000)]
* config/m32c/cond.md (cbranch<mode>4): Defer splitting until after reload.
(stzx_16): Likewise.
("stzx_24_<mode>"): Likewise.
("stzx_reversed_<mode>"): Likewise, and make mode-specific.
("cmp<mode>_op"): New.
(cmp<mode>): Change to expander; just save operands.
(b<code>_op): New.
(b<code>): Change to expander, emit compare here.
(s<code>_op): Change to use split and expander.
(s<code>_24_op): Likewise.
(s<code>_<mode>): New.
(s<code>_<mode>_24): New.
(movqicc_<code>_<mode): New.
(movhicc_<code>_<mode>): New.
(s<code>): New.
(s<code>_24): New.
* config/m32c/m32c.c (compare_op0, compare_op1): New.
(m32c_pend_compare): New.
(m32c_unpend_compare): New.
(m32c_expand_scc): New.
(m32c_expand_movcc): Emit the compare also.
* config/m32c/predicates.md (mra_nopp_operand): New.

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

14 years agoDaily bump.
gccadmin [Sat, 2 Sep 2006 00:17:34 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2006-09-01 J"orn Rennecke <joern.rennecke@st.com>
rguenth [Fri, 1 Sep 2006 20:25:34 +0000 (20:25 +0000)]
2006-09-01  J"orn Rennecke  <joern.rennecke@st.com>
Richard Guenther  <rguenther@suse.de>
Adam Nemet  <anemet@caviumnetworks.com>

PR middle-end/27226
* builtins.c (get_pointer_alignment): Handle more forms
of base addresses that can be used to derive more precise
information about alignment.

* gcc.target/mips/memcpy-1.c: New testcase.
* gcc.dg/pr27226.c: Likewise.

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

14 years ago * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
geoffk [Fri, 1 Sep 2006 19:52:10 +0000 (19:52 +0000)]
* testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
Pass -lgcj to linker for C++ files on Darwin.

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

14 years agocp/
nathan [Fri, 1 Sep 2006 18:10:17 +0000 (18:10 +0000)]
cp/
PR c++/28705
* semantics.c (finish_call_expr): Add assert.
* name-lookup.c (lookup_arg_dependent): Check we found an overload
or an object.
testsuite/
PR c++/28705
* g++.dg/lookup/koenig5.C: New.
* g++.dg/template/crash56.C: New.

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

14 years ago PR c++/28899
jason [Fri, 1 Sep 2006 17:59:41 +0000 (17:59 +0000)]
    PR c++/28899
        * gimplify.c (gimplify_modify_expr_rhs) [BIND_EXPR]: Handle
        want_value.

        * gimplify.c (voidify_wrapper_expr): Handle null type.

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

14 years ago * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
kseitz [Fri, 1 Sep 2006 17:58:22 +0000 (17:58 +0000)]
    * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
        (THREAD_CHECK_VALID): Likewise.
        (THREAD_CHECK_IS_ALIVE): Likewise.
        (NULL_CHECK): Likewise.
        (ILLEGAL_ARGUMENT): Likewise.

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

14 years ago * include/jvm.h (_Jv_JVMTI_Init): Declare.
kseitz [Fri, 1 Sep 2006 17:42:23 +0000 (17:42 +0000)]
    * include/jvm.h (_Jv_JVMTI_Init): Declare.
        * jvmti.cc (_Jv_JVMTI_Init): New function.
        * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.

        * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
        (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.

        * jvmti.cc (_jvmtiEnvironments): New linked list of
        JVMTI environments.
        (FOREACH_ENVIRONMENT): New macro.
        (_envListLock): New object to act as synchronization lock
        for _jvmtiEnvironments.
        (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
        Remove the environment from the list of known environments.
        (_Jv_GetJVMTIEnv): Add the new environment to the list
        of known environments.

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

14 years ago2006-09-01 Josh Conner <jconner@apple.com>
jconner [Fri, 1 Sep 2006 16:56:45 +0000 (16:56 +0000)]
2006-09-01  Josh Conner  <jconner@apple.com>

PR c++/25505
gcc.dg/nrv3.c: New test.
gcc.dg/nrv4.c: New test.
gcc.dg/nrv5.c: New test.

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

14 years ago2006-09-01 Josh Conner <jconner@apple.com>
jconner [Fri, 1 Sep 2006 16:56:14 +0000 (16:56 +0000)]
2006-09-01  Josh Conner  <jconner@apple.com>

PR c++/25505
* tree-nrv.c (dest_safe_for_nrv_p): New function.
(execute_return_slot_opt): Use it.

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

14 years ago2006-09-01 Gary Benson <gbenson@redhat.com>
gary [Fri, 1 Sep 2006 15:38:00 +0000 (15:38 +0000)]
2006-09-01  Gary Benson  <gbenson@redhat.com>

* java/net/InetAddress.java (getLocalHost): Refactor to avoid
security check if getLocalHostname() fails and to provide more
meaningful exceptions it the security check fails.

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

14 years agocp/
nathan [Fri, 1 Sep 2006 13:46:19 +0000 (13:46 +0000)]
cp/
PR c++/23287
* parser.c (cp_parser_id_expression): Add member_p
argument. Update all callers.
(cp_parser_unqualified_id): Likewise.  Lookup a destructor name in
the object's scope, if valid.
(cp_parser_global_scope_opt): Add object_scope_valid_p.  Update
callers.
(cp_parser_postfix_dot_deref_expression): Set object_scope.
* pt.c (tsubst_copy_and_build): Lookup dependent dtor name here.
testsuite/
PR c++/23287
* g++.dg/parse/dtor12.C: New.

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

14 years ago2006-09-01 Gary Benson <gbenson@redhat.com>
gary [Fri, 1 Sep 2006 13:30:50 +0000 (13:30 +0000)]
2006-09-01  Gary Benson  <gbenson@redhat.com>

* java/net/InetAddress.java (getByAddress): Create Inet4Address
objects when passed IPv4-mapped IPv6 addresses.
(getByName, getAllByName): Defer to the above to ensure that the
correct Inet*Address objects are returned.

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

14 years ago2006-09-01 Gary Benson <gbenson@redhat.com>
gary [Fri, 1 Sep 2006 10:06:13 +0000 (10:06 +0000)]
2006-09-01  Gary Benson  <gbenson@redhat.com>

* java/net/InetAddress.java (getByName, getAllByName):
Only perform security check when DNS lookups are required.

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

14 years agoDaily bump.
gccadmin [Fri, 1 Sep 2006 00:17:23 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2006-08-31 Josh Conner <jconner@apple.com>
jconner [Thu, 31 Aug 2006 23:44:00 +0000 (23:44 +0000)]
2006-08-31  Josh Conner  <jconner@apple.com>

PR c++/25505
* tree-gimple.c (is_gimple_mem_rhs): Recognize functions
returning aggregates.

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

14 years ago * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
kseitz [Thu, 31 Aug 2006 22:56:23 +0000 (22:56 +0000)]
    * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
        Pass millis to _Jv_CondWait.

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

14 years ago * include/jvmti.h: Update from Classpath to get latest fixes and
kseitz [Thu, 31 Aug 2006 22:37:48 +0000 (22:37 +0000)]
    * include/jvmti.h: Update from Classpath to get latest fixes and
        improvements.

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

14 years ago * include/jvmti_md.h: New file.
kseitz [Thu, 31 Aug 2006 22:37:25 +0000 (22:37 +0000)]
    * include/jvmti_md.h: New file.

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

14 years ago2006-08-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 31 Aug 2006 22:20:09 +0000 (22:20 +0000)]
2006-08-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/28671 continued
* acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't use
CXXFLAGS when checking for atomic builtins.
* configure: Regenerate.
* include/bits/atomicity.h: Revert.

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

14 years ago2006-08-31 Richard Guenther <rguenther@suse.de>
paolo [Thu, 31 Aug 2006 19:52:16 +0000 (19:52 +0000)]
2006-08-31  Richard Guenther  <rguenther@suse.de>

* include/ext/mt_allocator.h: Remove volatile qualifiers
from data members and corresponding locals and function
signatures.

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

14 years ago PR tree-optimization/28839
rakdver [Thu, 31 Aug 2006 19:33:56 +0000 (19:33 +0000)]
PR tree-optimization/28839
* tree-into-ssa.c (prune_unused_phi_nodes): Take into account kills in
blocks in that phi arguments appear.

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

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

14 years ago PR other/22313
sayle [Thu, 31 Aug 2006 17:35:32 +0000 (17:35 +0000)]
PR other/22313
* dwarf2out.c (add_fde_cfi): Use a set_loc if the current label is
NULL, otherwise use an advance_loc4 to adjust relative to the
current label.
(output_cfi) <DW_CFA_set_loc>: Update the current label.
(dwarf2out_switch_text_section): Reset the current label to avoid
using advance_loc4 over section boundaries.

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

14 years ago PR libgcj/28698:
tromey [Thu, 31 Aug 2006 17:23:57 +0000 (17:23 +0000)]
PR libgcj/28698:
* libgcj_bc.c (DECLARE_PRIM_TYPE): New macro.  Declare primitive
classes.

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

14 years ago2006-08-31 Paolo Carlini <pcarlini@suse.de>
bkoz [Thu, 31 Aug 2006 11:46:31 +0000 (11:46 +0000)]
2006-08-31  Paolo Carlini  <pcarlini@suse.de>

* config/abi/pre/gnu.ver: Correct atomic helper function signature
for case where _Atomic_word is long.

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

14 years ago2006-08-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 31 Aug 2006 10:45:59 +0000 (10:45 +0000)]
2006-08-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/28671
* include/bits/atomicity.h (__exchange_and_add): Declare only.
(__atomic_add): Same.
* config/cpu/generic/atomicity_builtins/atomicity.h: Remove comment.

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

14 years ago2006-08-31 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Thu, 31 Aug 2006 07:43:36 +0000 (07:43 +0000)]
2006-08-31  Andreas Krebbel  <krebbel1@de.ibm.com>

PR target/24367
* config/s390/s390.md ("movsi", "movdi" expander): Accept rtxes like
r12 + SYMBOLIC_CONST.

2006-08-31  Andreas Krebbel  <krebbel1@de.ibm.com>

PR target/24367
* gcc.dg/pr24367.c: New testcase.

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

14 years agoDaily bump.
gccadmin [Thu, 31 Aug 2006 00:17:15 +0000 (00:17 +0000)]
Daily bump.

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

14 years agoFixed attribution for patch for PR tree-optimization/17506
amylaar [Wed, 30 Aug 2006 18:57:54 +0000 (18:57 +0000)]
Fixed attribution for patch for PR tree-optimization/17506

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

14 years ago PR c++/26670
jason [Wed, 30 Aug 2006 15:51:17 +0000 (15:51 +0000)]
    PR c++/26670
        * class.c (check_field_decls): Don't unset TYPE_PACKED until all
        the fields have been processed.

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

14 years ago * match.c: Fix a comment typo.
kazu [Wed, 30 Aug 2006 15:10:26 +0000 (15:10 +0000)]
* match.c: Fix a comment typo.

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

14 years ago * gcc.dg/arm-mmx-1.c: Skip for -mfloat-abi=softfp.
jsm28 [Wed, 30 Aug 2006 14:35:14 +0000 (14:35 +0000)]
* gcc.dg/arm-mmx-1.c: Skip for -mfloat-abi=softfp.

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

14 years ago2006-08-30 Corinna Vinschen <corinna@vinschen.de>
dj [Wed, 30 Aug 2006 13:48:49 +0000 (13:48 +0000)]
2006-08-30  Corinna Vinschen  <corinna@vinschen.de>
* configure.in: Never build newlib for a Mingw host.
Never build newlib as Mingw target library.
Test the existence of winsup/cygwin for building a Cygwin newlib,
rather than just winsup.
Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if
building a Mingw target.
* configure: Regenerate.

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

14 years ago2006-08-30 Corinna Vinschen <corinna@vinschen.de>
dj [Wed, 30 Aug 2006 13:46:50 +0000 (13:46 +0000)]
2006-08-30  Corinna Vinschen  <corinna@vinschen.de>
* configure.ac: Add case for Mingw as host.
* configure: Regenerate.

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

14 years ago2006-08-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 30 Aug 2006 09:39:45 +0000 (09:39 +0000)]
2006-08-30  Benjamin Kosnik  <bkoz@redhat.com>
            Richard Guenther  <rguenther@suse.de>

* config/abi/pre/gnu.ver: Spell out exact signatures for atomic
access functions.

* include/bits/atomicity.h (__atomic_add_dispatch): Remove
volatile qualification for _Atomic_word argument.
(__atomic_add_single): Same.
(__exchange_and_add_dispatch): Same.
(__exchange_and_add_single): Same.

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

14 years ago2006-08-30 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 30 Aug 2006 09:12:48 +0000 (09:12 +0000)]
2006-08-30  Richard Guenther  <rguenther@suse.de>

* Makefile.in (see.o): Add $(EXPR_H) dependency.

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

14 years ago PR rtl-optimization/27735
rakdver [Wed, 30 Aug 2006 08:14:29 +0000 (08:14 +0000)]
PR rtl-optimization/27735
* cfgloopmanip.c (fix_loop_placements, fix_bb_placements, unloop):
Add new argument to keep track of whether an irreducible region
was affected.  All callers changed.
(fix_irreducible_loops): Removed.
(remove_path): Call mark_irreducible_loops if EDGE_IRREDUCIBLE_LOOP
flags were invalidated.

* gcc.dg/loop-unswitch-1.c: New test.

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

14 years ago PR middle-end/26632
kazu [Wed, 30 Aug 2006 06:00:35 +0000 (06:00 +0000)]
PR middle-end/26632
* gcc.dg/pr26632.c: New.

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

14 years ago2006-08-30 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 30 Aug 2006 05:18:36 +0000 (05:18 +0000)]
2006-08-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28885
REGRESSION FIX
* trans-expr.c (gfc_conv_aliased_arg): Ensure that the temp
declaration is retained for INTENT(OUT) arguments.

PR fortran/28873
REGRESSION FIX
PR fortran/20067
* resolve.c (resolve_generic_f): Make error message more
comprehensible.
(resolve_generic_s): Restructure search for specific procedures
to be similar to resolve_generic_f and change to similar error
message.  Ensure that symbol reference is refreshed, in case
the search produces a NULL.
(resolve_specific_s): Restructure search, as above and as
resolve_specific_f. Ensure that symbol reference is refreshed,
in case the search produces a NULL.

PR fortran/25077
PR fortran/25102
* interface.c (check_operator_interface): Throw error if the
interface assignment tries to change intrinsic type assigments
or has less than two arguments.  Also, it is an error if an
interface operator contains an alternate return.

PR fortran/24866
* parse.c (gfc_fixup_sibling_symbols): Do not modify the symbol
if it is a dummy in the contained namespace.

2006-08-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28885
* gfortran.dg/aliasing_dummy_2.f90: New test.

PR fortran/20067
* gfortran.dg/generic_5.f90: Change error message.

PR fortran/28873
* gfortran.dg/generic_6.f90: New test.

PR fortran/25077
* gfortran.dg/redefined_intrinsic_assignment.f90: New test.

PR fortran/25102
* gfortran.dg/invalid_interface_assignment.f90: New test.

PR fortran/24866
* gfortran.dg/module_proc_external_dummy.f90: New test.

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

14 years ago2006-08-29 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 30 Aug 2006 04:33:10 +0000 (04:33 +0000)]
2006-08-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/28349
        * testsuite/g++.dg/warn/var-args1.C: New test.
2006-08-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28349
        * call.c (build_x_va_arg): Remove the reference type
        from the type before creating the pointer type.

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

14 years agoDaily bump.
gccadmin [Wed, 30 Aug 2006 00:17:13 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2006-08-29 Steven G. Kargl <kargls@comcast.net>
kargl [Tue, 29 Aug 2006 19:47:31 +0000 (19:47 +0000)]
2006-08-29  Steven G. Kargl  <kargls@comcast.net>

PR fortran/28866
* match.c: Wrap copyright.
(gfc_match_assignment):  Return MATCH_NO for failed lvalue.  Remove
gotos.  Move error handling of FL_PARAMETER to ...
  * gfc_match_if: Deal with MATCH_NO from above.
* primary.c: Wrap copyright.
(match_variable): ... here.  Improve error messages.

2006-08-29  Steven G. Kargl  <kargls@comcast.net>

PR fortran/28866
* gfortran.dg/simpleif_2.f90: New test.
* gfortran.dg/pr19936_1.f90: Adjust dg-error message.
* gfortran.dg/enum_5.f90: Ditto.

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

14 years ago2006-08-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 29 Aug 2006 18:47:20 +0000 (18:47 +0000)]
2006-08-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.md (*fop_df_comm_mixed): Match DF operands
instead of SF operands.
(*fop_df_comm_sse): Likewise.
(*fop_df_comm_i387): Likewise.
(*fop_df_1_mixed): Likewise.
(*fop_df_1_sse): Likewise.

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

14 years agogcc:
amylaar [Tue, 29 Aug 2006 15:52:54 +0000 (15:52 +0000)]
gcc:

2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
    J"orn Rennecke  <joern.rennecke@st.com>

PR tree-optimization/17506
* tree-ssa.c (warn_uninit): If warning about a location outside of
the current function, note where the variable was declared.

testsuite:

2006-08-29  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
    Kazu Hirata  <kazu@codesourcery.com>

PR tree-optimization/17506
* gcc.dg/pr17506.c: New.

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

14 years agoApply Andrew Pinski's amendment (i.e. use __SIZE_TYPE__)
amylaar [Tue, 29 Aug 2006 15:08:07 +0000 (15:08 +0000)]
Apply Andrew Pinski's amendment (i.e. use __SIZE_TYPE__)

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

14 years agocp:
amylaar [Tue, 29 Aug 2006 14:34:36 +0000 (14:34 +0000)]
cp:
PR c++/28139
* except.c (expand_start_catch_block): Use correct types for bitwise
copy.
testsuite:
PR c++/28139
* g++.dg/eh/alias1.C: New test.

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

14 years ago2006-08-29 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 29 Aug 2006 11:46:54 +0000 (11:46 +0000)]
2006-08-29  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (subtract_with_carry_01<>::_M_initialize_npows):
New.
(subtract_with_carry_01<>::subtract_with_carry_01(),
subtract_with_carry_01<>::subtract_with_carry_01(unsigned long),
subtract_with_carry_01<>::subtract_with_carry_01(_Gen&)): Use it.
* include/tr1/random.tcc: Define.

* include/tr1/random (xor_combine<>::_M_initialize_max()): New.
(xor_combine<>::xor_combine(), xor_combine<>::xor_combine(const
base1_type&, const base2_type&), xor_combine<>::xor_combine(unsigned
long), xor_combine<>::xor_combine(_Gen&)): Use it.
(xor_combine<>::min, xor_combine<>::max): Adjust.
* include/tr1/random.tcc: Define.

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

14 years ago2006-08-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 29 Aug 2006 10:53:04 +0000 (10:53 +0000)]
2006-08-29  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4(glibcxx_PCHFLAGS): Set to stdtr1c++.h.
* configure: Regenerate.

* scripts/check_compile: Output current compile line.

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

14 years ago2006-08-29 Gary Benson <gbenson@redhat.com>
gary [Tue, 29 Aug 2006 08:15:29 +0000 (08:15 +0000)]
2006-08-29  Gary Benson  <gbenson@redhat.com>

* java/net/SocketPermission.java
(maybeBracketIPv6Address): New method.
(<init>): Pass the hostport argument through the above.

* java/net/NetworkInterface.java (getInetAddresses):
Revert the previous change.

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

14 years ago PR c++/26670
jason [Tue, 29 Aug 2006 07:10:38 +0000 (07:10 +0000)]
    PR c++/26670
        * class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
        fields can't be packed.

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

14 years ago PR c++/26670
jason [Tue, 29 Aug 2006 06:55:35 +0000 (06:55 +0000)]
    PR c++/26670
        * class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
        fields can't be packed.

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

14 years ago PR c++/26577
jason [Tue, 29 Aug 2006 06:55:03 +0000 (06:55 +0000)]
    PR c++/26577
        * cvt.c (convert_to_void): Don't automatically load from volatiles
        of TREE_ADDRESSABLE type.

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

14 years ago2006-08-29 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 29 Aug 2006 04:51:32 +0000 (04:51 +0000)]
2006-08-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28788
REGRESSION FIX
* symbol.c (gfc_use_derived): Never eliminate the symbol,
following reassociation of use associated derived types.

2006-08-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28788
* gfortran.dg/used_types_5.f90: New test.
* gfortran.dg/used_types_6.f90: New test.

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

14 years ago PR c++/27714
jason [Tue, 29 Aug 2006 04:42:46 +0000 (04:42 +0000)]
    PR c++/27714
        * pt.c (push_template_decl_real): A friend template with class
        scope isn't primary.

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

14 years agoFix white spaces.
pinskia [Tue, 29 Aug 2006 03:23:04 +0000 (03:23 +0000)]
Fix white spaces.

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

14 years agoDaily bump.
gccadmin [Tue, 29 Aug 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR c++/28860
reichelt [Mon, 28 Aug 2006 22:34:55 +0000 (22:34 +0000)]
PR c++/28860
* cp-tree.h (maybe_process_partial_specialization): Return
tree instead of void.
* parser.c (cp_parser_class_head): Use return value of
maybe_process_partial_specialization.
* pt.c (maybe_process_partial_specialization): Return error_mark_node
for broken specializations, TYPE otherwise.  Check for template
template parameters.

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

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

14 years ago PR tree-optimization/28411
rakdver [Mon, 28 Aug 2006 21:15:19 +0000 (21:15 +0000)]
PR tree-optimization/28411
* double-int.c (double_int_div): Use double_int_divmod.
(double_int_divmod, double_int_sdivmod, double_int_udivmod,
double_int_mod, double_int_smod, double_int_umod): New functions.
* double-int.h (double_int_divmod, double_int_sdivmod,
double_int_udivmod, double_int_mod, double_int_smod, double_int_umod):
Declare.
* tree-ssa-loop-ivopts.c (constant_multiple_of): Returns the result
in double_int.
(get_computation_aff, get_computation_cost_at): Handle double_int
return type of constant_multiple_of.

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

14 years ago2006-08-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 28 Aug 2006 20:18:22 +0000 (20:18 +0000)]
2006-08-28  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/23773 partial
* docs/html/abi.html: Update.

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

14 years ago2006-08-28 Roger Sayle <roger@eyesopen.com>
paolo [Mon, 28 Aug 2006 18:32:35 +0000 (18:32 +0000)]
2006-08-28  Roger Sayle  <roger@eyesopen.com>
    Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h (__heap_select, __introselect): New.
(nth_element): New implementation.
(partial_copy): Use __heap_select.
* testsuite/performance/25_algorithms/nth_element_worst_case.cc: New.

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

14 years agogcc/
kazu [Mon, 28 Aug 2006 17:18:29 +0000 (17:18 +0000)]
gcc/
PR middle-end/26632
* convert.c (convert_to_integer): Set TREE_NO_WARNING to 1 on
an implicit conversion.

gcc/testsuite/
PR middle-end/26632
* gcc.dg/pr26632.c: New.

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

14 years ago * config/h8300/h8300.c (TARGET_DEFAULT_TARGET_FLAGS): New.
kazu [Mon, 28 Aug 2006 13:51:04 +0000 (13:51 +0000)]
* config/h8300/h8300.c (TARGET_DEFAULT_TARGET_FLAGS): New.

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

14 years ago2006-08-28 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 28 Aug 2006 13:26:22 +0000 (13:26 +0000)]
2006-08-28  Paolo Carlini  <pcarlini@suse.de>
    Roger Sayle  <roger@eyesopen.com>

* testsuite/25_algorithms/nth_element/2.cc: New.

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

14 years ago2006-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 28 Aug 2006 05:17:09 +0000 (05:17 +0000)]
2006-08-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/28354
* gfortran.dg/fmt_zero_precision.f90: New test.

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

14 years ago2006-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 28 Aug 2006 05:14:05 +0000 (05:14 +0000)]
2006-08-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/28354
* io/write.c: Check for special case of zero precision in format
and pre-round the real value.

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

14 years ago * ifcvt.c (cheap_bb_rtx_cost_p): Don't speculatively execute
sayle [Mon, 28 Aug 2006 00:58:47 +0000 (00:58 +0000)]
* ifcvt.c (cheap_bb_rtx_cost_p): Don't speculatively execute
x87 instructions.

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

14 years agoDaily bump.
gccadmin [Mon, 28 Aug 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR driver/27622
ian [Sun, 27 Aug 2006 23:50:30 +0000 (23:50 +0000)]
PR driver/27622
* pex-common.h (struct pex_funcs): Add toclose parameter to
exec_child field.
* pex-common.c (pex_run_in_environment): Pass toclose to
exec_child.
* pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
* pex-unix.c (pex_unix_exec_child): Likewise.
* pex-msdos.c (pex_msdos_exec_child): Likewise.
* pex-win32.c (pex_win32_exec_child): Likewise.

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

14 years ago PR other/28797
ian [Sun, 27 Aug 2006 21:42:55 +0000 (21:42 +0000)]
PR other/28797
* cp-demangle.c (d_pointer_to_member_type): Do add a substitution
for a qualified member which is not a function.
* testsuite/demangle-expected: Add test case.

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

14 years ago PR c++/28058
mmitchel [Sun, 27 Aug 2006 17:45:25 +0000 (17:45 +0000)]
PR c++/28058
* pt.c (register_specialization): Return error_mark_node for
specialization-after-instantiation.
* decl2.c (mark_used): Mark the main function used when one of its
clones is used.

PR c++/28058
* g++.dg/template/spec31.C: New test.

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

14 years ago PR c++/26573
lmillward [Sun, 27 Aug 2006 15:22:05 +0000 (15:22 +0000)]
    PR c++/26573
        * class.c (check_field_decls): Don't issue error about
        local classes containing static data members.

        * g++.dg/other/static2.C: New test.

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

14 years ago2006-08-27 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 27 Aug 2006 15:19:23 +0000 (15:19 +0000)]
2006-08-27  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/28830
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
lockfree_weaktoshared.cc: Rename to...
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
default_weaktoshared.cc: ... this; test the default base class.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
mutex_weaktoshared.cc: Run like the other thread tests.

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

14 years ago * config/i386/crtfastmath.c: Fix a comment typo.
kazu [Sun, 27 Aug 2006 06:46:38 +0000 (06:46 +0000)]
* config/i386/crtfastmath.c: Fix a comment typo.

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

14 years agoDaily bump.
gccadmin [Sun, 27 Aug 2006 00:17:22 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * tree.h (CASE_LOW_SEEN, CASE_HIGH_SEEN): New macros for manipulating
sayle [Sat, 26 Aug 2006 23:51:14 +0000 (23:51 +0000)]
* tree.h (CASE_LOW_SEEN, CASE_HIGH_SEEN): New macros for manipulating
temporary visit flags on CASE_LABEL_EXPRs.
* c-common.c (match_case_to_enum): Add function comment.  Avoid
O(N) loop, by looking up both CASE_LOW_SEEN and CASE_HIGH_SEEN.
(c_do_switch_warnings):  Reorganize to record CASE_LOW_SEEN and
CASE_HIGH_SEEN for enumerated types.  If the switch expression is
a constant, only warn if that constant value isn't handled.

* gcc.dg/Wswitch-enum-2.c: New test case.
* gcc.dg/Wswitch-enum-3.c: Likewise.

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

14 years ago2006-08-26 Steven G. Kargl <kargls@comcast.net>
kargl [Sat, 26 Aug 2006 21:55:28 +0000 (21:55 +0000)]
2006-08-26  Steven G. Kargl  <kargls@comcast.net>

* arith.h: Update Copyright dates.  Fix whitespace.
* arith.c: Update Copyright dates.  Fix whitespace.  Fix comments.
(gfc_arith_done_1): Clean up pedantic_min_int and subnormal.

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

14 years ago PR c++/24009
jsm28 [Sat, 26 Aug 2006 21:38:46 +0000 (21:38 +0000)]
PR c++/24009
* input.h (restore_input_file_stack): Declare.
(INPUT_FILE_STACK_BITS): Define.
* toplev.c (fs_p, input_file_stack_history,
input_file_stack_restored, restore_input_file_stack): New.
(push_srcloc, pop_srcloc): Check for input_file_stack_tick
overflowing INPUT_FILE_STACK_BITS bits.  Save new state of stack.
(pop_srcloc): Don't free old state of stack.

cp:
* parser.c (struct cp_token): Add input_file_stack_index.
(eof_token): Update.
(cp_lexer_get_preprocessor_token): Save input_file_stack_tick.
(cp_lexer_set_source_position_from_token): Restore input file
stack.

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

14 years ago PR target/27544
dje [Sat, 26 Aug 2006 21:36:39 +0000 (21:36 +0000)]
    PR target/27544
        * doc/extend.texi (PowerPC Variable Attributes): Mention altivec.
        (PowerPC Type Attributes): New.

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

14 years ago2006-08-26 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 26 Aug 2006 19:27:17 +0000 (19:27 +0000)]
2006-08-26  Richard Guenther  <rguenther@suse.de>

* gcc.c-torture/compile/20060826-1.c: New testcase.

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

14 years ago PR libgomp/25938
jsm28 [Sat, 26 Aug 2006 18:30:44 +0000 (18:30 +0000)]
PR libgomp/25938
* Makefile.am (libsubincludedir): New.
(nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
* Makefile.in: Regenerate.

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

14 years ago PR c++/28736
lmillward [Sat, 26 Aug 2006 17:41:18 +0000 (17:41 +0000)]
    PR c++/28736
        PR c++/28737
        PR c++/28738
        * pt.c (process_template_parm): Store invalid template
        parameters as a TREE_LIST with a TREE_VALUE of error_mark_node.
        (push_inline_template_parms_recursive): Check for template
        parameters having a TREE_VALUE of error_mark_node rather than
        check the parameter itself.
        (mangle_class_name_for_template): Likewise.
        (comp_template_parms): When comparing the individual template
        parameters, return 1 if either is error_mark_node.
        (current_template_args): Robustify.
        (redeclare_class_template): Likewise.

        * g++.dg/template/void10.C: New test.
        * g++.dg/template/void8.C: New test.
        * g++.dg/template/void9.C: New test.

        * g++.dg/template/void3.C: Adjust error markers.
        * g++.dg/template/void4.C: Likewise.
        * g++.dg/template/crash55.C: Likewise.
        * g++.dg/template/void7.C: Likewise.

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

14 years ago2006-08-26 Tobias Burnus <burnus@net-b.de>
kargl [Sat, 26 Aug 2006 17:28:09 +0000 (17:28 +0000)]
2006-08-26  Tobias Burnus  <burnus@net-b.de>

    * gfortran.texi: Note variable initialization causes SAVE attribute.
    * intrinsic.texi: Clarify support for KIND=16 and KIND=10.
    Mention -std=f2003.  Cross reference INQUIRE from ACCESS intrinsic.
    Add missing ) in ACOS.

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

14 years ago2006-08-26 Daniel Franke <franke.daniel@gmail.com>
kargl [Sat, 26 Aug 2006 17:13:42 +0000 (17:13 +0000)]
2006-08-26  Daniel Franke <franke.daniel@gmail.com>

        * intrinsic.texi: Update Copyright date.  Added documentation
        for ACOSH, AND, ASINH, ATANH, CHDIR, FGET, FGETC, FPUT, FPUTC,
        GETCWD, OR and XOR intrinsics, removed inadvertently introduced
        doc-stubs for EQV and NEQV, corrected some typographical errors.

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

14 years ago * config/xtensa/xtensa.c (function_arg_boundary): New.
bwilson [Sat, 26 Aug 2006 17:03:22 +0000 (17:03 +0000)]
* config/xtensa/xtensa.c (function_arg_boundary): New.
(function_arg, xtensa_gimplify_va_arg_expr): Limit alignment to
STACK_BOUNDARY.
* config/xtensa/xtensa.h (FUNCTION_ARG_BOUNDARY): Move code to new
function_arg_boundary function that limits alignment to STACK_BOUNDARY.

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

14 years ago PR c++/28588
mmitchel [Sat, 26 Aug 2006 16:23:33 +0000 (16:23 +0000)]
PR c++/28588
* class.c (resolve_address_of_overloaded_function): Add
access_path parameter.  Perform access checks.
(instantiate_type): Adjust call to
resolve_address_of_overloaded_function.  Remove unnecessary code.
* tree.c (is_overloaded_fn): Document.  Return 2 when there are
acutally multiple functions.
(really_overloaded_fn): Use is_overloaded_fn.
* mangle.c (write_expression): Handle BASELINKs.
* cp-tree.h (really_overloaded_fn): Return bool.
(baselink_for_fns): Declare.
* search.c (lookup_member): Check access for single static
functions here.
* pt.c (convert_nontype_argument_function): Handle BASELINKs.
(tsubst_copy_and_build): Generate BASELINKs for template-ids.
* semantics.c (finish_call_expr): Use baselink_for_fns.
(baselink_for_fns): New function.
(finish_id_expression): Use it.
* parser.c (cp_parser_template_argument): Don't strip BASELINKs.
PR c++/28595
* pt.c (tsubst): Issue errors about attempts to create VLAs at
template-instantiation time.
PR c++/28588
* g++.dg/inherit/access6.C: New test.
* g++.dg/inherit/access7.C: Likewise.
PR c++/28595
* g++.dg/template/array15.C: New test.
* g++.dg/template/crash2.C: Tweak error markers.

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