java/2665: segv with -gstabs option on

Alexandre Petit-Bianco apbianco@cygnus.com
Thu May 3 00:36:00 GMT 2001


The following reply was made to PR java/2665; it has been noted by GNATS.

From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: alk@pobox.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/2665: segv with -gstabs option on
Date: Thu, 3 May 2001 00:33:15 -0700 (PDT)

 alk@pobox.com writes:
 
 > class OC { int ov = 99; class IC { int iv = ov; }; };
 > Put that line in a file OC.java, and compile it
 > gcj -gstabs -S -c OC.java, and you get a segv.
 
 Actually even `class X {}' will trigger the same problem. I briefly
 traced it to Java type decls not having DECL_SIZE properly set -- it
 seems we never set it to something. Odd.
 
 ./A



More information about the Gcc-prs mailing list