This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12645] [tree-ssa] ICE building arm compiler
- 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: 17 Oct 2003 14:09:35 -0000
- Subject: [Bug optimization/12645] [tree-ssa] ICE building arm compiler
- References: <20031016175419.12645.green@redhat.com>
- 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=12645
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |optimization
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2003-10-17 14:09:35
date| |
Summary|ICE building arm compiler |[tree-ssa] ICE building arm
| |compiler
Target Milestone|--- |tree-ssa
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-17 14:09 -------
Here is the simplified version:
extern int target_flags;
enum machine_mode { VOIDmode,
MAX_MACHINE_MODE };
extern const unsigned char mode_size[(int) MAX_MACHINE_MODE];
extern const unsigned short mode_bitsize[(int) MAX_MACHINE_MODE];
void *
simplify_subreg (enum machine_mode outermode)
{
int offset, part;
unsigned long val = 0;
if (((target_flags & (1 << 9)) != 0) || (((target_flags & (1 << 9)) != 0) && ! (target_flags & (1 <<
11))))
{
if (((target_flags & (1 << 9)) != 0) != (((target_flags & (1 << 9)) != 0) && ! (target_flags & (1
<< 11)))
&& (mode_size[(int) (outermode)]) < 4)
offset = (offset + (8 * 4) - (mode_bitsize[(int) (outermode)])
- 2 * (offset % (8 * 4)));
}
return (void *) 0;
}