[Bug tree-optimization/84696] [8 Regression] ICE in compute_antic_aux, at tree-ssa-pre.c:2148

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 4 08:46:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84696

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |7.3.0
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2018-03-04
          Component|c                           |tree-optimization
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|internal compiler error: in |[8 Regression] ICE in
                   |compute_antic_aux, at       |compute_antic_aux, at
                   |tree-ssa-pre.c:2148         |tree-ssa-pre.c:2148
   Target Milestone|---                         |8.0
      Known to fail|                            |8.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r258124.
I see similar issue:

$ cat ice.i
enum b
{
  c,
  d
};
struct e
{
  enum b code;
};
struct f
{
  unsigned g;
};
int h, i;
struct a
{
  struct e common;
  struct f j;
};

struct a k (void)
{
  struct a *l;
  do
    if (l->common.code == d && l->j.g * 4)
      ;
    else
      i = l->j.g | (l->common.code && l);
  while (h && l->common.code == c);
}

$ gcc ice.i -c -Ofast
during GIMPLE pass: pre
ice.i: In function 'k':
ice.i:21:10: internal compiler error: in compute_antic_aux, at
tree-ssa-pre.c:2148
 struct a k (void)
          ^
0xd90686 compute_antic_aux
        ../../gcc/tree-ssa-pre.c:2148
0xd90686 compute_antic
        ../../gcc/tree-ssa-pre.c:2364
0xd90686 execute
        ../../gcc/tree-ssa-pre.c:4131


More information about the Gcc-bugs mailing list