This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

Re: PR java/25535: gcj broken on 64-bit big-endian systems


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew> It can't be done: AFAIK a constructor for a union can only initialize
Andrew> the first element of the union.

According to the documentation for CONSTRUCTOR in tree.def it can be
done.  Also, gcj already does this; see the initialization of the
"info" field in class.c:make_field_value().

Tom


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