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
Disable gnat.dg/socket1.adb on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
pr59667.c
blob
d5346611026734cabdeece86647e16041829c3bd
1
/* { dg-do run } */
2
/* { dg-options "-fsanitize=undefined" } */
3
/* { dg-shouldfail "ubsan" } */
4
5
int
6
main
(
void
)
7
{
8
unsigned int
len
=
1
;
9
float
(*
P
)[
len
][
len
] =
0
;
10
(*
P
)[
0
][
0
] =
1
;
11
return
0
;
12
}
13
14
/* { dg-output "store to null pointer of type 'float'" } */