[Bug c/20129] New: ICE when compiling glibc-2.3.4/math/s_fmax.c

molletts at yahoo dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 22 03:14:00 GMT 2005


When cross-compiling glibc-2.3.4, gcc bails out with an ICE while attempting to 
compile math/s_fmax.c: 
 
arm-unknown-linux-gnu-gcc ../sysdeps/generic/s_fmax.c -c -std=gnu99 -Os -Wall 
-Winline -Wstrict-prototypes -Wwrite-strings -march=armv3 -pipe   -g0 -O99 
-fomit-frame-pointer -D__USE_STRING_INLINES   -Wno-uninitialized 
-D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE 
-D_Mlong_double_=double -I../include -I. -I/home/stephen/build/math -I.. 
-I../libio  -I/home/stephen/build -I../sysdeps/arm/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/arm 
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread 
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv 
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm 
-I../sysdeps/unix/sysv/linux/arm -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu 
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet 
-I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix 
-I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm 
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf 
-I../sysdeps/generic  -D_LIBC_REENTRANT -include ../include/libc-symbols.h   
-DNOT_IN_libc=1 -DIS_IN_libm=1    -o /home/stephen/build/math/s_fmax.o -MD -MP 
-MF /home/stephen/build/math/s_fmax.o.dt -MT /home/stephen/build/math/s_fmax.o 
../sysdeps/generic/s_fmax.c: In function `__fmax': 
../sysdeps/generic/s_fmax.c:28: internal compiler error: in elim_reg_cond, at 
flow.c:3257 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
Preprocessed source (s_fmax.i) follows: 
 
# 1 "../sysdeps/generic/s_fmax.c" 
# 1 "<built-in>" 
# 1 "<command line>" 
# 10 "<command line>" 
# 1 "./../include/libc-symbols.h" 1 
# 56 "./../include/libc-symbols.h" 
# 1 "/home/stephen/build/config.h" 1 
# 57 "./../include/libc-symbols.h" 2 
# 874 "./../include/libc-symbols.h" 
# 1 "../sysdeps/wordsize-32/symbol-hacks.h" 1 
# 875 "./../include/libc-symbols.h" 2 
# 11 "<command line>" 2 
# 1 "../sysdeps/generic/s_fmax.c" 
# 21 "../sysdeps/generic/s_fmax.c" 
# 1 "../include/math.h" 1 
 
 
# 1 "../math/math.h" 1 
# 27 "../math/math.h" 
# 1 "../include/features.h" 1 
# 308 "../include/features.h" 
# 1 "../include/sys/cdefs.h" 1 
 
 
# 1 "../misc/sys/cdefs.h" 1 
# 4 "../include/sys/cdefs.h" 2 
 
extern void __chk_fail (void) __attribute__ ((__noreturn__)); 
 
 
# 309 "../include/features.h" 2 
# 331 "../include/features.h" 
# 1 "../include/gnu/stubs.h" 1 
# 332 "../include/features.h" 2 
# 28 "../math/math.h" 2 
 
 
 
 
 
# 1 "../sysdeps/arm/bits/huge_val.h" 1 
# 34 "../math/math.h" 2 
 
# 1 "../sysdeps/ieee754/bits/huge_valf.h" 1 
# 36 "../math/math.h" 2 
# 1 "../sysdeps/generic/bits/huge_vall.h" 1 
# 37 "../math/math.h" 2 
 
 
# 1 "../sysdeps/ieee754/bits/inf.h" 1 
# 40 "../math/math.h" 2 
 
 
# 1 "../sysdeps/ieee754/bits/nan.h" 1 
# 43 "../math/math.h" 2 
 
 
 
# 1 "../sysdeps/arm/fpu/bits/mathdef.h" 1 
# 27 "../sysdeps/arm/fpu/bits/mathdef.h" 
typedef float float_t; 
 
typedef double double_t; 
# 47 "../math/math.h" 2 
# 70 "../math/math.h" 
# 1 "../include/bits/mathcalls.h" 1 
# 1 "../math/bits/mathcalls.h" 1 
# 53 "../math/bits/mathcalls.h" 
 
 
extern double acos (double __x) __attribute__ ((__nothrow__)); extern double 
__acos (double __x) __attribute__ ((__nothrow__)); 
 
extern double asin (double __x) __attribute__ ((__nothrow__)); extern double 
__asin (double __x) __attribute__ ((__nothrow__)); 
 
extern double atan (double __x) __attribute__ ((__nothrow__)); extern double 
__atan (double __x) __attribute__ ((__nothrow__)); 
 
extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); 
extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); 
 
 
extern double cos (double __x) __attribute__ ((__nothrow__)); extern double 
__cos (double __x) __attribute__ ((__nothrow__)); 
 
extern double sin (double __x) __attribute__ ((__nothrow__)); extern double 
__sin (double __x) __attribute__ ((__nothrow__)); 
 
extern double tan (double __x) __attribute__ ((__nothrow__)); extern double 
__tan (double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double 
__cosh (double __x) __attribute__ ((__nothrow__)); 
 
extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double 
__sinh (double __x) __attribute__ ((__nothrow__)); 
 
extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double 
__tanh (double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
extern void sincos (double __x, double *__sinx, double *__cosx) __attribute__ 
((__nothrow__)); extern void __sincos (double __x, double *__sinx, double 
*__cosx) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double 
__acosh (double __x) __attribute__ ((__nothrow__)); 
 
extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double 
__asinh (double __x) __attribute__ ((__nothrow__)); 
 
extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double 
__atanh (double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
 
extern double exp (double __x) __attribute__ ((__nothrow__)); extern double 
__exp (double __x) __attribute__ ((__nothrow__)); 
 
 
extern double frexp (double __x, int *__exponent) __attribute__ 
((__nothrow__)); extern double __frexp (double __x, int *__exponent) 
__attribute__ ((__nothrow__)); 
 
 
extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); 
extern double __ldexp (double __x, int __exponent) __attribute__ 
((__nothrow__)); 
 
 
extern double log (double __x) __attribute__ ((__nothrow__)); extern double 
__log (double __x) __attribute__ ((__nothrow__)); 
 
 
extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double 
__log10 (double __x) __attribute__ ((__nothrow__)); 
 
 
extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); 
extern double __modf (double __x, double *__iptr) __attribute__ 
((__nothrow__)); 
 
 
 
 
extern double exp10 (double __x) __attribute__ ((__nothrow__)); extern double 
__exp10 (double __x) __attribute__ ((__nothrow__)); 
 
extern double pow10 (double __x) __attribute__ ((__nothrow__)); extern double 
__pow10 (double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double 
__expm1 (double __x) __attribute__ ((__nothrow__)); 
 
 
extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double 
__log1p (double __x) __attribute__ ((__nothrow__)); 
 
 
extern double logb (double __x) __attribute__ ((__nothrow__)); extern double 
__logb (double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double 
__exp2 (double __x) __attribute__ ((__nothrow__)); 
 
 
extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double 
__log2 (double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
 
 
extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); 
extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); 
 
 
extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double 
__sqrt (double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); 
extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double 
__cbrt (double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
 
 
extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); 
extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); 
 
 
 
 
extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
extern int __finite (double __value) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
 
 
 
extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); 
extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); 
 
 
 
extern double significand (double __x) __attribute__ ((__nothrow__)); extern 
double __significand (double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); extern double __copysign (double __x, double __y) 
__attribute__ ((__nothrow__)) __attribute__ ((__const__)); 
 
 
 
 
 
 
extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); extern double __nan (__const char *__tagb) 
__attribute__ ((__nothrow__)) __attribute__ ((__const__)); 
 
 
 
 
 
extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
 
extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 
(double) __attribute__ ((__nothrow__)); 
extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 
(double) __attribute__ ((__nothrow__)); 
extern double jn (int, double) __attribute__ ((__nothrow__)); extern double 
__jn (int, double) __attribute__ ((__nothrow__)); 
extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 
(double) __attribute__ ((__nothrow__)); 
extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 
(double) __attribute__ ((__nothrow__)); 
extern double yn (int, double) __attribute__ ((__nothrow__)); extern double 
__yn (int, double) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf 
(double) __attribute__ ((__nothrow__)); 
extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc 
(double) __attribute__ ((__nothrow__)); 
extern double lgamma (double) __attribute__ ((__nothrow__)); extern double 
__lgamma (double) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern double tgamma (double) __attribute__ ((__nothrow__)); extern double 
__tgamma (double) __attribute__ ((__nothrow__)); 
 
 
 
 
 
extern double gamma (double) __attribute__ ((__nothrow__)); extern double 
__gamma (double) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); 
extern double __lgamma_r (double, int *__signgamp) __attribute__ 
((__nothrow__)); 
 
 
 
 
 
 
 
extern double rint (double __x) __attribute__ ((__nothrow__)); extern double 
__rint (double __x) __attribute__ ((__nothrow__)); 
 
 
extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); extern double __nextafter (double __x, double __y) 
__attribute__ ((__nothrow__)) __attribute__ ((__const__)); 
 
extern double nexttoward (double __x, long double __y) __attribute__ 
((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double 
__x, long double __y) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
 
extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); 
extern double __remainder (double __x, double __y) __attribute__ 
((__nothrow__)); 
 
 
 
extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); 
extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); 
 
 
 
extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb 
(double __x) __attribute__ ((__nothrow__)); 
 
 
 
 
extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); 
extern double __scalbln (double __x, long int __n) __attribute__ 
((__nothrow__)); 
 
 
 
extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern 
double __nearbyint (double __x) __attribute__ ((__nothrow__)); 
 
 
 
extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
 
extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
 
 
extern double remquo (double __x, double __y, int *__quo) __attribute__ 
((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) 
__attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long 
int __lrint (double __x) __attribute__ ((__nothrow__)); 
extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern 
long long int __llrint (double __x) __attribute__ ((__nothrow__)); 
 
 
 
extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long 
int __lround (double __x) __attribute__ ((__nothrow__)); 
extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern 
long long int __llround (double __x) __attribute__ ((__nothrow__)); 
 
 
 
extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); 
extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__)); 
 
 
extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); 
extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__)); 
 
 
extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); 
extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__)); 
 
 
 
extern int __fpclassify (double __value) __attribute__ ((__nothrow__)) 
     __attribute__ ((__const__)); 
 
 
extern int __signbit (double __value) __attribute__ ((__nothrow__)) 
     __attribute__ ((__const__)); 
 
 
 
extern double fma (double __x, double __y, double __z) __attribute__ 
((__nothrow__)); extern double __fma (double __x, double __y, double __z) 
__attribute__ ((__nothrow__)); 
 
 
 
 
extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); 
extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__)); 
# 2 "../include/bits/mathcalls.h" 2 
# 71 "../math/math.h" 2 
# 93 "../math/math.h" 
# 1 "../include/bits/mathcalls.h" 1 
# 1 "../math/bits/mathcalls.h" 1 
# 53 "../math/bits/mathcalls.h" 
 
 
extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float 
__acosf (float __x) __attribute__ ((__nothrow__)); 
 
extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float 
__asinf (float __x) __attribute__ ((__nothrow__)); 
 
extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float 
__atanf (float __x) __attribute__ ((__nothrow__)); 
 
extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); 
extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); 
 
 
extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float 
__cosf (float __x) __attribute__ ((__nothrow__)); 
 
extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float 
__sinf (float __x) __attribute__ ((__nothrow__)); 
 
extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float 
__tanf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float 
__coshf (float __x) __attribute__ ((__nothrow__)); 
 
extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float 
__sinhf (float __x) __attribute__ ((__nothrow__)); 
 
extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float 
__tanhf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
extern void sincosf (float __x, float *__sinx, float *__cosx) __attribute__ 
((__nothrow__)); extern void __sincosf (float __x, float *__sinx, float 
*__cosx) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float 
__acoshf (float __x) __attribute__ ((__nothrow__)); 
 
extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float 
__asinhf (float __x) __attribute__ ((__nothrow__)); 
 
extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float 
__atanhf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
 
extern float expf (float __x) __attribute__ ((__nothrow__)); extern float 
__expf (float __x) __attribute__ ((__nothrow__)); 
 
 
extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); 
extern float __frexpf (float __x, int *__exponent) __attribute__ 
((__nothrow__)); 
 
 
extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); 
extern float __ldexpf (float __x, int __exponent) __attribute__ 
((__nothrow__)); 
 
 
extern float logf (float __x) __attribute__ ((__nothrow__)); extern float 
__logf (float __x) __attribute__ ((__nothrow__)); 
 
 
extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float 
__log10f (float __x) __attribute__ ((__nothrow__)); 
 
 
extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); 
extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); 
 
 
 
 
extern float exp10f (float __x) __attribute__ ((__nothrow__)); extern float 
__exp10f (float __x) __attribute__ ((__nothrow__)); 
 
extern float pow10f (float __x) __attribute__ ((__nothrow__)); extern float 
__pow10f (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float 
__expm1f (float __x) __attribute__ ((__nothrow__)); 
 
 
extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float 
__log1pf (float __x) __attribute__ ((__nothrow__)); 
 
 
extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float 
__logbf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float 
__exp2f (float __x) __attribute__ ((__nothrow__)); 
 
 
extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float 
__log2f (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
 
 
extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern 
float __powf (float __x, float __y) __attribute__ ((__nothrow__)); 
 
 
extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float 
__sqrtf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); 
extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float 
__cbrtf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
 
 
extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern 
float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); 
 
 
 
 
extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
extern int __finitef (float __value) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
 
 
 
extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern 
float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); 
 
 
 
extern float significandf (float __x) __attribute__ ((__nothrow__)); extern 
float __significandf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
 
extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); extern float __copysignf (float __x, float __y) 
__attribute__ ((__nothrow__)) __attribute__ ((__const__)); 
 
 
 
 
 
 
extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); extern float __nanf (__const char *__tagb) 
__attribute__ ((__nothrow__)) __attribute__ ((__const__)); 
 
 
 
 
 
extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
 
extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f 
(float) __attribute__ ((__nothrow__)); 
extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f 
(float) __attribute__ ((__nothrow__)); 
extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf 
(int, float) __attribute__ ((__nothrow__)); 
extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f 
(float) __attribute__ ((__nothrow__)); 
extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f 
(float) __attribute__ ((__nothrow__)); 
extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf 
(int, float) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff 
(float) __attribute__ ((__nothrow__)); 
extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf 
(float) __attribute__ ((__nothrow__)); 
extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float 
__lgammaf (float) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float 
__tgammaf (float) __attribute__ ((__nothrow__)); 
 
 
 
 
 
extern float gammaf (float) __attribute__ ((__nothrow__)); extern float 
__gammaf (float) __attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); 
extern float __lgammaf_r (float, int *__signgamp) __attribute__ 
((__nothrow__)); 
 
 
 
 
 
 
 
extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float 
__rintf (float __x) __attribute__ ((__nothrow__)); 
 
 
extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) 
__attribute__ ((__nothrow__)) __attribute__ ((__const__)); 
 
extern float nexttowardf (float __x, long double __y) __attribute__ 
((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float 
__x, long double __y) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); 
 
 
 
extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); 
extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); 
 
 
 
extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern 
float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); 
 
 
 
extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int 
__ilogbf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
 
extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); 
extern float __scalblnf (float __x, long int __n) __attribute__ 
((__nothrow__)); 
 
 
 
extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float 
__nearbyintf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
 
extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ 
((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) 
__attribute__ ((__const__)); 
 
 
 
 
extern float remquof (float __x, float __y, int *__quo) __attribute__ 
((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) 
__attribute__ ((__nothrow__)); 
 
 
 
 
 
 
extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long 
int __lrintf (float __x) __attribute__ ((__nothrow__)); 
extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern 
long long int __llrintf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long 
int __lroundf (float __x) __attribute__ ((__nothrow__)); 
extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern 
long long int __llroundf (float __x) __attribute__ ((__nothrow__)); 
 
 
 
extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern 
float __fdimf (float __x, float __y) __attribute__ ((__nothrow__)); 
 
 
extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern 
float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); 
 
 
extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern 
float __fminf (float __x, float __y) __attribute__ ((__nothrow__)); 
 
 
 
extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__)) 
     __attribute__ ((__const__)); 
 
 
extern int __signbitf (float __value) __attribute__ ((__nothrow__)) 
     __attribute__ ((__const__)); 
 
 
 
extern float fmaf (float __x, float __y, float __z) __attribute__ 
((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) 
__attribute__ ((__nothrow__)); 
 
 
 
 
extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); 
extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__)); 
# 2 "../include/bits/mathcalls.h" 2 
# 94 "../math/math.h" 2 
# 130 "../math/math.h" 
extern int signgam; 
# 171 "../math/math.h" 
enum 
  { 
    FP_NAN, 
 
    FP_INFINITE, 
 
    FP_ZERO, 
 
    FP_SUBNORMAL, 
 
    FP_NORMAL 
 
  }; 
# 257 "../math/math.h" 
typedef enum 
{ 
  _IEEE_ = -1, 
  _SVID_, 
  _XOPEN_, 
  _POSIX_, 
  _ISOC_ 
} _LIB_VERSION_TYPE; 
 
 
 
 
extern _LIB_VERSION_TYPE _LIB_VERSION; 
# 282 "../math/math.h" 
struct exception 
 
  { 
    int type; 
    char *name; 
    double arg1; 
    double arg2; 
    double retval; 
  }; 
 
 
 
 
extern int matherr (struct exception *__exc); 
# 382 "../math/math.h" 
# 1 "../sysdeps/generic/bits/mathinline.h" 1 
# 383 "../math/math.h" 2 
# 438 "../math/math.h" 
 
# 4 "../include/math.h" 2 
 
 
extern int __matherr (struct exception *__exc); 
 
 
 
 
 
 
 
 
# 23 "../include/math.h" 
 
 
# 22 "../sysdeps/generic/s_fmax.c" 2 
 
 
double 
__fmax (double x, double y) 
{ 
  return (__builtin_isgreaterequal(x, y) || (sizeof (y) == sizeof (float) ? 
__isnanf (y) : __isnan (y))) ? x : y; 
} 
extern __typeof (__fmax) fmax __attribute__ ((weak, alias ("__fmax"))); 
 
extern __typeof (__fmax) __fmaxl __attribute__ ((alias ("__fmax"))); 
extern __typeof (__fmax) fmaxl __attribute__ ((weak, alias ("__fmax")));

-- 
           Summary: ICE when compiling glibc-2.3.4/math/s_fmax.c
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: molletts at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i486-pc-linux-gnu
  GCC host triplet: i486-pc-linux-gnu
GCC target triplet: arm-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20129



More information about the Gcc-bugs mailing list