diff options
author | Martin Sebor <msebor@redhat.com> | 2016-06-09 16:32:25 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2016-06-09 10:32:25 -0600 |
commit | e01b4e16930ba0183bff94c88bce20501af8bbe4 (patch) | |
tree | f7d07e4087dc65791d0dd86af7b3aa9fab866124 /gcc/lra-constraints.c | |
parent | 386a87e4f1597f4014b0bea959298e6e9511d7c6 (diff) | |
download | gcc-e01b4e16930ba0183bff94c88bce20501af8bbe4.zip gcc-e01b4e16930ba0183bff94c88bce20501af8bbe4.tar.gz gcc-e01b4e16930ba0183bff94c88bce20501af8bbe4.tar.bz2 |
PR c/70883 - inconsistent error message for calls to __builtin_add_overflow
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.
From-SVN: r237268
Diffstat (limited to 'gcc/lra-constraints.c')
0 files changed, 0 insertions, 0 deletions