[Bug plugins/94664] New: build_function_call() on functions with __attribute__((format (printf, ...))) may lead to ICE: SIGSEGV

2020-04-19 Thread yon.goldschmidt at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins Assignee: unassigned at gcc dot gnu.org Reporter: yon.goldschmidt at gmail dot com Target Milestone: --- I encountered an ICE while developing a plugin. Started by sending a

[Bug plugins/94664] build_function_call() on functions with __attribute__((format (printf, ...))) may lead to ICE: SIGSEGV

2020-04-19 Thread yon.goldschmidt at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94664 --- Comment #2 from Yonatan --- Thanks for the reply. > NO, the main API was only for Objective-C/c++ code. THIS function is much > older than the plugin support. Shouldn't it be marked somehow? By comments, or by removal from public headers?

[Bug plugins/94664] build_function_call() on functions with __attribute__((format (printf, ...))) may lead to ICE: SIGSEGV

2020-04-19 Thread yon.goldschmidt at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94664 --- Comment #4 from Yonatan --- > So GCC plugin API is just internal APIs which means there is no plugin > specific API. Yes, that I understood haha, that's why I used build_function_call() in the first place. I saw it in c-common.h so it made