diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-10-21 12:09:36 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-10-21 12:12:15 +0100 |
commit | cba80691251efccf44ab9aecb26558319605c9ea (patch) | |
tree | edb63a9470b3e3ac81710780742f0bbefac86d83 /gcc/fortran/options.cc | |
parent | 1a4c5643a5911d130dfab9a064222baeeb7f9be7 (diff) | |
download | gcc-cba80691251efccf44ab9aecb26558319605c9ea.zip gcc-cba80691251efccf44ab9aecb26558319605c9ea.tar.gz gcc-cba80691251efccf44ab9aecb26558319605c9ea.tar.bz2 |
libstdc++: Fix order of [[...]] and __attribute__((...)) attrs [PR117220]
GCC allows these in either order, but Clang doesn't like the C++11-style
[[__nodiscard__]] coming after __attribute__((__always_inline__)).
libstdc++-v3/ChangeLog:
PR libstdc++/117220
* include/bits/stl_iterator.h: Move _GLIBCXX_NODISCARD
annotations after __attribute__((__always_inline__)).
Diffstat (limited to 'gcc/fortran/options.cc')
0 files changed, 0 insertions, 0 deletions