public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/31900]  New: Java line number debug info is bogus
@ 2007-05-11 15:47 drow at gcc dot gnu dot org
  2007-07-23  7:37 ` [Bug java/31900] " debian-gcc at lists dot debian dot org
  0 siblings, 1 reply; 2+ messages in thread
From: drow at gcc dot gnu dot org @ 2007-05-11 15:47 UTC (permalink / raw)
  To: java-prs

Compile this program with gcj -g:

public class jmain
{
  public static void main (String[] args)
    {
        return;
    }
}

There are five constructs with line numbers in the readelf -wi output (search
for decl_line).  The class jmain, the method main, and the synthetic
constructor all have line number zero; they should be 1, 3, and
not-sure-but-probably-1 respectively.  The argument args is listed on line 5
instead of line 3 where it is declared in the source.  The synthetic "this"
argument to the synthetic constructor has line 1.


-- 
           Summary: Java line number debug info is bogus
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drow at gcc dot gnu dot org
  GCC host triplet: x86_64-pc-linux-gnu


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


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

* [Bug java/31900] Java line number debug info is bogus
  2007-05-11 15:47 [Bug java/31900] New: Java line number debug info is bogus drow at gcc dot gnu dot org
@ 2007-07-23  7:37 ` debian-gcc at lists dot debian dot org
  0 siblings, 0 replies; 2+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2007-07-23  7:37 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from debian-gcc at lists dot debian dot org  2007-07-23 07:37 -------
seen on the trunk 20070730


-- 


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


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

end of thread, other threads:[~2007-07-23  7:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-11 15:47 [Bug java/31900] New: Java line number debug info is bogus drow at gcc dot gnu dot org
2007-07-23  7:37 ` [Bug java/31900] " debian-gcc at lists dot debian 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).