]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Pass -mstack-size through to runtime
authorAndrew Stubbs <ams@codesourcery.com>
Mon, 6 Feb 2023 12:47:28 +0000 (12:47 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Mon, 6 Feb 2023 17:14:06 +0000 (17:14 +0000)
commit45e01229af33a3dc3f124dcaec4b4ae11e9d07ce
tree45f9c11dc58fb4fbd25f61693629359e8b9e3e5f
parent7433747543195a4b936892d066b10026509512b7
amdgcn: Pass -mstack-size through to runtime

But only for the offload case.

gcc/ChangeLog:

* config/gcn/mkoffload.cc (gcn_stack_size): New global variable.
(process_asm): Create a constructor for GCN_STACK_SIZE.
(main): Parse the -mstack-size option.
gcc/config/gcn/mkoffload.cc