Re: RFA: PATCH to factor out no_sanitize_undefined attribute check

2015-01-08 Thread Jakub Jelinek
On Thu, Jan 08, 2015 at 03:57:17PM -0500, Jason Merrill wrote: > I noticed that we were repeating the same long test in lots of places and > factored it out into a separate function. I'm not attached to the name. > > Tested x86_64-pc-linux-gnu, OK for trunk? As the predicate is very simple, woul

RFA: PATCH to factor out no_sanitize_undefined attribute check

2015-01-08 Thread Jason Merrill
I noticed that we were repeating the same long test in lots of places and factored it out into a separate function. I'm not attached to the name. Tested x86_64-pc-linux-gnu, OK for trunk? commit 5a5f850a4d40a25cc3b1fc0120e844b1ac3f3eb0 Author: Jason Merrill Date: Wed Jan 7 17:29:36 2015 -050