This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/26653] Wrong assembly generated with -O2, -O OK for cinelerra source item



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]