[Bug regression/23328] Improper removal of struct field assignments by optimizer

2005-08-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-11 16:48 --- The code is invalid as you don't say you going to access memory. either mark the asm as clobbers memory (which is not fully true) or use the following replacement asm (which works): asm("mov 0(%%esi),%

[Bug regression/23328] Improper removal of struct field assignments by optimizer

2005-08-11 Thread gcczilla at achurch dot org
--- Additional Comments From gcczilla at achurch dot org 2005-08-11 16:01 --- Created an attachment (id=9473) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9473&action=view) Sample source file demonstrating bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23328