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: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Dec 2007 19:11:06 -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 #7 from rguenth at gcc dot gnu dot org 2007-12-05 19:11 -------
extern void free (void *__ptr);
struct shparam
{
char **p;
int foo;
};
static struct shparam shellparam;
inline 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;
}
Still ICEs at -O2 for me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34138