public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/49534] New: gcj segfaults on a program from stdin
@ 2011-06-26 20:49 radford at blackbean dot org
0 siblings, 0 replies; only message in thread
From: radford at blackbean dot org @ 2011-06-26 20:49 UTC (permalink / raw)
To: java-prs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49534
Summary: gcj segfaults on a program from stdin
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: radford@blackbean.org
The following command
echo 'class Hello {public static void main(String[] args)
{System.out.println("hello, world");}}' | gcj -x java --main=Hello - -o Hello
gives
jc1: warning: no input file specified
jc1: internal compiler error: Segmentation fault
The equivalent C program works when piped to gcc.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-26 20:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-26 20:49 [Bug java/49534] New: gcj segfaults on a program from stdin radford at blackbean 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).