This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/59852] Support sparse-style __attribute__((bitwise)) (type attribute)
- From: "tromey at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Jan 2014 23:46:13 +0000
- Subject: [Bug c/59852] Support sparse-style __attribute__((bitwise)) (type attribute)
- Auto-submitted: auto-generated
- References: <bug-59852-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59852
Tom Tromey <tromey at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu.org
--- Comment #2 from Tom Tromey <tromey at gcc dot gnu.org> ---
Suppose 'x' is of bitwise type.
Is "x == x" an allowable operation?
On the one hand, it isn't obvious whether "==" is "strictly bitwise".
On the other hand, this seems well-defined, at least in
cases where no promotion is needed.
This applies to "!=" as well.