diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2019-03-18 13:13:27 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@gcc.gnu.org> | 2019-03-18 13:13:27 +0000 |
commit | f9cacebbde8427e0537e79fe87dd1c89251a2582 (patch) | |
tree | 6c5e24f93ba2899ab7eed74ea970ec3fdfef6bf2 /gcc/tree-outof-ssa.c | |
parent | c57546fe94712a723bc2e123445dc5d9b0a0ca1a (diff) | |
download | gcc-f9cacebbde8427e0537e79fe87dd1c89251a2582.zip gcc-f9cacebbde8427e0537e79fe87dd1c89251a2582.tar.gz gcc-f9cacebbde8427e0537e79fe87dd1c89251a2582.tar.bz2 |
Implement circular print buffer.
2019-03-18 Andrew Stubbs <ams@codesourcery.com>
gcc/
* config/gcn/gcn-run.c (struct output): Make next_output unsigned.
Extend queue to 1024 entries.
Add "consumed" field.
(gomp_print_output): Remove print_index parameter.
Add final parameter.
Change limit to unsigned.
Use consumed field to implement circular buffer.
Detect interrupted print in final pass.
Flush output at the end.
(run): Update gomp_print_output usage.
(main): Initialize kernargs->output_data.consumed.
From-SVN: r269764
Diffstat (limited to 'gcc/tree-outof-ssa.c')
0 files changed, 0 insertions, 0 deletions