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]

PR java/8260 - how to read/save C structure from java frontend


Jan Hubicka writes:

 > currently profiling die on Java because we don't have
 > long_integer_type_node initialized.  However it seems to me that it just
 > uncover more general problem that for Java the types can generally be
 > different than for C.  In gcov we must always match the C structure.
 > How to solve this properly?  Would it be sane to initialize all the
 > needed nodes by hand, like
 > 
 >   gcov_long_integer_type_node = make_signed_type (LONG_TYPE_SIZE);
 > 
 > and always use these instead?

That seems reasonable.
 
Andrew.


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