aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-01-25 16:57:32 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-01-25 16:57:32 +0000
commit3c35efc322f7ff8d25b81cf9ebc01d0ec202bb89 (patch)
tree8c687e9e504a57ca6818174a9eb80e2cade73e41 /libgomp
parent62fa42ce812c699b8cc270b486ef8d644c0342de (diff)
downloadgcc-3c35efc322f7ff8d25b81cf9ebc01d0ec202bb89.zip
gcc-3c35efc322f7ff8d25b81cf9ebc01d0ec202bb89.tar.gz
gcc-3c35efc322f7ff8d25b81cf9ebc01d0ec202bb89.tar.bz2
Fix output_constructor_bitfield handling of wide bitfields (PR89037)
The testcase was failing because we were trying to access TREE_INT_CST_ELT (x, 1) of a 128-bit integer that was small enough to need only a single element. 2019-01-25 Richard Sandiford <richard.sandiford@arm.com> gcc/ PR middle-end/89037 * varasm.c (output_constructor_bitfield): Use wi::extract_uhwi instead of accessing TREE_INT_CST_ELT directly. gcc/testsuite/ PR middle-end/89037 * gcc.dg/pr89037.c: New test. From-SVN: r268272
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions