Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
cross-x86_64-gcc48-icecream-backend.31962
gcc48-remove-mpfr-2.4.0-requirement.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc48-remove-mpfr-2.4.0-requirement.patch of Package cross-x86_64-gcc48-icecream-backend.31962
Index: configure.ac =================================================================== --- configure.ac (revision 216911) +++ configure.ac (working copy) @@ -1454,7 +1454,7 @@ if test -d ${srcdir}/gcc && test "x$have AC_MSG_CHECKING([for the correct version of mpfr.h]) AC_TRY_COMPILE([#include <gmp.h> #include <mpfr.h>],[ - #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0) + #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1) choke me #endif ], [AC_TRY_COMPILE([#include <gmp.h> Index: configure =================================================================== --- configure (revision 216911) +++ configure (working copy) @@ -5524,7 +5524,7 @@ int main () { - #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0) + #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1) choke me #endif Index: gcc/fortran/simplify.c =================================================================== --- gcc/fortran/simplify.c (revision 216911) +++ gcc/fortran/simplify.c (working copy) @@ -4278,10 +4278,7 @@ gfc_simplify_mod (gfc_expr *a, gfc_expr return &gfc_bad_expr; } - gfc_set_model_kind (kind); - mpfr_fmod (result->value.real, a->value.real, p->value.real, - GFC_RND_MODE); - break; + return NULL; default: gfc_internal_error ("gfc_simplify_mod(): Bad arguments"); @@ -4327,19 +4324,7 @@ gfc_simplify_modulo (gfc_expr *a, gfc_ex return &gfc_bad_expr; } - gfc_set_model_kind (kind); - mpfr_fmod (result->value.real, a->value.real, p->value.real, - GFC_RND_MODE); - if (mpfr_cmp_ui (result->value.real, 0) != 0) - { - if (mpfr_signbit (a->value.real) != mpfr_signbit (p->value.real)) - mpfr_add (result->value.real, result->value.real, p->value.real, - GFC_RND_MODE); - } - else - mpfr_copysign (result->value.real, result->value.real, - p->value.real, GFC_RND_MODE); - break; + return NULL; default: gfc_internal_error ("gfc_simplify_modulo(): Bad arguments");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor