Bug 27037 - Direct compile fails
Summary: Direct compile fails
Status: RESOLVED DUPLICATE of bug 4695
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 4.1.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-05 00:21 UTC by Taral
Modified: 2006-04-05 00:25 UTC (History)
7 users (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build: x86_64-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taral 2006-04-05 00:21:01 UTC
public class z {
    private class y {
        public y(long x) { this(x,w()); }
        public y(long x,long v) { }
    }

    private long w() { return 0; }
}

Fails to compile with "gcj -c", compiles fine with "gcj -C". Bytecode compiles with "gcj -c".
Comment 1 Taral 2006-04-05 00:21:41 UTC
This example taken from freenet source. gcj -M also fails on this snippet.
Comment 2 Andrew Pinski 2006-04-05 00:25:48 UTC

*** This bug has been marked as a duplicate of 4695 ***