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] PR60092, add C11 aligned_alloc handling


On Mon, Apr 28, 2014 at 01:52:08PM +0200, Richard Biener wrote:
> On Thu, Feb 6, 2014 at 2:26 PM, Richard Biener <rguenther@suse.de> wrote:
> >
> > This adds a builtin for C11 aligned_alloc and support for it
> > in the alias and alignment tracking machinery.
> >
> > Bootstrap and regtest in progress on x86_64-unknown-linux-gnu.
> >
> > Ok for trunk?
> 
> Ping.

Ok, thanks.

> > 2014-02-06  Richard Biener  <rguenther@suse.de>
> >
> >         PR middle-end/60092
> >         * builtins.def (DEF_C11_BUILTIN): Add.
> >         (BUILT_IN_ALIGNED_ALLOC): Likewise.
> >         * coretypes.h (enum function_class): Add function_c11_misc.
> >         * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
> >         BUILT_IN_ALIGNED_ALLOC like BUILT_IN_MALLOC.
> >         (call_may_clobber_ref_p_1): Likewise.
> >         * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
> >         (mark_all_reaching_defs_necessary_1): Likewise.
> >         (propagate_necessity): Likewise.
> >         (eliminate_unnecessary_stmts): Likewise.
> >         * tree-ssa-ccp.c (evaluate_stmt): Handle BUILT_IN_ALIGNED_ALLOC.
> >
> >         ada/
> >         * gcc-interface/utils.c: Define flag_isoc11.
> >
> >         lto/
> >         * lto-lang.c: Define flag_isoc11.
> >
> >         * gcc.dg/tree-ssa/alias-32.c: New testcase.
> >         * gcc.dg/vect/pr60092.c: Likewise.

	Jakub


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