This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/46460] warn for shifting more than the bits in the (promoted) type is undefined
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 13 Nov 2010 15:06:55 +0000
- Subject: [Bug c/46460] warn for shifting more than the bits in the (promoted) type is undefined
- Auto-submitted: auto-generated
- References: <bug-46460-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46460
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |NEW
Keywords| |diagnostic
Last reconfirmed| |2010.11.13 15:06:51
CC| |manu at gcc dot gnu.org
Resolution|INVALID |
Ever Confirmed|0 |1
Summary|shifting producing |warn for shifting more than
|incorrect result |the bits in the (promoted)
| |type is undefined
Severity|normal |enhancement
--- Comment #2 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2010-11-13 15:06:51 UTC ---
REOPEN as enhancement request for a warning. (No warning in 4.4.3)