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 #6 from pinskia at gcc dot gnu dot org  2006-03-12 18:25 -------
(In reply to comment #5)
> IMHO this is a bug after all, since behavior is inconsitent (-O and -O2 do 
> nto work the same), and code is generated that breaks later stage.

no it is not a bug as X in asm says any register to choose.  GCC chooses the
wrong one for the instruction but the source code says it could choose any so
it did.  Now the bug is in the source code.


-- 


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]