repo.or.cz
/
official-gcc
/
alias-decl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/float-range-3.c: Use "dg-do compile" dejagnu directive
[official-gcc/alias-decl.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr26406.C
blob
c2d160508a67441d07b1e0c94ca176a5d026f0a4
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
int *f(int *b)
5
{
6
int * a = new int[104];
7
*a = 1;
8
if (a == 0)
9
return b;
10
return a;
11
}
12
13
/* { dg-final { scan-tree-dump-not "if" "optimized" } } */
14
/* { dg-final { cleanup-tree-dump "optimized" } } */