aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-01-11 15:58:47 +0100
committerEric Botcazou <ebotcazou@adacore.com>2023-01-11 16:03:25 +0100
commit3e1cba12a8d71e70235a9a9b8f1a237a561db3e7 (patch)
treeab50dad9a88b4fbfaf9d650658644084fad4bc95 /gcc/function.cc
parentde99049f6fe5341024d4d939ac50d063280f90db (diff)
downloadgcc-3e1cba12a8d71e70235a9a9b8f1a237a561db3e7.zip
gcc-3e1cba12a8d71e70235a9a9b8f1a237a561db3e7.tar.gz
gcc-3e1cba12a8d71e70235a9a9b8f1a237a561db3e7.tar.bz2
Fix problematic interaction between bitfields, unions, SSO and SRA
The handling of bitfields by the SRA pass is peculiar and this must be taken into account to support the scalar_storage_order attribute. gcc/ PR tree-optimization/108199 * tree-sra.cc (sra_modify_expr): Deal with reverse storage order for bit-field references. gcc/testsuite/ * gcc.dg/sso-17.c: New test.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions