This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27301] [4.0/4.1/4.2 Regression] ICE on convoluted inline asm with "m" (statement expression and vla)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Apr 2006 06:11:38 -0000
- Subject: [Bug c/27301] [4.0/4.1/4.2 Regression] ICE on convoluted inline asm with "m" (statement expression and vla)
- References: <bug-27301-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-30 06:11 -------
Note the correct version of the inline-asm as far as I can tell is:
__asm__ __volatile__ ("" : : "m" (__extension__
*({ struct { char x[n]; } *p = ptr;
p; })));
Which solves the ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27301