summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-06 16:47:23 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-06 16:47:23 +0000
commit35a465686d10e9e2357cb0fbccc4537f5a62a9bd (patch)
tree3e4f4d69ff9d5295c2e9b873f90d55f496aebcf6 /libgfortran
parentea4d299a259d8cc08aefa91e797ec4a6e5bf4053 (diff)
downloadgcc-35a465686d10e9e2357cb0fbccc4537f5a62a9bd.tar.gz
* intrinsics/cpu_time.c: Don't include headers already included
by libgfortran.h. Protect inclusion of sys/times.h. * configure.ac: Remove unneeded checks for finit, stdio.h, stddef.h, math.h and sys/params.h. * config/fpu-aix.h: Don't include headers already included by libgfortran.h. * config/fpu-sysv.h: Likewise. * io/write.c: Likewise. * m4/minloc1.m4: Likewise. * m4/maxloc1.m4: Likewise. * m4/fraction.m4: Likewise. * m4/set_exponent.m4: Likewise. * m4/spacing.m4: Likewise. * m4/minval.m4: Likewise. * m4/maxval.m4: Likewise. * m4/exponent.m4: Likewise. * m4/nearest.m4: Likewise. * m4/minloc0.m4: Likewise. * m4/maxloc0.m4: Likewise. * m4/rrspacing.m4: Likewise. * runtime/main.c: Likewise. * runtime/error.c: Likewise. * intrinsics/system_clock.c: Likewise. * intrinsics/etime.c: Likewise. * intrinsics/stat.c: Likewise. * intrinsics/date_and_time.c: Likewise. * intrinsics/env.c: Likewise. * intrinsics/kill.c: Likewise. * intrinsics/getXid.c: Likewise. * intrinsics/chmod.c: Likewise. * intrinsics/args.c: Likewise. * intrinsics/c99_functions.c: Likewise. * generated/minval_r8.c: Regenerate. * generated/maxloc1_4_r8.c: Regenerate. * generated/minloc1_16_r16.c: Regenerate. * generated/maxval_i2.c: Regenerate. * generated/maxloc1_8_i4.c: Regenerate. * generated/exponent_r16.c: Regenerate. * generated/maxloc0_4_r4.c: Regenerate. * generated/fraction_r16.c: Regenerate. * generated/fraction_r4.c: Regenerate. * generated/minloc0_4_r16.c: Regenerate. * generated/minloc0_4_i1.c: Regenerate. * generated/maxloc0_4_r16.c: Regenerate. * generated/maxloc0_4_i2.c: Regenerate. * generated/minloc1_8_r16.c: Regenerate. * generated/maxloc1_8_r16.c: Regenerate. * generated/set_exponent_r8.c: Regenerate. * generated/maxloc0_8_i8.c: Regenerate. * generated/minloc1_4_r8.c: Regenerate. * generated/maxloc1_16_r16.c: Regenerate. * generated/minloc1_16_i4.c: Regenerate. * generated/maxloc1_16_i4.c: Regenerate. * generated/minloc0_16_i8.c: Regenerate. * generated/maxloc0_16_i8.c: Regenerate. * generated/nearest_r8.c: Regenerate. * generated/spacing_r16.c: Regenerate. * generated/maxval_r16.c: Regenerate. * generated/minloc1_8_i4.c: Regenerate. * generated/minloc0_16_i16.c: Regenerate. * generated/minloc0_4_r4.c: Regenerate. * generated/set_exponent_r10.c: Regenerate. * generated/rrspacing_r10.c: Regenerate. * generated/minloc0_4_i2.c: Regenerate. * generated/maxloc0_8_i1.c: Regenerate. * generated/minloc0_8_i8.c: Regenerate. * generated/spacing_r4.c: Regenerate. * generated/minloc1_16_r10.c: Regenerate. * generated/minloc0_16_i1.c: Regenerate. * generated/maxloc0_16_i1.c: Regenerate. * generated/maxloc1_8_r8.c: Regenerate. * generated/minval_i16.c: Regenerate. * generated/exponent_r10.c: Regenerate. * generated/maxval_i4.c: Regenerate. * generated/minval_i8.c: Regenerate. * generated/maxloc1_4_i8.c: Regenerate. * generated/fraction_r10.c: Regenerate. * generated/maxloc0_16_i16.c: Regenerate. * generated/maxloc0_8_r4.c: Regenerate. * generated/rrspacing_r8.c: Regenerate. * generated/minloc1_4_i16.c: Regenerate. * generated/minloc0_4_r10.c: Regenerate. * generated/maxloc1_4_i16.c: Regenerate. * generated/minloc0_8_i16.c: Regenerate. * generated/maxloc0_4_r10.c: Regenerate. * generated/maxloc0_8_i16.c: Regenerate. * generated/minloc1_8_r10.c: Regenerate. * generated/minloc0_16_r4.c: Regenerate. * generated/maxloc1_8_r10.c: Regenerate. * generated/maxloc0_16_r4.c: Regenerate. * generated/minloc1_16_r8.c: Regenerate. * generated/minloc0_8_i1.c: Regenerate. * generated/maxloc0_4_i4.c: Regenerate. * generated/maxloc1_16_r8.c: Regenerate. * generated/maxloc0_8_i2.c: Regenerate. * generated/nearest_r16.c: Regenerate. * generated/maxloc1_16_r10.c: Regenerate. * generated/minloc0_16_i2.c: Regenerate. * generated/minloc1_8_r8.c: Regenerate. * generated/maxloc0_16_i2.c: Regenerate. * generated/exponent_r4.c: Regenerate. * generated/spacing_r10.c: Regenerate. * generated/maxval_r10.c: Regenerate. * generated/minval_i1.c: Regenerate. * generated/maxloc1_4_i1.c: Regenerate. * generated/minloc1_4_i8.c: Regenerate. * generated/minloc0_8_r4.c: Regenerate. * generated/minloc0_16_r16.c: Regenerate. * generated/minloc0_4_i4.c: Regenerate. * generated/minloc0_8_i2.c: Regenerate. * generated/minval_r4.c: Regenerate. * generated/maxloc1_4_r4.c: Regenerate. * generated/maxval_r8.c: Regenerate. * generated/minval_r16.c: Regenerate. * generated/minloc1_4_i1.c: Regenerate. * generated/minval_i2.c: Regenerate. * generated/maxloc1_4_i2.c: Regenerate. * generated/maxloc1_8_i8.c: Regenerate. * generated/maxloc0_4_r8.c: Regenerate. * generated/maxloc0_16_r16.c: Regenerate. * generated/minloc1_4_r16.c: Regenerate. * generated/fraction_r8.c: Regenerate. * generated/maxloc1_4_r16.c: Regenerate. * generated/set_exponent_r4.c: Regenerate. * generated/minloc0_8_r16.c: Regenerate. * generated/maxloc0_8_r16.c: Regenerate. * generated/nearest_r10.c: Regenerate. * generated/maxloc0_8_i4.c: Regenerate. * generated/minloc1_4_r4.c: Regenerate. * generated/minloc0_16_i4.c: Regenerate. * generated/maxloc0_16_i4.c: Regenerate. * generated/nearest_r4.c: Regenerate. * generated/minloc1_16_i8.c: Regenerate. * generated/maxloc1_16_i8.c: Regenerate. * generated/minloc1_4_i2.c: Regenerate. * generated/maxloc1_8_i1.c: Regenerate. * generated/minloc0_16_r10.c: Regenerate. * generated/minloc1_8_i8.c: Regenerate. * generated/minloc0_4_r8.c: Regenerate. * generated/minloc0_8_i4.c: Regenerate. * generated/minloc1_16_i16.c: Regenerate. * generated/spacing_r8.c: Regenerate. * generated/maxloc1_8_r4.c: Regenerate. * generated/minloc1_16_i1.c: Regenerate. * generated/maxloc1_16_i1.c: Regenerate. * generated/minval_r10.c: Regenerate. * generated/minval_i4.c: Regenerate. * generated/minloc1_8_i1.c: Regenerate. * generated/maxloc1_4_i4.c: Regenerate. * generated/maxloc1_8_i2.c: Regenerate. * generated/maxval_i8.c: Regenerate. * generated/maxloc0_16_r10.c: Regenerate. * generated/rrspacing_r4.c: Regenerate. * generated/minloc0_4_i16.c: Regenerate. * generated/maxloc0_8_r8.c: Regenerate. * generated/maxloc0_4_i16.c: Regenerate. * generated/minloc1_4_r10.c: Regenerate. * generated/minloc1_8_i16.c: Regenerate. * generated/maxloc1_4_r10.c: Regenerate. * generated/minloc0_8_r10.c: Regenerate. * generated/maxloc1_8_i16.c: Regenerate. * generated/maxloc0_8_r10.c: Regenerate. * generated/minloc1_16_r4.c: Regenerate. * generated/maxloc1_16_r4.c: Regenerate. * generated/minloc0_16_r8.c: Regenerate. * generated/maxloc0_16_r8.c: Regenerate. * generated/maxloc0_4_i8.c: Regenerate. * generated/maxloc1_16_i16.c: Regenerate. * generated/minloc1_8_r4.c: Regenerate. * generated/minloc1_16_i2.c: Regenerate. * generated/maxloc1_16_i2.c: Regenerate. * generated/maxval_i16.c: Regenerate. * generated/exponent_r8.c: Regenerate. * generated/minloc1_4_i4.c: Regenerate. * generated/maxval_i1.c: Regenerate. * generated/minloc1_8_i2.c: Regenerate. * generated/minloc0_8_r8.c: Regenerate. * generated/set_exponent_r16.c: Regenerate. * generated/maxloc0_4_i1.c: Regenerate. * generated/rrspacing_r16.c: Regenerate. * generated/minloc0_4_i8.c: Regenerate. * generated/maxval_r4.c: Regenerate. * configure: Regenerate. * config.h.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123623 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog187
-rw-r--r--libgfortran/config.h.in15
-rw-r--r--libgfortran/config/fpu-aix.h4
-rw-r--r--libgfortran/config/fpu-sysv.h3
-rwxr-xr-xlibgfortran/configure87
-rw-r--r--libgfortran/configure.ac7
-rw-r--r--libgfortran/generated/exponent_r10.c1
-rw-r--r--libgfortran/generated/exponent_r16.c1
-rw-r--r--libgfortran/generated/exponent_r4.c1
-rw-r--r--libgfortran/generated/exponent_r8.c1
-rw-r--r--libgfortran/generated/fraction_r10.c1
-rw-r--r--libgfortran/generated/fraction_r16.c1
-rw-r--r--libgfortran/generated/fraction_r4.c1
-rw-r--r--libgfortran/generated/fraction_r8.c1
-rw-r--r--libgfortran/generated/maxloc0_16_i1.c1
-rw-r--r--libgfortran/generated/maxloc0_16_i16.c1
-rw-r--r--libgfortran/generated/maxloc0_16_i2.c1
-rw-r--r--libgfortran/generated/maxloc0_16_i4.c1
-rw-r--r--libgfortran/generated/maxloc0_16_i8.c1
-rw-r--r--libgfortran/generated/maxloc0_16_r10.c1
-rw-r--r--libgfortran/generated/maxloc0_16_r16.c1
-rw-r--r--libgfortran/generated/maxloc0_16_r4.c1
-rw-r--r--libgfortran/generated/maxloc0_16_r8.c1
-rw-r--r--libgfortran/generated/maxloc0_4_i1.c1
-rw-r--r--libgfortran/generated/maxloc0_4_i16.c1
-rw-r--r--libgfortran/generated/maxloc0_4_i2.c1
-rw-r--r--libgfortran/generated/maxloc0_4_i4.c1
-rw-r--r--libgfortran/generated/maxloc0_4_i8.c1
-rw-r--r--libgfortran/generated/maxloc0_4_r10.c1
-rw-r--r--libgfortran/generated/maxloc0_4_r16.c1
-rw-r--r--libgfortran/generated/maxloc0_4_r4.c1
-rw-r--r--libgfortran/generated/maxloc0_4_r8.c1
-rw-r--r--libgfortran/generated/maxloc0_8_i1.c1
-rw-r--r--libgfortran/generated/maxloc0_8_i16.c1
-rw-r--r--libgfortran/generated/maxloc0_8_i2.c1
-rw-r--r--libgfortran/generated/maxloc0_8_i4.c1
-rw-r--r--libgfortran/generated/maxloc0_8_i8.c1
-rw-r--r--libgfortran/generated/maxloc0_8_r10.c1
-rw-r--r--libgfortran/generated/maxloc0_8_r16.c1
-rw-r--r--libgfortran/generated/maxloc0_8_r4.c1
-rw-r--r--libgfortran/generated/maxloc0_8_r8.c1
-rw-r--r--libgfortran/generated/maxloc1_16_i1.c1
-rw-r--r--libgfortran/generated/maxloc1_16_i16.c1
-rw-r--r--libgfortran/generated/maxloc1_16_i2.c1
-rw-r--r--libgfortran/generated/maxloc1_16_i4.c1
-rw-r--r--libgfortran/generated/maxloc1_16_i8.c1
-rw-r--r--libgfortran/generated/maxloc1_16_r10.c1
-rw-r--r--libgfortran/generated/maxloc1_16_r16.c1
-rw-r--r--libgfortran/generated/maxloc1_16_r4.c1
-rw-r--r--libgfortran/generated/maxloc1_16_r8.c1
-rw-r--r--libgfortran/generated/maxloc1_4_i1.c1
-rw-r--r--libgfortran/generated/maxloc1_4_i16.c1
-rw-r--r--libgfortran/generated/maxloc1_4_i2.c1
-rw-r--r--libgfortran/generated/maxloc1_4_i4.c1
-rw-r--r--libgfortran/generated/maxloc1_4_i8.c1
-rw-r--r--libgfortran/generated/maxloc1_4_r10.c1
-rw-r--r--libgfortran/generated/maxloc1_4_r16.c1
-rw-r--r--libgfortran/generated/maxloc1_4_r4.c1
-rw-r--r--libgfortran/generated/maxloc1_4_r8.c1
-rw-r--r--libgfortran/generated/maxloc1_8_i1.c1
-rw-r--r--libgfortran/generated/maxloc1_8_i16.c1
-rw-r--r--libgfortran/generated/maxloc1_8_i2.c1
-rw-r--r--libgfortran/generated/maxloc1_8_i4.c1
-rw-r--r--libgfortran/generated/maxloc1_8_i8.c1
-rw-r--r--libgfortran/generated/maxloc1_8_r10.c1
-rw-r--r--libgfortran/generated/maxloc1_8_r16.c1
-rw-r--r--libgfortran/generated/maxloc1_8_r4.c1
-rw-r--r--libgfortran/generated/maxloc1_8_r8.c1
-rw-r--r--libgfortran/generated/maxval_i1.c1
-rw-r--r--libgfortran/generated/maxval_i16.c1
-rw-r--r--libgfortran/generated/maxval_i2.c1
-rw-r--r--libgfortran/generated/maxval_i4.c1
-rw-r--r--libgfortran/generated/maxval_i8.c1
-rw-r--r--libgfortran/generated/maxval_r10.c1
-rw-r--r--libgfortran/generated/maxval_r16.c1
-rw-r--r--libgfortran/generated/maxval_r4.c1
-rw-r--r--libgfortran/generated/maxval_r8.c1
-rw-r--r--libgfortran/generated/minloc0_16_i1.c1
-rw-r--r--libgfortran/generated/minloc0_16_i16.c1
-rw-r--r--libgfortran/generated/minloc0_16_i2.c1
-rw-r--r--libgfortran/generated/minloc0_16_i4.c1
-rw-r--r--libgfortran/generated/minloc0_16_i8.c1
-rw-r--r--libgfortran/generated/minloc0_16_r10.c1
-rw-r--r--libgfortran/generated/minloc0_16_r16.c1
-rw-r--r--libgfortran/generated/minloc0_16_r4.c1
-rw-r--r--libgfortran/generated/minloc0_16_r8.c1
-rw-r--r--libgfortran/generated/minloc0_4_i1.c1
-rw-r--r--libgfortran/generated/minloc0_4_i16.c1
-rw-r--r--libgfortran/generated/minloc0_4_i2.c1
-rw-r--r--libgfortran/generated/minloc0_4_i4.c1
-rw-r--r--libgfortran/generated/minloc0_4_i8.c1
-rw-r--r--libgfortran/generated/minloc0_4_r10.c1
-rw-r--r--libgfortran/generated/minloc0_4_r16.c1
-rw-r--r--libgfortran/generated/minloc0_4_r4.c1
-rw-r--r--libgfortran/generated/minloc0_4_r8.c1
-rw-r--r--libgfortran/generated/minloc0_8_i1.c1
-rw-r--r--libgfortran/generated/minloc0_8_i16.c1
-rw-r--r--libgfortran/generated/minloc0_8_i2.c1
-rw-r--r--libgfortran/generated/minloc0_8_i4.c1
-rw-r--r--libgfortran/generated/minloc0_8_i8.c1
-rw-r--r--libgfortran/generated/minloc0_8_r10.c1
-rw-r--r--libgfortran/generated/minloc0_8_r16.c1
-rw-r--r--libgfortran/generated/minloc0_8_r4.c1
-rw-r--r--libgfortran/generated/minloc0_8_r8.c1
-rw-r--r--libgfortran/generated/minloc1_16_i1.c1
-rw-r--r--libgfortran/generated/minloc1_16_i16.c1
-rw-r--r--libgfortran/generated/minloc1_16_i2.c1
-rw-r--r--libgfortran/generated/minloc1_16_i4.c1
-rw-r--r--libgfortran/generated/minloc1_16_i8.c1
-rw-r--r--libgfortran/generated/minloc1_16_r10.c1
-rw-r--r--libgfortran/generated/minloc1_16_r16.c1
-rw-r--r--libgfortran/generated/minloc1_16_r4.c1
-rw-r--r--libgfortran/generated/minloc1_16_r8.c1
-rw-r--r--libgfortran/generated/minloc1_4_i1.c1
-rw-r--r--libgfortran/generated/minloc1_4_i16.c1
-rw-r--r--libgfortran/generated/minloc1_4_i2.c1
-rw-r--r--libgfortran/generated/minloc1_4_i4.c1
-rw-r--r--libgfortran/generated/minloc1_4_i8.c1
-rw-r--r--libgfortran/generated/minloc1_4_r10.c1
-rw-r--r--libgfortran/generated/minloc1_4_r16.c1
-rw-r--r--libgfortran/generated/minloc1_4_r4.c1
-rw-r--r--libgfortran/generated/minloc1_4_r8.c1
-rw-r--r--libgfortran/generated/minloc1_8_i1.c1
-rw-r--r--libgfortran/generated/minloc1_8_i16.c1
-rw-r--r--libgfortran/generated/minloc1_8_i2.c1
-rw-r--r--libgfortran/generated/minloc1_8_i4.c1
-rw-r--r--libgfortran/generated/minloc1_8_i8.c1
-rw-r--r--libgfortran/generated/minloc1_8_r10.c1
-rw-r--r--libgfortran/generated/minloc1_8_r16.c1
-rw-r--r--libgfortran/generated/minloc1_8_r4.c1
-rw-r--r--libgfortran/generated/minloc1_8_r8.c1
-rw-r--r--libgfortran/generated/minval_i1.c1
-rw-r--r--libgfortran/generated/minval_i16.c1
-rw-r--r--libgfortran/generated/minval_i2.c1
-rw-r--r--libgfortran/generated/minval_i4.c1
-rw-r--r--libgfortran/generated/minval_i8.c1
-rw-r--r--libgfortran/generated/minval_r10.c1
-rw-r--r--libgfortran/generated/minval_r16.c1
-rw-r--r--libgfortran/generated/minval_r4.c1
-rw-r--r--libgfortran/generated/minval_r8.c1
-rw-r--r--libgfortran/generated/nearest_r10.c2
-rw-r--r--libgfortran/generated/nearest_r16.c2
-rw-r--r--libgfortran/generated/nearest_r4.c2
-rw-r--r--libgfortran/generated/nearest_r8.c2
-rw-r--r--libgfortran/generated/rrspacing_r10.c1
-rw-r--r--libgfortran/generated/rrspacing_r16.c1
-rw-r--r--libgfortran/generated/rrspacing_r4.c1
-rw-r--r--libgfortran/generated/rrspacing_r8.c1
-rw-r--r--libgfortran/generated/set_exponent_r10.c1
-rw-r--r--libgfortran/generated/set_exponent_r16.c1
-rw-r--r--libgfortran/generated/set_exponent_r4.c1
-rw-r--r--libgfortran/generated/set_exponent_r8.c1
-rw-r--r--libgfortran/generated/spacing_r10.c1
-rw-r--r--libgfortran/generated/spacing_r16.c1
-rw-r--r--libgfortran/generated/spacing_r4.c1
-rw-r--r--libgfortran/generated/spacing_r8.c1
-rw-r--r--libgfortran/intrinsics/args.c1
-rw-r--r--libgfortran/intrinsics/c99_functions.c3
-rw-r--r--libgfortran/intrinsics/chmod.c3
-rw-r--r--libgfortran/intrinsics/cpu_time.c5
-rw-r--r--libgfortran/intrinsics/date_and_time.c1
-rw-r--r--libgfortran/intrinsics/env.c1
-rw-r--r--libgfortran/intrinsics/etime.c1
-rw-r--r--libgfortran/intrinsics/getXid.c3
-rw-r--r--libgfortran/intrinsics/kill.c4
-rw-r--r--libgfortran/intrinsics/stat.c4
-rw-r--r--libgfortran/intrinsics/system_clock.c1
-rw-r--r--libgfortran/io/write.c1
-rw-r--r--libgfortran/m4/exponent.m41
-rw-r--r--libgfortran/m4/fraction.m41
-rw-r--r--libgfortran/m4/maxloc0.m41
-rw-r--r--libgfortran/m4/maxloc1.m41
-rw-r--r--libgfortran/m4/maxval.m41
-rw-r--r--libgfortran/m4/minloc0.m41
-rw-r--r--libgfortran/m4/minloc1.m41
-rw-r--r--libgfortran/m4/minval.m41
-rw-r--r--libgfortran/m4/nearest.m42
-rw-r--r--libgfortran/m4/rrspacing.m41
-rw-r--r--libgfortran/m4/set_exponent.m41
-rw-r--r--libgfortran/m4/spacing.m41
-rw-r--r--libgfortran/runtime/error.c1
-rw-r--r--libgfortran/runtime/main.c2
182 files changed, 194 insertions, 307 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index bb57e97d8ec..910b799b380 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,190 @@
+2007-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * intrinsics/cpu_time.c: Don't include headers already included
+ by libgfortran.h. Protect inclusion of sys/times.h.
+ * configure.ac: Remove unneeded checks for finit, stdio.h,
+ stddef.h, math.h and sys/params.h.
+ * config/fpu-aix.h: Don't include headers already included by
+ libgfortran.h.
+ * config/fpu-sysv.h: Likewise.
+ * io/write.c: Likewise.
+ * m4/minloc1.m4: Likewise.
+ * m4/maxloc1.m4: Likewise.
+ * m4/fraction.m4: Likewise.
+ * m4/set_exponent.m4: Likewise.
+ * m4/spacing.m4: Likewise.
+ * m4/minval.m4: Likewise.
+ * m4/maxval.m4: Likewise.
+ * m4/exponent.m4: Likewise.
+ * m4/nearest.m4: Likewise.
+ * m4/minloc0.m4: Likewise.
+ * m4/maxloc0.m4: Likewise.
+ * m4/rrspacing.m4: Likewise.
+ * runtime/main.c: Likewise.
+ * runtime/error.c: Likewise.
+ * intrinsics/system_clock.c: Likewise.
+ * intrinsics/etime.c: Likewise.
+ * intrinsics/stat.c: Likewise.
+ * intrinsics/date_and_time.c: Likewise.
+ * intrinsics/env.c: Likewise.
+ * intrinsics/kill.c: Likewise.
+ * intrinsics/getXid.c: Likewise.
+ * intrinsics/chmod.c: Likewise.
+ * intrinsics/args.c: Likewise.
+ * intrinsics/c99_functions.c: Likewise.
+ * generated/minval_r8.c: Regenerate.
+ * generated/maxloc1_4_r8.c: Regenerate.
+ * generated/minloc1_16_r16.c: Regenerate.
+ * generated/maxval_i2.c: Regenerate.
+ * generated/maxloc1_8_i4.c: Regenerate.
+ * generated/exponent_r16.c: Regenerate.
+ * generated/maxloc0_4_r4.c: Regenerate.
+ * generated/fraction_r16.c: Regenerate.
+ * generated/fraction_r4.c: Regenerate.
+ * generated/minloc0_4_r16.c: Regenerate.
+ * generated/minloc0_4_i1.c: Regenerate.
+ * generated/maxloc0_4_r16.c: Regenerate.
+ * generated/maxloc0_4_i2.c: Regenerate.
+ * generated/minloc1_8_r16.c: Regenerate.
+ * generated/maxloc1_8_r16.c: Regenerate.
+ * generated/set_exponent_r8.c: Regenerate.
+ * generated/maxloc0_8_i8.c: Regenerate.
+ * generated/minloc1_4_r8.c: Regenerate.
+ * generated/maxloc1_16_r16.c: Regenerate.
+ * generated/minloc1_16_i4.c: Regenerate.
+ * generated/maxloc1_16_i4.c: Regenerate.
+ * generated/minloc0_16_i8.c: Regenerate.
+ * generated/maxloc0_16_i8.c: Regenerate.
+ * generated/nearest_r8.c: Regenerate.
+ * generated/spacing_r16.c: Regenerate.
+ * generated/maxval_r16.c: Regenerate.
+ * generated/minloc1_8_i4.c: Regenerate.
+ * generated/minloc0_16_i16.c: Regenerate.
+ * generated/minloc0_4_r4.c: Regenerate.
+ * generated/set_exponent_r10.c: Regenerate.
+ * generated/rrspacing_r10.c: Regenerate.
+ * generated/minloc0_4_i2.c: Regenerate.
+ * generated/maxloc0_8_i1.c: Regenerate.
+ * generated/minloc0_8_i8.c: Regenerate.
+ * generated/spacing_r4.c: Regenerate.
+ * generated/minloc1_16_r10.c: Regenerate.
+ * generated/minloc0_16_i1.c: Regenerate.
+ * generated/maxloc0_16_i1.c: Regenerate.
+ * generated/maxloc1_8_r8.c: Regenerate.
+ * generated/minval_i16.c: Regenerate.
+ * generated/exponent_r10.c: Regenerate.
+ * generated/maxval_i4.c: Regenerate.
+ * generated/minval_i8.c: Regenerate.
+ * generated/maxloc1_4_i8.c: Regenerate.
+ * generated/fraction_r10.c: Regenerate.
+ * generated/maxloc0_16_i16.c: Regenerate.
+ * generated/maxloc0_8_r4.c: Regenerate.
+ * generated/rrspacing_r8.c: Regenerate.
+ * generated/minloc1_4_i16.c: Regenerate.
+ * generated/minloc0_4_r10.c: Regenerate.
+ * generated/maxloc1_4_i16.c: Regenerate.
+ * generated/minloc0_8_i16.c: Regenerate.
+ * generated/maxloc0_4_r10.c: Regenerate.
+ * generated/maxloc0_8_i16.c: Regenerate.
+ * generated/minloc1_8_r10.c: Regenerate.
+ * generated/minloc0_16_r4.c: Regenerate.
+ * generated/maxloc1_8_r10.c: Regenerate.
+ * generated/maxloc0_16_r4.c: Regenerate.
+ * generated/minloc1_16_r8.c: Regenerate.
+ * generated/minloc0_8_i1.c: Regenerate.
+ * generated/maxloc0_4_i4.c: Regenerate.
+ * generated/maxloc1_16_r8.c: Regenerate.
+ * generated/maxloc0_8_i2.c: Regenerate.
+ * generated/nearest_r16.c: Regenerate.
+ * generated/maxloc1_16_r10.c: Regenerate.
+ * generated/minloc0_16_i2.c: Regenerate.
+ * generated/minloc1_8_r8.c: Regenerate.
+ * generated/maxloc0_16_i2.c: Regenerate.
+ * generated/exponent_r4.c: Regenerate.
+ * generated/spacing_r10.c: Regenerate.
+ * generated/maxval_r10.c: Regenerate.
+ * generated/minval_i1.c: Regenerate.
+ * generated/maxloc1_4_i1.c: Regenerate.
+ * generated/minloc1_4_i8.c: Regenerate.
+ * generated/minloc0_8_r4.c: Regenerate.
+ * generated/minloc0_16_r16.c: Regenerate.
+ * generated/minloc0_4_i4.c: Regenerate.
+ * generated/minloc0_8_i2.c: Regenerate.
+ * generated/minval_r4.c: Regenerate.
+ * generated/maxloc1_4_r4.c: Regenerate.
+ * generated/maxval_r8.c: Regenerate.
+ * generated/minval_r16.c: Regenerate.
+ * generated/minloc1_4_i1.c: Regenerate.
+ * generated/minval_i2.c: Regenerate.
+ * generated/maxloc1_4_i2.c: Regenerate.
+ * generated/maxloc1_8_i8.c: Regenerate.
+ * generated/maxloc0_4_r8.c: Regenerate.
+ * generated/maxloc0_16_r16.c: Regenerate.
+ * generated/minloc1_4_r16.c: Regenerate.
+ * generated/fraction_r8.c: Regenerate.
+ * generated/maxloc1_4_r16.c: Regenerate.
+ * generated/set_exponent_r4.c: Regenerate.
+ * generated/minloc0_8_r16.c: Regenerate.
+ * generated/maxloc0_8_r16.c: Regenerate.
+ * generated/nearest_r10.c: Regenerate.
+ * generated/maxloc0_8_i4.c: Regenerate.
+ * generated/minloc1_4_r4.c: Regenerate.
+ * generated/minloc0_16_i4.c: Regenerate.
+ * generated/maxloc0_16_i4.c: Regenerate.
+ * generated/nearest_r4.c: Regenerate.
+ * generated/minloc1_16_i8.c: Regenerate.
+ * generated/maxloc1_16_i8.c: Regenerate.
+ * generated/minloc1_4_i2.c: Regenerate.
+ * generated/maxloc1_8_i1.c: Regenerate.
+ * generated/minloc0_16_r10.c: Regenerate.
+ * generated/minloc1_8_i8.c: Regenerate.
+ * generated/minloc0_4_r8.c: Regenerate.
+ * generated/minloc0_8_i4.c: Regenerate.
+ * generated/minloc1_16_i16.c: Regenerate.
+ * generated/spacing_r8.c: Regenerate.
+ * generated/maxloc1_8_r4.c: Regenerate.
+ * generated/minloc1_16_i1.c: Regenerate.
+ * generated/maxloc1_16_i1.c: Regenerate.
+ * generated/minval_r10.c: Regenerate.
+ * generated/minval_i4.c: Regenerate.
+ * generated/minloc1_8_i1.c: Regenerate.
+ * generated/maxloc1_4_i4.c: Regenerate.
+ * generated/maxloc1_8_i2.c: Regenerate.
+ * generated/maxval_i8.c: Regenerate.
+ * generated/maxloc0_16_r10.c: Regenerate.
+ * generated/rrspacing_r4.c: Regenerate.
+ * generated/minloc0_4_i16.c: Regenerate.
+ * generated/maxloc0_8_r8.c: Regenerate.
+ * generated/maxloc0_4_i16.c: Regenerate.
+ * generated/minloc1_4_r10.c: Regenerate.
+ * generated/minloc1_8_i16.c: Regenerate.
+ * generated/maxloc1_4_r10.c: Regenerate.
+ * generated/minloc0_8_r10.c: Regenerate.
+ * generated/maxloc1_8_i16.c: Regenerate.
+ * generated/maxloc0_8_r10.c: Regenerate.
+ * generated/minloc1_16_r4.c: Regenerate.
+ * generated/maxloc1_16_r4.c: Regenerate.
+ * generated/minloc0_16_r8.c: Regenerate.
+ * generated/maxloc0_16_r8.c: Regenerate.
+ * generated/maxloc0_4_i8.c: Regenerate.
+ * generated/maxloc1_16_i16.c: Regenerate.
+ * generated/minloc1_8_r4.c: Regenerate.
+ * generated/minloc1_16_i2.c: Regenerate.
+ * generated/maxloc1_16_i2.c: Regenerate.
+ * generated/maxval_i16.c: Regenerate.
+ * generated/exponent_r8.c: Regenerate.
+ * generated/minloc1_4_i4.c: Regenerate.
+ * generated/maxval_i1.c: Regenerate.
+ * generated/minloc1_8_i2.c: Regenerate.
+ * generated/minloc0_8_r8.c: Regenerate.
+ * generated/set_exponent_r16.c: Regenerate.
+ * generated/maxloc0_4_i1.c: Regenerate.
+ * generated/rrspacing_r16.c: Regenerate.
+ * generated/minloc0_4_i8.c: Regenerate.
+ * generated/maxval_r4.c: Regenerate.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31395
diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in
index fc8e73c8d40..f0d15d7de2a 100644
--- a/libgfortran/config.h.in
+++ b/libgfortran/config.h.in
@@ -327,9 +327,6 @@
/* Define to 1 if you have the <fenv.h> header file. */
#undef HAVE_FENV_H
-/* libm includes finite */
-#undef HAVE_FINITE
-
/* Define to 1 if you have the <floatingpoint.h> header file. */
#undef HAVE_FLOATINGPOINT_H
@@ -495,9 +492,6 @@
/* Define to 1 if you have the `lstat' function. */
#undef HAVE_LSTAT
-/* Define to 1 if you have the <math.h> header file. */
-#undef HAVE_MATH_H
-
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
@@ -591,15 +585,9 @@
/* Define to 1 if you have the `stat' function. */
#undef HAVE_STAT
-/* Define to 1 if you have the <stddef.h> header file. */
-#undef HAVE_STDDEF_H
-
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
-/* Define to 1 if you have the <stdio.h> header file. */
-#undef HAVE_STDIO_H
-
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
@@ -636,9 +624,6 @@
/* Define to 1 if the target supports __sync_fetch_and_add */
#undef HAVE_SYNC_FETCH_AND_ADD
-/* Define to 1 if you have the <sys/params.h> header file. */
-#undef HAVE_SYS_PARAMS_H
-
/* Define to 1 if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
diff --git a/libgfortran/config/fpu-aix.h b/libgfortran/config/fpu-aix.h
index f2fa0a587b7..7669fd857bf 100644
--- a/libgfortran/config/fpu-aix.h
+++ b/libgfortran/config/fpu-aix.h
@@ -34,10 +34,6 @@ Boston, MA 02110-1301, USA. */
#include <fptrap.h>
#endif
-#ifdef HAVE_FLOAT_H
-#include <float.h>
-#endif
-
void
set_fpu (void)
{
diff --git a/libgfortran/config/fpu-sysv.h b/libgfortran/config/fpu-sysv.h
index c2f28c4d17b..b08df141e23 100644
--- a/libgfortran/config/fpu-sysv.h
+++ b/libgfortran/config/fpu-sysv.h
@@ -30,9 +30,6 @@ Boston, MA 02110-1301, USA. */
/* FPU-related code for SysV platforms with fpsetmask(). */
-#ifdef HAVE_IEEEFP_H
-#include <ieeefp.h>
-#endif
void
set_fpu (void)
diff --git a/libgfortran/configure b/libgfortran/configure
index 5cc0013bb78..6a6081de125 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -6112,10 +6112,7 @@ fi
-
-
-
-for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
+for ac_header in stdlib.h string.h unistd.h signal.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -6268,8 +6265,7 @@ done
-
-for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
+for ac_header in time.h sys/time.h sys/times.h sys/resource.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -23292,85 +23288,6 @@ _ACEOF
fi
-# Fallback in case isfinite is not available.
-echo "$as_me:$LINENO: checking for finite in -lm" >&5
-echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
-if test "${ac_cv_lib_m_finite+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm $LIBS"
-if test x$gcc_no_link = xyes; then
- { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
-echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
- { (exit 1); exit 1; }; }
-fi
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char finite ();
-int
-main ()
-{
-finite ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ac_cv_lib_m_finite=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_cv_lib_m_finite=no
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
-echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
-if test $ac_cv_lib_m_finite = yes; then
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_FINITE 1
-_ACEOF
-
-fi
-
-
# Check for GNU libc feenableexcept
echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index c5fb8753f89..319b5549da8 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -161,8 +161,8 @@ AC_TYPE_OFF_T
# check header files
AC_STDC_HEADERS
AC_HEADER_TIME
-AC_HAVE_HEADERS(stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h)
-AC_CHECK_HEADERS(time.h sys/params.h sys/time.h sys/times.h sys/resource.h)
+AC_HAVE_HEADERS(stdlib.h string.h unistd.h signal.h)
+AC_CHECK_HEADERS(time.h sys/time.h sys/times.h sys/resource.h)
AC_CHECK_HEADERS(sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h)
AC_CHECK_HEADERS(fenv.h fptrap.h float.h execinfo.h)
AC_CHECK_HEADER([complex.h],[AC_DEFINE([HAVE_COMPLEX_H], [1], [complex.h exists])])
@@ -362,9 +362,6 @@ LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY
# Check whether the system has a working stat()
LIBGFOR_CHECK_WORKING_STAT
-# Fallback in case isfinite is not available.
-AC_CHECK_LIB([m],[finite],[AC_DEFINE([HAVE_FINITE],[1],[libm includes finite])])
-
# Check for GNU libc feenableexcept
AC_CHECK_LIB([m],[feenableexcept],[have_feenableexcept=yes AC_DEFINE([HAVE_FEENABLEEXCEPT],[1],[libm includes feenableexcept])])
diff --git a/libgfortran/generated/exponent_r10.c b/libgfortran/generated/exponent_r10.c
index da2d33b1262..00474b8758f 100644
--- a/libgfortran/generated/exponent_r10.c
+++ b/libgfortran/generated/exponent_r10.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/exponent_r16.c b/libgfortran/generated/exponent_r16.c
index de1769e3144..85e726ab746 100644
--- a/libgfortran/generated/exponent_r16.c
+++ b/libgfortran/generated/exponent_r16.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/exponent_r4.c b/libgfortran/generated/exponent_r4.c
index 9a9c7ebfcfe..b9e47f77c71 100644
--- a/libgfortran/generated/exponent_r4.c
+++ b/libgfortran/generated/exponent_r4.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/exponent_r8.c b/libgfortran/generated/exponent_r8.c
index d41bf9a44c0..624b7e36c28 100644
--- a/libgfortran/generated/exponent_r8.c
+++ b/libgfortran/generated/exponent_r8.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/fraction_r10.c b/libgfortran/generated/fraction_r10.c
index aac9811af5e..cee531ba224 100644
--- a/libgfortran/generated/fraction_r10.c
+++ b/libgfortran/generated/fraction_r10.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/fraction_r16.c b/libgfortran/generated/fraction_r16.c
index 399682a8344..1ca093bd444 100644
--- a/libgfortran/generated/fraction_r16.c
+++ b/libgfortran/generated/fraction_r16.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/fraction_r4.c b/libgfortran/generated/fraction_r4.c
index 252335041d1..85bce70de44 100644
--- a/libgfortran/generated/fraction_r4.c
+++ b/libgfortran/generated/fraction_r4.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/fraction_r8.c b/libgfortran/generated/fraction_r8.c
index 492e4540a81..3d2c7e54f3b 100644
--- a/libgfortran/generated/fraction_r8.c
+++ b/libgfortran/generated/fraction_r8.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_16_i1.c b/libgfortran/generated/maxloc0_16_i1.c
index 29c5f84b2a2..37b0bb06614 100644
--- a/libgfortran/generated/maxloc0_16_i1.c
+++ b/libgfortran/generated/maxloc0_16_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_16_i16.c b/libgfortran/generated/maxloc0_16_i16.c
index 82571c435e0..efd421b053c 100644
--- a/libgfortran/generated/maxloc0_16_i16.c
+++ b/libgfortran/generated/maxloc0_16_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_16_i2.c b/libgfortran/generated/maxloc0_16_i2.c
index 8cec214da8d..df2466b7776 100644
--- a/libgfortran/generated/maxloc0_16_i2.c
+++ b/libgfortran/generated/maxloc0_16_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_16_i4.c b/libgfortran/generated/maxloc0_16_i4.c
index fe46afbbb67..0154bf37c33 100644
--- a/libgfortran/generated/maxloc0_16_i4.c
+++ b/libgfortran/generated/maxloc0_16_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_16_i8.c b/libgfortran/generated/maxloc0_16_i8.c
index 82ff74fa71e..8f7804b201d 100644
--- a/libgfortran/generated/maxloc0_16_i8.c
+++ b/libgfortran/generated/maxloc0_16_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_16_r10.c b/libgfortran/generated/maxloc0_16_r10.c
index e170fca9faa..48910a9ce8d 100644
--- a/libgfortran/generated/maxloc0_16_r10.c
+++ b/libgfortran/generated/maxloc0_16_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_16_r16.c b/libgfortran/generated/maxloc0_16_r16.c
index 4f2c466c92a..8492293e9b3 100644
--- a/libgfortran/generated/maxloc0_16_r16.c
+++ b/libgfortran/generated/maxloc0_16_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_16_r4.c b/libgfortran/generated/maxloc0_16_r4.c
index bc4a63d0075..602f334b381 100644
--- a/libgfortran/generated/maxloc0_16_r4.c
+++ b/libgfortran/generated/maxloc0_16_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_16_r8.c b/libgfortran/generated/maxloc0_16_r8.c
index ed51b8a55ef..1dbdda034a9 100644
--- a/libgfortran/generated/maxloc0_16_r8.c
+++ b/libgfortran/generated/maxloc0_16_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_4_i1.c b/libgfortran/generated/maxloc0_4_i1.c
index 33d576ccfcb..de62212f47b 100644
--- a/libgfortran/generated/maxloc0_4_i1.c
+++ b/libgfortran/generated/maxloc0_4_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_4_i16.c b/libgfortran/generated/maxloc0_4_i16.c
index 1cbab8caf32..98245df9814 100644
--- a/libgfortran/generated/maxloc0_4_i16.c
+++ b/libgfortran/generated/maxloc0_4_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_4_i2.c b/libgfortran/generated/maxloc0_4_i2.c
index 548f769cfd8..0a0a04e82dc 100644
--- a/libgfortran/generated/maxloc0_4_i2.c
+++ b/libgfortran/generated/maxloc0_4_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_4_i4.c b/libgfortran/generated/maxloc0_4_i4.c
index a1ba2ae29ca..e8fe5982483 100644
--- a/libgfortran/generated/maxloc0_4_i4.c
+++ b/libgfortran/generated/maxloc0_4_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_4_i8.c b/libgfortran/generated/maxloc0_4_i8.c
index 82011f90e0f..80ef84206d7 100644
--- a/libgfortran/generated/maxloc0_4_i8.c
+++ b/libgfortran/generated/maxloc0_4_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_4_r10.c b/libgfortran/generated/maxloc0_4_r10.c
index e918875362e..0059d3bad05 100644
--- a/libgfortran/generated/maxloc0_4_r10.c
+++ b/libgfortran/generated/maxloc0_4_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_4_r16.c b/libgfortran/generated/maxloc0_4_r16.c
index ec0b06e6509..9cb04bf30ce 100644
--- a/libgfortran/generated/maxloc0_4_r16.c
+++ b/libgfortran/generated/maxloc0_4_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_4_r4.c b/libgfortran/generated/maxloc0_4_r4.c
index 1e7f1705343..e568a444b2a 100644
--- a/libgfortran/generated/maxloc0_4_r4.c
+++ b/libgfortran/generated/maxloc0_4_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_4_r8.c b/libgfortran/generated/maxloc0_4_r8.c
index 7afbfcde32c..e84235ea76f 100644
--- a/libgfortran/generated/maxloc0_4_r8.c
+++ b/libgfortran/generated/maxloc0_4_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_8_i1.c b/libgfortran/generated/maxloc0_8_i1.c
index 76ce6c6cb81..da132d4b5f1 100644
--- a/libgfortran/generated/maxloc0_8_i1.c
+++ b/libgfortran/generated/maxloc0_8_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_8_i16.c b/libgfortran/generated/maxloc0_8_i16.c
index 69b4015d136..3b94adeffb3 100644
--- a/libgfortran/generated/maxloc0_8_i16.c
+++ b/libgfortran/generated/maxloc0_8_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_8_i2.c b/libgfortran/generated/maxloc0_8_i2.c
index d6eaf04dd01..41f6457ab63 100644
--- a/libgfortran/generated/maxloc0_8_i2.c
+++ b/libgfortran/generated/maxloc0_8_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_8_i4.c b/libgfortran/generated/maxloc0_8_i4.c
index b6ccff6a096..93fa3581437 100644
--- a/libgfortran/generated/maxloc0_8_i4.c
+++ b/libgfortran/generated/maxloc0_8_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_8_i8.c b/libgfortran/generated/maxloc0_8_i8.c
index 5ab944c25e9..49a8d5255a0 100644
--- a/libgfortran/generated/maxloc0_8_i8.c
+++ b/libgfortran/generated/maxloc0_8_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_8_r10.c b/libgfortran/generated/maxloc0_8_r10.c
index cc10ee6b05f..ebe3f04d195 100644
--- a/libgfortran/generated/maxloc0_8_r10.c
+++ b/libgfortran/generated/maxloc0_8_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_8_r16.c b/libgfortran/generated/maxloc0_8_r16.c
index e4ff82140cb..800f5c6d7a0 100644
--- a/libgfortran/generated/maxloc0_8_r16.c
+++ b/libgfortran/generated/maxloc0_8_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_8_r4.c b/libgfortran/generated/maxloc0_8_r4.c
index 088df049330..f68a5ea4531 100644
--- a/libgfortran/generated/maxloc0_8_r4.c
+++ b/libgfortran/generated/maxloc0_8_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc0_8_r8.c b/libgfortran/generated/maxloc0_8_r8.c
index f0687f5f769..5ec6afede23 100644
--- a/libgfortran/generated/maxloc0_8_r8.c
+++ b/libgfortran/generated/maxloc0_8_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_16_i1.c b/libgfortran/generated/maxloc1_16_i1.c
index faa8d8539db..009ea6de124 100644
--- a/libgfortran/generated/maxloc1_16_i1.c
+++ b/libgfortran/generated/maxloc1_16_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_16_i16.c b/libgfortran/generated/maxloc1_16_i16.c
index 14db8ddd859..94bab619f19 100644
--- a/libgfortran/generated/maxloc1_16_i16.c
+++ b/libgfortran/generated/maxloc1_16_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_16_i2.c b/libgfortran/generated/maxloc1_16_i2.c
index 2bbaef5f70d..9cdd41814d3 100644
--- a/libgfortran/generated/maxloc1_16_i2.c
+++ b/libgfortran/generated/maxloc1_16_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_16_i4.c b/libgfortran/generated/maxloc1_16_i4.c
index 63b6f463f2f..564b378c4ed 100644
--- a/libgfortran/generated/maxloc1_16_i4.c
+++ b/libgfortran/generated/maxloc1_16_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_16_i8.c b/libgfortran/generated/maxloc1_16_i8.c
index 3b6a6ef1492..91b68bf1b76 100644
--- a/libgfortran/generated/maxloc1_16_i8.c
+++ b/libgfortran/generated/maxloc1_16_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_16_r10.c b/libgfortran/generated/maxloc1_16_r10.c
index 1d4a4cb8609..f60e044d6f9 100644
--- a/libgfortran/generated/maxloc1_16_r10.c
+++ b/libgfortran/generated/maxloc1_16_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_16_r16.c b/libgfortran/generated/maxloc1_16_r16.c
index 18e0a5542e6..22bdb6d545f 100644
--- a/libgfortran/generated/maxloc1_16_r16.c
+++ b/libgfortran/generated/maxloc1_16_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_16_r4.c b/libgfortran/generated/maxloc1_16_r4.c
index 10715a041b6..4af1841322b 100644
--- a/libgfortran/generated/maxloc1_16_r4.c
+++ b/libgfortran/generated/maxloc1_16_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_16_r8.c b/libgfortran/generated/maxloc1_16_r8.c
index a2b6f310ef6..34d5ada7dc9 100644
--- a/libgfortran/generated/maxloc1_16_r8.c
+++ b/libgfortran/generated/maxloc1_16_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_4_i1.c b/libgfortran/generated/maxloc1_4_i1.c
index f441d7b0df8..e2f41411528 100644
--- a/libgfortran/generated/maxloc1_4_i1.c
+++ b/libgfortran/generated/maxloc1_4_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_4_i16.c b/libgfortran/generated/maxloc1_4_i16.c
index 0848c44fdca..30d782ca579 100644
--- a/libgfortran/generated/maxloc1_4_i16.c
+++ b/libgfortran/generated/maxloc1_4_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_4_i2.c b/libgfortran/generated/maxloc1_4_i2.c
index 40b66bb655a..1e02f75b1c6 100644
--- a/libgfortran/generated/maxloc1_4_i2.c
+++ b/libgfortran/generated/maxloc1_4_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_4_i4.c b/libgfortran/generated/maxloc1_4_i4.c
index 15f1243babf..249efd76354 100644
--- a/libgfortran/generated/maxloc1_4_i4.c
+++ b/libgfortran/generated/maxloc1_4_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_4_i8.c b/libgfortran/generated/maxloc1_4_i8.c
index 2a2f37ca4d0..b12a40b9050 100644
--- a/libgfortran/generated/maxloc1_4_i8.c
+++ b/libgfortran/generated/maxloc1_4_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_4_r10.c b/libgfortran/generated/maxloc1_4_r10.c
index 0fb88545c04..c498bffd669 100644
--- a/libgfortran/generated/maxloc1_4_r10.c
+++ b/libgfortran/generated/maxloc1_4_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_4_r16.c b/libgfortran/generated/maxloc1_4_r16.c
index 140731aa615..71c9723c120 100644
--- a/libgfortran/generated/maxloc1_4_r16.c
+++ b/libgfortran/generated/maxloc1_4_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_4_r4.c b/libgfortran/generated/maxloc1_4_r4.c
index 1daf4fee971..69f3ca9e268 100644
--- a/libgfortran/generated/maxloc1_4_r4.c
+++ b/libgfortran/generated/maxloc1_4_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_4_r8.c b/libgfortran/generated/maxloc1_4_r8.c
index 90c169afabb..cab8eebbfa2 100644
--- a/libgfortran/generated/maxloc1_4_r8.c
+++ b/libgfortran/generated/maxloc1_4_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_8_i1.c b/libgfortran/generated/maxloc1_8_i1.c
index f103083c34a..a6a796672e1 100644
--- a/libgfortran/generated/maxloc1_8_i1.c
+++ b/libgfortran/generated/maxloc1_8_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_8_i16.c b/libgfortran/generated/maxloc1_8_i16.c
index 17c73ce2955..b366e68cf71 100644
--- a/libgfortran/generated/maxloc1_8_i16.c
+++ b/libgfortran/generated/maxloc1_8_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_8_i2.c b/libgfortran/generated/maxloc1_8_i2.c
index 9c0c6350cfd..0cfe019ad4b 100644
--- a/libgfortran/generated/maxloc1_8_i2.c
+++ b/libgfortran/generated/maxloc1_8_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_8_i4.c b/libgfortran/generated/maxloc1_8_i4.c
index a4f36452b63..e43ba950ade 100644
--- a/libgfortran/generated/maxloc1_8_i4.c
+++ b/libgfortran/generated/maxloc1_8_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_8_i8.c b/libgfortran/generated/maxloc1_8_i8.c
index 587ddc657f9..733462baffe 100644
--- a/libgfortran/generated/maxloc1_8_i8.c
+++ b/libgfortran/generated/maxloc1_8_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_8_r10.c b/libgfortran/generated/maxloc1_8_r10.c
index 9bf455ad8be..deef31c91ec 100644
--- a/libgfortran/generated/maxloc1_8_r10.c
+++ b/libgfortran/generated/maxloc1_8_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_8_r16.c b/libgfortran/generated/maxloc1_8_r16.c
index 13f3c189ec0..24d55c34bca 100644
--- a/libgfortran/generated/maxloc1_8_r16.c
+++ b/libgfortran/generated/maxloc1_8_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_8_r4.c b/libgfortran/generated/maxloc1_8_r4.c
index 313951b1dd0..3dd01b3bd6a 100644
--- a/libgfortran/generated/maxloc1_8_r4.c
+++ b/libgfortran/generated/maxloc1_8_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxloc1_8_r8.c b/libgfortran/generated/maxloc1_8_r8.c
index bc694c7ebe0..1adc4c88838 100644
--- a/libgfortran/generated/maxloc1_8_r8.c
+++ b/libgfortran/generated/maxloc1_8_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxval_i1.c b/libgfortran/generated/maxval_i1.c
index 042e8ad9220..3c63c225821 100644
--- a/libgfortran/generated/maxval_i1.c
+++ b/libgfortran/generated/maxval_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxval_i16.c b/libgfortran/generated/maxval_i16.c
index f5df1e1b394..9a217ac9dbd 100644
--- a/libgfortran/generated/maxval_i16.c
+++ b/libgfortran/generated/maxval_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxval_i2.c b/libgfortran/generated/maxval_i2.c
index 53a090684c3..c8fd718f8dc 100644
--- a/libgfortran/generated/maxval_i2.c
+++ b/libgfortran/generated/maxval_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxval_i4.c b/libgfortran/generated/maxval_i4.c
index 7b01617edd1..c800f1a733d 100644
--- a/libgfortran/generated/maxval_i4.c
+++ b/libgfortran/generated/maxval_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxval_i8.c b/libgfortran/generated/maxval_i8.c
index cb83c5a1e6a..898ef3c5956 100644
--- a/libgfortran/generated/maxval_i8.c
+++ b/libgfortran/generated/maxval_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxval_r10.c b/libgfortran/generated/maxval_r10.c
index 2dcfbef5add..3123d06cf58 100644
--- a/libgfortran/generated/maxval_r10.c
+++ b/libgfortran/generated/maxval_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxval_r16.c b/libgfortran/generated/maxval_r16.c
index bc456f9045d..bdef6167916 100644
--- a/libgfortran/generated/maxval_r16.c
+++ b/libgfortran/generated/maxval_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxval_r4.c b/libgfortran/generated/maxval_r4.c
index 89c944def99..ebdb9684fb6 100644
--- a/libgfortran/generated/maxval_r4.c
+++ b/libgfortran/generated/maxval_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/maxval_r8.c b/libgfortran/generated/maxval_r8.c
index b53d7deaac6..6a05df76381 100644
--- a/libgfortran/generated/maxval_r8.c
+++ b/libgfortran/generated/maxval_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_16_i1.c b/libgfortran/generated/minloc0_16_i1.c
index 963abdbd951..e8f985627d8 100644
--- a/libgfortran/generated/minloc0_16_i1.c
+++ b/libgfortran/generated/minloc0_16_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_16_i16.c b/libgfortran/generated/minloc0_16_i16.c
index e6cd4d1b3c2..31ade2421ea 100644
--- a/libgfortran/generated/minloc0_16_i16.c
+++ b/libgfortran/generated/minloc0_16_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_16_i2.c b/libgfortran/generated/minloc0_16_i2.c
index edf1c0408fc..772519dbebd 100644
--- a/libgfortran/generated/minloc0_16_i2.c
+++ b/libgfortran/generated/minloc0_16_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_16_i4.c b/libgfortran/generated/minloc0_16_i4.c
index 6060611d821..3096ec02049 100644
--- a/libgfortran/generated/minloc0_16_i4.c
+++ b/libgfortran/generated/minloc0_16_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_16_i8.c b/libgfortran/generated/minloc0_16_i8.c
index d1c5938b744..99b53bef5eb 100644
--- a/libgfortran/generated/minloc0_16_i8.c
+++ b/libgfortran/generated/minloc0_16_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_16_r10.c b/libgfortran/generated/minloc0_16_r10.c
index 8797d48598f..5c043f899d9 100644
--- a/libgfortran/generated/minloc0_16_r10.c
+++ b/libgfortran/generated/minloc0_16_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_16_r16.c b/libgfortran/generated/minloc0_16_r16.c
index 973a0f0a617..9a87bb61ee7 100644
--- a/libgfortran/generated/minloc0_16_r16.c
+++ b/libgfortran/generated/minloc0_16_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_16_r4.c b/libgfortran/generated/minloc0_16_r4.c
index dedf7f2c44a..dbe167ecfea 100644
--- a/libgfortran/generated/minloc0_16_r4.c
+++ b/libgfortran/generated/minloc0_16_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_16_r8.c b/libgfortran/generated/minloc0_16_r8.c
index 74175d9aa6a..8c43bb5a7c4 100644
--- a/libgfortran/generated/minloc0_16_r8.c
+++ b/libgfortran/generated/minloc0_16_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_4_i1.c b/libgfortran/generated/minloc0_4_i1.c
index c07ba80802d..42d64a8750d 100644
--- a/libgfortran/generated/minloc0_4_i1.c
+++ b/libgfortran/generated/minloc0_4_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_4_i16.c b/libgfortran/generated/minloc0_4_i16.c
index 5d95be6e9ca..19b960e912a 100644
--- a/libgfortran/generated/minloc0_4_i16.c
+++ b/libgfortran/generated/minloc0_4_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_4_i2.c b/libgfortran/generated/minloc0_4_i2.c
index 398bf65492d..c57d5e72643 100644
--- a/libgfortran/generated/minloc0_4_i2.c
+++ b/libgfortran/generated/minloc0_4_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_4_i4.c b/libgfortran/generated/minloc0_4_i4.c
index f03f004908a..a8c5a5e8ff2 100644
--- a/libgfortran/generated/minloc0_4_i4.c
+++ b/libgfortran/generated/minloc0_4_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_4_i8.c b/libgfortran/generated/minloc0_4_i8.c
index b8c2a206eee..61eab8cdd0c 100644
--- a/libgfortran/generated/minloc0_4_i8.c
+++ b/libgfortran/generated/minloc0_4_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_4_r10.c b/libgfortran/generated/minloc0_4_r10.c
index 2f70c745345..20a22520f3f 100644
--- a/libgfortran/generated/minloc0_4_r10.c
+++ b/libgfortran/generated/minloc0_4_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_4_r16.c b/libgfortran/generated/minloc0_4_r16.c
index f5ba63ce4e9..83f293c203f 100644
--- a/libgfortran/generated/minloc0_4_r16.c
+++ b/libgfortran/generated/minloc0_4_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_4_r4.c b/libgfortran/generated/minloc0_4_r4.c
index 7f19c539878..669a8c1c325 100644
--- a/libgfortran/generated/minloc0_4_r4.c
+++ b/libgfortran/generated/minloc0_4_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_4_r8.c b/libgfortran/generated/minloc0_4_r8.c
index 2501b6673c6..fbe9abd83bb 100644
--- a/libgfortran/generated/minloc0_4_r8.c
+++ b/libgfortran/generated/minloc0_4_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_8_i1.c b/libgfortran/generated/minloc0_8_i1.c
index 628e94025d9..e1b95ced532 100644
--- a/libgfortran/generated/minloc0_8_i1.c
+++ b/libgfortran/generated/minloc0_8_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_8_i16.c b/libgfortran/generated/minloc0_8_i16.c
index af56f6cefb3..390b74a7f75 100644
--- a/libgfortran/generated/minloc0_8_i16.c
+++ b/libgfortran/generated/minloc0_8_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_8_i2.c b/libgfortran/generated/minloc0_8_i2.c
index 9e03ee5dce1..c07042989e9 100644
--- a/libgfortran/generated/minloc0_8_i2.c
+++ b/libgfortran/generated/minloc0_8_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_8_i4.c b/libgfortran/generated/minloc0_8_i4.c
index 5bcfec09ba1..524af749728 100644
--- a/libgfortran/generated/minloc0_8_i4.c
+++ b/libgfortran/generated/minloc0_8_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_8_i8.c b/libgfortran/generated/minloc0_8_i8.c
index 1f7f7fd510a..510973cb35f 100644
--- a/libgfortran/generated/minloc0_8_i8.c
+++ b/libgfortran/generated/minloc0_8_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_8_r10.c b/libgfortran/generated/minloc0_8_r10.c
index 72b7ed5f2bf..7e4dcb017e7 100644
--- a/libgfortran/generated/minloc0_8_r10.c
+++ b/libgfortran/generated/minloc0_8_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_8_r16.c b/libgfortran/generated/minloc0_8_r16.c
index ca465453810..dfb6bd67ead 100644
--- a/libgfortran/generated/minloc0_8_r16.c
+++ b/libgfortran/generated/minloc0_8_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_8_r4.c b/libgfortran/generated/minloc0_8_r4.c
index 45ac73ba005..d10f942e2ab 100644
--- a/libgfortran/generated/minloc0_8_r4.c
+++ b/libgfortran/generated/minloc0_8_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc0_8_r8.c b/libgfortran/generated/minloc0_8_r8.c
index 67bd8884b12..781f0caaef4 100644
--- a/libgfortran/generated/minloc0_8_r8.c
+++ b/libgfortran/generated/minloc0_8_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_16_i1.c b/libgfortran/generated/minloc1_16_i1.c
index 9325b1f0863..fa25b3d82d6 100644
--- a/libgfortran/generated/minloc1_16_i1.c
+++ b/libgfortran/generated/minloc1_16_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_16_i16.c b/libgfortran/generated/minloc1_16_i16.c
index ebbecec7c11..4ea816f6539 100644
--- a/libgfortran/generated/minloc1_16_i16.c
+++ b/libgfortran/generated/minloc1_16_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_16_i2.c b/libgfortran/generated/minloc1_16_i2.c
index 0e8aa00f87c..6251f19d2eb 100644
--- a/libgfortran/generated/minloc1_16_i2.c
+++ b/libgfortran/generated/minloc1_16_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_16_i4.c b/libgfortran/generated/minloc1_16_i4.c
index 9b12ab48a89..c70b028122f 100644
--- a/libgfortran/generated/minloc1_16_i4.c
+++ b/libgfortran/generated/minloc1_16_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_16_i8.c b/libgfortran/generated/minloc1_16_i8.c
index a0e447f44ea..913532711c4 100644
--- a/libgfortran/generated/minloc1_16_i8.c
+++ b/libgfortran/generated/minloc1_16_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_16_r10.c b/libgfortran/generated/minloc1_16_r10.c
index 9cbc80cb53d..77cc6442b99 100644
--- a/libgfortran/generated/minloc1_16_r10.c
+++ b/libgfortran/generated/minloc1_16_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_16_r16.c b/libgfortran/generated/minloc1_16_r16.c
index e3efc0db8ae..146a66f29a7 100644
--- a/libgfortran/generated/minloc1_16_r16.c
+++ b/libgfortran/generated/minloc1_16_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_16_r4.c b/libgfortran/generated/minloc1_16_r4.c
index 6fb0ef49414..93bf9e99b4e 100644
--- a/libgfortran/generated/minloc1_16_r4.c
+++ b/libgfortran/generated/minloc1_16_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_16_r8.c b/libgfortran/generated/minloc1_16_r8.c
index 0b0e7b98d4c..8313589bd7b 100644
--- a/libgfortran/generated/minloc1_16_r8.c
+++ b/libgfortran/generated/minloc1_16_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_4_i1.c b/libgfortran/generated/minloc1_4_i1.c
index 4e0c4dd02bb..637a7ec2be6 100644
--- a/libgfortran/generated/minloc1_4_i1.c
+++ b/libgfortran/generated/minloc1_4_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_4_i16.c b/libgfortran/generated/minloc1_4_i16.c
index e72c8e4f60b..abc9d792c90 100644
--- a/libgfortran/generated/minloc1_4_i16.c
+++ b/libgfortran/generated/minloc1_4_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_4_i2.c b/libgfortran/generated/minloc1_4_i2.c
index 6c6ba8f9be9..0183035d462 100644
--- a/libgfortran/generated/minloc1_4_i2.c
+++ b/libgfortran/generated/minloc1_4_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_4_i4.c b/libgfortran/generated/minloc1_4_i4.c
index 64e80a30b14..8e746c8bc40 100644
--- a/libgfortran/generated/minloc1_4_i4.c
+++ b/libgfortran/generated/minloc1_4_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_4_i8.c b/libgfortran/generated/minloc1_4_i8.c
index 408e8328a46..a05e972817b 100644
--- a/libgfortran/generated/minloc1_4_i8.c
+++ b/libgfortran/generated/minloc1_4_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_4_r10.c b/libgfortran/generated/minloc1_4_r10.c
index 64ea02e0602..2c36814d3fe 100644
--- a/libgfortran/generated/minloc1_4_r10.c
+++ b/libgfortran/generated/minloc1_4_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_4_r16.c b/libgfortran/generated/minloc1_4_r16.c
index 34ce250e170..7258ddaed42 100644
--- a/libgfortran/generated/minloc1_4_r16.c
+++ b/libgfortran/generated/minloc1_4_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_4_r4.c b/libgfortran/generated/minloc1_4_r4.c
index 1e22a50aca3..b36cee2d1fa 100644
--- a/libgfortran/generated/minloc1_4_r4.c
+++ b/libgfortran/generated/minloc1_4_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_4_r8.c b/libgfortran/generated/minloc1_4_r8.c
index c46393cff3b..a4ad1382b57 100644
--- a/libgfortran/generated/minloc1_4_r8.c
+++ b/libgfortran/generated/minloc1_4_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_8_i1.c b/libgfortran/generated/minloc1_8_i1.c
index 187393aaef0..36f49828bae 100644
--- a/libgfortran/generated/minloc1_8_i1.c
+++ b/libgfortran/generated/minloc1_8_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_8_i16.c b/libgfortran/generated/minloc1_8_i16.c
index d4392f6cc31..907454dc50a 100644
--- a/libgfortran/generated/minloc1_8_i16.c
+++ b/libgfortran/generated/minloc1_8_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_8_i2.c b/libgfortran/generated/minloc1_8_i2.c
index 04c3618805e..1d6526ec6b6 100644
--- a/libgfortran/generated/minloc1_8_i2.c
+++ b/libgfortran/generated/minloc1_8_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_8_i4.c b/libgfortran/generated/minloc1_8_i4.c
index f47b5f7b598..cebf4527e13 100644
--- a/libgfortran/generated/minloc1_8_i4.c
+++ b/libgfortran/generated/minloc1_8_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_8_i8.c b/libgfortran/generated/minloc1_8_i8.c
index 8de5f03e3d4..1b822e2c6a5 100644
--- a/libgfortran/generated/minloc1_8_i8.c
+++ b/libgfortran/generated/minloc1_8_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_8_r10.c b/libgfortran/generated/minloc1_8_r10.c
index 5285cc22b39..f7fb3bf3c13 100644
--- a/libgfortran/generated/minloc1_8_r10.c
+++ b/libgfortran/generated/minloc1_8_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_8_r16.c b/libgfortran/generated/minloc1_8_r16.c
index 30753ce24f4..cbba161c84c 100644
--- a/libgfortran/generated/minloc1_8_r16.c
+++ b/libgfortran/generated/minloc1_8_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_8_r4.c b/libgfortran/generated/minloc1_8_r4.c
index 069e0496f72..75081789788 100644
--- a/libgfortran/generated/minloc1_8_r4.c
+++ b/libgfortran/generated/minloc1_8_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minloc1_8_r8.c b/libgfortran/generated/minloc1_8_r8.c
index 260898c7a6e..372ff2135fa 100644
--- a/libgfortran/generated/minloc1_8_r8.c
+++ b/libgfortran/generated/minloc1_8_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minval_i1.c b/libgfortran/generated/minval_i1.c
index 9959915493a..6ac105b2cd9 100644
--- a/libgfortran/generated/minval_i1.c
+++ b/libgfortran/generated/minval_i1.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minval_i16.c b/libgfortran/generated/minval_i16.c
index cc1066bc82c..3dd1678b617 100644
--- a/libgfortran/generated/minval_i16.c
+++ b/libgfortran/generated/minval_i16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minval_i2.c b/libgfortran/generated/minval_i2.c
index e42c9f69be5..6d0d3eb8668 100644
--- a/libgfortran/generated/minval_i2.c
+++ b/libgfortran/generated/minval_i2.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minval_i4.c b/libgfortran/generated/minval_i4.c
index 9bea78aa57c..2d6c1dee749 100644
--- a/libgfortran/generated/minval_i4.c
+++ b/libgfortran/generated/minval_i4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minval_i8.c b/libgfortran/generated/minval_i8.c
index 023e9e8269e..78158ca98b3 100644
--- a/libgfortran/generated/minval_i8.c
+++ b/libgfortran/generated/minval_i8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minval_r10.c b/libgfortran/generated/minval_r10.c
index 3a8a5c089ae..fe87af41ac1 100644
--- a/libgfortran/generated/minval_r10.c
+++ b/libgfortran/generated/minval_r10.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minval_r16.c b/libgfortran/generated/minval_r16.c
index 82df48c22e4..58596b5eea6 100644
--- a/libgfortran/generated/minval_r16.c
+++ b/libgfortran/generated/minval_r16.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minval_r4.c b/libgfortran/generated/minval_r4.c
index 950449bab9d..a11549ee974 100644
--- a/libgfortran/generated/minval_r4.c
+++ b/libgfortran/generated/minval_r4.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/minval_r8.c b/libgfortran/generated/minval_r8.c
index ec814815e96..14ca0552bda 100644
--- a/libgfortran/generated/minval_r8.c
+++ b/libgfortran/generated/minval_r8.c
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/nearest_r10.c b/libgfortran/generated/nearest_r10.c
index 5a02d74a2ed..6db0725e8b4 100644
--- a/libgfortran/generated/nearest_r10.c
+++ b/libgfortran/generated/nearest_r10.c
@@ -29,8 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/nearest_r16.c b/libgfortran/generated/nearest_r16.c
index eeb532a5230..a7d846bfccd 100644
--- a/libgfortran/generated/nearest_r16.c
+++ b/libgfortran/generated/nearest_r16.c
@@ -29,8 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/nearest_r4.c b/libgfortran/generated/nearest_r4.c
index 02fd6aa5cb7..53a8baaec61 100644
--- a/libgfortran/generated/nearest_r4.c
+++ b/libgfortran/generated/nearest_r4.c
@@ -29,8 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/nearest_r8.c b/libgfortran/generated/nearest_r8.c
index e050f74077f..ef9fca772ae 100644
--- a/libgfortran/generated/nearest_r8.c
+++ b/libgfortran/generated/nearest_r8.c
@@ -29,8 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
-#include <float.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/rrspacing_r10.c b/libgfortran/generated/rrspacing_r10.c
index 2950b71941a..019c40fdcf0 100644
--- a/libgfortran/generated/rrspacing_r10.c
+++ b/libgfortran/generated/rrspacing_r10.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/rrspacing_r16.c b/libgfortran/generated/rrspacing_r16.c
index 20225d45bae..352d303eac7 100644
--- a/libgfortran/generated/rrspacing_r16.c
+++ b/libgfortran/generated/rrspacing_r16.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/rrspacing_r4.c b/libgfortran/generated/rrspacing_r4.c
index 89be40b1a1c..22e844f65b3 100644
--- a/libgfortran/generated/rrspacing_r4.c
+++ b/libgfortran/generated/rrspacing_r4.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/rrspacing_r8.c b/libgfortran/generated/rrspacing_r8.c
index 9dc87381de1..f2b93bf67d5 100644
--- a/libgfortran/generated/rrspacing_r8.c
+++ b/libgfortran/generated/rrspacing_r8.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/set_exponent_r10.c b/libgfortran/generated/set_exponent_r10.c
index 49a0a6e3e4e..1613baa844a 100644
--- a/libgfortran/generated/set_exponent_r10.c
+++ b/libgfortran/generated/set_exponent_r10.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/set_exponent_r16.c b/libgfortran/generated/set_exponent_r16.c
index ddc1fc6f005..498ab4baf09 100644
--- a/libgfortran/generated/set_exponent_r16.c
+++ b/libgfortran/generated/set_exponent_r16.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/set_exponent_r4.c b/libgfortran/generated/set_exponent_r4.c
index 6b1be5d43d8..cb0f6e11321 100644
--- a/libgfortran/generated/set_exponent_r4.c
+++ b/libgfortran/generated/set_exponent_r4.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/set_exponent_r8.c b/libgfortran/generated/set_exponent_r8.c
index 1707a9063b6..e616e95f765 100644
--- a/libgfortran/generated/set_exponent_r8.c
+++ b/libgfortran/generated/set_exponent_r8.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/spacing_r10.c b/libgfortran/generated/spacing_r10.c
index 797920c60c3..c9317dc027b 100644
--- a/libgfortran/generated/spacing_r10.c
+++ b/libgfortran/generated/spacing_r10.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/spacing_r16.c b/libgfortran/generated/spacing_r16.c
index c13e9b11882..5919f75a90e 100644
--- a/libgfortran/generated/spacing_r16.c
+++ b/libgfortran/generated/spacing_r16.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/spacing_r4.c b/libgfortran/generated/spacing_r4.c
index 1e09e1106c4..f8617a9628d 100644
--- a/libgfortran/generated/spacing_r4.c
+++ b/libgfortran/generated/spacing_r4.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/generated/spacing_r8.c b/libgfortran/generated/spacing_r8.c
index cde5d96f1fd..4de8ce81364 100644
--- a/libgfortran/generated/spacing_r8.c
+++ b/libgfortran/generated/spacing_r8.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"
diff --git a/libgfortran/intrinsics/args.c b/libgfortran/intrinsics/args.c
index b9273b30ace..26a6b20f169 100644
--- a/libgfortran/intrinsics/args.c
+++ b/libgfortran/intrinsics/args.c
@@ -30,7 +30,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <sys/types.h>
#include <string.h>
#include "libgfortran.h"
diff --git a/libgfortran/intrinsics/c99_functions.c b/libgfortran/intrinsics/c99_functions.c
index 7278169684f..8b82ae3346a 100644
--- a/libgfortran/intrinsics/c99_functions.c
+++ b/libgfortran/intrinsics/c99_functions.c
@@ -28,9 +28,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <sys/types.h>
-#include <float.h>
-#include <math.h>
#define C99_PROTOS_H WE_DONT_WANT_PROTOS_NOW
#include "libgfortran.h"
diff --git a/libgfortran/intrinsics/chmod.c b/libgfortran/intrinsics/chmod.c
index abc5b99a1a2..fd0542fa1bb 100644
--- a/libgfortran/intrinsics/chmod.c
+++ b/libgfortran/intrinsics/chmod.c
@@ -39,9 +39,6 @@ Boston, MA 02110-1301, USA. */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
diff --git a/libgfortran/intrinsics/cpu_time.c b/libgfortran/intrinsics/cpu_time.c
index 5e0dee22226..c94cb4c5ce7 100644
--- a/libgfortran/intrinsics/cpu_time.c
+++ b/libgfortran/intrinsics/cpu_time.c
@@ -28,7 +28,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <sys/types.h>
#include "libgfortran.h"
#ifdef HAVE_UNISTD_H
@@ -66,7 +65,9 @@ Boston, MA 02110-1301, USA. */
# ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
# endif
-# include <sys/times.h>
+# if defined (HAVE_SYS_TIMES_H)
+# include <sys/times.h>
+# endif
# ifndef HZ
# if defined _SC_CLK_TCK
# define HZ sysconf(_SC_CLK_TCK)
diff --git a/libgfortran/intrinsics/date_and_time.c b/libgfortran/intrinsics/date_and_time.c
index 18b3c8b141b..2346b928d23 100644
--- a/libgfortran/intrinsics/date_and_time.c
+++ b/libgfortran/intrinsics/date_and_time.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <sys/types.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>
diff --git a/libgfortran/intrinsics/env.c b/libgfortran/intrinsics/env.c
index d9084b746c1..c4cc4f41ace 100644
--- a/libgfortran/intrinsics/env.c
+++ b/libgfortran/intrinsics/env.c
@@ -30,7 +30,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include "libgfortran.h"
diff --git a/libgfortran/intrinsics/etime.c b/libgfortran/intrinsics/etime.c
index c5a6ee9ddf5..8929158b809 100644
--- a/libgfortran/intrinsics/etime.c
+++ b/libgfortran/intrinsics/etime.c
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <sys/types.h>
#include "libgfortran.h"
#include <stdio.h>
diff --git a/libgfortran/intrinsics/getXid.c b/libgfortran/intrinsics/getXid.c
index 595ca12a7de..9bcc9e47ecf 100644
--- a/libgfortran/intrinsics/getXid.c
+++ b/libgfortran/intrinsics/getXid.c
@@ -29,9 +29,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
-#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
diff --git a/libgfortran/intrinsics/kill.c b/libgfortran/intrinsics/kill.c
index 0c25f1ba17b..718713133cb 100644
--- a/libgfortran/intrinsics/kill.c
+++ b/libgfortran/intrinsics/kill.c
@@ -31,10 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include "libgfortran.h"
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#ifdef HAVE_SIGNAL_H
#include <signal.h>
#endif
diff --git a/libgfortran/intrinsics/stat.c b/libgfortran/intrinsics/stat.c
index ce652450404..9bca80fad15 100644
--- a/libgfortran/intrinsics/stat.c
+++ b/libgfortran/intrinsics/stat.c
@@ -31,10 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include "libgfortran.h"
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
diff --git a/libgfortran/intrinsics/system_clock.c b/libgfortran/intrinsics/system_clock.c
index 63c7045a9bd..274259cc589 100644
--- a/libgfortran/intrinsics/system_clock.c
+++ b/libgfortran/intrinsics/system_clock.c
@@ -28,7 +28,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <sys/types.h>
#include "libgfortran.h"
#include <limits.h>
diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c
index 2a81d27b8a9..ecee33032c9 100644
--- a/libgfortran/io/write.c
+++ b/libgfortran/io/write.c
@@ -32,7 +32,6 @@ Boston, MA 02110-1301, USA. */
#include <assert.h>
#include <string.h>
#include <ctype.h>
-#include <float.h>
#include <stdio.h>
#include <stdlib.h>
#include "libgfortran.h"
diff --git a/libgfortran/m4/exponent.m4 b/libgfortran/m4/exponent.m4
index 46b42d0078f..141d1746caa 100644
--- a/libgfortran/m4/exponent.m4
+++ b/libgfortran/m4/exponent.m4
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"'
include(`mtype.m4')dnl
diff --git a/libgfortran/m4/fraction.m4 b/libgfortran/m4/fraction.m4
index 8179d47572d..cbbed06f605 100644
--- a/libgfortran/m4/fraction.m4
+++ b/libgfortran/m4/fraction.m4
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"'
include(`mtype.m4')dnl
diff --git a/libgfortran/m4/maxloc0.m4 b/libgfortran/m4/maxloc0.m4
index a7e88f0b2ce..375e99e60b5 100644
--- a/libgfortran/m4/maxloc0.m4
+++ b/libgfortran/m4/maxloc0.m4
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"'
diff --git a/libgfortran/m4/maxloc1.m4 b/libgfortran/m4/maxloc1.m4
index 3a6ed5ad974..b6b4fa705ac 100644
--- a/libgfortran/m4/maxloc1.m4
+++ b/libgfortran/m4/maxloc1.m4
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"'
diff --git a/libgfortran/m4/maxval.m4 b/libgfortran/m4/maxval.m4
index 07cbbdd6ac6..84a65500d70 100644
--- a/libgfortran/m4/maxval.m4
+++ b/libgfortran/m4/maxval.m4
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"'
include(iparm.m4)dnl
diff --git a/libgfortran/m4/minloc0.m4 b/libgfortran/m4/minloc0.m4
index 33bfe312a54..8c23e19fbaa 100644
--- a/libgfortran/m4/minloc0.m4
+++ b/libgfortran/m4/minloc0.m4
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"'
diff --git a/libgfortran/m4/minloc1.m4 b/libgfortran/m4/minloc1.m4
index f923ca80410..06738fe7ba1 100644
--- a/libgfortran/m4/minloc1.m4
+++ b/libgfortran/m4/minloc1.m4
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include <limits.h>
#include "libgfortran.h"'
diff --git a/libgfortran/m4/minval.m4 b/libgfortran/m4/minval.m4
index af02319c1dd..439300dcb94 100644
--- a/libgfortran/m4/minval.m4
+++ b/libgfortran/m4/minval.m4
@@ -31,7 +31,6 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#include <stdlib.h>
#include <assert.h>
-#include <float.h>
#include "libgfortran.h"'
include(iparm.m4)dnl
diff --git a/libgfortran/m4/nearest.m4 b/libgfortran/m4/nearest.m4
index a3c000366e7..69ff255c643 100644
--- a/libgfortran/m4/nearest.m4
+++ b/libgfortran/m4/nearest.m4
@@ -29,8 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
-#include <float.h>
#include "libgfortran.h"'
include(`mtype.m4')dnl
diff --git a/libgfortran/m4/rrspacing.m4 b/libgfortran/m4/rrspacing.m4
index 5e881c25293..e2d31d6cc67 100644
--- a/libgfortran/m4/rrspacing.m4
+++ b/libgfortran/m4/rrspacing.m4
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"'
include(`mtype.m4')dnl
diff --git a/libgfortran/m4/set_exponent.m4 b/libgfortran/m4/set_exponent.m4
index 417cc66b342..8ff9acdb562 100644
--- a/libgfortran/m4/set_exponent.m4
+++ b/libgfortran/m4/set_exponent.m4
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"'
include(`mtype.m4')dnl
diff --git a/libgfortran/m4/spacing.m4 b/libgfortran/m4/spacing.m4
index cb46db79cd6..20bda8abfbd 100644
--- a/libgfortran/m4/spacing.m4
+++ b/libgfortran/m4/spacing.m4
@@ -29,7 +29,6 @@ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include <math.h>
#include "libgfortran.h"'
include(`mtype.m4')dnl
diff --git a/libgfortran/runtime/error.c b/libgfortran/runtime/error.c
index 93b81c10721..3c44d218963 100644
--- a/libgfortran/runtime/error.c
+++ b/libgfortran/runtime/error.c
@@ -33,7 +33,6 @@ Boston, MA 02110-1301, USA. */
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
-#include <float.h>
#include <errno.h>
#ifdef HAVE_SIGNAL_H
diff --git a/libgfortran/runtime/main.c b/libgfortran/runtime/main.c
index a731af2c374..d40c6f6a7c9 100644
--- a/libgfortran/runtime/main.c
+++ b/libgfortran/runtime/main.c
@@ -31,8 +31,6 @@ Boston, MA 02110-1301, USA. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <math.h>
-#include <stddef.h>
#include <limits.h>
#include "libgfortran.h"