This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PR java/8260 - how to read/save C structure from java frontend
- From: Andrew Haley <aph at redhat dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: per at bothner dot com, gcc at gcc dot gnu dot org, rth at redhat dot com
- Date: Thu, 17 Apr 2003 14:14:17 +0100
- Subject: PR java/8260 - how to read/save C structure from java frontend
- References: <20030417125616.GC18350@kam.mff.cuni.cz>
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.