Commit r16-160-ge6f89d78c1a752 exposed that validate_subreg is skipping important checks for paradoxical subregs, which manifested as a regression for pru-unknown-elf. This patch series is enabling some of the skipped checks, and adds one more for hardware subreg mode validity.
Changes since v1: - Alignment check for paradoxical mem subregs was left disabled to avoid regression for armv8l-unknown-linux-gnueabihf. - Disabled subblock subreg checks for paradoxical subregs to fix regression for big endian targets. - Split into two patches. - Added co-authored-by to acknowledge the help and code snippets received in PR119966. Dimitar Dimitrov (2): emit-rtl: Allow extra checks for paradoxical subregs [PR119966] emit-rtl: Validate mode for paradoxical hardware subregs [PR119966] gcc/emit-rtl.cc | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) -- 2.49.0