[Bug tree-optimization/34138] [4.3 Regression] verify_ssa failed (found real variable when subvariables should have appeared)

tbm at cyrius dot com gcc-bugzilla@gcc.gnu.org
Sun Nov 18 10:16:00 GMT 2007



------- Comment #2 from tbm at cyrius dot com  2007-11-18 10:16 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

extern void free (void *__ptr);
struct shparam
{
  char **p;
};
static struct shparam shellparam;
void freeparam (volatile struct shparam *param, char **ap)
{
  free ((void *) (*ap));
  free ((void *) (param->p));
}
void dotcmd (char **p)
{
  freeparam (&shellparam, p);
}
void evaltree (void)
{
  void (*evalfn) (char **);
  evalfn = dotcmd;
}


-- 


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



More information about the Gcc-bugs mailing list