public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "panagopoulosalexandrou at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/47153] New: g++ with -O3 enters infinite loop Date: Sun, 02 Jan 2011 19:39:00 -0000 [thread overview] Message-ID: <bug-47153-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47153 Summary: g++ with -O3 enters infinite loop Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: panagopoulosalexandrou@hotmail.com Created attachment 22882 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22882 The program for which the bug applies. $ x86_64-redhat-linux-g++ sudoku_solver_single.cpp -O3 -o sudoku_solver_single $ ./sudoku_solver_single .923.........8.1...........1.7.4...........658.........6.5.2...4.....7.....9..... The program seems to enter an infinite loop inside solve, even though found_one is set to true. The expected behaviour is observed when -O2 is used instead.
next reply other threads:[~2011-01-02 19:39 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-01-02 19:39 panagopoulosalexandrou at hotmail dot com [this message] 2011-01-02 20:44 ` [Bug c++/47153] " redi at gcc dot gnu.org 2011-01-02 20:45 ` zsojka at seznam dot cz 2011-01-03 1:52 ` panagopoulosalexandrou at hotmail dot com 2011-01-03 2:17 ` redi at gcc dot gnu.org 2011-01-03 2:36 ` zsojka at seznam dot cz 2011-01-03 8:41 ` jakub 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-47153-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).