]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Do not use assume attribute for Clang [PR112467]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 10 Nov 2023 21:06:15 +0000 (21:06 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 11 Nov 2023 00:41:09 +0000 (00:41 +0000)
commit807f47497f17ed50be91f0f879308cb6fa063966
treea24acb0e536f9a57c498ea0234fb01dbbfbd023a
parentf7251b7886c47cbd5c9ffb217eb9849f023f76da
libstdc++: Do not use assume attribute for Clang [PR112467]

Clang has an 'assume' attribute, but it's a function attribute not a
statement attribute. The recently-added use of the statement form causes
an error with Clang.

libstdc++-v3/ChangeLog:

PR libstdc++/112467
* include/bits/stl_bvector.h (_M_assume_normalized): Do not use
statement form of assume attribute for Clang.
libstdc++-v3/include/bits/stl_bvector.h
This page took 0.055176 seconds and 6 git commands to generate.