r179846 - in /branches/gcc-4_6-branch/gcc: Chan...

jsm28@gcc.gnu.org jsm28@gcc.gnu.org
Wed Oct 12 11:57:00 GMT 2011


Author: jsm28
Date: Wed Oct 12 11:57:36 2011
New Revision: 179846

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179846
Log:
	PR c/50565
	* convert.c (convert_to_integer): Do not narrow operands of
	pointer subtraction.

testsuite:
	* gcc.c-torture/compile/pr50565-1.c,
	gcc.c-torture/compile/pr50565-2.c: New tests.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr50565-1.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr50565-2.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/convert.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list