]> git.eshelyaron.com Git - emacs.git/commitdiff
GCC bug 58416 is fixed in GCC 15
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Aug 2024 06:36:45 +0000 (23:36 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 22 Aug 2024 07:27:27 +0000 (09:27 +0200)
* configure.ac (emacs_cv_gcc_bug_58416_CFLAGS):
No need for a workaround in GCC 15.

2024-08-19  Paul Eggert  <eggert@cs.ucla.edu>

Remove obsolete comment about ‘volatile’

(cherry picked from commit 3d1d4f109ed4115256a08c74eeb704259d91c9f4)

configure.ac

index 7b32280639f348c58418749359264f6f4a75f778..f657c231bf7e475bc05cf0e0c05a4936f2b9d699 100644 (file)
@@ -2365,7 +2365,7 @@ AC_CACHE_CHECK([for flags to work around GCC bug 58416],
                    20240607 (Red Hat 14.1.1-5) on x86-64.  */
                 #include <float.h>
                 #if \
-                    (4 <= __GNUC__ && !defined __clang__ \
+                    (4 <= __GNUC__ && __GNUC__ <= 14 && !defined __clang__ \
                      && (defined __i386__ || defined __x86_64__) \
                      && ! (0 <= FLT_EVAL_METHOD && FLT_EVAL_METHOD <= 1))
                 # error "GCC bug 58416 is possibly present"