Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO5Vb-0006um-9N for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Jun 2017 17:03:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dO5Va-0000jN-SO for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Jun 2017 17:03:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dO5S9-00043a-1y for pgsql-bugs@postgresql.org; Thu, 22 Jun 2017 16:59:33 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dO5S6-0007ev-46 for pgsql-bugs@postgresql.org; Thu, 22 Jun 2017 16:59:31 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 27E1020AB1; Thu, 22 Jun 2017 12:59:29 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 22 Jun 2017 12:59:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=turelinckx.be; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=WI2c5gs66W/G7ga2mtNEKWK7A3X/sTExyIOC7g ffP9Y=; b=WsLYMvfF2bQpPCyG1BY14q7/qeGe7d3Ha3FMcoeKkTNdDWMFUp4V/1 0A+AUOC/LY+TUMtLK0LwtWAJtzksjfi+n28G85c0JO83xxZ5kGTJ8ob8RVOzabPC 2vIp/7ES9MZYZ1aGFAqOaIsInhSIP1tDXluiGRKoUOafSFj3JzTkw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=WI2c5gs66W/G7ga2mt NEKWK7A3X/sTExyIOC7gffP9Y=; b=i5gQ+MYAaMC6026y2wYNaK7HYGQtX+f/XV PsKsySRnL4WeAKPjfOAP/m3hG3eOg4cgz4F0a55lg68YFOdZ9IpGKDfPuv/v+rIL 8vHxb/S9z1AIubU5l2fgeXdVs7Ia0N7zcsL3pb8I2E/TZer/GB4lt7WP9twBIHP3 6vC+jNWq3VJ5Bk9XLQk/9b9At3z/1nnVV2GNOOMiArVpzadB2qSTD+R18i0dm1Dz ac4LEzJYWIYe0AmNPgE3pbsjQTWkKZRTLFOu9qKZ8PGtxq0vbHt+0DyNHsz+4uaQ CAHkDUQNkLrhWHRWtJkubdWI8Kgt4ixhvrJnoXFIuGwqduNCNEsw== X-ME-Sender: X-Sasl-enc: MnvAA0hTp4L2nY8JLyLZYJSRfUybsxVAosSadzr68ErI 1498150768 Received: from tureltolaptop (213.219.188.53.adsl.dyn.edpnet.net [213.219.188.53]) by mail.messagingengine.com (Postfix) with ESMTPA id 3DAD47E809; Thu, 22 Jun 2017 12:59:28 -0400 (EDT) From: "Tom Turelinckx" To: "'Tom Lane'" Cc: References: <006b01d2eaa2$d4317be0$7c9473a0$@turelinckx.be> <2069.1498062248@sss.pgh.pa.us> <000101d2eb5e$60a7ab60$21f70220$@turelinckx.be> <24675.1498141318@sss.pgh.pa.us> In-Reply-To: <24675.1498141318@sss.pgh.pa.us> Subject: Re: Bus error in formatting.c NUM_numpart_to_char (9.4.12, 9.6.3, sparc) Date: Thu, 22 Jun 2017 18:59:20 +0200 Message-ID: <001501d2eb78$e52a8e60$af7fab20$@turelinckx.be> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0016_01D2EB89.A8B55A30" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHt+Xivo1Vy1iljmvBavilwHB6KPwGVK25kAfCN10cBUSO4CKHUR2dA Content-Language: en-us List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is a multipart message in MIME format. ------=_NextPart_000_0016_01D2EB89.A8B55A30 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Tom Lane wrote: > Anyway, find those annotation(s) and send us all the text for that area a= nd maybe a few dozen lines on either side. Summary for the current issue, against 9.4.12. Clean pgdg 9.4.12 fails: regression.out: numeric ... FAILED (test process exited with exit cod= e 2) regression.diffs: SELECT '' AS to_char_6, to_char(val, 'FMS9999999999999999.99999999999999= 9') FROM num_data; ! server closed the connection unexpectedly ! This probably means the server terminated abnormally ! before or while processing the request. ! connection to server was lost postmaster.log: LOG: server process (PID 15999) was terminated by signal 10: Bus error DETAIL: Failed process was running: SELECT '' AS to_char_6, to_char(val, = 'FMS9999999999999999.999999999999999') FROM num_data; Crash location: Reading symbols from /home/turelto/src/original/postgresql-9.4-9.4.12/build= /src/backend/postgres...done. [New LWP 15999] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/sparc-linux-gnu/libthread_db.so.1". Core was generated by `postgres: turelto regression [local] SELECT = '. Program terminated with signal 10, Bus error. #0 NUM_numpart_to_char (id=3D3, Np=3D0xff852a34) at /home/turelto/src/original/postgresql-9.4-9.4.12/build/../src/backen= d/utils/adt/formatting.c:4419 4419 if (Np->Num->lsign =3D=3D NUM_LSIGN_PRE) (gdb) l 4414 (Np->num_curr >=3D Np->out_pre_spaces || (IS_ZERO(N= p->Num) && Np->Num->zero_start =3D=3D Np->num_curr)) && 4415 (IS_PREDEC_SPACE(Np) =3D=3D FALSE || (Np->last_rele= vant && *Np->last_relevant =3D=3D '.'))) 4416 { 4417 if (IS_LSIGN(Np->Num)) 4418 { 4419 if (Np->Num->lsign =3D=3D NUM_LSIGN_PRE) 4420 { 4421 if (Np->sign =3D=3D '-') 4422 strcpy(Np->inout_p, Np->L_n= egative_sign); 4423 else (gdb) Assembly snippet attached as "original-9.4.12-snippet.s" from file generate= d with: gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statemen= t -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-a= liasing -fwrapv -fexcess-precision=3Dstandard -g -g -O2 -fstack-protector -= -param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -I/usr/incl= ude/mit-krb5 -DLINUX_OOM_SCORE_ADJ=3D0 -I../../../../src/include -I/home/t= urelto/src/original/postgresql-9.4-9.4.12/build/../src/include -D_FORTIFY_S= OURCE=3D2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/tcl8.5 -S /= home/turelto/src/original/postgresql-9.4-9.4.12/build/../src/backend/utils/= adt/formatting.c Patched pgdg 9.4.12 passes all tests. Applied patch attached as "patch" (reverts commit 20f870f): Index: postgresql-9.4-9.4.12/src/backend/utils/adt/formatting.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- postgresql-9.4-9.4.12.orig/src/backend/utils/adt/formatting.c 2017-05-0= 8 23:19:04.000000000 +0200 +++ postgresql-9.4-9.4.12/src/backend/utils/adt/formatting.c 2017-06-22 09:= 20:17.000000000 +0200 @@ -4173,12 +4173,12 @@ (id =3D=3D NUM_0 || id =3D=3D NUM_9) ? "NUM_0/9" : id =3D=3D NUM_DEC ? = "NUM_DEC" : "???"); #endif =20 + if (*Np->inout_p =3D=3D ' ') + Np->inout_p++; + #define OVERLOAD_TEST (Np->inout_p >=3D Np->inout + input_len) #define AMOUNT_TEST(_s) (input_len-(Np->inout_p-Np->inout) >=3D _s) =20 - if (OVERLOAD_TEST) - return; - if (*Np->inout_p =3D=3D ' ') Np->inout_p++; =20 @@ -4316,7 +4316,7 @@ * next char is not digit */ if (IS_LSIGN(Np->Num) && isread && - (Np->inout_p + 1) < Np->inout + input_len && + (Np->inout_p + 1) <=3D Np->inout + input_len && !isdigit((unsigned char) *(Np->inout_p + 1))) { int x; Assembly snippet attached as "patched-9.4.12-snippet.s" from file generated= with: gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statemen= t -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-a= liasing -fwrapv -fexcess-precision=3Dstandard -g -g -O2 -fstack-protector -= -param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -I/usr/incl= ude/mit-krb5 -DLINUX_OOM_SCORE_ADJ=3D0 -I../../../../src/include -I/home/t= urelto/src/tmp/postgresql-9.4-9.4.12/build/../src/include -D_FORTIFY_SOURCE= =3D2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/tcl8.5 -S /home/= turelto/src/tmp/postgresql-9.4-9.4.12/build/../src/backend/utils/adt/format= ting.c The line number where the crash is being reported before patching (4419) do= esn't change after patching, and occurs in only one ".loc" annotation, befo= re and after patching. I will try to do the same for the issue from last year, replying to that th= read. Best regards, Tom Turelinckx ------=_NextPart_000_0016_01D2EB89.A8B55A30 Content-Type: application/octet-stream; name="original-9.4.12-snippet.s" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="original-9.4.12-snippet.s" .LL547:=0A= .loc 1 4874 0=0A= ld [%fp-80], %g1=0A= ld [%g1+12], %g1=0A= andcc %g1, 1024, %g0=0A= bne,a,pt %icc, .LL724=0A= ld [%i0+16], %g1=0A= ld [%fp-40], %o0=0A= ldsb [%o0], %g2=0A= cmp %g2, 35=0A= be,pn %icc, .LL536=0A= ld [%fp-76], %g2=0A= cmp %g2, 45=0A= be,pn %icc, .LL536=0A= andcc %g1, 2, %g0=0A= .loc 1 4875 0=0A= bne,a,pt %icc, .LL724=0A= ld [%i0+16], %g1=0A= .loc 1 4878 0=0A= cmp %l5, 0=0A= bne,pn %icc, .LL696=0A= ld [%fp-28], %l4=0A= .LL674:=0A= .loc 2 105 0=0A= ba,pt %xcc, .LL584=0A= add %l4, 2, %l4=0A= .LL538:=0A= .loc 1 4771 0=0A= cmp %l5, 0=0A= be,pt %icc, .LL549=0A= ld [%fp-32], %l6=0A= .LLVL393:=0A= .LLBB557:=0A= .LLBB549:=0A= .loc 1 4389 0=0A= ld [%fp-80], %g3=0A= ld [%g3+12], %g2=0A= andcc %g2, 1024, %g0=0A= bne,pn %icc, .LL536=0A= ld [%fp-72], %g1=0A= .loc 1 4407 0=0A= st %g0, [%fp-64]=0A= .loc 1 4413 0=0A= cmp %g1, 0=0A= bne,pt %icc, .LL551=0A= ld [%fp-60], %g1=0A= ld [%fp-56], %g4=0A= cmp %g1, %g4=0A= bl,pt %icc, .LL697=0A= andcc %g2, 8, %g0=0A= .loc 1 4415 0=0A= bne,pn %icc, .LL553=0A= ld [%fp-36], %o7=0A= ld [%fp-40], %g4=0A= cmp %g4, %o7=0A= be,a,pn %icc, .LL726=0A= ldsb [%g4], %g4=0A= .LL553:=0A= .loc 1 4417 0=0A= andcc %g2, 64, %g0=0A= .LL715:=0A= be,pt %icc, .LL554=0A= andcc %g2, 128, %g0=0A= .loc 1 4419 0=0A= ld [%g3+8], %g2=0A= cmp %g2, -1=0A= bne,pt %icc, .LL727=0A= add %l7, -2, %g3=0A= .loc 1 4421 0=0A= ld [%fp-76], %g1=0A= cmp %g1, 45=0A= be,pn %icc, .LL699=0A= ld [%fp-28], %o0=0A= .LLVL394:=0A= .loc 2 105 0=0A= call strcpy, 0=0A= ld [%fp-16], %o1=0A= .LLVL395:=0A= .loc 1 4425 0=0A= ld [%fp-28], %l4=0A= .LL717:=0A= call strlen, 0=0A= mov %l4, %o0=0A= .loc 1 4426 0=0A= ld [%fp-60], %g1=0A= .loc 1 4425 0=0A= add %l4, %o0, %o0=0A= .loc 1 4426 0=0A= mov 1, %g2=0A= .loc 1 4425 0=0A= st %o0, [%fp-28]=0A= .loc 1 4426 0=0A= st %g2, [%fp-72]=0A= .LL551:=0A= .loc 1 4456 0=0A= add %l7, -2, %g3=0A= .LL727:=0A= xor %l7, 6, %g2=0A= .LL748:=0A= cmp %g3, 1=0A= mov 0, %g3=0A= movleu %icc, 1, %g3=0A= subcc %g0, %g2, %g0=0A= subx %g0, -1, %g2=0A= orcc %g3, %g2, %g0=0A= be,pt %icc, .LL700=0A= cmp %l7, 1=0A= .loc 1 4458 0=0A= ld [%fp-56], %o5=0A= .LL714:=0A= cmp %o5, %g1=0A= ble,a,pt %icc, .LL563=0A= ld [%fp-36], %g2=0A= .loc 1 4459 0=0A= ld [%fp-80], %g3=0A= .loc 1 4458 0=0A= ld [%g3+24], %g2=0A= cmp %g2, %g1=0A= bg,pt %icc, .LL564=0A= ld [%g3+12], %g2=0A= .loc 1 4459 0=0A= andcc %g2, 8, %g0=0A= be,pt %icc, .LL728=0A= andcc %g2, 32, %g0=0A= .loc 1 4477 0=0A= ld [%fp-28], %g1=0A= stb %l1, [%g1]=0A= .loc 1 4478 0=0A= add %g1, 1, %g1=0A= .loc 1 4479 0=0A= ld [%fp-80], %g3=0A= .loc 1 4478 0=0A= st %g1, [%fp-28]=0A= .loc 1 4479 0=0A= mov 1, %g1=0A= st %g1, [%fp-64]=0A= ld [%fp-56], %o5=0A= ld [%g3+12], %g2=0A= ld [%fp-60], %g1=0A= ld [%fp-24], %g4=0A= .LLVL396:=0A= .LL567:=0A= .loc 1 4545 0=0A= ld [%fp-68], %o7=0A= and %g2, 2, %o4=0A= subcc %g0, %o5, %g0=0A= addx %g0, %o7, %o7=0A= subcc %g0, %o4, %g0=0A= addx %g0, %o7, %o7=0A= .LLVL397:=0A= .loc 1 4547 0=0A= cmp %g4, 0=0A= be,pn %icc, .LL578=0A= ld [%fp-36], %o5=0A= .loc 1 4548 0=0A= cmp %o5, %g4=0A= move %icc, %g1, %o7=0A= .LLVL398:=0A= .LL578:=0A= .loc 1 4550 0=0A= add %g1, 1, %g4=0A= cmp %g4, %o7=0A= be,pn %icc, .LL701=0A= ld [%fp-72], %g1=0A= .LLVL399:=0A= .LL562:=0A= .loc 1 4568 0=0A= ldub [%fp-84], %g1=0A= .LL744:=0A= st %g4, [%fp-60]=0A= ba,pt %xcc, .LL536=0A= sll %g1, 24, %l5=0A= .LLVL400:=0A= .LL537:=0A= .LLBE549:=0A= .LLBE557:=0A= ------=_NextPart_000_0016_01D2EB89.A8B55A30 Content-Type: application/octet-stream; name="patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch" Index: postgresql-9.4-9.4.12/src/backend/utils/adt/formatting.c=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- postgresql-9.4-9.4.12.orig/src/backend/utils/adt/formatting.c 2017-05-0= 8 23:19:04.000000000 +0200=0A= +++ postgresql-9.4-9.4.12/src/backend/utils/adt/formatting.c 2017-06-22 09:= 20:17.000000000 +0200=0A= @@ -4173,12 +4173,12 @@=0A= (id =3D=3D NUM_0 || id =3D=3D NUM_9) ? "NUM_0/9" : id =3D=3D NUM_DEC ? = "NUM_DEC" : "???");=0A= #endif=0A= =20=0A= + if (*Np->inout_p =3D=3D ' ')=0A= + Np->inout_p++;=0A= +=0A= #define OVERLOAD_TEST (Np->inout_p >=3D Np->inout + input_len)=0A= #define AMOUNT_TEST(_s) (input_len-(Np->inout_p-Np->inout) >=3D _s)=0A= =20=0A= - if (OVERLOAD_TEST)=0A= - return;=0A= -=0A= if (*Np->inout_p =3D=3D ' ')=0A= Np->inout_p++;=0A= =20=0A= @@ -4316,7 +4316,7 @@=0A= * next char is not digit=0A= */=0A= if (IS_LSIGN(Np->Num) && isread &&=0A= - (Np->inout_p + 1) < Np->inout + input_len &&=0A= + (Np->inout_p + 1) <=3D Np->inout + input_len &&=0A= !isdigit((unsigned char) *(Np->inout_p + 1)))=0A= {=0A= int x;=0A= ------=_NextPart_000_0016_01D2EB89.A8B55A30 Content-Type: application/octet-stream; name="patched-9.4.12-snippet.s" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patched-9.4.12-snippet.s" .LL547:=0A= .loc 1 4874 0=0A= ld [%fp-80], %g1=0A= ld [%g1+12], %g1=0A= andcc %g1, 1024, %g0=0A= bne,a,pt %icc, .LL720=0A= ld [%i0+16], %g1=0A= ld [%fp-40], %o0=0A= ldsb [%o0], %g2=0A= cmp %g2, 35=0A= be,pn %icc, .LL536=0A= ld [%fp-76], %g2=0A= cmp %g2, 45=0A= be,pn %icc, .LL536=0A= andcc %g1, 2, %g0=0A= .loc 1 4875 0=0A= bne,a,pt %icc, .LL720=0A= ld [%i0+16], %g1=0A= .loc 1 4879 0=0A= ld [%fp-28], %l4=0A= .loc 1 4878 0=0A= cmp %l5, 0=0A= be,pt %icc, .LL750=0A= mov 2, %o1=0A= .LL678:=0A= .loc 1 4889 0=0A= call get_th, 0=0A= nop=0A= mov %o0, %o1=0A= .LLVL393:=0A= .loc 2 105 0=0A= call strcpy, 0=0A= mov %l4, %o0=0A= .LLVL394:=0A= ldub [%fp-84], %l7=0A= ld [%fp-28], %l4=0A= .LLVL395:=0A= sll %l7, 24, %l5=0A= ba,pt %xcc, .LL585=0A= add %l4, 2, %l4=0A= .LL538:=0A= .loc 1 4771 0=0A= cmp %l5, 0=0A= be,pt %icc, .LL549=0A= ld [%fp-28], %l4=0A= .LLVL396:=0A= .LLBB559:=0A= .LLBB551:=0A= .loc 1 4389 0=0A= ld [%fp-80], %g4=0A= ld [%g4+12], %g3=0A= andcc %g3, 1024, %g0=0A= bne,pn %icc, .LL536=0A= ld [%fp-72], %g2=0A= .loc 1 4407 0=0A= st %g0, [%fp-64]=0A= .loc 1 4413 0=0A= cmp %g2, 0=0A= bne,pt %icc, .LL551=0A= ld [%fp-60], %g2=0A= ld [%fp-56], %o7=0A= cmp %g2, %o7=0A= bl,pt %icc, .LL692=0A= andcc %g3, 8, %g0=0A= .loc 1 4415 0=0A= bne,pn %icc, .LL553=0A= ld [%fp-36], %o5=0A= ld [%fp-40], %o7=0A= cmp %o7, %o5=0A= be,a,pn %icc, .LL693=0A= ldsb [%o7], %o7=0A= .LL553:=0A= .loc 1 4417 0=0A= andcc %g3, 64, %g0=0A= .LL712:=0A= be,pt %icc, .LL554=0A= andcc %g3, 128, %g0=0A= .loc 1 4419 0=0A= ld [%g4+8], %g3=0A= cmp %g3, -1=0A= bne,pt %icc, .LL722=0A= add %g1, -2, %g4=0A= .loc 1 4421 0=0A= ld [%fp-76], %g2=0A= cmp %g2, 45=0A= be,pn %icc, .LL694=0A= ld [%fp-28], %o0=0A= .LLVL397:=0A= .loc 2 105 0=0A= ld [%fp-16], %o1=0A= call strcpy, 0=0A= st %g1, [%fp-92]=0A= .LLVL398:=0A= ld [%fp-92], %g1=0A= .LL556:=0A= .loc 1 4425 0=0A= ld [%fp-28], %l4=0A= st %g1, [%fp-92]=0A= call strlen, 0=0A= mov %l4, %o0=0A= .loc 1 4426 0=0A= ld [%fp-60], %g2=0A= .loc 1 4425 0=0A= add %l4, %o0, %o0=0A= .loc 1 4426 0=0A= mov 1, %g3=0A= ld [%fp-92], %g1=0A= .loc 1 4425 0=0A= st %o0, [%fp-28]=0A= .loc 1 4426 0=0A= st %g3, [%fp-72]=0A= .LL551:=0A= .loc 1 4456 0=0A= add %g1, -2, %g4=0A= .LL722:=0A= xor %g1, 6, %g3=0A= cmp %g4, 1=0A= mov 0, %g4=0A= movleu %icc, 1, %g4=0A= subcc %g0, %g3, %g0=0A= subx %g0, -1, %g3=0A= orcc %g4, %g3, %g0=0A= be,pt %icc, .LL695=0A= cmp %g1, 1=0A= .loc 1 4458 0=0A= ld [%fp-56], %o4=0A= .LL733:=0A= cmp %o4, %g2=0A= ble,pt %icc, .LL563=0A= ld [%fp-36], %g3=0A= .loc 1 4459 0=0A= ld [%fp-80], %g4=0A= .loc 1 4458 0=0A= ld [%g4+24], %g1=0A= cmp %g1, %g2=0A= bg,pt %icc, .LL564=0A= ld [%g4+12], %g1=0A= .loc 1 4459 0=0A= andcc %g1, 8, %g0=0A= be,pt %icc, .LL723=0A= andcc %g1, 32, %g0=0A= .loc 1 4477 0=0A= ld [%fp-28], %g1=0A= stb %l1, [%g1]=0A= .loc 1 4478 0=0A= add %g1, 1, %g1=0A= .loc 1 4479 0=0A= ld [%fp-80], %g4=0A= .loc 1 4478 0=0A= st %g1, [%fp-28]=0A= .loc 1 4479 0=0A= mov 1, %g1=0A= st %g1, [%fp-64]=0A= ld [%fp-56], %o4=0A= ld [%g4+12], %g1=0A= ld [%fp-60], %g2=0A= ld [%fp-24], %o7=0A= .LL567:=0A= .loc 1 4545 0=0A= ld [%fp-68], %g3=0A= and %g1, 2, %o5=0A= subcc %g0, %o4, %g0=0A= addx %g0, %g3, %g3=0A= subcc %g0, %o5, %g0=0A= addx %g0, %g3, %g3=0A= .LLVL399:=0A= .loc 1 4547 0=0A= cmp %o7, 0=0A= be,pn %icc, .LL578=0A= ld [%fp-36], %o5=0A= .loc 1 4548 0=0A= cmp %o5, %o7=0A= move %icc, %g2, %g3=0A= .LLVL400:=0A= .LL578:=0A= .loc 1 4550 0=0A= add %g2, 1, %g2=0A= cmp %g2, %g3=0A= be,pn %icc, .LL696=0A= ld [%fp-72], %g3=0A= .LLVL401:=0A= .LL562:=0A= .loc 1 4568 0=0A= ldub [%fp-84], %l7=0A= .LL743:=0A= st %g2, [%fp-60]=0A= .LL744:=0A= ba,pt %xcc, .LL536=0A= sll %l7, 24, %l5=0A= .LLVL402:=0A= .LL537:=0A= .LLBE551:=0A= .LLBE559:=0A= ------=_NextPart_000_0016_01D2EB89.A8B55A30 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs ------=_NextPart_000_0016_01D2EB89.A8B55A30--