@@ -3134,6 +3134,60 @@ else
3134
3134
echo "$as_me: failed program was:" >&5
3135
3135
sed 's/^/| /' conftest.$ac_ext >&5
3136
3136
3137
+ CFLAGS="$pgac_save_CFLAGS"
3138
+ echo "$as_me:$LINENO: result: no" >&5
3139
+ echo "${ECHO_T}no" >&6
3140
+ fi
3141
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3142
+
3143
+ # Disable FP optimizations that cause various errors on gcc 4.5+ or maybe 4.6+
3144
+ echo "$as_me:$LINENO: checking if $CC supports -fexcess-precision=standard" >&5
3145
+ echo $ECHO_N "checking if $CC supports -fexcess-precision=standard... $ECHO_C" >&6
3146
+ pgac_save_CFLAGS=$CFLAGS
3147
+ CFLAGS="$pgac_save_CFLAGS -fexcess-precision=standard"
3148
+ cat >conftest.$ac_ext <<_ACEOF
3149
+ /* confdefs.h. */
3150
+ _ACEOF
3151
+ cat confdefs.h >>conftest.$ac_ext
3152
+ cat >>conftest.$ac_ext <<_ACEOF
3153
+ /* end confdefs.h. */
3154
+
3155
+ int
3156
+ main ()
3157
+ {
3158
+
3159
+ ;
3160
+ return 0;
3161
+ }
3162
+ _ACEOF
3163
+ rm -f conftest.$ac_objext
3164
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3165
+ (eval $ac_compile) 2>conftest.er1
3166
+ ac_status=$?
3167
+ grep -v '^ *+' conftest.er1 >conftest.err
3168
+ rm -f conftest.er1
3169
+ cat conftest.err >&5
3170
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171
+ (exit $ac_status); } &&
3172
+ { ac_try='test -z "$ac_c_werror_flag"
3173
+ || test ! -s conftest.err'
3174
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175
+ (eval $ac_try) 2>&5
3176
+ ac_status=$?
3177
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178
+ (exit $ac_status); }; } &&
3179
+ { ac_try='test -s conftest.$ac_objext'
3180
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181
+ (eval $ac_try) 2>&5
3182
+ ac_status=$?
3183
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184
+ (exit $ac_status); }; }; then
3185
+ echo "$as_me:$LINENO: result: yes" >&5
3186
+ echo "${ECHO_T}yes" >&6
3187
+ else
3188
+ echo "$as_me: failed program was:" >&5
3189
+ sed 's/^/| /' conftest.$ac_ext >&5
3190
+
3137
3191
CFLAGS="$pgac_save_CFLAGS"
3138
3192
echo "$as_me:$LINENO: result: no" >&5
3139
3193
echo "${ECHO_T}no" >&6
0 commit comments