2006-10-21 Richard Guenther <rguenther@suse.de>
PR middle-end/26898 * fold-const.c (fold_comparison): Fold signed comparisons of the form X +- C1 CMP Y +- C2. * gcc.dg/torture/pr26898-1.c: New testcase. * gcc.dg/torture/pr26898-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117931 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 6 additions, 0 deletionsgcc/ChangeLog
- gcc/fold-const.c 42 additions, 0 deletionsgcc/fold-const.c
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/torture/pr26898-1.c 14 additions, 0 deletionsgcc/testsuite/gcc.dg/torture/pr26898-1.c
- gcc/testsuite/gcc.dg/torture/pr26898-2.c 12 additions, 0 deletionsgcc/testsuite/gcc.dg/torture/pr26898-2.c
Loading
Please register or sign in to comment