This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] Fix PR30364, reassociation not allowed for undefined overflow


Richard Guenther <rguenther@suse.de> writes:

> !       if ((FLOAT_TYPE_P (type) && flag_unsafe_math_optimizations)
> ! 	  || (INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_WRAPS (type)))

Wow, yuck.  I guess it has to be done, though.

It would be cool if we could later use VRP to do the association when
permitted.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]