aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-05-08 10:58:06 -0700
committerAndrew Pinski <apinski@marvell.com>2023-05-08 11:04:27 -0700
commit5d85b5d649fff675ff00adcc99371bccf4ef5944 (patch)
tree78a5a24310c4523c9cda67a5d1ef6b96f4b779f4 /libgfortran
parentc139f5e106fcdcd5e820541f357937c6edd7b161 (diff)
downloadgcc-5d85b5d649fff675ff00adcc99371bccf4ef5944.zip
gcc-5d85b5d649fff675ff00adcc99371bccf4ef5944.tar.gz
gcc-5d85b5d649fff675ff00adcc99371bccf4ef5944.tar.bz2
Fix pr81192.c for int16 targets
I had missed when converting this testcase to Gimple that there was a define for int/unsigned type specifically to get an INT32 type. This means when using a literal integer constant you need to use the `_Literal (type)` to form the types correctly on the constants. This fixes the issue and has been both tested on xstormy16-elf and x86_64-linux-gnu. Committed as obvious. gcc/testsuite/ChangeLog: PR testsuite/109776 * gcc.dg/pr81192.c: Fix integer constants for int16 targets.
Diffstat (limited to 'libgfortran')
0 files changed, 0 insertions, 0 deletions