microsoft / nnfusion

A flexible and efficient deep neural network (DNN) compiler that generates high-performance executable from a DNN model description.
MIT License
958 stars 162 forks source link

Resolve UB in gcc9 #397

Closed mzmssg closed 2 years ago

mzmssg commented 2 years ago

fix #387

mzmssg commented 2 years ago

we need to set return value for every non-void function, even for branches that logically can't be reached.