the best way to submit or describe a possible problem is to attach a
test case and compile/command line so people can reproduce your
problem.
Sun

On Wed, Jun 22, 2011 at 4:30 PM, eirc.lew <eirc....@gmail.com> wrote:
> Hi,
>   I dumped when I debug the whirl2c procedure in function preprocess_pu,
> just after it has read the Whirl tree from *.B file.
>   When exit the gdb pthread, the binded thread will print the whirl tree.
>
> Eric
>
>
> ----- Original Message -----
> From: Jian-Xin Lai
> To: eirc.lew
> Cc: open64-devel ; ccia...@lbl.gov ; yzh...@hpcrd.lbl.gov
> Sent: Wednesday, June 22, 2011 5:24 PM
> Subject: Re: [Open64-devel] a whirl2c error, during whirl2c phase, miss the
> WN
>  I suspect you dumped the symtab is unavailable. Where did you do the dump?
>
> 2011/6/21 eirc.lew <eirc....@gmail.com>
>>
>> Hi,
>>   I encounter a error in Open64 whirl2c Phase, the phenomena is as follow:
>> when loaded pu in Preprocess_pu, dump_tree(pu), there are some NULL WN in
>> the whirl tree, such as:
>>
>>
>> MCALL 64 <1,94,UPCR_ADD_SHARED_MD> # flags 0x40  add_shared1
>>
>>         MMLDID -1 <null-st> T<43,shared_ptr_struct,4>
>>
>>
>>
>>            U4LDA 0 <3,39,_bupc_.Mptra.> T<136,anon_ptr.,4>
>>
>>            U4INTCONST 8 (0x8)
>>
>>           MLOAD 0 T<137,anon_ptr.,4>
>>
>>          U4TAS T<111,anon_ptr.,4>
>>
>>         MPARM 2 T<43,shared_ptr_struct,4> #  by_value
>>
>>          I4INTCONST 4 (0x4)
>>
>>         I4PARM 2 T<### ERROR: null ptr> #  by_value
>>
>>          I4I4LDID 0 <3,10,__HL_j> T<58,int,4>
>>
>>         I4PARM 2 T<### ERROR: null ptr> #  by_value
>>
>>          U4LDA 0 <1,86,input_mdl> T<127,anon_ptr.,4>
>>
>>         MPARM 2 T<45,mdl_ptr_struct,4> #  by_value
>>
>>          I4INTCONST 0 (0x0)
>>
>>         I4PARM 2 T<4,.predef_I4,4> #  by_value
>>
>>        MCALL 64 <1,94,UPCR_ADD_SHARED_MD> # flags 0x40
>>
>>
>>
>> at the same time, I get the correspond WN in Backend_processing as follow:
>>
>>
>>
>>    F4CALL 126 <1,96,UPCR_GET_SHARED_FLOATVAL> # flags 0x7e
>>
>>        F4F4LDID 8 <1,80,.preg_I8> T<10,.predef_F4,4> # $r8
>>
>>       F4STID 0 <3,20,_bupc_.spillld> T<10,.predef_F4,4>
>>
>>
>>
>>            U4LDA 0 <3,39,_bupc_.Mptra.> T<136,anon_ptr.,4>
>>
>>            U4INTCONST 8 (0x8)
>>
>>           MLOAD 0 T<137,anon_ptr.,4>
>>
>>          U4TAS T<111,anon_ptr.,4>
>>
>>         MPARM 2 T<43,shared_ptr_struct,4> #  by_value
>>
>>          I4INTCONST 4 (0x4)
>>
>>         I4PARM 2 T<4,.predef_I4,4> #  by_value
>>
>>          I4I4LDID 0 <3,10,__HL_j> T<58,int,4>
>>
>>         I4PARM 2 T<4,.predef_I4,4> #  by_value
>>
>>          U4LDA 0 <1,86,input_mdl> T<127,anon_ptr.,4>
>>
>>         MPARM 2 T<45,mdl_ptr_struct,4> #  by_value
>>
>>          I4INTCONST 0 (0x0)
>>
>>         I4PARM 2 T<4,.predef_I4,4> #  by_value
>>
>>        MCALL 64 <1,94,UPCR_ADD_SHARED_MD> # flags 0x40
>>
>>
>>
>> Are there some advice about it?  Can it be a error during loading the WN
>> in the whirl2c phase?
>>
>>
>>
>> Thanks in advance!
>>
>>
>>
>> Eric
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> EditLive Enterprise is the world's most technically advanced content
>> authoring tool. Experience the power of Track Changes, Inline Image
>> Editing and ensure content is compliant with Accessibility Checking.
>> http://p.sf.net/sfu/ephox-dev2dev
>> _______________________________________________
>> Open64-devel mailing list
>> Open64-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/open64-devel
>>
>
>
>
> --
> Regards,
> Lai Jian-Xin
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> Open64-devel mailing list
> Open64-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/open64-devel
>
>

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to