1 /* { dg-do compile } */
2 /* { dg-require-effective-target ilp32 } */
3 /* { dg-options "-O2 -ftree-tail-merge" } */
15 v3d(const v2d & cr2Dv) {}
23 int cop2d(const v2d & rPnt) const;
24 v2d clp2d(const v2d & rPnt) const;
27 inline int e2d::cop2d(const v2d & rPnt) const {
29 if (rPnt.x < _Min.x) bRet = 0;
30 else if (rPnt.x > _Max.x) bRet = 0;
31 else if (rPnt.y > _Max.y) bRet = 0;
35 inline v2d e2d::clp2d(const v2d & rPnt) const {
37 if (rPnt.x < _Min.x) sRet.x = _Min.x;
38 if (rPnt.y < _Min.y) sRet.y = _Min.y;
39 if (rPnt.x > _Max.x) sRet.x = _Max.x;
40 if (rPnt.y > _Max.y) sRet.y = _Max.y;
48 long evalPoint(const v2d & crUV, v3d & rPnt) const;
51 long sExt::evalPoint(const v2d & crUV, v3d & rPnt) const {
53 if (!_Dom.cop2d(crUV)) {
54 sUV = _Dom.clp2d(crUV);