This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA][PATCH] Minor erroneous path isolation followups
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 6 Nov 2013 08:12:21 +0100
- Subject: Re: [RFA][PATCH] Minor erroneous path isolation followups
- Authentication-results: sourceware.org; auth=none
- References: <5279DE82 dot 1040703 at redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Nov 05, 2013 at 11:15:30PM -0700, Jeff Law wrote:
> * java/builtins.c (initialize_builtins): Provide __builtin_trap.
Without java/ ;)
> --- a/gcc/java/builtins.c
> +++ b/gcc/java/builtins.c
> @@ -580,6 +580,9 @@ initialize_builtins (void)
> build_function_type_list (ptr_type_node, int_type_node, NULL_TREE),
> "__builtin_return_address", ECF_NOTHROW | ECF_LEAF);
>
> + define_builtin (BUILT_IN_TRAP, "__builtin_trap",
> + build_function_type_list (void_type_node, NULL_TREE),
> + "__builtin_trap", ECF_NOTHROW | ECF_LEAF);
Missing ECF_NORETURN in there, which I'd say is quite essential for
__builtin_trap.
Jakub