aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2015-04-29 20:30:49 -0700
committerPaul Eggert2015-04-29 20:31:03 -0700
commit69d0a2d8989a4f07815e53bcbadea3e1ee0f7256 (patch)
tree66b07a29e301df1f9da749635f0f2ad887fb9df6 /src/process.c
parent6eaa9a57a172181f866d9c50f3e5880601551932 (diff)
downloademacs-69d0a2d8989a4f07815e53bcbadea3e1ee0f7256.tar.gz
emacs-69d0a2d8989a4f07815e53bcbadea3e1ee0f7256.zip
Omit -Wstrict-overflow workaround in GCC 5
* src/process.c: Remove workaround for GCC -Wstrict-overflow bug if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 3e04cb76387..ce78d818e29 100644
--- a/src/process.c
+++ b/src/process.c
@@ -136,8 +136,8 @@ extern int sys_select (int, fd_set *, fd_set *, fd_set *,
136 136
137/* Work around GCC 4.7.0 bug with strict overflow checking; see 137/* Work around GCC 4.7.0 bug with strict overflow checking; see
138 <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52904>. 138 <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52904>.
139 These lines can be removed once the GCC bug is fixed. */ 139 This bug appears to be fixed in GCC 5.1, so don't work around it there. */
140#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) 140#if __GNUC__ == 4 && __GNUC_MINOR__ >= 3
141# pragma GCC diagnostic ignored "-Wstrict-overflow" 141# pragma GCC diagnostic ignored "-Wstrict-overflow"
142#endif 142#endif
143 143