[Bug rtl-optimization/66087] Invalid narrowing of MEM with containing POST_INC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66087 --- Comment #5 from Jeffrey A. Law --- Interestingly enough it fails in a similar manner with LRA, but I agree that avoiding this earlier in the pipeline is preferable.
[Bug rtl-optimization/66087] Invalid narrowing of MEM with containing POST_INC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66087 --- Comment #4 from Mikael Pettersson --- Still miscompiled by gcc-10.0, 9.1, and 8.3 at -O1 and above.
[Bug rtl-optimization/66087] Invalid narrowing of MEM with containing POST_INC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66087 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Comment #3 from Mikael Pettersson --- Still miscompiled by gcc-8.0, 7.2, and 6.4.
[Bug rtl-optimization/66087] Invalid narrowing of MEM with containing POST_INC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66087 --- Comment #2 from Andreas Schwab --- I think combine should reject this.
[Bug rtl-optimization/66087] Invalid narrowing of MEM with containing POST_INC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66087 --- Comment #1 from Andrew Pinski --- Good old allowing subreg of a mem as register operand before reload.