I want gcc to output the usage of builtin functions, e.g. when a call to strlen is replaced with __builtin_strlen due to -O3 optimization. Does something similar to -fdump-ipa-inline exist for builtins? If not I'm also happy with directions on where to patch the compiler to print messages when builtins are used. Best regards