https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61876
--- Comment #4 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Jul 24 13:23:05 2014 New Revision: 212989 URL: https://gcc.gnu.org/viewcvs?rev=212989&root=gcc&view=rev Log: PR 61876: Do not convert cast + __builtin_round into __builtin_lround unless -fno-math-errno is used. PR middle-end/61876 * convert.c (convert_to_integer): Do not convert BUILT_IN_ROUND and cast when flag_errno_math is on. Modified: trunk/gcc/ChangeLog trunk/gcc/convert.c