Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this noncompliant code example, the function h() adds the integer array referenced by the restrict qualified pointers q to the integer array referenced by the restrict qualified pointer r and stores the result in the restrict-qualified pointer referenced by p.  The the call h(100, a, a, a) has undefined behavior because the object modifed by p is accessed by q and r.

...