[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#169862: [Bug optimization/1823] -ftrapv aborts with pointer difference due to division optimization



PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1823



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-05 18:28 -------
Subject: Bug 1823

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sayle@gcc.gnu.org	2003-09-05 18:28:48

Modified files:
	gcc            : ChangeLog expmed.c 

Log message:
	PR optimization/1823
	* expmed.c (expand_divmod <EXACT_DIV_EXPR>): Use an unsigned
	multiplication to implement division by constant integer.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.980&r2=2.981
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expmed.c.diff?cvsroot=gcc&r1=1.140&r2=1.141





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: