This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32769] __builtin_eh_return broken by dataflow merge
- From: "danglin 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 Jul 2007 20:15:15 -0000
- Subject: [Bug middle-end/32769] __builtin_eh_return broken by dataflow merge
- References: <bug-32769-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from danglin at gcc dot gnu dot org 2007-07-14 20:15 -------
The MEM in insn 54 arises from the definition of EH_RETURN_HANDLER_RTX:
#define EH_RETURN_HANDLER_RTX \
gen_rtx_MEM (word_mode, \
gen_rtx_PLUS (word_mode, frame_pointer_rtx, \
TARGET_64BIT ? GEN_INT (-16) : GEN_INT (-20)))
See in df-scan.c that this rtx is added to exit_block_uses when it is
a REG. However, we seem to be in trouble when it is a MEM.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32769