From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7358 invoked by alias); 12 Dec 2005 13:22:30 -0000 Received: (qmail 7339 invoked by uid 48); 12 Dec 2005 13:22:30 -0000 Date: Mon, 12 Dec 2005 13:22:00 -0000 Subject: [Bug java/25368] New: ICE in make_class_data X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2005-q4/txt/msg00465.txt.bz2 List-Id: After unpack org.tar.bz2 I'll attach into an empty directory: .../jc1 org/gnu/atk/AtkObject.java -fuse-boehm-gc -fnon-call-exceptions -O2 \ -fjni -fclasspath=.:/usr/share/java/libgcj-4.1.0.jar -fPIC -o x.s in a checking buid this dies with: org/gnu/atk/AtkObject.java:21: internal compiler error: tree check: expected class 'expression', have 'constant' (integer_cst) in make_class_data, at java/class.c:1581 and in --enable-checking=release build dies with: org/gnu/atk/AtkObject.java:21: internal compiler error: in lhd_incomplete_type_error, at langhooks.c:213 The former is ICE on: 1581 decl = TREE_OPERAND (this_class_addr, 0); which fails, because this_class_addr is not an expression, but null_pointer_node. The non-checking one is: 1799 PUSH_FIELD_VALUE (cons, "size_in_bytes", 1800 (flag_indirect_dispatch 1801 ? integer_minus_one_node 1802 : size_in_bytes (type))); where size_in_bytes is called on incomplete type: align 8 symtab 0 alias set -1 pointer_to_this chain > -- Summary: ICE in make_class_data Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25368