[Bug rtl-optimization/17810] [3.4 Regression] internal compiler error: in verify_local_live_at_start for arm-rtems, arm-linux

belyshev at lubercy dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 6 23:53:00 GMT 2004


------- Additional Comments From belyshev at lubercy dot com  2004-12-06 23:53 -------
/* slightly reduced testcase, use '-mcpu=arm920 -O3' */

struct sui_event;

typedef struct sui_event
{
  unsigned short what;
  int abrakadabra [3];
} sui_event_t;

static sui_event_t sui_event_buf;
static sui_event_t sui_global_event_buf;

short draw_request;

int
sui_get_uid_event ()
{
  int rc;

  if (rc < 0)
      return rc;
  return 0;
}

int
sui_get_event (sui_event_t *event, int k)
{

  if (k != 0)
    {
      *event = sui_event_buf;
      sui_event_buf.what = 0;
      return 0;
    }
  
  if (sui_global_event_buf.what != 0)
    {
      *event = sui_global_event_buf;
      return 0;
    }

  memset (event, 0, sizeof (sui_event_t));
  
  if (sui_get_uid_event () > 0)
    return 1;

  if (draw_request)
    {
      draw_request = 0;
      return 1;
    }

  return 0;
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|i586-pc-linux-gnu           |
   GCC host triplet|i586-pc-linux-gnu           |
      Known to fail|                            |3.4.2 3.4.4
      Known to work|                            |3.3.4
   Last reconfirmed|0000-00-00 00:00:00         |2004-12-06 23:53:41
               date|                            |
            Summary|internal compiler error: in |[3.4 Regression] internal
                   |verify_local_live_at_start  |compiler error: in
                   |for arm-rtems, arm-linux    |verify_local_live_at_start
                   |                            |for arm-rtems, arm-linux
   Target Milestone|---                         |3.4.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17810



More information about the Gcc-bugs mailing list