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]

Re: 206 GCC HEAD regressions, 196 new, with your patch on 2005-08-23T19:50:19Z.


Joern Rennecke wrote:



I've started a make check-target-libjava yesterday, in the hope that this would give
me a handle on things, but it's still not finished after 22 hours.

It's still not finished, but in the meantime I modifed the code to abort in the case where
the old code would reduce the alignment for !STRICT_ALIGNMENT targets.
This turned up something rather ugly indeed:


java uses char_type_node for its character type, which is 16 bits.
gcc/java/decl.c:747 java_init_decl_processing:
 TYPE_PRECISION (char_type_node) = 16;

On the other hand, tree.c uses char_type_node as the type of the smallest addressable
unit:


tree.c:489 make_node_stat
   case tcc_type:
     TYPE_UID (t) = next_type_uid++;
     TYPE_ALIGN (t) = char_type_node ? TYPE_ALIGN (char_type_node) : 0;





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