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 optimization/12535] Attempt to delete prologue/epilogue insn


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|ice-on-valid-code           |ice-on-invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-14 16:55:41
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-14 16:55 -------
        __builtin_memset((&rep), 0, (sizeof(*rep)));
Is overriding the slot for the link register so gcc is trying to remove the instruction that 
stores the link register on the stack so gcc ICEs.

The reason why this ICE on netbsd and linux and not Darwin and AIX is because the ABI 
is different as Darwin uses the AIX stack frame while netbsd and linux uses the SYSV 
one.


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