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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wdangling-pointer-9.c
blob
f6c92855404d8dcbeb13cd0ccf0747ee6b77620b
1
/* PR middle-end/106080 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -Wdangling-pointer" } */
4
5
void
6
foo
(
void
**
failaddr
)
7
{
8
*
failaddr
= ({
__label__ __here
;
__here
: &&
__here
; });
/* { dg-bogus "address of local variable" } */
9
}