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: "nasix at raytheon dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2004 21:35:39 -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 nasix at raytheon dot com 2004-03-18 21:35 -------
Subject: Re: y<<n where n==32 does not yield zero on x86
Thank you. I suspected as much.
"falk at debian
dot org" To: nasix@raytheon.com
<gcc-bugzilla@gc cc:
c.gnu.org> Subject: [Bug c/14642] y<<n where n==32 does not yield zero on x86
03/18/2004 02:28
PM
Please respond
to gcc-bugzilla
------- 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
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14642