Hexagon (target/hexagon) Fix shadow variable when idef-parser is off
authorTaylor Simpson <ltaylorsimpson@gmail.com>
Thu, 30 Nov 2023 18:39:55 +0000 (11:39 -0700)
committerBrian Cain <bcain@quicinc.com>
Mon, 22 Jan 2024 06:01:24 +0000 (22:01 -0800)
commitccdae09a8054731fbf49d5f223ff1903408a5ac3
treeca6441a083625e12fe267069bd5983b2e1415d9a
parent17ed7cec55c3f1baed7d4f62c3ef71b26e1b82c1
Hexagon (target/hexagon) Fix shadow variable when idef-parser is off

Adding -Werror=shadow=compatible-local causes Hexagon not to build
when idef-parser is off.  The "label" variable in CHECK_NOSHUF_PRED
shadows a variable in the surrounding code.

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20231130183955.54314-1-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>
target/hexagon/macros.h