public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cstankevitz at toyon dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/46806] New: -O3 implies 0 <= 8 <= 7 Date: Sun, 05 Dec 2010 01:55:00 -0000 [thread overview] Message-ID: <bug-46806-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2010-12-05 1:55 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-12-05 1:55 cstankevitz at toyon dot com [this message] 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
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-46806-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).