Skip to content

Latest commit

 

History

94 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo tests what flags are needed to force LLVM compilers (flang, amdflang, armflang) to allocate automatic arrays on the heap instead of the stack, to avoid stack overflow for large arrays.

As of LLVM 21.1.8, the flags needed are

-mmlir -fdynamic-heap-array

In contrast, -fno-stack-arrays is not sufficient.

Run the GitHub Action workflow to test when new versions of the compilers are released, to see if the flags needed have changed.

About

Reproduce false positive SIGSEGVs with Arm Fortran compiler (armflang)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages