[Bug middle-end/23369] [4.0/4.1 regression] build_range_check generates wrong code for funcptr comparison

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 16 05:32:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-16 03:21 -------
Subject: Bug 23369

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	danglin@gcc.gnu.org	2005-08-16 03:21:40

Modified files:
	gcc            : ChangeLog fold-const.c 

Log message:
	PR middle-end/23369
	* fold-const.c (build_range_check): Disable optimization for function
	pointer expressions on targets that require function pointer
	canonicalization.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.369&r2=2.7592.2.370
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.517.2.13&r2=1.517.2.14



-- 


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



More information about the Gcc-bugs mailing list