[cfe-dev] -fsanitize=enum false positive with ˜ios::failbit ?

Brad King brad.king at kitware.com
Fri Mar 1 02:37:03 PST 2013


On 2/28/2013 7:57 PM, Richard Smith wrote:
> On Thu, Feb 28, 2013 at 12:40 PM, Brad King wrote:
>     C++03 27.4.2.1.3 requires iostate to be a bitmask type:
> 
>      The type iostate is a bitmask type (17.3.2.1.2)
> 
> Sure, but UBSan is telling you that it found a bug in libstdc++'s
> implementation of operator~ for iostate. 

Yes, sorry.  I had sent this response well before your first
reply but it was delayed awaiting moderator approval since
I didn't know when sending it that the list is member post
only.

Anyway, thanks for the link to the bug report.

-Brad



More information about the cfe-dev mailing list