]> git.ipfire.org Git - thirdparty/gcc.git/commit
[arm] fix bootstrap failure due to uninitialized warning
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Oct 2019 16:44:34 +0000 (16:44 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Oct 2019 16:44:34 +0000 (16:44 +0000)
commita5d067a9077f1461a9b8aaf44920166210513ec1
tree749d20ee8d28ea1546abbbca149e882a8fd7eba1
parent67a13ee59b74f323e914c5a5c94fd1f34e57fe5a
[arm] fix bootstrap failure due to uninitialized warning

The Arm port is failing bootstrap because GCC is now warning about an
unitialized array.

The code is complex enough that I certainly can't be sure the compiler
is wrong, so perhaps the best fix here is just to memset the entire
array before use.

* config/arm/arm.c (neon_valid_immediate): Clear bytes before use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277073 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.c