On 02.10.2014 03:48, 陳韋任 (Wei-Ren Chen) wrote:
> Hi All,
>
> I have a question about genCall while tracing the codegen. The code
> snippet below:
>
> /* make the call */
> if (IS_LITERAL (etype))
> {
> /* ??? */
> }
> else
> {
> /* docall(); */
> }
>
> I can't figure out under what kind of function call will go through the
> if-stmt part (IS_LITERAL is true). Would anyone give me a hint?
>
> Thanks. :-)
>
> BR,
> chenwj
>
I didn't check, but how about
((void (*)(void))(0x1234))();
?
Philipp
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user