[cfe-dev] Feature request: C intrinsics for overflow detection

David Chisnall David.Chisnall at cl.cam.ac.uk
Sat May 10 02:24:39 PDT 2014


On 10 May 2014, at 01:32, Alp Toker <alp at nuanti.com> wrote:

> I've found Bing yields *far* better results for compiler-related technical searches. Definitely worth changing habits and checking out for a few days:
> 
>  http://www.bing.com/search?q=builtin_uadd_overflow (54 results)

For me, at least, none of them were clang-related.  Not sure if Bing has learned from your previous searches.  Many of them were about overflowing sewage.  There were some stack overflow questions that eventually led to the right place if you followed enough links.

However, DuckDuckGo provides very good results for this query:

https://duckduckgo.com/?q=builtin_uadd_overflow

The second hit is the mailing list discussion on adding the builtins, the third is the clang 3.5 documentation and the fifth is the clang 3.4 documentation.  If you add the two leading underscores, then the clang links move to positions 1 and 2.

DDG also indexes a few domain-specific search engines and suggests a few for this search that might have results with a higher signal-to-noise ratio.

David



More information about the cfe-dev mailing list