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: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2006 18:30:40 -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 #7 from steven at gcc dot gnu dot org 2006-03-12 18:30 -------
The problem is in your asm constraints. You allow GCC to do certain things
with the wrong constraints. Now, it may or may not do those things, depending
on what it thinks is best. Apparently it thinks one thing is best with one set
of flags (or one version of the compiler for that matter) and something else is
best with another. Tough for you, but not a bug in GCC. When you want this to
work, _you_ have to do the right thing. Then GCC will do the right thing too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26653