This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

if-conv problem....


hi
 if-conv pass is not working for gcc3.0....

following is the example
-------------------------------
      1 int main() 
      2 {
      3  int a,c; 
      4  if(c == a) 
      5  {
      6   c=c+2; 
      7  }
      8  else
      9  {
     10   c+=1; 
     11  }
     12 }           
-------------------------------------
output of .ce file is
------------------------------------------------------ 
      2 ;; Function main
      3
      4
      5 IF-THEN-ELSE block found, start 0, then 1, else 2, join 3
      6
      7 1 possible IF blocks searched. 
      8 0 IF blocks converted. 
      9 0 basic blocks deleted. 
     10                                       
--------------------------------------------------------

why if-conv is not working..??????

regards

deepak


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]