--- Comment #10 from mckinlay at redhat dot com 2005-10-13 01:12 ---
Fixed checked in to 4.0 branch.
--
mckinlay at redhat dot com changed:
What|Removed |Added
Known
--- Comment #9 from cvs-commit at gcc dot gnu dot org 2005-10-13 01:11
---
Subject: Bug 21540
CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-10-13 01:11:27
Modified files:
gcc/java : ChangeLog pars
--- Additional Comments From tromey at gcc dot gnu dot org 2005-06-27
18:41 ---
I checked in the fix on cvs trunk.
--
What|Removed |Added
Status|ASSIGNED
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-27
18:40 ---
Subject: Bug 21540
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-06-27 18:40:17
Modified files:
libjava: ChangeLog
gcc/java : C
--- Additional Comments From tromey at gcc dot gnu dot org 2005-06-21
19:05 ---
I'm testing a patch.
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |t
--- Additional Comments From tromey at gcc dot gnu dot org 2005-06-21
18:36 ---
The bug here is that the semantic analysis for a case expression,
in parse.y:java_complete_lhs(), just does this:
/* First, the case expression must be constant. Values of final
fields are acc
--- Additional Comments From falk at debian dot org 2005-05-19 15:27
---
(In reply to comment #3)
> gcc has this problem as well. Although, it will let you have an expression
> using
> only constants like
>
> case 'A' + ('B'<<8):
>
> but not
>
> case *((uint16_t *)"AB"):
Since C req
--- Additional Comments From hchapman-gcc-bugs at 3gfp dot com 2005-05-19
15:09 ---
gcc has this problem as well. Although, it will let you have an expression using
only constants like
case 'A' + ('B'<<8):
but not
case *((uint16_t *)"AB"):
A gcc example:
#include
int main()
{
un
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-12
21:49 ---
Confirmed, here is another example:
public class bug
{
public static final long xxx = 555;
public static final int xxx1 = (int)(xxx >>> 32);
public int fn (int v)
{
switch (v)
--- Additional Comments From green at redhat dot com 2005-05-12 20:03
---
Created an attachment (id=8880)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8880&action=view)
Test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21540
10 matches
Mail list logo