public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "orestis at cs dot columbia.edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/51016] New: "asm goto" crashes if used in static class method Date: Mon, 07 Nov 2011 23:43:00 -0000 [thread overview] Message-ID: <bug-51016-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51016 Bug #: 51016 Summary: "asm goto" crashes if used in static class method Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: orestis@cs.columbia.edu Created attachment 25747 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25747 Simple code that displays the bug If an "asm goto" block is placed as a C++ static class method it crashes while for normal C global function it works fine. Please see the attached file. I created a very simple program that shows the bug. If you place the cas function outside as a global function it works fine. But if it is written inside the class it crashes. Of course the point was not just to write the function inside but also write it as cas(node**, node*, node*) to avoid writing casting. Orestis
next reply other threads:[~2011-11-07 23:35 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-11-07 23:43 orestis at cs dot columbia.edu [this message] 2011-11-07 23:49 ` [Bug c++/51016] " pinskia 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-51016-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).