aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/expr.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-05-24 10:09:25 +0200
committerRichard Biener <rguenther@suse.de>2022-05-24 12:12:13 +0200
commit91c7c5edd2c1d31bf379be1d077b39644391cc31 (patch)
treee963e823cd7d1a3d144ac265109e861df755f310 /gcc/d/expr.cc
parent4fb2b4f7ea6b80ae75d3efb6f86e7c6179080535 (diff)
downloadgcc-91c7c5edd2c1d31bf379be1d077b39644391cc31.zip
gcc-91c7c5edd2c1d31bf379be1d077b39644391cc31.tar.gz
gcc-91c7c5edd2c1d31bf379be1d077b39644391cc31.tar.bz2
middle-end/105711 - properly handle CONST_INT when expanding bitfields
This is another place where we fail to pass down the mode of a CONST_INT. 2022-05-24 Richard Biener <rguenther@suse.de> PR middle-end/105711 * expmed.cc (extract_bit_field_as_subreg): Add op0_mode parameter and use it. (extract_bit_field_1): Pass down the mode of op0 to extract_bit_field_as_subreg. * gcc.target/i386/pr105711.c: New testcase.
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions