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.
This commit is contained in:
parent
6eaa9a57a1
commit
69d0a2d898
1 changed files with 2 additions and 2 deletions
|
@ -136,8 +136,8 @@ extern int sys_select (int, fd_set *, fd_set *, fd_set *,
|
|||
|
||||
/* Work around GCC 4.7.0 bug with strict overflow checking; see
|
||||
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52904>.
|
||||
These lines can be removed once the GCC bug is fixed. */
|
||||
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
|
||||
This bug appears to be fixed in GCC 5.1, so don't work around it there. */
|
||||
#if __GNUC__ == 4 && __GNUC_MINOR__ >= 3
|
||||
# pragma GCC diagnostic ignored "-Wstrict-overflow"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue