On Wed, 2005-05-18 at 12:42 +0000, Joseph S. Myers wrote: > On Wed, 18 May 2005, Richard Guenther wrote: >
> (b) You'll probably need to change the code that autodetects const > functions to do the same, and if there's any code autodetecting noreturn > functions then likewise. Also any code generating built-in functions > without going through the attribute handling (e.g. local_define_builtin in > tree.c). This code has actually been rewritten on tree-profiling to be done at the cgraph/tree level, and this patch will be submitted soon, so if you plan on touching the auto-detection code, you are better off working there.