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/12645] [tree-ssa] ICE building arm compiler


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;
}


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