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/32032] [4.3 Regression] ICE in compute_antic, at tree-ssa-pre.c:1968 at -O3



------- 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


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