This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34138] [4.3 Regression] verify_ssa failed (found real variable when subvariables should have appeared)
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2007 10:16:07 -0000
- Subject: [Bug tree-optimization/34138] [4.3 Regression] verify_ssa failed (found real variable when subvariables should have appeared)
- References: <bug-34138-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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