diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/torture/pr69461.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr69461.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/torture/pr69461.c b/gcc/testsuite/gcc.dg/torture/pr69461.c new file mode 100644 index 00000000000..24bdcc4da11 --- /dev/null +++ b/gcc/testsuite/gcc.dg/torture/pr69461.c @@ -0,0 +1,14 @@ +/* { dg-do compile } */ +/* { dg-options "-mlra" } */ + +typedef struct { + double real; + double imag; +} Py_complex; +Py_complex a; +Py_complex fn1(); +Py_complex fn2() { return fn1(); } +void fn3() { + _setjmp(); + a = fn2(); +} |