This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to implement IA64 __fpreg


On Tue, 28 Jun 2005, Richard Henderson wrote:

> On Tue, Jun 28, 2005 at 04:40:56PM +0000, Joseph S. Myers wrote:
> > +  if ((invalid_op_diag
> > +       = targetm.invalid_unary_op (code, TREE_TYPE (xarg))))
> > +    {
> > +      error (invalid_op_diag);
> > +      return error_mark_node;
> 
> Oh, should we push the diagnostic into the target hook so that
> we can use sorry instead of error?

Even with the full version of __fpreg there are still operations which are 
not permitted and so need to be diagnosed, with error not sorry, such as 
division and conversions to or from __float128.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]