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: "mtodorov at alu dot hr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2006 17:57:43 -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 #2 from mtodorov at alu dot hr 2006-03-12 17:57 -------
Subject: Re: Wrong assembly generated with -O2, -O OK for
cinelerra source item
On Sun, 12 Mar 2006, hjl at lucon dot org wrote:
> ------- 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));
I have tried that, it works.
But the older gcc (4.0.3 20060212) compiled both variants (tested).
But I doubt the possibility that I can change libjpeg-mmx inside
cinelerra-2.0 package globally, I am not the maintainer. :-(
Any idea?
M.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26653