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 target/23909] Incorrect code generated for SSE2 based xor routine when compiled with -O2 -fomit-frame-pointer


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-16 14:40 -------
This works for me with 4.1.0 but I really think it is just an accident.

  /*@unused@*/ int cr0;   /* really, it's used, but lclint doesn't "get" __asm__ */

This comment does not make sense.
Specificly since GCC also warns about it:
t.c:110: warning: unused variable ?cr0?
t.c:109: warning: unused variable ?reg_store?


I still think you are making a mistake in your code by using inline-asm.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23909


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