------- Comment #26 from steven at gcc dot gnu dot org 2008-02-06 11:43 ------- You could read up on the following mailing list threads if you want to know where the IS_STACK_REG check comes from: http://gcc.gnu.org/ml/gcc-patches/2005-12/msg01859.html http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01248.html http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01584.html
You will notice that other RTL passes also have this guard in place. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23322