[Bug ipa/71146] [7 Regression] error: __builtin_unreachable or __builtin_trap call with arguments

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 17 16:10:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71146

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Thanks, Marek,
I am looking into it now - the calls in thunk are unconditional, so I would
expect the call in thunk to be unreachable iff the call of thunk is unreachable
and in that case we should have redirected the thunk itself into
__builtin_unreachable. So it seems there is something fishy going on. It may
just be artifact on how we drop the conditions when they exceed the threshold.

Honza


More information about the Gcc-bugs mailing list