diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/tm/pr46567.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.dg/tm/pr46567.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/tm/pr46567.c b/gcc-4.9/gcc/testsuite/gcc.dg/tm/pr46567.c new file mode 100644 index 000000000..bcc59adf5 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.dg/tm/pr46567.c @@ -0,0 +1,18 @@ +__attribute__((transaction_callable)) +static void SeqfileGetLine () +{ + SSIGetFilePosition (); +} + +__attribute__((transaction_callable)) +static void readLoop (int addfirst) +{ + if (!addfirst) + { + if (!addfirst) + { + SSIGetFilePosition (); + } + SeqfileGetLine (); + } +} |