public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/45831] New: 0 = 10 (with -O0, 0 = 0 with -O1, but 10 = 10 expected)
@ 2010-09-29 15:33 MichieldeB at aim dot com
  2010-09-29 15:35 ` [Bug c/45831] " schwab@linux-m68k.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: MichieldeB at aim dot com @ 2010-09-29 15:33 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-09-30 19:39 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-29 15:33 [Bug c/45831] New: 0 = 10 (with -O0, 0 = 0 with -O1, but 10 = 10 expected) MichieldeB at aim dot com
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

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