------- Comment #16 from amylaar at gcc dot gnu dot org 2006-02-01 21:56 ------- (In reply to comment #15) > I'm not surprised that decl_overlaps_hard_reg_set_p is only used in > config/cris/cris.c or that it may seem limited in its implementation. > It's just a convenience function invented for it's current use. > It's a recent change too, see ChangeLog-2005. Nice to hear it has > potential for other uses too. Having it scan subexpressions seems > useful. Don't forget to update the head comment, adding > "... or a sub-expression referring to an asm-declared register" > or something to the effect of describing the extended functionality. > Since we are no longer scanning only decls, and I need to return a tree so that the caller can tell where the problem is,I have named the function that does the scan differently. See: http://gcc.gnu.org/ml/gcc-patches/2006-02/msg00087.html
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16194