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
mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
trunc-1.c
blob
0d6a48b4afddeb934b3b1a8ccfe04df707fcac9f
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
0
;
15
}