diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-02-26 00:43:51 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-02-26 00:43:51 +0100 |
commit | 7da73ba7ef0e48d756677d17b8addc4f4fe2a484 (patch) | |
tree | 99997a3571b2eaa42b428daa7eefe58d3eb56296 /gcc/go | |
parent | 796954501274027ac9ba69b8c7f8eb08339f51ac (diff) | |
download | gcc-7da73ba7ef0e48d756677d17b8addc4f4fe2a484.zip gcc-7da73ba7ef0e48d756677d17b8addc4f4fe2a484.tar.gz gcc-7da73ba7ef0e48d756677d17b8addc4f4fe2a484.tar.bz2 |
re PR c/89495 (gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int')
PR c/89495
* c-format.c (maybe_read_dollar_number): Compute nargnum in
HOST_WIDE_INT type to avoid overflows and change overflow_flag
checking.
From-SVN: r269198
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions