diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-09-14 12:55:07 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-09-14 13:19:10 -0700 |
commit | 1dd6dd18783c3a7411b494f8b9d911cea784a270 (patch) | |
tree | 7541c9b04dad995ba0f5836990abdc5b79b9a461 /gcc/tree-ssa-phiopt.cc | |
parent | 8b5e54712a1efd1bf0c08a3d9523ab0c265e344a (diff) | |
download | gcc-1dd6dd18783c3a7411b494f8b9d911cea784a270.zip gcc-1dd6dd18783c3a7411b494f8b9d911cea784a270.tar.gz gcc-1dd6dd18783c3a7411b494f8b9d911cea784a270.tar.bz2 |
testsuite; Fix execute/pr52286.c for 16bit
The code path which was added for 16bit had a broken inline-asm which would
only assign maybe half of the registers for the `long` type to 0.
Adding L to the input operand of the inline-asm fixes the issue by now assigning
the full 32bit value of the input register that would match up with the output register.
Fixes r0-115223-gb0408f13d4b317 which added the 16bit code path to fix the testcase for 16bit.
Pushed as obvious.
PR testsuite/116716
gcc/testsuite/ChangeLog:
* gcc.c-torture/execute/pr52286.c: Fix inline-asm for 16bit case.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions