public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64049] New: Wrong code at -O3 Date: Mon, 24 Nov 2014 13:23:00 -0000 [thread overview] Message-ID: <bug-64049-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 Bug ID: 64049 Summary: Wrong code at -O3 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de the attached C++ program is mis-compiled with recent GCC trunk at -O3 g++ -O3 ValueHelper1.cpp ValueHelper2.cpp ./a.out Assertion failed at ValueHelper1.cpp(9): Unexpected null pointer Segmentation fault (core dumped) which is not supposed to happen. correct: g++ -O2 ValueHelper1.cpp ValueHelper2.cpp ./a.out text= Localized Text
next reply other threads:[~2014-11-24 13:23 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-11-24 13:23 bernd.edlinger at hotmail dot de [this message] 2014-11-24 13:25 ` [Bug c++/64049] " bernd.edlinger at hotmail dot de 2014-11-24 13:26 ` bernd.edlinger at hotmail dot de 2014-11-24 13:27 ` bernd.edlinger at hotmail dot de 2014-11-24 13:41 ` pinskia at gcc dot gnu.org 2014-11-24 14:22 ` bernd.edlinger at hotmail dot de 2014-11-24 14:25 ` bernd.edlinger at hotmail dot de 2014-11-24 14:25 ` bernd.edlinger at hotmail dot de 2014-11-24 14:26 ` bernd.edlinger at hotmail dot de 2014-11-24 14:31 ` bernd.edlinger at hotmail dot de 2014-11-24 16:24 ` [Bug ipa/64049] " rguenth at gcc dot gnu.org 2014-11-24 17:02 ` [Bug ipa/64049] [5 Regression] r215898 caused wrong " rguenth at gcc dot gnu.org 2014-12-06 0:40 ` edlinger at gcc dot gnu.org 2014-12-08 18:30 ` edlinger at gcc dot gnu.org 2014-12-08 19:05 ` edlinger 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-64049-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).