Re: passing arguments in emit_libraray_call

2007-01-07 Thread 吴曦
sorry for that~, I am using gcc3.4.0. thanks for the hints on passing format string argument~ 在 07 Jan 2007 20:25:29 -0800,Ian Lance Taylor<[EMAIL PROTECTED]> 写道: "吴曦" <[EMAIL PROTECTED]> writes: > I want to use emit_library_call to output a library call to "printf". > The question is how to pa

Re: passing arguments in emit_libraray_call

2007-01-07 Thread Ian Lance Taylor
"吴曦" <[EMAIL PROTECTED]> writes: > I want to use emit_library_call to output a library call to "printf". > The question is how to pass a format string argument? See, e.g., how STRING_CST is handled in expand_expr_real_1. > Also, in the comment of emit_library_call mentions: > > "The rtx values

passing arguments in emit_libraray_call

2007-01-07 Thread 吴曦
Hi, I want to use emit_library_call to output a library call to "printf". The question is how to pass a format string argument? Also, in the comment of emit_library_call mentions: "The rtx values should have been passed through protect_from_queue already." then, what should I do to pass the rt