This is the mail archive of the gcc-help@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]

need a fix for -fdump-tree-original of g++


Hi,

I am using gcc-3.4.3 version. The g++ compiler gives a dump of the AST for
all the cases except if there is a 
structure / class for which there is no instance / pointer created. Pl. have
a look @ the example. below.

class myclass{
   private:
       int  an_integer_var;

   public:
       void my_function(int somevalue)
       {
              an_integer_var = somevalue;
       }
};

if I compile this code with g++ -c -fdump-tree-original myfile.cpp, I don't
get the myfile.cpp.original. Can someone give me the fix for this. I need to
get the dump of the class and the functions in the class.

Regards,
Rajesh
-- 
View this message in context: http://www.nabble.com/need-a-fix-for---fdump-tree-original-of-g%2B%2B-tf3252551.html#a9041465
Sent from the gcc - Help mailing list archive at Nabble.com.


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