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
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr23714.C
blob
bf1b4ac5c969b4bf7e2b85bfe7dfea99fb2ed445
1
// { dg-do compile }
2
// { dg-options "-O2 -fnon-call-exceptions" }
3
4
void run (void) {
5
float stack[1];
6
float *sp = stack;
7
try
8
{
9
float value2 = ((float) *(--sp));
10
float value1 = ((float) *(--sp));
11
*(sp++) = (value1 - value2);
12
}
13
catch (int *ex)
14
{
15
}
16
}