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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar 28 18:16:32 2014
New Revision: 208912

URL: http://gcc.gnu.org/viewcvs?rev=208912&root=gcc&view=rev
Log:
    PR c++/60689
    * c-tree.h (c_build_function_call_vec): New prototype.
    * c-typeck.c (build_function_call_vec): Don't call
    resolve_overloaded_builtin here.
    (c_build_function_call_vec): New wrapper function around
    build_function_call_vec.  Call resolve_overloaded_builtin here.
    (convert_lvalue_to_rvalue, build_function_call, build_atomic_assign):
    Call c_build_function_call_vec instead of build_function_call_vec.
    * c-parser.c (c_parser_postfix_expression_after_primary): Likewise.
    * c-decl.c (finish_decl): Likewise.

    * c-common.c (add_atomic_size_parameter): When creating new
    params vector, push the size argument first.

    * c-c++-common/pr60689.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/pr60689.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/c/c-parser.c
    trunk/gcc/c/c-tree.h
    trunk/gcc/c/c-typeck.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to