aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2014-03-28 19:16:32 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2014-03-28 19:16:32 +0100
commit8edbfaa667837b66a65cce37f46c54341351a35c (patch)
tree5ac9b4bd348a0bf427859860b1c1400fc1d7d29b /gcc/c/ChangeLog
parented6eb6dc9f67948da5f87b9c75d6d03bf696446e (diff)
downloadgcc-8edbfaa667837b66a65cce37f46c54341351a35c.zip
gcc-8edbfaa667837b66a65cce37f46c54341351a35c.tar.gz
gcc-8edbfaa667837b66a65cce37f46c54341351a35c.tar.bz2
re PR c++/60689 (Bogus error with atomic::exchange)
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. From-SVN: r208912
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r--gcc/c/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index b39b7d6..6b819e9 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,16 @@
+2014-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ 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.
+
2014-03-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/55383