------- Additional Comments From sje at cup dot hp dot com  2005-05-27 18:23 
-------
I am not sure the underlying problem is fixed.  The assembly language error
seems to come from the line:

.pred.rel.mutex p0, p1

p0 is a fixed predicate register and should never show up here.  p1 is not used
in this program and due to the way GCC allocates predicate registers on IA64 I
don't think GCC can ever use p1.

The routine emit_predicate_relation_info in config/ia64/ia64.c looks at all
predicate registers to see if it should put out a pred.rel.mutex for them.  I
wonder if it should even look at p0.  We could have it start at p2 instead.  But
maybe it would be better to understand why it thinks it needs a mutex for p0
in this case.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sje at cup dot hp dot com


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

Reply via email to