OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years agoDaily bump.
gccadmin [Wed, 20 Sep 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2006-09-19 Eric Christopher <echristo@apple.com>
echristo [Tue, 19 Sep 2006 23:56:17 +0000 (23:56 +0000)]
2006-09-19  Eric Christopher  <echristo@apple.com>

        * doc/tm.texi (OBJC_JBLEN): Describe.
        * config/i386/darwin.h (OBJC_JBLEN): Define.
        * config/rs6000/darwin.h: Ditto.

2006-09-19  Eric Christopher  <echristo@apple.com>

        * objc-act.c (JBLEN): Rename to OBJC_JBLEN,
        default to something innocuous.
        (build_next_objc_exception_stuff): Rename JBLEN.

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

14 years ago * testsuite/libjava.jvmti/jvmti.exp: New file.
kseitz [Tue, 19 Sep 2006 23:28:29 +0000 (23:28 +0000)]
    * testsuite/libjava.jvmti/jvmti.exp: New file.

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

14 years ago * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
kseitz [Tue, 19 Sep 2006 23:12:17 +0000 (23:12 +0000)]
    * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
        (THREAD_CHECK_VALID): Likewise.
        (THREAD_CHECK_ALIVE): Likewise.
        (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
        jthread.
        (_Jv_JVMTI_ResumeThread): Likewise.
        (_Jv_JVMTI_InterruptThread): Likewise.

        (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
        that was just freed.

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

14 years ago PR rtl-optimization/21299
steven [Tue, 19 Sep 2006 21:22:31 +0000 (21:22 +0000)]
    PR rtl-optimization/21299
        * reload1.c (reload): Purge invalid ASMs in the final pass.

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

14 years agogcc/testsuite/
rsandifo [Tue, 19 Sep 2006 17:44:12 +0000 (17:44 +0000)]
gcc/testsuite/
* gcc.c-torture/execute/pr28289.c (one): New variable.
(main): Use it instead of argc.
* gcc.c-torture/execute/20060102-1.c (one): New variable.
(main): Use it instead of argc.

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

14 years ago2006-09-19 Mark Wielaard <mark@klomp.org>
tromey [Tue, 19 Sep 2006 16:23:34 +0000 (16:23 +0000)]
2006-09-19  Mark Wielaard  <mark@klomp.org>

Fixes bug #29137
* java/util/logging/LogManager.java (addLogger): Always check for
existing children of a new Logger.

2006-09-19  Tom Tromey  <tromey@redhat.com>

* java/util/logging/LogManager.java: Re-merged with Classpath.

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

14 years ago PR 28490
sje [Tue, 19 Sep 2006 16:09:48 +0000 (16:09 +0000)]
PR 28490
* config/ia64/ia64.c (ia64_legitimate_constant_p): Allow function
pointers as legitimate constants.

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

14 years ago2006-09-19 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 19 Sep 2006 13:19:24 +0000 (13:19 +0000)]
2006-09-19  Paul Brook  <paul@codesourcery.com>

PR target/28516
gcc/
* config/arm/arm.c (arm_unwind_emit_set): Handle reg = sp + const.

gcc/testsuite/
* gcc.dg/nested-func-5.c: New test.

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

14 years ago2006-09-19 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 19 Sep 2006 11:04:55 +0000 (11:04 +0000)]
2006-09-19 Paul Thomas <pault@gcc.gnu.org>
   Steven Bosscher  <steven@gcc.gnu.org>

PR fortran/29101
* trans-stmt.c (gfc_trans_character_select): Store the label
from select_string and then clean up any temporaries from the
conversion of the select expression, before branching to the
selected case.

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

14 years ago2006-09-19 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 19 Sep 2006 09:07:56 +0000 (09:07 +0000)]
2006-09-19  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/hashtable_policy.h: Uglify all the names.
* include/tr1/hashtable: Likewise.
* include/tr1/unordered_map: Likewise.
* include/tr1/unordered_set: Likewise.
* include/tr1/functional: Uglify struct hash names.
* include/tr1/cmath: Uglify namespace detail to __detail.

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

14 years agoFix some whitespace issues in the changelog.
pinskia [Tue, 19 Sep 2006 05:08:41 +0000 (05:08 +0000)]
Fix some whitespace issues in the changelog.

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

14 years ago2006-09-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 19 Sep 2006 02:33:21 +0000 (02:33 +0000)]
2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util/regression/res_mng: Remove.
* testsuite/util/regression/res_mng/dbg_ex_allocator_base.cc: Merge..
* testsuite/util/regression/res_mng/forced_exception.hpp: Merge...
* testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Merge..
* testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Merge..
* testsuite/util/testsuite_allocator.h (throw_allocator): Merge...
* include/ext/throw_allocator.h (throw_allocator): ... into this.
* src/throw_allocator.cc: ...and this.
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* src/Makefile.am (sources): New.
* src/Makefile.in: Regenerate.
* testsuite/lib/libstdc++.exp: Subtract dbg_ex_allocator_base.cc.

* include/ext/pb_ds/detail/map_debug_base.hpp: Adjust
includes, names, and namespaces.
* testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
* testsuite/util/regression/rand/priority_queue/detail/
erase_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
constructor_destructor_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
insert_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
modify_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
split_join_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/detail/
operator_fn_imps.hpp: Same.
* testsuite/util/regression/rand/priority_queue/
container_rand_regression_test.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
subscript_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
operator_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/erase_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
constructor_destructor_fn_imps.hpp
* testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
split_join_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.hpp: Same.
* testsuite/util/regression/priority_queue/common_type.hpp: Same.
* testsuite/util/regression/assoc/common_type.hpp: Same.
* testsuite/util/regression/basic_type.hpp: Same.
* testsuite/util/rng/twister_rand_gen.cc: Tweak.

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

14 years agoconfig
tromey [Tue, 19 Sep 2006 01:48:06 +0000 (01:48 +0000)]
config
* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
GCC_ENABLE.
libgomp
* configure: Rebuilt.
libstdc++-v3
* configure: Rebuilt.
libmudflap
* configure: Rebuilt.
libjava
* configure: Rebuilt.

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

14 years agoDaily bump.
gccadmin [Tue, 19 Sep 2006 00:17:26 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
tromey [Mon, 18 Sep 2006 23:30:15 +0000 (23:30 +0000)]
2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>

* configure.host: Handle kfreebsd.

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

14 years ago * lib/target-supports.exp (check_effective_target_tls): Compile
bje [Mon, 18 Sep 2006 22:40:59 +0000 (22:40 +0000)]
* lib/target-supports.exp (check_effective_target_tls): Compile
test stubs using ${tool}_target_compile, not just target_compile.
(check_effective_target_tls_runtime): Likewise.

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

14 years ago * gcc.c-torture/compile/20030405-1.x: Remove.
bje [Mon, 18 Sep 2006 22:25:46 +0000 (22:25 +0000)]
* gcc.c-torture/compile/20030405-1.x: Remove.

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

14 years ago * g++.old-deja/g++.pt/const2.C (main): Examine p to prevent an
bje [Mon, 18 Sep 2006 22:24:13 +0000 (22:24 +0000)]
* g++.old-deja/g++.pt/const2.C (main): Examine p to prevent an
optimising linker from discarding it.

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

14 years ago * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
tromey [Mon, 18 Sep 2006 21:05:26 +0000 (21:05 +0000)]
* gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
isConnected): Removed old comment.
(getRemoteSocketAddress): Uncommented.
(setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
setTrafficClass, getTrafficClass, setReuseAddress,
getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
isOutputShutdown): Uncommented.

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

14 years ago2006-09-18 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 18 Sep 2006 20:19:50 +0000 (20:19 +0000)]
2006-09-18 Paul Thomas <pault@gcc.gnu.org>

PR fortran/28526
* primary.c (match_variable): If the compiler is in a module
specification block, an interface block or a contains section,
reset host_flag to force the changed symbols mechanism.

PR fortran/29101
* trans-stmt.c (gfc_trans_character_select): Add the post block
for the expression to the main block, after the call to
select_string and the last label.

2006-09-18 Paul Thomas <pault@gcc.gnu.org>

PR fortran/28526
* gfortran.dg/keyword_symbol_1.f90: New test.

* gfortran.dg/spread_shape_1.f90: Add missing warning with
pedantic compilation option.

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

14 years ago2006-06-07 Petr Salinger <Petr.Salinger@seznam.cz>
tromey [Mon, 18 Sep 2006 18:45:08 +0000 (18:45 +0000)]
2006-06-07  Petr Salinger  <Petr.Salinger@seznam.cz>

* configure.ac: add support for GNU/kFreeBSD, accepted by upstream
for gc 6.8.
* dyn_load.c: Likewise.
* include/gc.h: Likewise.
* private/gcconfig.h: Likewise.
* configure: Regenerate.
* include/gc_config.h.in: Regenerate.

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

14 years ago2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
tromey [Mon, 18 Sep 2006 18:34:56 +0000 (18:34 +0000)]
2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>

* configure: Rebuilt.
* shlibpath.m4: Handle GNU/kFreeBSD.

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

14 years agoremoved old conflict marker
tromey [Mon, 18 Sep 2006 17:10:36 +0000 (17:10 +0000)]
removed old conflict marker

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

14 years ago * gcc_release (LC_ALL): Default to C.
gerald [Mon, 18 Sep 2006 17:07:14 +0000 (17:07 +0000)]
* gcc_release (LC_ALL): Default to C.

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

14 years ago2006-09-18 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 18 Sep 2006 16:05:25 +0000 (16:05 +0000)]
2006-09-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (_M_group_int): Remove
redundant using-declaration.

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

14 years ago PR c++/29087
steven [Mon, 18 Sep 2006 15:32:43 +0000 (15:32 +0000)]
    PR c++/29087
        * parser.c (cp_parser_labeled_statement): Return nothing.  Do
        not take in_statement_expr and in_compound as arguments.  Rename
        to cp_parser_label_for_labeled_statement.  Parse only the label,
        not the statement.
        (cp_parser_statement): Parse the statement of a labeled-statement
        from here, using tail recursion.

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

14 years ago2006-09-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 18 Sep 2006 13:57:19 +0000 (13:57 +0000)]
2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/typelist.h (cond_type): Remove, use __conditional_type.

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

14 years ago2006-09-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 18 Sep 2006 13:30:56 +0000 (13:30 +0000)]
2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>
    Peter Doerfler  <gcc@pdoerfler.com>
    Paolo Carlini  <pcarlini@suse.de>

* include/ext/type_traits.h: New.
(__conditional_type): New.
(__numeric_traits): New.
(__add_unsigned): New.
(__remove_unsigned): New.
(__enable_if): New.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.
* include/ext/pb_ds/detail/type_utils.hpp: Use ext include,
remove duplicates.
* include/tr1/hashtable_policy.h (IF): Use __conditional_type.
(_Max_digits10): Same.
(identity): Use _Identity.
(extract1st): Use _Select1st.
* include/tr1/random (_Select): Use __conditional_type.
(_To_Unsigned_Type): Use __add_unsigned. Linebreak fixups.
* include/bits/locale_facets.tcc (__to_unsigned_type): Remove, use
__add_unsigned.
* include/tr1/random.tcc: Fixups as above.
* include/tr1/unordered_map: Same.
* include/tr1/hashtable: Same.
* include/tr1/unordered_set: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
standard_policies.hpp: Same.
* include/ext/pb_ds/detail/standard_policies.hpp: Same.
* include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
* include/ext/pb_ds/detail/type_utils.hpp: Same.
* include/ext/pb_ds/trie_policy.hpp: Same.
* docs/html/ext/pb_ds/string_trie_e_access_traits.html: Same.

* include/bits/cpp_type_traits.h (__enable_if): Move to ext, make
boolean argument first.
* include/bits/locale_facets.h: Fixups for __enable_if argument
and namespace switch.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/stl_iterator.h: Same.
* include/bits/streambuf_iterator.h: Same.
* include/debug/safe_iterator.h: Same.
* include/tr1/hashtable_policy.h: Same.
* include/tr1/cmath: Same.
* include/tr1/functional: Same.
* include/tr1/functional_iterate.h: Same.
* include/std/std_streambuf.h: Same.
* include/c_std/std_cmath.h: Same.
* testsuite/util/testsuite_tr1.h: Same.
* testsuite/util/performance/assoc/multimap_common_type.hpp: Same.

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

14 years ago2006-09-18 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 18 Sep 2006 09:19:36 +0000 (09:19 +0000)]
2006-09-18  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29063
* include/bits/valarray_array.h: Fix typo, undefine
_DEFINE_ARRAY_FUNCTION.
* include/std/std_valarray.h: Undefine _DEFINE_BINARY_OPERATOR.

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

14 years ago2006-09-18 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 18 Sep 2006 06:24:54 +0000 (06:24 +0000)]
2006-09-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29060
* iresolve.c (resolve_spread): Build shape for result if the
source shape is available and dim and ncopies are constants.

PR fortran/28817
PR fortran/21918
* trans-decl.c (generate_local_decl): Change from 'warning' to
'gfc_warning' to have line numbers correctly reported.

2006-09-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29060
* gfortran.dg/spread_shape_1.f90: New test.

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

14 years agoFix ChangeLog format: Add * before filename.
fengwang [Mon, 18 Sep 2006 03:44:45 +0000 (03:44 +0000)]
Fix ChangeLog format: Add * before filename.

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

14 years ago2006-09-17 Zdenek Dvorak <dvorakz@suse.cz>
sayle [Mon, 18 Sep 2006 01:54:33 +0000 (01:54 +0000)]
2006-09-17  Zdenek Dvorak <dvorakz@suse.cz>

PR tree-optimization/28887
* tree-ssa-loop-prefetch.c (analyze_ref): Strip nonaddressable
component parts from the reference.
(gather_memory_references_ref): Record the reference without the
nonaddressable component parts.

* gcc.dg/prefetch-loop-arrays-1.c: New test case.

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

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

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

14 years ago2006-09-18 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Sun, 17 Sep 2006 22:13:26 +0000 (22:13 +0000)]
2006-09-18  Bernhard Fischer  <aldot@gcc.gnu.org>

* dg-cmp-results.sh (compare-$$.awk): Print name[old]
and not non-existing nm[old].

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

14 years agogcc/
steven [Sun, 17 Sep 2006 13:14:53 +0000 (13:14 +0000)]
gcc/
PR c/25993
* c-opts.c (c_common_handle_option): Ignore the -std options
if the input language is assembly.

testsuite/
PR c/25993
* gcc.dg/pr25993.c: New test.

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

14 years ago PR tree-opt/21591
irar [Sun, 17 Sep 2006 09:17:51 +0000 (09:17 +0000)]
    PR tree-opt/21591
        * tree-data-ref.c (ptr_decl_may_alias_p): Look for the name memory
        tag first.
        (ptr_ptr_may_alias_p): Likewise.
        (record_record_differ_p): New function.
        (base_object_differ_p): Call record_record_differ_p.

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

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

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

14 years ago2006-09-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 16 Sep 2006 22:52:11 +0000 (22:52 +0000)]
2006-09-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/29059
        * gcc.c-torture/compile/strcpy-1.c: New test.
        * gcc.c-torture/compile/strcpy-2.c: New test.
        * gcc.c-torture/compile/memcpy-1.c: New test.
        * gcc.c-torture/compile/memcpy-2.c: New test.

2006-09-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/29059
        * tree-ssa-propagate.c (set_rhs): Reject MODIFY_EXPR right
        away for the expr argument.

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

14 years ago * tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
steven [Sat, 16 Sep 2006 20:06:23 +0000 (20:06 +0000)]
* tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
before using it for dumping after vectorizing loops.

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

14 years ago2006-09-16 Andrew Pinski <pinskia@physics.uc.edu>
echristo [Sat, 16 Sep 2006 09:01:16 +0000 (09:01 +0000)]
2006-09-16   Andrew Pinski  <pinskia@physics.uc.edu>
             Jack Howarth  <howarth@bromo.med.uc.edu>

        PR target/29030
        * config/rs6000/rs6000.c (rs6000_darwin64_record_arg_advance_recurse)
        skip on error_mark_node.                                                                   (rs6000_darwin64_record_arg_recurse): Likewise.

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

14 years ago2006-09-16 Jack Howarth <howarth@bromo.med.uc.edu>
echristo [Sat, 16 Sep 2006 08:55:54 +0000 (08:55 +0000)]
2006-09-16  Jack Howarth  <howarth@bromo.med.uc.edu>

        PR testsuite/29055
        * gcc.target/powerpc/darwin-bool-1.c: Skip -m64

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

14 years ago * rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
steven [Sat, 16 Sep 2006 08:46:22 +0000 (08:46 +0000)]
    * rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
        * doc/rtl.texi: Remove related documentation.

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

14 years ago2006-09-16 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 16 Sep 2006 04:28:44 +0000 (04:28 +0000)]
2006-09-16  Paul Thomas  <pault@gcc.gnu.org>

* gfortran.dg/select_6.f90: Change message.

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

14 years ago * decNumber.c (decNumberPower): Constify.
ghazi [Sat, 16 Sep 2006 02:54:29 +0000 (02:54 +0000)]
* decNumber.c (decNumberPower): Constify.
* decNumber.h (decNumberPower): Likewise.

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

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

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

14 years ago * loop-doloop.c (doloop_optimize): Remove bogus arg from debugging
bernds [Fri, 15 Sep 2006 23:32:58 +0000 (23:32 +0000)]
* loop-doloop.c (doloop_optimize): Remove bogus arg from debugging
printf.

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

14 years agoShort term fix for PR 28490.
wilson [Fri, 15 Sep 2006 23:05:40 +0000 (23:05 +0000)]
Short term fix for PR 28490.
* config/ia64/ia64.c (ia64_legitimate_constant_p, cast CONST):
Handle symbol offsets same as they are handled in ia64_expand_move
and move_operand.

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

14 years ago2006-09-16 Andreas Tobler <a.tobler@schweiz.org>
andreast [Fri, 15 Sep 2006 22:47:26 +0000 (22:47 +0000)]
2006-09-16  Andreas Tobler  <a.tobler@schweiz.org>

* loop-doloop.c (doloop_optimize): Change type of max_cost to int.
Add forgotten parameter to the fprintf call.

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

14 years ago PR ada/15802
ebotcazou [Fri, 15 Sep 2006 18:32:24 +0000 (18:32 +0000)]
PR ada/15802
* decl.c (same_discriminant_p): New static function.
(gnat_to_gnu_entity) <E_Record_Type>: When there is a parent
subtype and we have discriminants, fix up the COMPONENT_REFs
for the discriminants to make them reference the corresponding
fields of the parent subtype after it has been built.

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

14 years ago * config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Add define.
sje [Fri, 15 Sep 2006 18:14:10 +0000 (18:14 +0000)]
* config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Add define.

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

14 years ago2006-09-15 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 15 Sep 2006 16:30:52 +0000 (16:30 +0000)]
2006-09-15  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29051
* decl.c (match_old_style_init): Set the 'where' field of the
gfc_data structure 'newdata'.

* match.c (match_case_eos): Add a comprehensible error message.

2006-09-15  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29051
* gfortran.dg/oldstyle_3.f90: New test.

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

14 years ago2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Sep 2006 16:07:53 +0000 (16:07 +0000)]
2006-09-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29099
* gfortran.dg/secnds-1.f: New test.

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

14 years ago2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Sep 2006 16:03:52 +0000 (16:03 +0000)]
2006-09-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29099
* intrinsics/date_and_time.c (secnds): Fix case of zero time.

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

14 years ago * doc/contrib.texi: Add my entry.
uros [Fri, 15 Sep 2006 15:59:33 +0000 (15:59 +0000)]
    * doc/contrib.texi: Add my entry.

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

14 years ago* doc/md.texi (Processor pipeline description): Fix typo in
nickc [Fri, 15 Sep 2006 15:27:43 +0000 (15:27 +0000)]
* doc/md.texi (Processor pipeline description): Fix typo in
  example of how to use the absence_set directive and reword the
  description to make it slightly easier to read.

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

14 years ago * config/bfin/bfin.c (struct loop_info): New members block_bitmap and
bernds [Fri, 15 Sep 2006 14:41:43 +0000 (14:41 +0000)]
* config/bfin/bfin.c (struct loop_info): New members block_bitmap and
bad.
(struct loop_work and related VEC declarations): Delete.
(bfin_dump_loops): Print out new member bad.
(bfin_bb_in_loop): Use plain bitmap test.  Don't recurse.
(bfin_scan_loop): Don't recurse.
(bfin_optimize_loop): Don't use a loop depth of -1 to indicate bad
loops.  No longer need to update outer loops if the current one is
found bad.  Move some validitiy checks to bfin_discover_loop.
(bfin_discover_loop): New function, mostly split from bfin_reorg_loops,
but changed not to check for nesting.  Also changed to use the new bad
flag.
(bfin_reorg_loops): Use bfin_discover_loop to find single loops one at a
time.  Use bitmap based test to discover loop nesting.

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

14 years ago2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Sep 2006 13:32:12 +0000 (13:32 +0000)]
2006-09-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29053
* gfortran.dg/streamio_9.f90: New test.
* gfortran.dg/streamio_10.f90: New test.

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

14 years ago2006-09-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Sep 2006 13:16:15 +0000 (13:16 +0000)]
2006-09-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29053
* io.h (gfc_unit): Add variable, strm_pos, to track
STREAM I/O file position.
* file_pos.c (st_rewind): Set strm_pos to beginning.
* open.c (new_unit): Initialize strm_pos.
* read.c (read_x): Bump strm_pos.
* inquire.c (inquire_via_unit): Return strm_pos value.
* transfer.c (read_block),(read_block_direct),(write_block)
(write_buf): Seek to strm_pos - 1.  Update strm_pos when done.
(pre_position): Initialize strm_pos.
(data_transfer_init): Set strm_pos if DT_HAS_REC.
(finalize_transfer): Flush file, no need to update strm_pos.

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

14 years ago * cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
bernds [Fri, 15 Sep 2006 12:41:08 +0000 (12:41 +0000)]
* cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.

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

14 years ago * cfgrtl.c (emit_insn_at_entry): New function.
bernds [Fri, 15 Sep 2006 12:35:43 +0000 (12:35 +0000)]
* cfgrtl.c (emit_insn_at_entry): New function.
* rtl.h (emit_insn_at_entry): Declare it.
* integrate.c (emit_initial_value_sets): Use it.

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

14 years ago * config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
bernds [Fri, 15 Sep 2006 11:23:09 +0000 (11:23 +0000)]
* config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.

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

14 years ago * params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
bernds [Fri, 15 Sep 2006 11:17:18 +0000 (11:17 +0000)]
* params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
* loop-doloop.c (doloop_optimize): Use it to limit costs of
expanding the number of iterations.

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

14 years ago PR ada/18817
ebotcazou [Fri, 15 Sep 2006 08:59:02 +0000 (08:59 +0000)]
PR ada/18817
* utils.c (max_size): Perform constant folding of (A ? B : C) - D
into A ? B - D : C - D when calculating the size of a MINUS_EXPR.

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

14 years ago2006-09-14 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 15 Sep 2006 04:50:04 +0000 (04:50 +0000)]
2006-09-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/29002
        * init.c (build_zero_init): If we have an error mark node for
        the array size, return.

2006-09-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/29002
        * g++.dg/init/array22.C: New test.
        * g++.dg/init/array23.C: New test.

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

14 years ago * doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in
kazu [Fri, 15 Sep 2006 02:13:04 +0000 (02:13 +0000)]
* doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in
one line.

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

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

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

14 years ago2006-09-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 14 Sep 2006 22:28:55 +0000 (22:28 +0000)]
2006-09-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/concurrence.h (__mutex::__mutex): Pass address of
mutex to *_MUTEX_INIT_FUNCTION.

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

14 years ago * norun.lst: Adjust for previous change.
ebotcazou [Thu, 14 Sep 2006 21:27:10 +0000 (21:27 +0000)]
* norun.lst: Adjust for previous change.

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

14 years ago PR middle-end/28884.
kazu [Thu, 14 Sep 2006 21:15:12 +0000 (21:15 +0000)]
PR middle-end/28884.
* doc/tm.texi (TARGET_FUNCTION_VALUE): Document.
(FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE): Deprecate.
Replace mentions of FUNCTION_VALUE and FUNCTION_OUTGOING_VALUE
with TARGET_FUNCTION_VALUE.

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

14 years ago PR target/26504
aesok [Thu, 14 Sep 2006 21:11:33 +0000 (21:11 +0000)]
PR target/26504
* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.

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

14 years agolibjava
tromey [Thu, 14 Sep 2006 18:06:04 +0000 (18:06 +0000)]
libjava
PR boehm-gc/29068:
* boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
(_Jv_GCDetachThread): Likewise.
boehm-gc
PR boehm-gc/29068.
* misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
Solaris.

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

14 years ago * gnat.dg/in_out_parameter.adb: New test.
ebotcazou [Thu, 14 Sep 2006 14:24:22 +0000 (14:24 +0000)]
* gnat.dg/in_out_parameter.adb: New test.

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

14 years agoUpdate list of tests requiring stack checking
charlet [Thu, 14 Sep 2006 10:12:03 +0000 (10:12 +0000)]
Update list of tests requiring stack checking
Add handling of tests using Ada 95 semantics and thus requiring -gnat95 switch

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

14 years ago * posix-threads.cc: Include "posix.h".
schwab [Thu, 14 Sep 2006 09:55:47 +0000 (09:55 +0000)]
* posix-threads.cc: Include "posix.h".

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

14 years ago2006-09-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 14 Sep 2006 09:48:15 +0000 (09:48 +0000)]
2006-09-13  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/atomicity.h: Move to...
* include/ext/atomicity.h: ...here.
* include/bits/concurrence.h: Move to...
* include/ext/concurrence.h: ...here.
* include/Makefile.am (ext_headers): Additions.
(bits_headers): Subtractions.
* include/Makefile.in: Regenerate.

* include/ext/bitmap_allocator.h (_Mutex), __threads_enabled,
_Lock, _Auto_Lock): Subsume into...
* include/bits/concurrence.h (__mutex): ..this. Error check
locking and unlocking.
(lock): Uglify to...
(__scoped_lock): Use __mutex.
(__glibcxx_mutex_define_initialized): Remove.
(__glibcxx_mutex_type): Remove.

* include/tr1/boost_shared_ptr.h: Formating tweaks, adjustments.
(_Lock_policy): Move from here...
* include/ext/concurrence.h: ... to here.
(__shared_ptr_default_lock_mode): To __default_lock_policy.
(_S_lockfree): To _S_atomic.
Document.

* libsupc++/guard.cc (static_mutex): Subsume into and fixup for...
* include/ext/concurrence.h (__recursive_mutex): ...this. Error
check locking and unlocking.
* libsupc++/eh_alloc.cc: Use __scoped_lock.

* config/os/aix/atomicity.h: Fixups for include paths, mutex to
__scoped_mutex change, removal of locking defines.
* config/os/irix/atomicity.h: Same.
* config/cpu/cris/atomicity.h: Same.
* config/cpu/m68k/atomicity.h: Same.
* config/cpu/hppa/atomicity.h: Same.
* config/cpu/mips/atomicity.h: Same.
* config/cpu/sparc/atomicity.h: Same.
* config/cpu/i386/atomicity.h: Same.
* config/cpu/i486/atomicity.h: Same.
* config/cpu/sh/atomicity.h: Same.
* config/cpu/generic/atomicity_mutex/atomicity.h: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/bitmap_allocator.h: Same.
* include/ext/rc_string_base.h: Same.
* include/ext/mt_allocator.h: Same.
* include/bits/locale_classes.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/ios_base.h: Same.
* include/tr1/memory: Same.
* src/pool_allocator.cc: Same.
* src/mt_allocator.cc: Same.
* src/locale_init.cc: Same.
* src/ios.cc: Same.
* src/locale.cc: Same.
* src/bitmap_allocator.cc: Same.
* src/ios_init.cc: Same.
* src/debug.cc: Same.

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

14 years ago * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
geoffk [Thu, 14 Sep 2006 01:17:31 +0000 (01:17 +0000)]
* posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
microseconds; use gettimeofday when available.
* posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
timeout calculation.
* testsuite/libjava.lang/Thread_Sleep_2.java: New.
* testsuite/libjava.lang/Thread_Sleep_2.out: New.
* testsuite/libjava.lang/Thread_Sleep_2.xfail: New.

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

14 years ago * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
aldyh [Thu, 14 Sep 2006 01:17:15 +0000 (01:17 +0000)]
    * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
        of a RETURN_EXPR

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

14 years ago2006-09-13 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 14 Sep 2006 00:37:14 +0000 (00:37 +0000)]
2006-09-13  Andrew Pinski  <pinskia@physics.uc.edu>

PR debug/28980
        * dwarf2out.c (loc_descriptor_from_tree_1): Handle
        FUNCTION_DECL.

2006-09-13  Andrew Pinski  <pinskia@physics.uc.edu>

PR debug/28980
        * gcc.c-torture/compile/debugvlafunction-1.c: New test.

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

14 years agoDaily bump.
gccadmin [Thu, 14 Sep 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR other/23541
ebotcazou [Wed, 13 Sep 2006 21:23:28 +0000 (21:23 +0000)]
PR other/23541
PR other/26507
Backport from gettext repository:

2003-09-04  Bruno Haible  <bruno@clisp.org>
* dgettext.c: Include <locale.h> after gettextP.h, not before. This
ensures that libintl_dcgettext is correctly declared on Solaris.
(Needed because Solaris <locale.h> includes libintl.h.)
* dngettext.c: Likewise, for the libintl_dcngettext declaration.

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

14 years ago PR ada/29025
ebotcazou [Wed, 13 Sep 2006 18:48:21 +0000 (18:48 +0000)]
PR ada/29025
* trans.c (gnat_gimplify_expr) <ADDR_EXPR>: When taking the address
of a SAVE_EXPR, just make the operand addressable/not-readonly and
let the common gimplifier code make and propagate a temporary copy.
(call_to_gnu): Clarify the use of SAVE_EXPR for not addressable
out/in-out actuals and defer setting the addressable/readonly bits
to the gimplifier.

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

14 years ago PR ada/28591
ebotcazou [Wed, 13 Sep 2006 18:40:26 +0000 (18:40 +0000)]
PR ada/28591
* decl.c (components_to_record): Defer emitting debug info for the
record type associated with the variant until after we are sure to
actually use it.

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

14 years ago PR ada/21952
ebotcazou [Wed, 13 Sep 2006 18:27:24 +0000 (18:27 +0000)]
PR ada/21952
* gigi.h (gnat_internal_attribute_table): Declare.
* misc.c (LANG_HOOKS_ATTRIBUTE_TABLE): Define to above.
* utils.c (gnat_internal_attribute_table): New global variable.
(builtin_function): Always call decl_attributes on the builtin.
(handle_const_attribute): New static function.
(handle_nothrow_attribute): Likewise.

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

14 years ago * basic-block.h (bb_has_eh_pred): Fix comment.
krebbel [Wed, 13 Sep 2006 13:00:57 +0000 (13:00 +0000)]
* basic-block.h (bb_has_eh_pred): Fix comment.

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

14 years ago2006-09-13 Wolfgang Gellerich <gellerich@de.ibm.com>
krebbel [Wed, 13 Sep 2006 12:36:26 +0000 (12:36 +0000)]
2006-09-13  Wolfgang Gellerich  <gellerich@de.ibm.com>

* trans-expr.c (gfc_add_interface_mapping): For characters, dereference
pointer if necessary and then perform the cast.

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

14 years ago2006-09-13 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Wed, 13 Sep 2006 10:59:03 +0000 (10:59 +0000)]
2006-09-13  Andreas Krebbel  <krebbel1@de.ibm.com>

* flow.c (calculate_global_regs_live): Invalidate eh registers
on eh edges. Renamed invalidated_by_call to invalidated_by_eh_edge.
(propagate_block): Handle eh registers as if they were set at basic
block start.
* except.c (dw2_build_landing_pads): Don't emit clobbers for eh
registers.
* global.c (global_conflicts): Make eh registers to conflict with
pseudos live at basic block begin.
* basic_block.h (bb_has_eh_pred): New function.

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

14 years agogcc/
rsandifo [Wed, 13 Sep 2006 06:30:59 +0000 (06:30 +0000)]
gcc/
PR rtl-optimization/28982
* reload.c (find_reloads_address_1): Use RELOAD_OTHER for the
index of a PRE_MODIFY or POST_MODIFY address.
* reload1.c (inc_for_reload): Use find_replacement on the original
base and index registers.

gcc/testsuite/
PR rtl-optimization/28982
* gcc.c-torture/execute/pr28982a.c: New test.
* gcc.c-torture/execute/pr28982b.c: Likewise.

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

14 years ago2006-09-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 13 Sep 2006 05:59:30 +0000 (05:59 +0000)]
2006-09-12  H.J. Lu  <hongjiu.lu@intel.com>

* doc/invoke.texi (mpreferred-stack-boundary): Remove exception
for -Os. Update __m128 alignment requirement.

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

14 years ago2006-09-12 Eric Christopher <echristo@apple.com>
echristo [Wed, 13 Sep 2006 01:07:27 +0000 (01:07 +0000)]
2006-09-12  Eric Christopher  <echristo@apple.com>

        * gcc.target/x86_64/abi/asm-support-darwin.s: New.
        * gcc.target/x86_64/abi/abi-x86_64.exp: Use.

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

14 years agolibcpp:
jsm28 [Wed, 13 Sep 2006 01:04:18 +0000 (01:04 +0000)]
libcpp:
PR c/28768
PR preprocessor/14634
* lex.c (lex_string): Pedwarn for unterminated literals.

libgomp:
* configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
to AC_DEFINE.
* configure: Regenerate.

gcc/testsuite:
* gcc.dg/cpp/include2.c, gcc.dg/cpp/macspace1.c,
gcc.dg/cpp/macspace2.c, gcc.dg/cpp/multiline.c,
gcc.dg/cpp/trad/literals-2.c: Update expected diagnostics.

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

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

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

14 years ago * cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.
hubicka [Tue, 12 Sep 2006 22:54:38 +0000 (22:54 +0000)]
* cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.

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

14 years ago PR rtl-optimization/28243
ebotcazou [Tue, 12 Sep 2006 21:48:40 +0000 (21:48 +0000)]
PR rtl-optimization/28243
* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
the insn to which the note was originally attached.

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

14 years ago * expr.c (push_value): Always flush quick stack.
tromey [Tue, 12 Sep 2006 19:51:08 +0000 (19:51 +0000)]
* expr.c (push_value): Always flush quick stack.

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

14 years ago2006-09-12 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 12 Sep 2006 19:38:48 +0000 (19:38 +0000)]
2006-09-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28971
gfortran.dg/pr28971.f90: New test to act as a backstop in case
this undiagnosed regression reappears.

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

14 years ago * dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
sayle [Tue, 12 Sep 2006 19:31:09 +0000 (19:31 +0000)]
* dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure
on platforms that don't use dwarf for debug info.

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

14 years agogcc/java
tromey [Tue, 12 Sep 2006 19:00:48 +0000 (19:00 +0000)]
gcc/java
PR java/29013:
* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Always note
the push of the called method's return result.
libjava
PR java/29013:
* testsuite/libjava.lang/PR29013.out: Likewise.
* testsuite/libjava.lang/PR29013.java: New file.

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

14 years ago * jvspec.c (lang_specific_driver): Read spec file even if
tromey [Tue, 12 Sep 2006 18:54:36 +0000 (18:54 +0000)]
* jvspec.c (lang_specific_driver): Read spec file even if
-fsyntax-only.

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

14 years ago PR middle-end/28493
jason [Tue, 12 Sep 2006 18:02:36 +0000 (18:02 +0000)]
    PR middle-end/28493
        * builtins.c (expand_builtin_setjmp_receiver): Clobber
        hard_frame_pointer_rtx after using it to update the frame pointer.

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