https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487
--- Comment #19 from Dominik Vogt <vogt at linux dot vnet.ibm.com> --- It fixes the local test case extracted from float-cast-overflow-10.c. The patch probably should also add a test case; the one I have is very specific to s390x; would something like the code in comment 17 work? (Regression tests on s390 and s390x with the volatile removed from float-cast-overflow-8.c are running.)