AnyDSL / thorin

The Higher-Order Intermediate Representation
https://anydsl.github.io
GNU Lesser General Public License v3.0
151 stars 15 forks source link

Seg fault for simple example #26

Closed maweier closed 5 years ago

maweier commented 8 years ago

This simple example creates a seg fault when compiling.

extern fn traverse_accel() -> () {   
    let mut k = 0;
    if k == 0 {return()}
    k=1;
}
madmann91 commented 5 years ago

Fixed on master.