log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
hg
>
CbC
>
CbC_gcc
comparison gcc/testsuite/gcc.dg/fold-abs-1.c @ 111:
04ced10e8804
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
gcc 7
author
kono
date
Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal
deleted
inserted
replaced
68:561a7518be6b
111:04ced10e8804
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fwrapv" } */
3
#define ABS(x) (x > 0 ? x : -x)
4
int f (int a, int b) {
5
if ((ABS(a) | b) != 0) return 1;
6
else return 0;
7
}