aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/Wshift-overflow-12.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-03-17 10:04:52 +0000
committerIain Sandoe <iain@sandoe.co.uk>2025-03-18 14:48:07 +0000
commit26884504503093e5019708f50816897c5d3a4958 (patch)
tree8ab614798c1b793c743d590891170e4520134c4b /gcc/testsuite/c-c++-common/Wshift-overflow-12.c
parentcfbabe10ddaba3f200f58910d49aa041d2abde8c (diff)
downloadgcc-26884504503093e5019708f50816897c5d3a4958.zip
gcc-26884504503093e5019708f50816897c5d3a4958.tar.gz
gcc-26884504503093e5019708f50816897c5d3a4958.tar.bz2
cobol: Avoid a use of auto.
In this case the deduction for Darwin's implementation is 'char *' which then conflicts with the second use of data.initial in the find_if callback. Let's just specify it as 'const char *'. gcc/cobol/ChangeLog: * util.cc (cbl_field_t::report_invalid_initial_value): Avoid auto here and specify const char *. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc/testsuite/c-c++-common/Wshift-overflow-12.c')
0 files changed, 0 insertions, 0 deletions