public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/25368]  New: ICE in make_class_data
@ 2005-12-12 13:22 jakub at gcc dot gnu dot org
  2005-12-12 13:23 ` [Bug java/25368] " jakub at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-12-12 13:22 UTC (permalink / raw)
  To: java-prs

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:
 <record_type 0x2aaaaab42d10 org.gnu.atk.AtkObject sizes-gimplified tree_2
type_2 type_3 type_4 type_5 VOID size <error_mark 0x2aaaaaae03a0>
    align 8 symtab 0 alias set -1
    pointer_to_this <pointer_type 0x2aaaaab42dc0> chain <type_decl
0x2aaaaaaf7b60 org.gnu.atk.AtkObject>>


-- 
           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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug java/25368] ICE in make_class_data
  2005-12-12 13:22 [Bug java/25368] New: ICE in make_class_data jakub at gcc dot gnu dot org
@ 2005-12-12 13:23 ` jakub at gcc dot gnu dot org
  2005-12-12 15:44 ` aph at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-12-12 13:23 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from jakub at gcc dot gnu dot org  2005-12-12 13:23 -------
Created an attachment (id=10457)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10457&action=view)
org.tar.bz2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25368


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug java/25368] ICE in make_class_data
  2005-12-12 13:22 [Bug java/25368] New: ICE in make_class_data jakub at gcc dot gnu dot org
  2005-12-12 13:23 ` [Bug java/25368] " jakub at gcc dot gnu dot org
@ 2005-12-12 15:44 ` aph at gcc dot gnu dot org
  2005-12-13  9:41 ` aph at gcc dot gnu dot org
  2005-12-13  9:44 ` aph at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-12-12 15:44 UTC (permalink / raw)
  To: java-prs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 818 bytes --]



------- Comment #2 from aph at gcc dot gnu dot org  2005-12-12 15:44 -------
aph@zorro ppzz]$ /home/aph/gcc/trunk/obj-i686-unknown-linux-gnu/gcc/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 -quiet
./org/gnu/gdk/Device.java:83: warning: The class ‘org.gnu.glib.List’ has been
deprecated.
    public static org.gnu.glib.List getDevicesList(){
                     ^
1 warning


-- 

aph at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25368


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug java/25368] ICE in make_class_data
  2005-12-12 13:22 [Bug java/25368] New: ICE in make_class_data jakub at gcc dot gnu dot org
  2005-12-12 13:23 ` [Bug java/25368] " jakub at gcc dot gnu dot org
  2005-12-12 15:44 ` aph at gcc dot gnu dot org
@ 2005-12-13  9:41 ` aph at gcc dot gnu dot org
  2005-12-13  9:44 ` aph at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-12-13  9:41 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from aph at gcc dot gnu dot org  2005-12-13 09:41 -------
Subject: Bug 25368

Author: aph
Date: Tue Dec 13 09:41:45 2005
New Revision: 108474

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108474
Log:
2005-12-13  Andrew Haley  <aph@redhat.com>

        PR java/25366
        PR java/25368
        * class.c (maybe_layout_super_class): Update current_class before
        calling do_resolve_class.


Modified:
    trunk/gcc/java/ChangeLog
    trunk/gcc/java/class.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25368


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug java/25368] ICE in make_class_data
  2005-12-12 13:22 [Bug java/25368] New: ICE in make_class_data jakub at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-12-13  9:41 ` aph at gcc dot gnu dot org
@ 2005-12-13  9:44 ` aph at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-12-13  9:44 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from aph at gcc dot gnu dot org  2005-12-13 09:44 -------
Subject: Bug 25368

Author: aph
Date: Tue Dec 13 09:44:35 2005
New Revision: 108475

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108475
Log:
2005-12-13  Andrew Haley  <aph@redhat.com>

        PR java/25366
        PR java/25368
        * class.c (maybe_layout_super_class): Update current_class before
        calling do_resolve_class.



Modified:
    branches/gcc-4_1-branch/gcc/java/ChangeLog
    branches/gcc-4_1-branch/gcc/java/class.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25368


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-12-13  9:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-12 13:22 [Bug java/25368] New: ICE in make_class_data jakub at gcc dot gnu dot org
2005-12-12 13:23 ` [Bug java/25368] " jakub at gcc dot gnu dot org
2005-12-12 15:44 ` aph at gcc dot gnu dot org
2005-12-13  9:41 ` aph at gcc dot gnu dot org
2005-12-13  9:44 ` aph at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).