public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46806] New: -O3 implies 0 <= 8 <= 7
@ 2010-12-05  1:55 cstankevitz at toyon dot com
  2010-12-05  2:26 ` [Bug c++/46806] " pinskia at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: cstankevitz at toyon dot com @ 2010-12-05  1:55 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46806

           Summary: -O3 implies 0 <= 8 <= 7
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: cstankevitz@toyon.com
              Host: Linux seymour.toyon.corp 2.6.35.6-48.fc14.x86_64 #1
                    SMP Fri Oct 22 15:36:08 UTC 2010 x86_64 x86_64 x86_64
                    GNU/Linux
             Build: g++ (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)


Created attachment 22636
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22636
sample program

Linux seymour.toyon.corp 2.6.35.6-48.fc14.x86_64 #1 SMP Fri Oct 22 15:36:08 UTC
2010 x86_64 x86_64 x86_64 GNU/Linux

g++ (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)

Compile the attached source with "g++ test.cpp -O3" and the executable will
report 0<=8<=7.

To make the strange result go away:

- comment out the do-nothing line gValue = EdgeType (or make a number of other
minor changes)

- compile with -O1


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

end of thread, other threads:[~2010-12-06 13:08 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-05  1:55 [Bug c++/46806] New: -O3 implies 0 <= 8 <= 7 cstankevitz at toyon dot com
2010-12-05  2:26 ` [Bug c++/46806] " pinskia at gcc dot gnu.org
2010-12-05  2:48 ` cstankevitz at toyon dot com
2010-12-05  2:53 ` cstankevitz at toyon dot com
2010-12-05  4:16 ` redi at gcc dot gnu.org
2010-12-05  4:19 ` redi at gcc dot gnu.org
2010-12-05 11:32 ` rguenth at gcc dot gnu.org
2010-12-05 18:12 ` cstankevitz at toyon dot com
2010-12-05 19:27 ` redi at gcc dot gnu.org
2010-12-05 22:13 ` rguenth at gcc dot gnu.org
2010-12-05 23:47 ` cstankevitz at toyon dot com
2010-12-05 23:59 ` paolo.carlini at oracle dot com
2010-12-06 12:53 ` rguenth at gcc dot gnu.org
2010-12-06 13:07 ` rguenth at gcc dot gnu.org
2010-12-06 13:08 ` [Bug tree-optimization/46806] " rguenth at gcc dot gnu.org

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