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

            Bug ID: 96335
           Summary: [10/11 Regression] ICE in maybe_warn_rdwr_sizes since
                    r10-4929
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

Since r10-4929-g54aa6b58fe2fe73bbe67e0485777e0c410a18673 the following testcase
ICEs with -O2 (seen as ICE on dmraid on s390x-linux) on all targets.

void bar (int, void *) __attribute__((__access__(__read_only__, 2)));

void
foo (void *x)
{
  void (*fn) () = bar;
  fn (0, x);
}

Reply via email to