aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/d-lang.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-03-21 11:02:04 +0100
committerJakub Jelinek <jakub@redhat.com>2022-03-21 11:02:04 +0100
commite63ac860afe816fef6b86bee6e47980e1351213c (patch)
treed2a6811ee39d76875597ceec6824d57b233f4577 /gcc/d/d-lang.cc
parent3f18553eb7dabc6528d712e54b25ea6f96e51bde (diff)
downloadgcc-e63ac860afe816fef6b86bee6e47980e1351213c.zip
gcc-e63ac860afe816fef6b86bee6e47980e1351213c.tar.gz
gcc-e63ac860afe816fef6b86bee6e47980e1351213c.tar.bz2
libstdc++: Work around clang misdesign in time_get<>::get [PR104990]
Apparently clang has a -fgnuc-version= option which allows it to pretend it is any GCC version the user likes. It is already bad that it claims to be GCC 4.2 compatible by default when it is not (various unimplemented extensions at least), but this option is a horrible idea. Anyway, this patch adds a hack for it. 2022-03-21 Jakub Jelinek <jakub@redhat.com> PR libstdc++/104990 * include/bits/locale_facets_nonio.tcc (get): Don't check if do_get isn't overloaded if __clang__ is defined.
Diffstat (limited to 'gcc/d/d-lang.cc')
0 files changed, 0 insertions, 0 deletions