This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32032] [4.3 Regression] ICE in compute_antic, at tree-ssa-pre.c:1968 at -O3
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2007 22:17:37 -0000
- Subject: [Bug tree-optimization/32032] [4.3 Regression] ICE in compute_antic, at tree-ssa-pre.c:1968 at -O3
- References: <bug-32032-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-22 23:17 -------
(In reply to comment #2)
> Confirmed. Possibly another missing has_volatile_ops.
Yes in the inliner :)
Here is a testcase for -O2:
struct shparam
{
char **p;
};
static inline void freeparam (volatile struct shparam *param)
{
char **ap;
for (ap = param->p; *ap; ap++)
free ((void *) (param->p));
}
struct shparam shellparam;
setparam (void)
{
freeparam (&shellparam);
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32032