Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 394
    • Issues 394
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2247
Closed
Open
Created Sep 13, 2019 by Colin de Roos@cdfa

Assertion "! WLSTRIDE_ISMODIFIED( stride1)" failed for with-loop with "width"

The compiler reports a failed assertion when trying to compile the following code from Listing 31 from the tutorial.

use StdIO: all;
use Array: all;

int main()
{
  a = with {
        (. <= [i,j] <= . step [2,4] width [1,2]): 42;
      }: genarray([5,6], 0);
  print(a);

  return 0;
}

Command: sac2c -check tc main.sac Output:

warning: Option -check c implies option -ecc.
warning: Insertion of explicit conformity checks has been enabled.
Internal compiler error
Assertion "! WLSTRIDE_ISMODIFIED( stride1)" failed at /var/jenkins/workspace/sac2c-packages/cudas/cuda-8.0/label/RHEL7/packs/RPM/phmo/ON/src/libsac2c/wltransform/wltransform.c:3849 -- stride was modified
Please file a bug at: http://bugs.sac-home.org

sac2c -V:

sac2c 1.2-beta-BlackForest-467-gce8d4
build-type: RELEASE
built-by: "builder" at 2017-04-24T21:49:30

StdLib version: 1.3REV2-1 (from AUR package)

uname -or: 4.19.69-1-MANJARO GNU/Linux

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking