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] Add new built-in: __builtin_unreachable()


gcc/
2009-06-11  David Daney  <ddaney@caviumnetworks.com>

    PR c/39252
    * doc/extend.texi ( __builtin_unreachable): Document new builtin.
    * builtins.c (expand_builtin_unreachable): New function.
    (expand_builtin): Handle BUILT_IN_UNREACHABLE case.
    * builtins.def (BUILT_IN_UNREACHABLE): Add new builtin.
    * cfgcleanup.c (try_optimize_cfg): Delete empty blocks with no
    successors.
    * cfgrtl.c (rtl_verify_flow_info): Handle empty blocks when
    searching for missing barriers.

gcc/testsuite/
2009-06-11  David Daney  <ddaney@caviumnetworks.com>

    PR c/39252
    * gcc.dg/builtin-unreachable-1.c: New test.
    * gcc.dg/builtin-unreachable-2.c: Same.


Ok.



r~



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