diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-05-29 09:48:37 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-05-29 09:48:37 +0200 |
commit | 357a352fe3a3a96b1a8c321f36a010e3798abdeb (patch) | |
tree | eabc83199bfbf52976e7d3378a8a94f7124cc347 /gcc/gimplify.c | |
parent | b0df5ff8bec008165d90e57e64e3643196f527c2 (diff) | |
download | gcc-357a352fe3a3a96b1a8c321f36a010e3798abdeb.zip gcc-357a352fe3a3a96b1a8c321f36a010e3798abdeb.tar.gz gcc-357a352fe3a3a96b1a8c321f36a010e3798abdeb.tar.bz2 |
re PR c/90628 (__builtin_mul_overflow writes to const qualified integer)
PR c/90628
* c-common.c (check_builtin_function_arguments)
<case BUILTIN_*_OVERFLOW>: Diagnose pointer to const qualified integer
as last argument.
* c-c++-common/builtin-arith-overflow-3.c: New test.
From-SVN: r271732
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions