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()


H.J. Lu wrote:
On Tue, Jun 9, 2009 at 12:14 PM, David Daney<ddaney@caviumnetworks.com> wrote:
[...]

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

       * 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.
       * cfgrtl.c (rtl_verify_flow_info): Handle empty blocks when
       searching for missing barriers.

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

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


Does this implement

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39252

If yes, could you please update PR and include PR # in ChangeLog?


I think the patch would fix that bug. If approved, I will annotate the ChangeLog accordingly.


David Daney


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