aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2010-07-27-MinNoFoldConst.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2010-07-27-MinNoFoldConst.c')
-rw-r--r--test/FrontendC/2010-07-27-MinNoFoldConst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FrontendC/2010-07-27-MinNoFoldConst.c b/test/FrontendC/2010-07-27-MinNoFoldConst.c
index 7cd8b4c..ea711e5 100644
--- a/test/FrontendC/2010-07-27-MinNoFoldConst.c
+++ b/test/FrontendC/2010-07-27-MinNoFoldConst.c
@@ -10,7 +10,7 @@ static void bad(unsigned int v1, unsigned int v2) {
// MIN(1631381461u * v2 - 4047041419, 1631381461u * v1 - 4047041419)
//
// 1631381461u * 1273463329u = 2077504466193943669, but 32-bit overflow clips
-// this to 4047041419. This breaks the comparision implicit in the MIN().
+// this to 4047041419. This breaks the comparison implicit in the MIN().
// Two multiply operations suggests the bad optimization is happening;
// one multiplication, after the MIN(), is correct.
// CHECK: mul