[Bug inline-asm/16194] [3.4/4.0/4.1/4.2 Regression] global register with inline-asm and clobered

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 1 15:32:00 GMT 2006



------- Comment #15 from hp at gcc dot gnu dot org  2006-02-01 15:32 -------
(In reply to comment #14)
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.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|hp at axis dot com          |hp at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16194



More information about the Gcc-bugs mailing list