xtensa: Fix buffer overflow
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
Tue, 21 Jun 2022 19:51:32 +0000 (04:51 +0900)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 22 Jun 2022 00:52:24 +0000 (17:52 -0700)
commitec532b47f1823e71f822c0da781c531ffff67a52
tree3140c02ac4837857d5571ad63da5ad6ba00cb43e
parentde89b078e37e5920939893f338f2f45b4640bd48
xtensa: Fix buffer overflow

Fortify buffer overflow message reported.
(see https://github.com/earlephilhower/esp-quick-toolchain/issues/36)

gcc/ChangeLog:

* config/xtensa/xtensa.md (bswapsi2_internal):
Enlarge the buffer that is obviously smaller than the template
string given to sprintf().
gcc/config/xtensa/xtensa.md