repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
trunc-1.c
blob
a78cceb598a0895a0c827e2ed6d41f2f9dc0aaee
1
/* Origin: PR c/675 from aj@suse.de. */
2
/* { dg-do compile } */
3
/* { dg-options "-Wall" } */
4
5
#include <stddef.h>
6
7
int
8
main
(
void
)
9
{
10
size_t
len
;
11
12
len
= ~(
sizeof
(
size_t
) -
1
);
/* { dg-bogus "truncated" "bogus truncation warning" } */
13
14
return
len
-
len
;
15
}