<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Thanks a lot. </SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 13px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>This information was very helpful.</FONT></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 13px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2></FONT></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 13px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>Regards,</FONT></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 13px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2>Pankaj</FONT></SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 13px; RIGHT: auto"><SPAN style="RIGHT: auto"><FONT size=2><VAR id=yui-ie-cursor></VAR></FONT></SPAN> </div>
<div><BR></div>
<DIV style="FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif; FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Dmitri Gribenko <gribozavr@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Pankaj Gode <godepankaj@yahoo.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> "cfe-dev@cs.uiuc.edu" <cfe-dev@cs.uiuc.edu> <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, February 27, 2013 7:18 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [cfe-dev] g++ test net20.c generates wrong code<BR></FONT></DIV><BR>On Wed, Feb 27, 2013 at 11:05 AM, Pankaj Gode <<A href="mailto:godepankaj@yahoo.com"
 ymailto="mailto:godepankaj@yahoo.com">godepankaj@yahoo.com</A>> wrote:<BR>> Is clang not recognizing this correctly or am I making any mistake ?<BR><BR>Clang is correct.  The function is returning a pointer to a member.<BR>You can check with 'cdecl' when you are unsure what a declaration<BR>means:<BR><BR>$ cdecl -+<BR>Type `help' or `?' for help<BR>cdecl> explain void (X::* fee ())()<BR>declare fee as function returning pointer to member of class X<BR>function returning void<BR>cdecl><BR><BR>Dmitri<BR><BR>-- <BR>main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<BR>(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<A href="mailto:gribozavr@gmail.com" ymailto="mailto:gribozavr@gmail.com">gribozavr@gmail.com</A>>*/<BR><BR><BR></DIV></DIV></div></body></html>