OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years agoClarify the fix application tests
korbb [Thu, 28 Sep 2006 01:59:08 +0000 (01:59 +0000)]
Clarify the fix application tests

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

14 years ago* dglib.pm: Initial commit.
matthewg [Thu, 28 Sep 2006 01:50:45 +0000 (01:50 +0000)]
* dglib.pm: Initial commit.
* compareSumTests3: Initial commit.

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

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

* include/ext/typelist.h (type_to_type): Remove.
* include/ext/throw_allocator.h (assert_allocatod): Remove.
(check_allocated(label)): New.
(print_to_string): Print numerical output correctly.

* testsuite/ext/pb_ds/example/hash_resize_neg.cc: Adjust line numbers.

* testsuite/util/regression/rand/priority_queue/detail/
operator_fn_imps.hpp: Set and clear label, throw
        probability. Check only allocations of the marked label.
* testsuite/util/regression/rand/assoc/detail/
operator_fn_imps.hpp: Same.

* testsuite/performance/ext/pb_ds/text_find_timing.cc: Adjustments for
        removal of type_to_type.
* testsuite/performance/ext/pb_ds/
hash_random_int_erase_mem_usage.cc: Same.
* testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_push_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
random_int_subscript_find_timing.cc: Same.
* testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
* testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
multimap_text_insert_mem_usage.hpp: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_random_int_push_timing.cc: Same.
* testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_modify_timing.hpp: Same.
* testsuite/performance/ext/pb_ds/
tree_order_statistics_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_push_pop_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_join_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_random_int_push_pop_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
random_int_subscript_insert_timing.cc: Same.
* testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
* testsuite/performance/ext/pb_ds/
multimap_text_insert_timing.hpp: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_pop_mem_usage.cc: Same.
* testsuite/performance/ext/pb_ds/
hash_zlob_random_int_find_timing.cc: Same.
* testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
* testsuite/util/regression/rand/priority_queue/
rand_regression_test.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/
constructor_destructor_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
* testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.hpp: Same.
* testsuite/util/regression/assoc/common_type.hpp: Same.
* testsuite/util/regression/basic_type.hpp: Same.
* testsuite/util/common_type/assoc/common_type.hpp: Same.
* testsuite/util/common_type/assoc/string_form.hpp: Same.
* testsuite/util/common_type/assoc/template_policy.hpp: Same.
* testsuite/util/common_type/assoc/native_set.hpp: Same.
* testsuite/util/performance/priority_queue/mem_usage/
pop_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/
push_pop_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/push_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/
modify_test.hpp: Same.
* testsuite/util/performance/assoc/mem_usage/
multimap_insert_test.hpp: Same.
* testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
multimap_insert_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
subscript_find_test.hpp: Same.
* testsuite/util/performance/assoc/timing/find_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
subscript_insert_test.hpp: Same.
* testsuite/util/performance/assoc/timing/insert_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
tree_order_statistics_test.hpp: Same.
* testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
tree_split_join_test.hpp: Same.
* testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
* testsuite/util/testsuite_common_types.h: Same.

* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Typedef
        normalization, consistency in member names between cc and gp hash
        tables, formatting fixes.
* include/ext/pb_ds/detail/cc_hash_table_map_/
erase_store_hash_fn_imps.hpp: Same.
* 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_/
constructor_destructor_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_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/erase_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_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
erase_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
erase_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_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_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_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
erase_no_store_hash_fn_imps.hpp: Same.

* include/ext/pb_ds/assoc_container.hpp: Formatting fixes.
* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/types_traits.hpp: Same.
* include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/
direct_mod_range_hashing_imp.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/mask_based_range_hashing.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/
direct_mask_range_hashing_imp.hpp: Same.

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

14 years ago * inclhack.def (solaris_once_init_2): New fix.
ghazi [Thu, 28 Sep 2006 00:45:56 +0000 (00:45 +0000)]
* inclhack.def (solaris_once_init_2): New fix.
* tests/base/pthread.h: Update.

* fixincl.x: Regenerate.

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

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

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

14 years ago2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
tromey [Wed, 27 Sep 2006 21:24:23 +0000 (21:24 +0000)]
2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>

PR target/26792:
* exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
if HAVE_GETIPINFO not defined.
* stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
(_Jv_StackTrace::getLineNumberForFrame): Likewise.
* configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
* aclocal.m4, configure, include/config.h.in, Makefile.in:
Rebuilt.

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

14 years ago * configure.in: Check for GMP 4.1 or newer. Check for MPFR 2.2.0
kargl [Wed, 27 Sep 2006 20:15:22 +0000 (20:15 +0000)]
* configure.in: Check for GMP 4.1 or newer.  Check for MPFR 2.2.0
or newer.
* configure: Regenerated.
* doc/install.texi: Document required versions of GMP and MPFR.
* fortran/arith.c: Conditionally include arctangent2().
(gfc_check_real_range): Use mpfr_subnormalize in preference to local
hack.
* fortran/trans-intrinsic.c (gfc_get_intrinsic_lib_fndecl): Append
l for long double functions.
* fortran/simplify.c: Wrap Copyright to new line.
(gfc_simplify_atan2): Use mpfr_atan2 in preference to arctangent2().
        (gfc_simplify_log): Ditto.

PR fortran/28276
* fortran/simplify.c (gfc_simplify_exponent): Use mpfr_get_exp in
preference to broken local hack.

PR fortran/27021
* fortran/simplify.c (gfc_simplify_nearest): Use mpfr_nexttoward and
mpfr_subnormalize to handle numbers near zero in preference to broken
 local hack.

PR fortran/28276
* testsuite/gfortran.dg/exponent_1.f90: New test.

PR fortran/27021
* testsuite/gfortran.dg/nearest_1.f90: New test.

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

14 years ago2006-09-27 Dave Brolley <brolley@redhat.com>
dj [Wed, 27 Sep 2006 19:42:24 +0000 (19:42 +0000)]
2006-09-27  Dave Brolley  <brolley@redhat.com>
* configure.in (RUNTEST): Look for 'runtest' in the source tree by using
$s instead of $r.
* configure: Regenerated.

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

14 years ago2006-09-27 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 27 Sep 2006 17:09:40 +0000 (17:09 +0000)]
2006-09-27  Paul Brook  <paul@codesourcery.com>

PR target/29230
gcc/
* config/arm/arm.md (arith_adjacentmem): Handle large offsets.

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

14 years agogcc/
rsandifo [Wed, 27 Sep 2006 15:27:38 +0000 (15:27 +0000)]
gcc/
* reload1.c (alter_reg): Require the alignment of the stack slot to
be at least reg_max_ref_width bytes.
(scan_paradoxical_subregs): Record the largest width in
reg_max_ref_width.

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

14 years ago * Makefile.in (distclean): Delete config files.
amodra [Wed, 27 Sep 2006 09:21:52 +0000 (09:21 +0000)]
* Makefile.in (distclean): Delete config files.

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

14 years ago https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
tromey [Wed, 27 Sep 2006 07:58:11 +0000 (07:58 +0000)]
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
* java/util/Locale.java (hashcode): No longer transient.
(writeObject): Use ObjectOutputStream.PutField and
defaultWriteObject.
(readObject): Use defaultReadObject.

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

14 years ago2006-09-27 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 27 Sep 2006 07:08:13 +0000 (07:08 +0000)]
2006-09-27  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29217
* src/localename.cc (locale::_Impl::_M_replace_categories)):
Compensate for the inconsistent numerical encodings of the
collate and time categories vs the corresponding names.
* testsuite/22_locale/locale/cons/29217.cc: New.

* testsuite/22_locale/locale/cons/2.cc: Enable and split
out the few ENC_TRAITS bits to...
* testsuite/22_locale/locale/cons/unicode/1.cc... here.

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

14 years ago * inclhack.def (solaris_mutex_init_2): Remove test for
ghazi [Wed, 27 Sep 2006 04:25:34 +0000 (04:25 +0000)]
* inclhack.def (solaris_mutex_init_2): Remove test for
PTHREAD_RWLOCK_INITIALIZER.
(solaris_rwlock_init_1): New.
* tests/base/pthread.h: Update.

* inclhack.def (solaris_once_init_1): New.
* tests/base/pthread.h: Adjust for new fix.

* fixincl.x: Regenerate.

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

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

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

14 years ago PR middle-end/25261
jakub [Tue, 26 Sep 2006 18:10:58 +0000 (18:10 +0000)]
PR middle-end/25261
PR middle-end/28790
* tree-nested.c (struct nesting_info): Added static_chain_added.
(convert_call_expr): Set static_chain_added when adding static
chain.  Handle OMP_PARALLEL and OMP_SECTION.

* gcc.dg/gomp/nestedfn-1.c: New test.

* testsuite/libgomp.c/nestedfn-4.c: New test.
* testsuite/libgomp.c/nestedfn-5.c: New test.
* testsuite/libgomp.fortran/nestedfn3.f90: New test.

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

14 years ago PR fortran/29097
jakub [Tue, 26 Sep 2006 18:06:55 +0000 (18:06 +0000)]
PR fortran/29097
* scanner.c (include_line): Handle conditional include.

* testsuite/libgomp.fortran/condinc1.f: New test.
* testsuite/libgomp.fortran/condinc2.f: New test.
* testsuite/libgomp.fortran/condinc3.f90: New test.
* testsuite/libgomp.fortran/condinc4.f90: New test.
* testsuite/libgomp.fortran/condinc1.inc: New file.

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

14 years ago2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
tromey [Tue, 26 Sep 2006 17:21:32 +0000 (17:21 +0000)]
2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>

PR target/29180
* darwin_stop_world.c: Make stack_start unsigned long.

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

14 years ago * configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise
ths [Tue, 26 Sep 2006 16:37:56 +0000 (16:37 +0000)]
* configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise
for mipstx39-*-*. Disable libgloss for mips64*-*-linux*.
* configure: Regenerate.

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

14 years ago2006-09-26 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 26 Sep 2006 15:36:21 +0000 (15:36 +0000)]
2006-09-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/29195
        * objc-act.c (objc_push_parm): If we change the type of the
        decl, relayout the decl.
2006-09-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/29195
        * objc/compile/method-1.m: New test.

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

14 years ago2006-09-25 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 26 Sep 2006 01:05:48 +0000 (01:05 +0000)]
2006-09-25  Paolo Carlini  <pcarlini@suse.de>

* Fix date of last ChangeLog entry.

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

14 years ago2006-09-26 Howard Hinnant <hhinnant@apple.com>
paolo [Tue, 26 Sep 2006 00:59:37 +0000 (00:59 +0000)]
2006-09-26  Howard Hinnant  <hhinnant@apple.com>

PR libstdc++/29224
* include/tr1/functional_iterate.h: Avoid -Wshadow warnings.

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

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

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

14 years ago2006-09-25 Matthias Klose <doko@debian.org>
doko [Mon, 25 Sep 2006 21:19:58 +0000 (21:19 +0000)]
2006-09-25  Matthias Klose  <doko@debian.org>

        * doc/invoke.texi: Add missing full stop.

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

14 years ago * native/jni/gconf-peer/Makefile.in: Rebuilt.
tromey [Mon, 25 Sep 2006 21:06:04 +0000 (21:06 +0000)]
* native/jni/gconf-peer/Makefile.in: Rebuilt.
* native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
variable.

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

14 years ago PR libgcj/29178:
tromey [Mon, 25 Sep 2006 21:04:01 +0000 (21:04 +0000)]
PR libgcj/29178:
* gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
(Encoder.canEncode): Likewise.
(Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
* gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
method.
(Encoder.canEncode): Likewise.
* gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
method.
(Encoder.canEncode): Likewise.

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

14 years ago PR c++/27667
lmillward [Mon, 25 Sep 2006 19:58:10 +0000 (19:58 +0000)]
    PR c++/27667
        * cp-tree.h (begin_specialization): Return bool instead of void.
        * pt.c (check_specialization_scope): Likwise. Adjust comment.
        Return false if a specialization isn't permitted in the current scope,.
        (begin_specialization): Use the return value of
        check_specialization_scope.
        * parser.c (cp_parser_explicit_specialization): If
        begin_specialization returned false, skip the rest of the
        specialization.

        * g++.dg/template/spec33.C: New test.
        * g++.old-deja/g++.pt/spec20.C: Adjust error markers.

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

14 years ago PR c++/27329
lmillward [Mon, 25 Sep 2006 19:45:34 +0000 (19:45 +0000)]
    PR c++/27329
        PR c++/26938
        * cp-tree.h (redeclare_class_template): Adjust declaration
        to return bool instead of void.
        * pt.c (redeclare_class_template): Update definition. Return
        false on error.
        * decl.c (xref_tag): Return error_mark_node if redeclare_class_template
        returned false.

        * g++.dg/template/crash58.C: New test.
        * g++.dg/template/crash59.C: New test.
        * g++.dg/parse/crash28.C: Adjust error markers.
        * g++.dg/template/crash34.C: Likewise.
        * g++.dg/template/friend31.C: Likewise.
        * g++.dg/template/crash32.C: Likewise.

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

14 years ago * native/fdlibm/mprec.c (mprec_calloc): Renamed.
tromey [Mon, 25 Sep 2006 18:28:11 +0000 (18:28 +0000)]
* native/fdlibm/mprec.c (mprec_calloc): Renamed.
(Balloc): Updated.

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

14 years ago * cgraph.c (dump_cgraph_varpool_node): Don't crash if called
rth [Mon, 25 Sep 2006 17:50:25 +0000 (17:50 +0000)]
    * cgraph.c (dump_cgraph_varpool_node): Don't crash if called
        before cgraph_function_flags_ready.

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

14 years ago2006-09-25 Mark Wielaard <mark@klomp.org>
tromey [Mon, 25 Sep 2006 17:30:21 +0000 (17:30 +0000)]
2006-09-25  Mark Wielaard  <mark@klomp.org>

Suggested by Aaron M. Ucko <ucko@debian.org>
Fixes bug #29203
* native/fdlibm/mprec.c (ulp): Define L as int32_t.

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

14 years ago * gnu/classpath/jdwp/VMVirtualMachine.java
kseitz [Mon, 25 Sep 2006 17:08:05 +0000 (17:08 +0000)]
    * gnu/classpath/jdwp/VMVirtualMachine.java
        (_jdwp_suspend_counts): New private variable.
        * gnu/classpath/jdwp/natVMVirtualMachine.cc
        (initialize): Initialize _jdwp_suspend_counts.
        (suspendThread): Implement.
        (resumeThread): Implement.
        (getSuspendCount): Implement.

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

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

PR libstdc++/29179
* include/ext/mt_allocator.h (__pool_base): Adjust/extend
documentation in comments.

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

14 years ago * ChangeLog: attribute change to its author :)
fxcoudert [Mon, 25 Sep 2006 09:24:08 +0000 (09:24 +0000)]
* ChangeLog: attribute change to its author :)

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

14 years ago PR fortran/21203
fxcoudert [Mon, 25 Sep 2006 09:19:36 +0000 (09:19 +0000)]
PR fortran/21203
* error.c (show_loci): No need to risk an ICE to output a
slightly nicer error message.

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

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

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

14 years agoClarify how tests are handled
korbb [Sun, 24 Sep 2006 20:12:50 +0000 (20:12 +0000)]
Clarify how tests are handled

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

14 years ago2006-09-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 24 Sep 2006 19:42:34 +0000 (19:42 +0000)]
2006-09-24  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/boost_shared_ptr.h (shared_ptr<>::shared_ptr(const
__shared_ptr<>&), shared_ptr(const __weak_ptr<>&),
shared_ptr(const __shared_ptr<>&, __static_cast_tag),
shared_ptr(const __shared_ptr<>&, __const_cast_tag),
shared_ptr(const __shared_ptr<>&, __dynamic_cast_tag),
weak_ptr<>::weak_ptr(const __shared_ptr<>&), weak_ptr(const
__weak_ptr<>&)): Remove.
(shared_ptr<>::shared_ptr(const shared_ptr<>&),
shared_ptr(const weak_ptr<>&), shared_ptr(const shared_ptr<>&,
__static_cast_tag), shared_ptr(const shared_ptr<>&,
__const_cast_tag), shared_ptr(const shared_ptr<>&,
__dynamic_cast_tag), static_pointer_cast(const shared_ptr<>&),
const_pointer_cast(const shared_ptr<>&), dynamic_pointer_cast(const
shared_ptr<>&), weak_ptr<>::weak_ptr(const shared_ptr<>&),
weak_ptr(const weak_ptr<>&), weak_ptr<>::lock(),
__enable_shared_from_this_helper(const __shared_count<>&, const
enable_shared_from_this<>*, const _Tp2*)): Add.
(class enable_shared_from_this): Add.
* testsuite/tr1/2_general_utilities/memory/enable_shared_from_this/
1.cc: New.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/casts/1.cc:
Likewise.
* testsuite/tr1/2_general_utilities/memory/weak_ptr/lock/1.cc:
Likewise.

* include/tr1/boost_shared_ptr.h: Further formatting and
uglification fixes.

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

14 years ago * gcc.dg/tree-ssa/ivopts-1.c: New test.
nemet [Sun, 24 Sep 2006 19:11:16 +0000 (19:11 +0000)]
* gcc.dg/tree-ssa/ivopts-1.c: New test.
* gcc.dg/tree-ssa/ivopts-2.c: New test.

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

14 years ago * tree-ssa-loop-ivopts.c (aff_combination_convert,
nemet [Sun, 24 Sep 2006 19:03:57 +0000 (19:03 +0000)]
* tree-ssa-loop-ivopts.c (aff_combination_convert,
determine_common_wider_type): New functions.
(get_computation_aff): Use them to simplify arithmetic between
UBASE and CBASE if they are shortened from the same type.

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

14 years agogcc/
kazu [Sun, 24 Sep 2006 18:47:25 +0000 (18:47 +0000)]
gcc/
PR target/28911
* config/m68k/m68k.md (negsf2, negdf2, negxf2): Use
-2147483647 - 1 instead of 0x80000000.

gcc/testsuite/
PR target/28911
* gcc.dg/pr28911.c: New.

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

14 years ago * MAINTAINERS (Write After Approval): Remove myself.
gerald [Sun, 24 Sep 2006 10:04:33 +0000 (10:04 +0000)]
* MAINTAINERS (Write After Approval): Remove myself.

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

14 years ago * Makefile.am: Remove dependency on gfortypes.h.
fxcoudert [Sun, 24 Sep 2006 08:55:52 +0000 (08:55 +0000)]
* Makefile.am: Remove dependency on gfortypes.h.
* Makefile.in: Regenerate.

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

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

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

14 years agogcc/
rsandifo [Sat, 23 Sep 2006 16:45:25 +0000 (16:45 +0000)]
gcc/
2001-01-01  Revital1 Eres  <ERES@il.ibm.com>

* flags.h (HONOR_NANS): Fix typo in comment.

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

14 years ago PR target/29169
uros [Sat, 23 Sep 2006 14:40:07 +0000 (14:40 +0000)]
    PR target/29169
        * gcc.target/i386/sse-21.c: Rename from sse3-not-fisttp.c.
        (dg-options): Add -mfpmath=387.

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

14 years ago * config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.
uros [Sat, 23 Sep 2006 10:33:27 +0000 (10:33 +0000)]
    * config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.

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

14 years ago PR c/28706
jakub [Sat, 23 Sep 2006 07:15:37 +0000 (07:15 +0000)]
PR c/28706
PR c/28712
* tree.c (merge_attributes, attribute_list_contained): If both
TREE_VALUEs are TREE_LISTs, use simple_cst_list_equal instead of
simple_cst_equal.
* c-typeck.c (comptypes_internal): Don't consider aggregates
in different TUs as compatible if there one set of attributes is
not a subset of the other type's attributes.
(composite_type): Try harder not to create a new aggregate type.

* gcc.dg/pr28706.c: New test.
* gcc.dg/pr28712.c: New test.

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

14 years ago PR libfortran/27964
dannysmith [Sat, 23 Sep 2006 01:56:55 +0000 (01:56 +0000)]
PR libfortran/27964
* configure.ac: Check for setmode() function.
* configure: Regenerate.
* config.h.in: Regenerate.
* io/unix.c (output_stream): Force stdout to binary mode.
(error_stream): Force stderr to binary mode.

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

14 years ago * obj-c++.dg/encode-3.mm: Fix for 64-bit support.
mrs [Sat, 23 Sep 2006 00:27:26 +0000 (00:27 +0000)]
* obj-c++.dg/encode-3.mm: Fix for 64-bit support.

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

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

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

14 years ago * config/i386/driver-i386.c: Always define host_detect_local_cpu.
geoffk [Fri, 22 Sep 2006 23:50:51 +0000 (23:50 +0000)]
* config/i386/driver-i386.c: Always define host_detect_local_cpu.
* config/i386/i386.h: Define EXTRA_SPEC_FUNCTIONS on any i386
or x86_64 host.  Define HAVE_LOCAL_CPU_DETECT.
(CC1_CPU_SPEC): Make conditional on HAVE_LOCAL_CPU_DETECT rather
than replicating condition above.
* config.host (i[34567]86-*-*): Always use driver-i386.o.

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

14 years ago * config/darwin.h (LINK_SYSROOT_SPEC): New.
geoffk [Fri, 22 Sep 2006 23:38:42 +0000 (23:38 +0000)]
* config/darwin.h (LINK_SYSROOT_SPEC): New.
(LINK_SPEC): If TARGET_SYSTEM_ROOT is defined, pass it to
the linker by default.

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

14 years ago * configure.ac: Make need_64_bit_hwint case for x86-darwin
geoffk [Fri, 22 Sep 2006 23:26:20 +0000 (23:26 +0000)]
* configure.ac: Make need_64_bit_hwint case for x86-darwin
match exactly the glob in gcc/config.gcc.
* configure: Regenerate.

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

14 years ago2006-09-22 Marco Trudel <mtrudel@gmx.ch>
tromey [Fri, 22 Sep 2006 21:31:15 +0000 (21:31 +0000)]
2006-09-22  Marco Trudel  <mtrudel@gmx.ch>

* jvmti.cc (_Jv_JVMTI_GetErrorName): Now static.  Marked JNICALL.

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

14 years ago * config/rs6000/darwin.h (PROFILE_HOOK): Reassociate comment with
mrs [Fri, 22 Sep 2006 19:47:53 +0000 (19:47 +0000)]
* config/rs6000/darwin.h (PROFILE_HOOK): Reassociate comment with
code.

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

14 years agoFix up whitespacing
mrs [Fri, 22 Sep 2006 19:14:35 +0000 (19:14 +0000)]
Fix up whitespacing

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

14 years ago* MAINTAINERS (Write After Approval): Add myself.
chaoyingfu [Fri, 22 Sep 2006 18:54:44 +0000 (18:54 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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

14 years ago PR classpath/28661
daney [Fri, 22 Sep 2006 18:45:14 +0000 (18:45 +0000)]
   PR classpath/28661
       * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
       default content-type for POST method.

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

14 years ago2006-09-22 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 22 Sep 2006 17:51:01 +0000 (17:51 +0000)]
2006-09-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29134 (vector<bool> bits)
* include/bits/stl_bvector.h (vector<bool>::max_size):
Use allocator' max_size.
* testsuite/23_containers/vector/bool/capacity/29134.cc: New.

* testsuite/23_containers/deque/capacity/29134-2.cc: Minor tweak.
* testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.

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

14 years ago2006-09-22 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 22 Sep 2006 15:54:52 +0000 (15:54 +0000)]
2006-09-22  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits (add_reference): Robustify vs
reference to void.
* testsuite/tr1/4_metaprogramming/reference_modifications/
add_reference.cc: Add test.

* include/tr1/memory: include <tr1/type_traits>.
* include/tr1/boost_shared_ptr.h (__shared_ptr<>::operator*):
Use add_reference instead.
* testsuite/tr1/2_general_utilities/memory/enable_shared_from_this/
explicit_instantiation/1.cc: New.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/
explicit_instantiation/1.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/weak_ptr/
explicit_instantiation/1.cc: Likewise.

* testsuite/util/testsuite_tr1.h: Tweak; avoid empty enum.

* include/tr1/type_traits_fwd.h: Spelling fix.

* include/tr1/boost_shared_ptr.h: Obvious stylistic fixes.

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

14 years ago2006-09-22 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 22 Sep 2006 15:43:27 +0000 (15:43 +0000)]
2006-09-22  Richard Guenther  <rguenther@suse.de>

PR middle-end/28964
* cfgexpand.c (stack_var_size_cmp): Use DECL_UID to make
sort of stack variables stable.

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

14 years ago2006-09-22 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 22 Sep 2006 14:22:21 +0000 (14:22 +0000)]
2006-09-22  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/boost_shared_ptr.h: Trivial formatting fixes.

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

14 years ago PR other/29176
ian [Fri, 22 Sep 2006 13:52:29 +0000 (13:52 +0000)]
PR other/29176
* cp-demangle.c (d_substitution): Check for overflow when
computing substitution index.

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

14 years agoSet REG_POINTER flag according to MEM_POINTER flag.
bergner [Fri, 22 Sep 2006 13:42:51 +0000 (13:42 +0000)]
Set REG_POINTER flag according to MEM_POINTER flag.

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

14 years ago2006-08-02 Sven de Marothy <sven@physto.se>
fitzsim [Fri, 22 Sep 2006 13:04:22 +0000 (13:04 +0000)]
2006-08-02  Sven de Marothy  <sven@physto.se>

* gnu/java/awt/peer/gtk/GtkChoicePeer.java
(remove): Force event on removing item 0 when it's selected.
(handleEvent): Always call Choice.selected().
* java/awt/Choice.java:
(remove): Simplify and correct.

2006-07-30  Sven de Marothy  <sven@physto.se>

* java/awt/Choice.java:
(accessibleAction): Call select() directly.
(add, insert, remove): Reimplement.
(dispatchEventImpl): Always call super.
(processItemEvent): Does not set the index.
* include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
(append): removed.
(nativeAdd): Name changed to add.
(selection_changed_cb): Simplify callback.
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
(selected): New field.
(add): Replaced with native impl.
(handleEvent): New method.

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

14 years ago PR tree-optimization/28888
rakdver [Fri, 22 Sep 2006 10:02:47 +0000 (10:02 +0000)]
PR tree-optimization/28888
* tree-if-conv.c (combine_blocks): Rewritten.
* tree-cfg.c (tree_verify_flow_info): Check that edges with
EDGE_TRUE/FALSE_VALUE follow COND_EXPR.

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

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

14 years ago * tree-ssa-propagate.c (set_rhs): Copy EXPR_LOCATION if
jakub [Fri, 22 Sep 2006 08:32:45 +0000 (08:32 +0000)]
* tree-ssa-propagate.c (set_rhs): Copy EXPR_LOCATION if
needed.

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

14 years ago * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
kseitz [Fri, 22 Sep 2006 02:12:12 +0000 (02:12 +0000)]
    * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
        events.
        (check_enabled_event): New function.
        (check_enabled_events): New function.
        (post_event): New function.
        (_Jv_JVMTI_SetEventNotificationMode): New function.
        (_Jv_JVMTI_SetEventCallbacks): New function.
        (_Jv_JVMTI_Interface): Define SetEventNotificationMode and
        SetEventCallbacks members.
        * include/jvmti-int.h: New file.
        * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
        (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
        * testsuite/libjava.jvmti/events.java: New file.
        * testsuite/libjava.jvmti/events.out: New file.
        * testsuite/libjava.jvmti/natevents.cc: New file.

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

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

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

14 years ago2006-09-21 Sandro Tolaini <tolaini@libero.it>
tromey [Thu, 21 Sep 2006 23:50:50 +0000 (23:50 +0000)]
2006-09-21  Sandro Tolaini  <tolaini@libero.it>

* configure.ac: Don't use darwin-signal.h as signal handler for
Darwin/i386.
* configure.host: Enable Darwin/i386 as a supported host, with no
signal unwinding.

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

14 years ago2006-09-21 Sandro Tolaini <tolaini@libero.it>
tromey [Thu, 21 Sep 2006 23:47:30 +0000 (23:47 +0000)]
2006-09-21  Sandro Tolaini  <tolaini@libero.it>

* os_dep.c: Port to Darwin/i386
* darwin_stop_world.c: Likewise
* include/private/gcconfig.h: Likewise

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

14 years ago PR c++/29016
mmitchel [Thu, 21 Sep 2006 22:18:54 +0000 (22:18 +0000)]
PR c++/29016
* typeck.c (build_unary_op): Don't form an ADDR_EXPR around a
BASELINK.
PR c++/29016
* g++.dg/init/ptrfn1.C: New test.

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

14 years agogcc/
rsandifo [Thu, 21 Sep 2006 21:52:23 +0000 (21:52 +0000)]
gcc/
* varasm.c (copy_constant): Fix reversed gcc_assert check.

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

14 years ago2006-09-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 21 Sep 2006 20:07:10 +0000 (20:07 +0000)]
2006-09-21  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/type_traits.h (__numeric_traits_integer): New.
(__numeric_traits_floating): New.
(__numeric_traits): Use them.
* testsuite/ext/type_traits.cc: New.

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

14 years ago PR c++/28303
lmillward [Thu, 21 Sep 2006 18:33:49 +0000 (18:33 +0000)]
    PR c++/28303
        * decl.c (grokdeclarator): Return error_mark_node on
        declaration with two or more data types.

        * g++.dg/template/typedef6.C: New test.
        * g++.dg/init/error1.C: Adjust error markers.
        * g++.dg/parse/crash9.C: Likewise.
        * g++.dg/template/crash55.C: Likewise.

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

14 years ago PR c++/28861
lmillward [Thu, 21 Sep 2006 18:22:11 +0000 (18:22 +0000)]
    PR c++/28861
        * decl.c (shadow_tag): Return error_mark_node
        if maybe_process_partial_specialization failed.

        * g++.dg/template/spec32.C: New test.
        * g++.dg/parse/crash9.C: Adjust error markers.

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

14 years ago2006-09-21 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 21 Sep 2006 17:54:50 +0000 (17:54 +0000)]
2006-09-21  Paolo Carlini  <pcarlini@suse.de>

* include/ext/hash_map: Remove forward declaration of equality
operator, not needed for friendship of all its instances.
* include/ext/hash_set: Likewise.
* include/bits/stl_set.h: Likewise for equality operator and
operator less.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/streambuf_iterator.h: Likewise for copy.
* include/std/std_streambuf.h: Likewise for __copy_aux and find.
* include/tr1/boost_shared_ptr.h: Likewise for get_deleter.
* include/tr1/random: Likewise, remove all forward declarations
of inserters and extractors.

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

14 years agogcc:
janis [Thu, 21 Sep 2006 17:34:47 +0000 (17:34 +0000)]
gcc:
* ginclude/decfloat.h (DEC*_DEN): Define using the correct builtins.

testsuite:
* gcc.dg/dfp/decfloat-constants.c: Remove 'dg-do compile', fix typo.

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

14 years ago2006-09-21 Roger Sayle <roger@eyesopen.com>
sayle [Thu, 21 Sep 2006 17:13:33 +0000 (17:13 +0000)]
2006-09-21  Roger Sayle  <roger@eyesopen.com>

PR debug/29132
* dwarf2out.c (dwarf2out_begin_prologue): Initialise the current label,
dw_fde_current_label, to be the start of the function, i.e. the same
value as dw_fde_begin.

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

14 years ago2006-09-21 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 21 Sep 2006 13:39:38 +0000 (13:39 +0000)]
2006-09-21  Paolo Carlini  <pcarlini@suse.de>

* include/ext/sso_string_base.h (__sso_string_base<>::_M_max_size(),
_M_destroy, _M_create): Use _M_get_allocator.

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

14 years ago * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Remove invocations of
bje [Thu, 21 Sep 2006 12:07:36 +0000 (12:07 +0000)]
* crossconfig.m4 (GLIBCXX_CROSSCONFIG): Remove invocations of
GLIBCXX_CHECK_COMPILER_FEATURES.
* configure.ac: Always invoke GLIBCXX_CHECK_COMPILER_FEATURES.
Remove invocations elsewhere.
* configure: Regenerate.

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

14 years ago2006-09-21 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 21 Sep 2006 10:34:48 +0000 (10:34 +0000)]
2006-09-21  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29134 (ext/vstring bits)
* include/ext/sso_string_base.h (__sso_string_base<>::_S_max_size):
Remove.
(__sso_string_base<>::_M_max_size): Use allocator' max_size.
(__sso_string_base<>::_M_create): Adjust.
* include/ext/vstring.h: Minor comment tweak.
* testsuite/ext/vstring/capacity/29134.cc: New.

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

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

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

14 years ago2006-09-20 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 21 Sep 2006 00:11:52 +0000 (00:11 +0000)]
2006-09-20  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29134
* include/bits/stl_list.h (list<>::max_size): Forward to allocator'
max_size.
* include/bits/stl_vector.h (vector<>::max_size): Likewise.
* include/bits/stl_deque.h (deque<>::max_size): Likewise.
* include/bits/stl_tree.h (_Rb_tree<>::max_size): Likewise.
* include/tr1/hashtable (_Hashtable<>::max_size): Likewise.
* testsuite/23_containers/vector/capacity/29134.cc: Add.
* testsuite/23_containers/deque/capacity/29134.cc: Likewise.
* testsuite/23_containers/list/capacity/29134.cc: Likewise.
* testsuite/23_containers/set/capacity/29134.cc: Likewise.
* testsuite/23_containers/map/capacity/29134.cc: Likewise.
* testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
* testsuite/23_containers/multimap/capacity/29134.cc: Likewise.
* testsuite/tr1/6_containers/unordered/capacity/29134-set.cc: Likewise.
* testsuite/tr1/6_containers/unordered/capacity/29134-map.cc: Likewise.
* testsuite/tr1/6_containers/unordered/capacity/29134-multiset.cc:
Likewise.
* testsuite/tr1/6_containers/unordered/capacity/29134-multimap.cc:
Likewise.

* include/bits/deque.tcc (deque<>::_M_new_elements_at_front,
deque<>::_M_new_elements_at_back): Check for length errors.
* testsuite/23_containers/deque/capacity/29134-2.cc: New.
* testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.

* include/tr1/hashtable (_Hashtable<>::_M_get_Value_allocator): Add.
(_Hashtable<>::_M_allocate_node, _M_deallocate_node): Use it.
* testsuite/tr1/6_containers/unordered/instantiate/set.cc: Add test.
* testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
* testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
Likewise.
* testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
Likewise.

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

14 years ago * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
kseitz [Thu, 21 Sep 2006 00:09:48 +0000 (00:09 +0000)]
    * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
        and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
        (_Jv_JVMTI_GetClassMethods): Likewise.
        (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
        (_Jv_JVMTI_GetJNIFunctionTable): Likewise.

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

14 years ago PR target/27650
dannysmith [Wed, 20 Sep 2006 23:32:07 +0000 (23:32 +0000)]
PR target/27650
* g++.dg/ext/dllimport12.C: New test.

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

14 years ago PR target/27650
dannysmith [Wed, 20 Sep 2006 23:27:05 +0000 (23:27 +0000)]
PR target/27650
* class.c (check_for_override): Remove dllimport from virtual
methods.

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

14 years agogcc/
rsandifo [Wed, 20 Sep 2006 21:09:42 +0000 (21:09 +0000)]
gcc/
* config/mips/mips.c (CODE_FOR_mips_abs_ps): Delete.
* config/mips/mips.md (UNSPEC_ABS_PS): New constant.
(UNSPEC_RSQRT1, UNSPEC_RSQRT2, UNSPEC_RECIP1, UNSPEC_RECIP2)
(UNSPEC_SINGLE_CC, UNSPEC_SCC): Bump values by 1.
(*nmadd<mode>, *nmadd<mode>_fastmath): Require !HONOR_NANS.
(*nmsub<mode>, *nmsub<mode>_fastmath): Likewise.
(abs<mode>2, neg<mode>2): Likewise.
* config/mips/mips-ps-3d.md (mips_abs_ps): New define_expand.
(*mips_abs_ps): New define_insn.

gcc/testsuite/
* gcc.target/mips/mips-ps-type.c: Add -ffinite-math-only.
* gcc.target/mips/nmadd-2.c: Likewise.
* gcc.target/mips/mips-ps-6.c: New test.
* gcc.target/mips/neg-abs-1.c: Likewise.
* gcc.target/mips/neg-abs-2.c: Likewise.
* gcc.target/mips/nmadd-3.c: New test.

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

14 years ago2006-08-20 Laurent GUERBY <laurent@guerby.net>
guerby [Wed, 20 Sep 2006 20:46:28 +0000 (20:46 +0000)]
2006-08-20  Laurent GUERBY  <laurent@guerby.net>

        PR ada/28716
        g-socket.adb (Bind_Socket): Call Set_Address.

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

14 years ago2006-09-20 Josh Conner <jconner@apple.com>
jconner [Wed, 20 Sep 2006 18:57:46 +0000 (18:57 +0000)]
2006-09-20  Josh Conner  <jconner@apple.com>

PR middle-end/25505
* calls.c (expand_call): Allow reuse of structure return stack
temp.

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

14 years agoRemove stray gcc/ from ChangeLog.
pbrook [Wed, 20 Sep 2006 17:30:20 +0000 (17:30 +0000)]
Remove stray gcc/ from ChangeLog.

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

14 years ago2006-09-20 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 20 Sep 2006 17:29:25 +0000 (17:29 +0000)]
2006-09-20  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/unwind-arm.c (selfrel_offset31): Clear top bit for
positive offsets.

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

14 years ago * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
kseitz [Wed, 20 Sep 2006 16:56:53 +0000 (16:56 +0000)]
    * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
        (_Jv_JVMTI_Interface): Define GetErrorName member.
        * testsuite/libjava.jvmti/geterrorname.java: New file.
        * testsuite/libjava.jvmti/geterrorname.out: New file.
        * testsuite/libjava.jvmti/natgeterrorname.cc: New file.

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

14 years ago * doc/extend.texi (Decimal Float): Update for latest draft TR,
janis [Wed, 20 Sep 2006 16:48:21 +0000 (16:48 +0000)]
* doc/extend.texi (Decimal Float): Update for latest draft TR,
clean up terminology.

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

14 years ago PR target/28574
sje [Wed, 20 Sep 2006 16:41:12 +0000 (16:41 +0000)]
PR target/28574
* ifcvt.c (dead_or_predicable): Don't predicate then blocks
with tablejumps in them.

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

14 years ago2006-09-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 20 Sep 2006 13:49:46 +0000 (13:49 +0000)]
2006-09-20  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pb_ds/detail/
typelist_assoc_container.hpp: Remove, unused.
* include/ext/pb_ds/detail/typelist/
typelist_assoc_container_find.hpp: Same.
* include/ext/pb_ds/detail/typelist: Remove.
* include/ext/pb_ds/detail/typelist.hpp: Merge...
* include/ext/pb_ds/detail/typelist/typelist_flatten.hpp: Same.
* include/ext/pb_ds/detail/typelist/typelist_contains.hpp: Same.
* include/ext/pb_ds/detail/typelist/typelist_typelist_append.hpp: Same.
* include/ext/pb_ds/detail/typelist/typelist_apply.hpp: Same.
* include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
* include/ext/pb_ds/detail/typelist/typelist_append.hpp: Same.
* include/ext/pb_ds/detail/typelist/typelist_at_index.hpp: Same.
* include/ext/pb_ds/detail/typelist/typelist_transform.hpp: Same.
* include/ext/typelist.h: ... into this.
* include/Makefile.am: Subtractions.
* include/Makefile.in: Regenerate.

* include/ext/pb_ds/assoc_container.hpp: Fixups for new includes,
namespaces, and names.
* include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
cc_hash_max_collision_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
sample_resize_policy.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
sample_resize_trigger.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_exponential_size_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_size_base.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/container_base_dispatch.hpp: Same.
* testsuite/performance/ext/pb_ds/text_find_timing.cc
* testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc
* testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc
* testsuite/performance/ext/pb_ds/priority_queue_text_push_timing.cc
* testsuite/performance/ext/pb_ds/random_int_subscript_find_timing.cc
* testsuite/performance/ext/pb_ds/tree_split_join_timing.cc
* testsuite/performance/ext/pb_ds/random_int_find_timing.cc
* testsuite/performance/ext/pb_ds/
multimap_text_insert_mem_usage.hpp: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_random_int_push_timing.cc
* testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp: Same.
* testsuite/performance/ext/pb_ds/
priority_queue_text_modify_timing.hpp: Same.
* testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc
* testsuite/performance/ext/pb_ds/
priority_queue_text_push_pop_timing.cc
* testsuite/performance/ext/pb_ds/priority_queue_text_join_timing.cc
* testsuite/performance/ext/pb_ds/
priority_queue_random_int_push_pop_timing.cc
* testsuite/performance/ext/pb_ds/random_int_subscript_insert_timing.cc
* testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc
* testsuite/performance/ext/pb_ds/
multimap_text_insert_timing.hpp: Same.
* testsuite/performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc
* testsuite/performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc
* testsuite/performance/23_containers/find/map.cc
* testsuite/performance/23_containers/create/map.cc
* testsuite/performance/23_containers/insert_erase/associative.cc
* testsuite/performance/23_containers/insert/sequence.cc
* testsuite/performance/23_containers/insert/associative.cc
* testsuite/performance/23_containers/create_from_sorted/set.cc
* testsuite/performance/23_containers/index/map.cc
* testsuite/performance/23_containers/insert_from_sorted/set.cc
* testsuite/performance/23_containers/create_sort/list.cc
* testsuite/performance/23_containers/sort_search/list.cc
* testsuite/performance/23_containers/producer_consumer/sequence.cc
* testsuite/performance/23_containers/producer_consumer/associative.cc
* testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
* testsuite/util/regression/rand/priority_queue/
rand_regression_test.hpp: Same.
* testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
* testsuite/util/regression/assoc/common_type.hpp: Same.
* testsuite/util/native_type/assoc/native_multimap.hpp: Same.
* testsuite/util/native_type/assoc/native_tree_tag.hpp: Same.
* testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
* testsuite/util/native_type/assoc/native_set.hpp: Same.
* testsuite/util/native_type/assoc/native_map.hpp: Same.
* testsuite/util/native_type/assoc/native_hash_set.hpp: Same.
* testsuite/util/native_type/assoc/native_hash_map.hpp: Same.
* testsuite/util/common_type/priority_queue/common_type.hpp: Same.
* testsuite/util/common_type/assoc/common_type.hpp: Same.
* testsuite/util/common_type/assoc/string_form.hpp: Same.
* testsuite/util/common_type/assoc/template_policy.hpp: Same.
* testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp:
Same.
* testsuite/util/performance/priority_queue/timing/push_pop_test.hpp:
Same.
* testsuite/util/performance/priority_queue/timing/join_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/push_test.hpp: Same.
* testsuite/util/performance/priority_queue/timing/modify_test.hpp:
Same.
* testsuite/util/performance/assoc/mem_usage/multimap_insert_test.hpp:
Same.
* testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
* testsuite/util/performance/assoc/timing/common_type.hpp: Same.
* testsuite/util/performance/assoc/timing/multimap_insert_test.hpp:
Same.
* testsuite/util/performance/assoc/timing/subscript_find_test.hpp:
Same.
* testsuite/util/performance/assoc/timing/find_test.hpp: Same.
* testsuite/util/performance/assoc/timing/subscript_insert_test.hpp:
Same.
* testsuite/util/performance/assoc/timing/insert_test.hpp: Same.
* testsuite/util/performance/assoc/timing/
tree_order_statistics_test.hpp: Same.
* testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
* testsuite/util/performance/assoc/timing/tree_split_join_test.hpp:
Same.
* testsuite/util/performance/assoc/multimap_common_type.hpp: Same.

* testsuite/ext/pb_ds/example/hash_resize_neg.cc: Fixup line numbers.

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

14 years ago * ChangeLog: Fix latest entry.
gary [Wed, 20 Sep 2006 11:47:14 +0000 (11:47 +0000)]
* ChangeLog: Fix latest entry.

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

14 years ago PR middle-end/28046
jakub [Wed, 20 Sep 2006 08:22:04 +0000 (08:22 +0000)]
PR middle-end/28046
* c-omp.c (c_finish_omp_atomic): If ADDR is not simple enough,
wrap it into TARGET_EXPR.

* gcc.dg/gomp/atomic-10.c: New test.
* g++.dg/gomp/atomic-10.C: New test.

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

14 years ago2006-09-20 Eric Christopher <echristo@apple.com>
echristo [Wed, 20 Sep 2006 08:11:19 +0000 (08:11 +0000)]
2006-09-20  Eric Christopher  <echristo@apple.com>

        * config/i386/i386.c (x86_fisttp): Remove.
        * config/i386/i386.h (x86_fisttp): Ditto.
        (TARGET_FISTTP): Ditto.

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

        * gcc.target/i386/sse3-not-fisttp.c: New.

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