]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Suppress -Waddress warning in tzdb.cc [PR108228]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 6 Jan 2023 20:54:23 +0000 (20:54 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 6 Jan 2023 21:06:28 +0000 (21:06 +0000)
commit74852a3a2cecbd6d7ac6ddc2d1a9b60b83367d60
tree50a91ab55328c9044a3c9d8b0e5cd8e0e8a095f3
parent61da01772a3dff61cf23ba2ffba33bccb68d1063
libstdc++: Suppress -Waddress warning in tzdb.cc [PR108228]

For some tarets the weak symbol is always defined, so we get a warning
that its address is never null. The warning isn't useful in this case,
so suppress it.

libstdc++-v3/ChangeLog:

PR libstdc++/108228
* src/c++20/tzdb.cc (zoneinfo_dir): Add diagnostic pragma.
libstdc++-v3/src/c++20/tzdb.cc