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 target/25514] [m68k] internal consistency failure



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-02-02 19:32 -------
Reduced testcase on the mainline:
void __attribute__((const)) g(void);
struct variable_set{int i;};
struct variable_set_list
{
    struct variable_set_list *next;
    struct variable_set *set;
};
extern struct variable_set_list *current_variable_set_list;
static struct variable_set global_variable_set;
static struct variable_set_list global_setlist  = { 0, &global_variable_set };
void pop_variable_scope (void)
{
  struct variable_set_list *setlist;
  if (current_variable_set_list->next == 0)
    g();
  if (current_variable_set_list != &global_setlist)
    {
      setlist = current_variable_set_list;
      current_variable_set_list = setlist->next;
    }
  else
    {
      setlist = global_setlist.next;
      global_setlist.set = setlist->set;
      global_setlist.next = setlist->next;
    }
  free ((char *) setlist);
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-02 19:32:25
               date|                            |


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


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