This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14642] y<<n where n==32 does not yield zero on x86
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2004 21:28:16 -0000
- Subject: [Bug c/14642] y<<n where n==32 does not yield zero on x86
- References: <20040318212515.14642.nasix@raytheon.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2004-03-18 21:28 -------
The C standard says: "If the value of the right operand is negative or is
greater than or equal to the width of the promoted left operand, the behavior is
undefined."
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14642