* 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.
From-SVN: r117257
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.
From-SVN: r117256
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.
From-SVN: r117252
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.
From-SVN: r117248
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.
From-SVN: r117247
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.
From-SVN: r117229
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.
From-SVN: r117206
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.
From-SVN: r117197
* gcc.dg/tree-ssa/ivopts-1.c: New test.
* gcc.dg/tree-ssa/ivopts-2.c: New test.
Co-Authored-By: Adam Nemet <anemet@caviumnetworks.com>
From-SVN: r117183
* 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.
Co-Authored-By: Adam Nemet <anemet@caviumnetworks.com>
From-SVN: r117182
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.
From-SVN: r117167
* 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.
From-SVN: r117159