This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19061] IA64 GCC pointer confusion results in optimization error
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Nov 2005 18:06:03 -0000
- Subject: [Bug target/19061] IA64 GCC pointer confusion results in optimization error
- References: <bug-19061-3107@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2005-11-11 18:06 -------
I think basereg_operand should not look inside SUBREGs. Here's an excerpt from
PA's deprecated basereg_operand:
return (GET_CODE (op) == REG
&& REG_POINTER (op)
&& register_operand (op, mode));
I'm going to attach the proposed fix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19061