On Mon, Nov 18, 2013 at 03:25:52PM -0500, David Malcolm wrote: > > So is there some reason the GIMPLE_CHECK was left in here rather than > > doing the downcasting? This happens in other places.
Note that the changes removed tons of checks that IMHO were desirable. The as_a that replaced those checks e.g. allows 3 different gimple codes, while previously only one was allowed, this is both more expensive for --enable-checking=yes, and allows one to use inline wrappers e.g. gimple_omp_parallel_something on GIMPLE_OMP_TASK etc. Jakub