diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-10-23 16:39:21 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-10-23 16:45:14 -0700 |
commit | 820464ef382fa7fb54b7f1e2f05ed9763ba8decd (patch) | |
tree | 5891a8e28e66b2bf29b1dc93d844a9c05beb8d81 /gcc/DATESTAMP | |
parent | 36e3e68250bf54909218298d1141138579803631 (diff) | |
download | gcc-820464ef382fa7fb54b7f1e2f05ed9763ba8decd.zip gcc-820464ef382fa7fb54b7f1e2f05ed9763ba8decd.tar.gz gcc-820464ef382fa7fb54b7f1e2f05ed9763ba8decd.tar.bz2 |
aarch64: Fix warning in aarch64_ptrue_reg
After r15-4579-g9ffcf1f193b477, we get the following warning/error while bootstrapping on aarch64:
```
../../gcc/gcc/config/aarch64/aarch64.cc: In function ‘rtx_def* aarch64_ptrue_reg(machine_mode, unsigned int)’:
../../gcc/gcc/config/aarch64/aarch64.cc:3643:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Werror=sign-compare]
3643 | for (int i = 0; i < vl; i++)
| ~~^~~~
```
This changes the type of i to unsigned to match the type of vl.
Pushed as obvious after a bootstrap/test on aarch64-linux-gnu.
gcc/ChangeLog:
* config/aarch64/aarch64.cc (aarch64_ptrue_reg): Fix type
of induction variable i.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/DATESTAMP')
0 files changed, 0 insertions, 0 deletions