public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51016] New: "asm goto" crashes if used in static class method
@ 2011-11-07 23:43 orestis at cs dot columbia.edu
2011-11-07 23:49 ` [Bug c++/51016] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: orestis at cs dot columbia.edu @ 2011-11-07 23:43 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-07 23:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-07 23:43 [Bug c++/51016] New: "asm goto" crashes if used in static class method orestis at cs dot columbia.edu
2011-11-07 23:49 ` [Bug c++/51016] " pinskia 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).