diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-08-15 22:50:07 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2024-08-15 22:50:07 +0200 |
commit | 0f8b11968472ff12674d67fd856610646b373bd0 (patch) | |
tree | 192e67cc84faeab06f6ce3b9a0804b92797d0601 /gcc/dwarf2codeview.cc | |
parent | 580fe7979f3c873eae885568d2c17c9e110670b4 (diff) | |
download | gcc-0f8b11968472ff12674d67fd856610646b373bd0.zip gcc-0f8b11968472ff12674d67fd856610646b373bd0.tar.gz gcc-0f8b11968472ff12674d67fd856610646b373bd0.tar.bz2 |
fortran: Fix bootstrap in resolve.cc [PR116387]
The r15-2934 change broke bootstrap:
../../gcc/fortran/resolve.cc: In function ‘bool resolve_operator(gfc_expr*)’:
../../gcc/fortran/resolve.cc:4649:22: error: too many arguments for format [-Werror=format-extra-args]
4649 | gfc_error ("Inconsistent coranks for operator at %%L and %%L",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following patch fixes that by using %L rather than %%L, the call has 2
location arguments.
2024-08-15 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/116387
* resolve.cc (resolve_operator): Use %L rather than %%L in format
string.
Diffstat (limited to 'gcc/dwarf2codeview.cc')
0 files changed, 0 insertions, 0 deletions