Generic and Gimple in gcc4.6

Ian Lance Taylor iant@google.com
Thu Sep 23 08:40:00 GMT 2010


charfi asma <charfiasma@yahoo.fr> writes:

> I am interested in Generic and Gimple IR dumped with g++ file.cpp 
> -fdump-tree-all
> I test this command with a cpp file that only contains int x=2
> but the dumped Generic (file.cpp.001t.tu)  is so strange, more than 7000 line of 
> code for only one instruction !!
> however the Gimple is correct: 
>
> int main() ()
> {
>   int D.1694;
>   {
>     int x;
>
>     x = 5;
>   }
>   D.1694 = 0;
>   return D.1694;
> }
>
> Any explanation ??

Is your question why there are so many lines in the .tu dump?  The
answer to that is that all the intrinsic functions and builtin types are
included.

Ian



More information about the Gcc-help mailing list