diff options
author | msebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-06-09 16:32:25 +0000 |
---|---|---|
committer | msebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-06-09 16:32:25 +0000 |
commit | 23b101c5338e79b76b9c273a14789ccc9419d961 (patch) | |
tree | f7d07e4087dc65791d0dd86af7b3aa9fab866124 /contrib | |
parent | 2ee75e80f8f6f73d9676232f305a3cb346a4bd65 (diff) | |
download | gcc-23b101c5338e79b76b9c273a14789ccc9419d961.tar.gz |
PR c/70883 - inconsistent error message for calls to __builtin_add_overflow
with too few arguments
gcc/c-family/ChangeLog:
2016-06-09 Martin Sebor <msebor@redhat.com>
PR c/70883
* c-common.c (builtin_function_validate_nargs): Make text of error
message consistent with others like it.
gcc/testsuite/ChangeLog:
2016-06-09 Martin Sebor <msebor@redhat.com>
PR c/70883
* c-c++-common/builtin-arith-overflow-1.c: Adjust diagnostic text.
* gcc.dg/builtin-constant_p-1.c: Same.
* gcc.dg/builtins-error.c: Same.
* gcc.dg/pr70859.c: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions