]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
TIC6X/GAS: Work around array bounds compilation error
authorMaciej W. Rozycki <macro@orcam.me.uk>
Mon, 6 Oct 2025 20:37:27 +0000 (21:37 +0100)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Mon, 6 Oct 2025 20:37:27 +0000 (21:37 +0100)
commit6d80adb93c8f24754fc4cd0fec91d46730d375be
tree710bfe9a897be5846f23cbe0a1f3e45844823a9d
parent7495d2d21ddbf6f118a950d808e6d501924d290d
TIC6X/GAS: Work around array bounds compilation error

Work around a compilation error:

.../gas/config/tc-tic6x.c: In function 'tic6x_start_unwind_section':
.../gas/config/tc-tic6x.c:4632:17: error: offset '16' outside bounds of constant string [-Werror=array-bounds]
 4632 |       text_name += strlen (".gnu.linkonce.t.");
      |       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

observed with GCC 10.
gas/config/tc-tic6x.c