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]

r127779 - in /branches/gcc-4_2-branch/gcc: fold...


Author: jakub
Date: Fri Aug 24 17:15:51 2007
New Revision: 127779

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127779
Log:
	PR middle-end/32912
	* fold-const.c (fold_binary): Only optimize X | ~X and X ^ ~X for
	integral types.

	* gcc.dg/pr32912-1.c: New test.
	* gcc.dg/pr32912-2.c: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr32912-1.c
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr32912-2.c
Modified:
    branches/gcc-4_2-branch/gcc/fold-const.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


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