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

Andrew Haley aph@redhat.com
Thu Apr 17 13:46:00 GMT 2003


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.



More information about the Gcc mailing list