Patch to implement IA64 __fpreg
Joseph S. Myers
joseph@codesourcery.com
Tue Jun 28 17:09:00 GMT 2005
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)
More information about the Gcc-patches
mailing list