http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59610

            Bug ID: 59610
           Summary: [4.8 Regression] ICE in parm_preserved_before_stmt_p
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org

struct A { int a; };
extern void *y;

__attribute__((optimize (0))) void
foo (void *, A x)
{
  foo (y, x);
}

ICEs on 4.8 branch at -O2, starting with (likely) r190260 and fixed on the
trunk with r200369.  The 4.8 version of that fix didn't fix this, since it
changed only a different function.  I see 3 remaining walk_aliased_vdefs calls
not guarded for !optimize in ipa-prop.c, perhaps all of them need fixing?

Reply via email to