On Fri, Dec 14, 2012 at 05:01:48PM +0000, Iyer, Balaji V wrote: > > Why do you think fatal_error is the right thing here? Why doesn't normal > > error > > work? Generally, if one function contains 10 #pragma simd loops that > > require > > vectorization and 5 out of them aren't vectorized, it is nicer for users to > > be told > > about all 5 of them, rather than just the first one. > > fatal_error will exit immediately. > > The #pragma simd assert requires the compiler to halt compilation if the > loop is not vectorized. This is why I used fatal_error. The default case > is noassert.
The compilation is halted even with error, compiler will exit with non-zero exit status, won't compile any further functions, etc. Jakub