This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12535] Attempt to delete prologue/epilogue insn
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2003 16:55:42 -0000
- Subject: [Bug optimization/12535] Attempt to delete prologue/epilogue insn
- References: <20031008000233.12535.abacau@yahoo.com.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.