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 tree-optimization/29922] [4.3 Regression] [Linux] ICE in insert_into_preds_of_block



------- Comment #22 from tbm at cyrius dot com  2007-03-09 19:34 -------
Testcase based on conf.i:

struct symbol
{
  char *help;
};
struct menu
{
  struct menu *next;
  struct menu *list;
  struct symbol *sym;
};
enum
{
  ask_all,
}
input_mode = ask_all;
static char line[128];
static char nohelp_text[] =
  ("Sorry, no help available for this option yet.\n");
conf_choice (struct menu *menu)
{
  struct menu *child;
  while (1)
    {
      int cnt, def;
    conf_childs:for (child = menu->list; child; child = child->next)
        {
          if (!child->sym || !menu_is_visible (child))
          if (!--cnt)
            break;
        }
      if (!child)
        continue;
      if (line[strlen (line) - 1] == '?')
        {
          printf ("\n%s\n", child->sym->help ? child->sym->help : "");
          continue;
        }
      return 1;
    }
}


-- 


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


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