public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "falk at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/21540] switch stmt problem
Date: Thu, 19 May 2005 15:27:00 -0000 [thread overview]
Message-ID: <20050519152708.11616.qmail@sourceware.org> (raw)
In-Reply-To: <20050512200245.21540.green@redhat.com>
------- 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 requires case labels to be integer constant expressions, and this
isn't one, there's no problem here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21540
next prev parent reply other threads:[~2005-05-19 15:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-12 20:02 [Bug java/21540] New: " green at redhat dot com
2005-05-12 20:03 ` [Bug java/21540] " green at redhat dot com
2005-05-12 21:50 ` pinskia at gcc dot gnu dot org
2005-05-19 15:09 ` hchapman-gcc-bugs at 3gfp dot com
2005-05-19 15:27 ` falk at debian dot org [this message]
2005-06-21 18:36 ` tromey at gcc dot gnu dot org
2005-06-21 19:05 ` tromey at gcc dot gnu dot org
2005-06-27 18:40 ` cvs-commit at gcc dot gnu dot org
2005-06-27 18:41 ` tromey at gcc dot gnu dot org
[not found] <bug-21540-83@http.gcc.gnu.org/bugzilla/>
2005-10-13 1:11 ` cvs-commit at gcc dot gnu dot org
2005-10-13 1:13 ` mckinlay at redhat dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050519152708.11616.qmail@sourceware.org \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=java-prs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).