This is the mail archive of the gcc-cvs@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]

r263973 - in /trunk/gcc: ChangeLog expmed.c


Author: vladlazar
Date: Thu Aug 30 09:30:49 2018
New Revision: 263973

URL: https://gcc.gnu.org/viewcvs?rev=263973&root=gcc&view=rev
Log:
Enable underflow check in canonicalize_comparison. (PR86995)

gcc/
2018-08-30  Vlad Lazar  <vlad.lazar@arm.com>

	PR middle-end/86995
	* expmed.c (canonicalize_comparison): Use wi::sub instead of wi::add
	if to_add is negative.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expmed.c


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