The following invalid code snippet triggers an ICE since GCC 3.1: ============================================================ void foo(long double d) { asm("" :: "a" (d)); } ============================================================ bug.c: In function 'foo': bug.c:3: error: impossible register constraint in 'asm' bug.c:4: internal compiler error: in ix86_secondary_memory_needed, at config/i386/i386.c:16554 Please submit a full bug report, [etc.] Maybe related to PR26655.
*** This bug has been marked as a duplicate of 26655 ***
Subject: Bug number PR target/28270 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00992.html
Subject: Bug 28270 Author: hubicka Date: Fri Aug 4 17:05:38 2006 New Revision: 115928 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115928 Log: PR target/26655 PR target/28270 * reload.c (push_reload): Patch out the mismathcing instruction; return early. (find_reload): Bail out if the instruction was patched out. Modified: trunk/gcc/ChangeLog trunk/gcc/reload.c