This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26653] Wrong assembly generated with -O2, -O OK for cinelerra source item
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2006 17:42:18 -0000
- Subject: [Bug c/26653] Wrong assembly generated with -O2, -O OK for cinelerra source item
- References: <bug-26653-1064@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from hjl at lucon dot org 2006-03-12 17:42 -------
I don't think
__asm__ ( "ldmxcsr %0\n" : : "X" (trunc_mxcsr) );
will work well. Can you try
__asm__ ("ldmxcsr %0" : : "m" (*&trunc_mxcsr));
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26653