This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/14642] y<<n where n==32 does not yield zero on x86


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]