https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97540
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>: https://gcc.gnu.org/g:2e0aa43fc6ae689c595902310baec604e7e0d695 commit r11-4704-g2e0aa43fc6ae689c595902310baec604e7e0d695 Author: liuhongt <hongtao....@intel.com> Date: Mon Oct 26 20:46:42 2020 +0800 Don't extract memory from operand for normal memory constraint. gcc/ChangeLog PR target/97540 * ira.c: (ira_setup_alts): Extract memory from operand only for special memory constraint. * recog.c (asm_operand_ok): Ditto. * lra-constraints.c (process_alt_operands): MEM_P is required for normal memory constraint. gcc/testsuite/ChangeLog * gcc.target/i386/pr97540.c: New test.