[Prev][Next][Index]

Re: BIT_NUMBER op, and dumpdep seg fault



SgRecordRefExp is what you need to represent things like:
        d.meth();

I am not sure why dumpdep crashes for you. It works fine for me on  
the short program you've sent. Can you put the .dep file somewhere so  
I can log in and try to see what dumpdep is unhappy about?

I have to run now but I'll be back at work in the evening. Below, for  
whatever it's worth is the dumpdep of your short program.  --Beata
 


rainier_9:dumpdep dot.dep
Source is "dot.c"

 #blob  #bfnd  #llnd  #symb      #type  #labl  GblBf #deps  #cmnt   
#file
---------------------------------------------------------------------- 
---
    5      6     10      6         14     0      1      0      0       
1


***BIF NODES***

  id  var  cp   bp1  cmnt  sym    lp1    lp2    lp3    dp1  dp2   lab   
lbl glin llin  file  thread
  1-B 100  ----  --  ----  ----   ----   ----   ----   --   --   ----   
--   0    0     1-F     2-B       GLOBAL
               2-B     4-B    --
              --
         decl_specs(bits set)= 

  2-B 169   1-B  --  ----   3-S   ----   ----   ----   --   --   ----   
--   1    0     1-F     3-B   CLASS_DECL
               3-B    --
              --
         decl_specs(bits set)= 

  3-B 154   2-B  --  ----  ----    2-E   ----   ----   --   --   ----   
--   2    0     1-F     4-B     VAR_DECL
              --
              --
         decl_specs(bits set)= 

  4-B 130   1-B  --  ----   5-S    4-E   ----   ----   --   --   ----   
--   5    0     1-F     5-B    FUNC_HEDR
               5-B     6-B    --
              --
         decl_specs(bits set)= 

  5-B 154   4-B  --  ----  ----    6-E   ----   ----   --   --   ----   
--   7    0     1-F     6-B     VAR_DECL
              --
              --
         decl_specs(bits set)= 

  6-B 173   4-B  --  ----  ----   10-E   ----   ----   --   --   ----   
--   9    0     1-F    ---- EXPR_STMT_NODE
              --
              --
         decl_specs(bits set)= 


***L0W-LEVEL NODES***

    id    var    type    symb    ll1     ll2                      
tag...
    1-E   396    ----     4-S    ----    ----                   
FUNCTION_REF
    2-E   312     1-T    ----     1-E    ----                      
EXPR_LIST
    3-E   396    ----     5-S    ----    ----                   
FUNCTION_REF
    4-E   312     8-T    ----     3-E    ----                      
EXPR_LIST
    5-E   307    ----     6-S    ----    ----                        
VAR_REF
    6-E   312    14-T    ----     5-E    ----                      
EXPR_LIST
    7-E   307    14-T     6-S    ----    ----                        
VAR_REF
    8-E   371     1-T     4-S    ----    ----                      
FUNC_CALL
    9-E   309     1-T    ----     7-E     8-E                     
RECORD_REF
   10-E   312     1-T    ----     9-E    ----                      
EXPR_LIST

***SYMBOL NODES***

   id   var   type  attr  next   scope  variable-name
   1-S  550   ----    0   ----   ----              *                                                
DEFAULT
   2-S  504   ----    0    3-S    1-B    ElementType                                              
TYPE_NAME
   3-S  511   12-T    0    5-S    1-B           dome                                               
CLASS_NAME
   4-S  510    1-T   16   ----    2-B           meth n_in=    0  
n_out=    0 n_io=    0
                                     in_l=        ---- out_l=   ----  
sy_l=   ---- f_hdr=   ---- 

                                     m_nxt=   ----   b_name=    3-S    
dec_name=   ----           MEMBER_FUNC
   5-S  509    8-T    0   ----    1-B           main n_in=    0  
n_out=    0 n_io=    0
                                       in_l=   ---- out_l=   ----  
sy_l=   ---- p_hdr=    4-B     FUNCTION_NAME
   6-S  503   14-T    0   ----    4-B              d local=   0  
nxt_in=  ---- nxt_out=  ----     VARIABLE_NAME

***TYPE NODES***

   id   var name length
   1-T  551   --   --                                                                 
T_INT
   2-T  552   --   --                                                               
T_FLOAT
   3-T  553   --   --                                                              
T_DOUBLE
   4-T  554   --   --                                                                
T_CHAR
   5-T  556   --   --                                                              
T_STRING
   6-T  555   --   --                                                                
T_BOOL
   7-T  564   --   --                                                             
T_COMPLEX
   8-T  550   --   --                                                               
DEFAULT
   9-T  565   --   --                                                                
T_VOID
  10-T  563   --   --                                                             
T_UNKNOWN
  11-T  573   --   --  der_typ=      2-S                                      
T_DERIVED_TYPE
  12-T  571   --    4  num_flds=    0 first=    4-S parent=    2-B                   
T_CLASS
  13-T  573   --   --  der_typ=      3-S                                      
T_DERIVED_TYPE
  14-T  573   --   --  der_typ=      3-S                                      
T_DERIVED_TYPE

  bits set:   0 syn/protected,  1 shared/public,  2 private,  3  
future,  4 virtual,
                5 inline,  6 unsigned,  7 signed,  8 short,  9 long,   
10 volatile,
                11 const,  12 typedef,  13 extern,  14 friend,  15  
static,  16 register,
                17 auto,  18 global,  19 Sync,  20 atomic,  21  
__private, 22 restrict

***LABEL NODES***


***COMMENT NODES***


***FILENAME NODES***

    1-F dot.c