Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return EXIT_UNSUPPORTED if __builtin_mul_overflow unavailable
Since GCC 4.9 doesn't support __builtin_mul_overflow: tst-fd_to_filename.c: In function ‘check_ranges’: tst-fd_to_filename.c:51:3: error: implicit declaration of function ‘__builtin_mul_overflow’ [-Werror=implicit-function-declaration] while (!__builtin_mul_overflow (power, base, &power)); ^ cc1: all warnings being treated as errors return EXIT_UNSUPPORTED for GCC 4.9 or older. Signed-off-by: H.J. Lu <[email protected]> Reviewed-by: Sam James <[email protected]>
- Loading branch information