aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2022-01-05 17:53:30 -0500
committerMarek Polacek <polacek@redhat.com>2022-01-05 19:42:45 -0500
commit1935db296892bbd9fc597889237528bd7e080ab1 (patch)
treeed45f27956f374e6cd33e201438d2d50e10cde03 /gcc/expr.c
parent0fbefa25b3f928d97fb7fd61f1448a55e5ec612d (diff)
downloadgcc-1935db296892bbd9fc597889237528bd7e080ab1.zip
gcc-1935db296892bbd9fc597889237528bd7e080ab1.tar.gz
gcc-1935db296892bbd9fc597889237528bd7e080ab1.tar.bz2
Avoid more -Wformat-diag warnings [PR103758]
Let's use "%<x>, %<y>, or %<z>" rather than "[x|y|z]" as in the rest of our codebase. PR c++/103758 gcc/c-family/ChangeLog: * c-pragma.c (handle_pragma_scalar_storage_order): Use %< %> in diagnostic messages. (handle_pragma_diagnostic): Likewise. gcc/testsuite/ChangeLog: * gcc.dg/sso-6.c: Update dg-warning.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions