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
2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr46440.c
blob
12a99970348dfcdb29e5cfcd8913fc2166a93c61
1
/* PR rtl-optimization/46440 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -fstack-protector -fno-tree-dominator-opts -fno-tree-fre" } */
4
/* { dg-require-effective-target fstack_protector } */
5
6
int
i
;
7
8
void
bar
(
char
*);
9
10
void
11
foo
(
void
)
12
{
13
void
*
l
;
14
char
c
[
64
];
15
bar
(
c
);
16
i
=
1
;
17
if
(
i
)
18
l
= &&
l1
;
19
else
20
l
= &&
l2
;
21
goto
*
l
;
22
l2
:
23
__builtin_abort
();
24
l1
:;
25
}