public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "MichieldeB at aim dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/45831] New: 0 = 10 (with -O0, 0 = 0 with -O1, but 10 = 10 expected) Date: Wed, 29 Sep 2010 15:33:00 -0000 [thread overview] Message-ID: <bug-45831-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831 Summary: 0 = 10 (with -O0, 0 = 0 with -O1, but 10 = 10 expected) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: MichieldeB@aim.com gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #include <stdio.h> main () { int ten = 10; printf ("%d = %d\n", 10 << -32, ten << -32); return 0; }
next reply other threads:[~2010-09-29 13:31 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-09-29 15:33 MichieldeB at aim dot com [this message] 2010-09-29 15:35 ` [Bug c/45831] " schwab@linux-m68k.org 2010-09-29 15:43 ` MichieldeB at aim dot com 2010-09-29 15:44 ` MichieldeB at aim dot com 2010-09-29 15:47 ` MichieldeB at aim dot com 2010-09-29 16:28 ` pinskia at gcc dot gnu.org 2010-09-29 17:04 ` manu at gcc dot gnu.org 2010-09-29 17:04 ` MichieldeB at aim dot com 2010-09-29 17:09 ` manu at gcc dot gnu.org 2010-09-29 19:41 ` joseph at codesourcery dot com 2010-09-30 13:01 ` MichieldeB at aim dot com 2010-09-30 13:13 ` schwab@linux-m68k.org 2010-09-30 16:42 ` jakub at gcc dot gnu.org 2010-09-30 17:09 ` manu at gcc dot gnu.org 2010-09-30 21:10 ` MichieldeB at aim dot com 2010-09-30 21:19 ` manu at gcc dot gnu.org 2010-09-30 23:02 ` MichieldeB at aim dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-45831-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).