Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Iris Iris
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 171
    • Issues 171
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Iris
  • IrisIris
  • Merge requests
  • !340

pointer arithmetic: properly check the operation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ralf Jung requested to merge ralf/offset-op into master Dec 06, 2019
  • Overview 7
  • Commits 3
  • Pipelines 0
  • Changes 4

@tchajed pointed out that OffsetOp handling is weird. Indeed we ignore the op for pointer arithmetic, so any binop with the LHS being a location and the RHS an integer would end up reducing as pointer arithmetic. That is certainly not the intended behavior, so let's fix that. No idea how we managed to miss this.^^

Cc @lepigre

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ralf/offset-op