From: Claudiu Zissulescu Date: Fri, 29 Apr 2016 10:11:25 +0000 (+0200) Subject: [ARC] Fix obsolete constraint. X-Git-Tag: basepoints/gcc-8~7300 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ab06af64c0115cb97c05780ab3ef6c6dab43bbb;p=thirdparty%2Fgcc.git [ARC] Fix obsolete constraint. include/ 2016-04-29 Claudiu Zissulescu * longlong.h (add_ssaaaa): Replace obsolete 'J' constraint with 'Cal' constraint. (sub_ddmmss): Likewise. From-SVN: r235631 --- diff --git a/include/ChangeLog b/include/ChangeLog index d09d54835dbc..1efa03472dc5 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2016-04-29 Claudiu Zissulescu + + * longlong.h (add_ssaaaa): Replace obsolete 'J' constraint with + 'Cal' constraint. + (sub_ddmmss): Likewise. + 2016-03-17 Thomas Schwinge * gomp-constants.h (enum gomp_map_kind): Rename diff --git a/include/longlong.h b/include/longlong.h index 34ad9b4f5710..03fd2a1ae4c3 100644 --- a/include/longlong.h +++ b/include/longlong.h @@ -197,17 +197,17 @@ extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype); : "=r" ((USItype) (sh)), \ "=&r" ((USItype) (sl)) \ : "%r" ((USItype) (ah)), \ - "rIJ" ((USItype) (bh)), \ + "rICal" ((USItype) (bh)), \ "%r" ((USItype) (al)), \ - "rIJ" ((USItype) (bl))) + "rICal" ((USItype) (bl))) #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ __asm__ ("sub.f %1, %4, %5\n\tsbc %0, %2, %3" \ : "=r" ((USItype) (sh)), \ "=&r" ((USItype) (sl)) \ : "r" ((USItype) (ah)), \ - "rIJ" ((USItype) (bh)), \ + "rICal" ((USItype) (bh)), \ "r" ((USItype) (al)), \ - "rIJ" ((USItype) (bl))) + "rICal" ((USItype) (bl))) #define __umulsidi3(u,v) ((UDItype)(USItype)u*(USItype)v) #ifdef __ARC_NORM__ @@ -221,8 +221,8 @@ extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype); } \ while (0) #define COUNT_LEADING_ZEROS_0 32 -#endif -#endif +#endif /* __ARC_NORM__ */ +#endif /* __arc__ */ #if defined (__arm__) && (defined (__thumb2__) || !defined (__thumb__)) \ && W_TYPE_SIZE == 32