This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 1/4] Add framework for tunables


On Tue, 27 Dec 2016, Florian Weimer wrote:

> > +    default:
> > +      __builtin_unreachable ();
> 
> Should this rather be __bultin_trap?

Note that __bultin_trap generates a call to abort on some platforms.  It 
can only be used in places where such a call is OK; we've had problems 
with the isolate-erroneous-paths optimization generating such calls.  So 
make sure anything using __bultin_trap builds OK for SH with 
build-many-glibcs.py, for example.

-- 
Joseph S. Myers
joseph@codesourcery.com


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