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: [fortran] add __builtin_unreachable


Jan Hubicka wrote:
this patch add __buliltin_unreachable to Fortran FE and also cleans up the code a bit

Bootstrapped/regtested x86_64-linux, OK?

The Fortran part looks okay.


	* f95-lang.c (gfc_define_builtin): Use set_call_expr_flags.
	(ATTR_NOTHROW_LEAF_MALLOC_LIST,
	ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST): New lists.
	(gfc_init_builtin_functions): Add __builtin_unreachable;
	tidy malloc/calloc.

	* calls.c (set_call_expr_flags): New.
	* tree.h (set_call_expr_flags): Declare.

Tobias



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