This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, Pointer Bounds Checker 39/x] Avoid instrumented __builtin_unreachable calls


On 10/03/14 03:01, Ilya Enkovich wrote:
Hi,

This patch avoids generation of __builtin_unreachable calls marked as instrumented.  It follows paradigma of no instrumented builtin calls (and passes corresponding assert in expand_builtin from patch #18).

Thanks,
Ilya
--
2014-10-01  Ilya Enkovich  <ilya.enkovich@intel.com>

	* cgraphunit.c (walk_polymorphic_call_targets): Do not mark
	generated call to __builtin_unreachable as with_bounds.
	* ipa.c (walk_polymorphic_call_targets): Likewise.
OK. However, if we find many more generated calls to builtins that need to be marked this way, then we'll probably want to put the logic into the expander code rather than hacking up each instance individually.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]