aboutsummaryrefslogtreecommitdiff
path: root/libcpp/lex.c
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2021-05-11 19:33:37 +0200
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2021-05-11 19:33:37 +0200
commit21dfb22920ce32fcf336eac4513fa44de28819e0 (patch)
tree668818c940a27e3aa5c0575c7cdb86e267c34090 /libcpp/lex.c
parent84b384a16f388c68166b0603e50d0b477d0830a7 (diff)
downloadgcc-21dfb22920ce32fcf336eac4513fa44de28819e0.zip
gcc-21dfb22920ce32fcf336eac4513fa44de28819e0.tar.gz
gcc-21dfb22920ce32fcf336eac4513fa44de28819e0.tar.bz2
testsuite: Fix input operands of gcc.dg/guality/pr43077-1.c
The type of the output operands *p and *q of the extended asm statement of function foo is unsigned long whereas the type of the corresponding input operands is int. This results, e.g. on IBM Z, in the case that the immediates 2 and 3 are written into registers in SI mode and read in DI mode resulting in wrong values. Fixed by lifting the input operands to type long. gcc/testsuite/ChangeLog: * gcc.dg/guality/pr43077-1.c: Align types of output and input operands by lifting immediates to type long.
Diffstat (limited to 'libcpp/lex.c')
0 files changed, 0 insertions, 0 deletions