Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • eigen eigen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 653
    • Issues 653
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libeigen
  • eigeneigen
  • Issues
  • #1684
Closed
Open
Created Dec 04, 2019 by Eigen Bugzilla@eigenbzReporter

array_reverse fails with clang >=6 + AVX + -O2

Submitted by Gael Guennebaud @ggael

Assigned to Nobody

Link to original bugzilla bug (#1684)
Version: 3.4 (development)

Description

Since the following changeset:

83309068

the unit test array_reverse_3 (and 4) fail at runtime line 113 with clang 6 and 7 with -O2 (or -O3) and AVX (or above).

This is the call to rowwise().reverseInPlace() which is failing (line 112).

This error is very suspicious because the above changeset is only adding a few "inline" and it is impossible to reproduce it on a standalone test. For instance, only one of following changes is enough to silent the issue:

  • add exit(0); line 114 of array_reverse.cpp
  • make reverseInPlace() no-inline

Blocking

#814 (closed)

Edited Feb 08, 2021 by David Tellenbach
Assignee
Assign to
Time tracking