public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/5902: Gcj fails to parse float
@ 2002-03-11 20:18 apbianco
0 siblings, 0 replies; 3+ messages in thread
From: apbianco @ 2002-03-11 20:18 UTC (permalink / raw)
To: ebb9, gcc-bugs, gcc-prs, java-prs, nobody
Synopsis: Gcj fails to parse float
State-Changed-From-To: open->closed
State-Changed-By: apbianco
State-Changed-When: Mon Mar 11 20:18:53 2002
State-Changed-Why:
Eric Blake checked this fix both in the branch and the trunk:
http://gcc.gnu.org/ml/java-patches/2002-q1/msg00718.html
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5902
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: java/5902: Gcj fails to parse float
@ 2002-03-10 17:16 Eric Blake
0 siblings, 0 replies; 3+ messages in thread
From: Eric Blake @ 2002-03-10 17:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR java/5902; it has been noted by GNATS.
From: Eric Blake <ebb9@email.byu.edu>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
ebb9@email.byu.edu, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
java-prs@gcc.gnu.org
Cc:
Subject: Re: java/5902: Gcj fails to parse float
Date: Sun, 10 Mar 2002 18:13:00 -0700
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5902
While patching this, I uncovered another case of failed literal parsing.
I'm working on a fix for both parse errors.
class Foo
{
public static void main(String[] args)
{
System.out.println("" + 0x1instanceof String);
}
}
The program is valid (it should parse as "0x1" "instanceof"), and should
output "true".
--
This signature intentionally left boring.
Eric Blake ebb9@email.byu.edu
BYU student, free software programmer
^ permalink raw reply [flat|nested] 3+ messages in thread
* java/5902: Gcj fails to parse float
@ 2002-03-09 21:16 ebb9
0 siblings, 0 replies; 3+ messages in thread
From: ebb9 @ 2002-03-09 21:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 5902
>Category: java
>Synopsis: Gcj fails to parse float
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Sat Mar 09 21:16:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Eric Blake
>Release: 3.1 20020309 (prerelease)
>Organization:
>Environment:
System: Linux quaffle 2.4.9-13smp #1 SMP Tue Oct 30 19:57:16 EST 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --enable-threads=posix --prefix=/fpga3/users/eblake/gcc --enable-shared
>Description:
Putting a float or double suffix on a literal has higher precedence
than an integer octal constant. This program should compile:
class Foo {
public static void main(String[] args) {
System.out.println(019f);
}
}
And the output should be "19.0". However, gcj reports that 9 in an
invalid octal number:
Foo.java:3: Digit out of range in octal literal.
System.out.println(019f);
^
1 error
>How-To-Repeat:
Compile the program.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-12 4:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-11 20:18 java/5902: Gcj fails to parse float apbianco
-- strict thread matches above, loose matches on Subject: below --
2002-03-10 17:16 Eric Blake
2002-03-09 21:16 ebb9
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).