http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50571
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-09-30 18:14:38 UTC --- Author: jakub Date: Fri Sep 30 18:14:33 2011 New Revision: 179402 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179402 Log: PR inline-asm/50571 * gimple-fold.c (fold_stmt_1) <case GIMPLE_ASM>: If input constraints allow mem and not reg, pass true instead of false as second argument to maybe_fold_reference. * gcc.dg/pr50571.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr50571.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/gimple-fold.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog